/* Палітра синя, взята з градієнта логотипу (#00488f → #0074b7 → #009fe0) */
:root {
  --graphite: #00335c;
  --steel: #0d4d82;
  --steel-light: #4d7396;
  --bg-light: #eef3f8;
  --white: #ffffff;
  --accent: #009fe0;
  --accent-dark: #0074b7;
  --accent-gold: #00488f;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 51, 92, 0.08);
  --transition: 0.25s ease;

  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; }

a { color: inherit; text-decoration: none; }

.btn {
  display: inline-block;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 159, 224, 0.35);
}
.btn--accent:hover { background: var(--accent-dark); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn--lg { padding: 15px 32px; font-size: 16px; }

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 51, 92, 0.92);
  backdrop-filter: blur(6px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--white);
}
.logo__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}
.logo span { color: var(--accent); }
.logo--footer { color: var(--white); font-size: 24px; margin-bottom: 12px; }

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}
.nav a:hover { color: var(--accent); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__phone {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.lang-switch {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.lang-switch:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(3, 20, 36, 0.72), rgba(3, 20, 36, 0.82)),
    url("hero-pump-skid.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  max-width: 780px;
}
.hero h1 {
  color: var(--white);
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin-bottom: 32px;
}
.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.section {
  padding: 88px 0;
}
.section--muted {
  background: var(--bg-light);
}
.section__title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 48px;
  color: var(--graphite);
}
.section__title--light { color: var(--white); }

/* Anchor offset so fixed header doesn't cover section tops */
section[id], #top {
  scroll-margin-top: 90px;
}

.cards--services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid #eceef1;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 51, 92, 0.12);
}
.card__image {
  margin: -32px -24px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--white);
}
.card__image img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
}
.card__head {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  position: relative;
}
.card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  padding-right: 28px;
}
.card p {
  color: var(--steel-light);
  font-size: 14.5px;
  margin: 0;
}
.card__chevron {
  position: absolute;
  top: 2px;
  right: 0;
  font-size: 20px;
  color: var(--steel-light);
  transition: transform var(--transition);
}
.card.is-open .card__chevron { transform: rotate(180deg); }

.card__detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), margin-top var(--transition);
}
.card__detail > *:first-child {
  padding-top: 12px;
  border-top: 1px solid #eceef1;
  margin-top: 12px;
}
.card__detail p, .card__detail ul {
  font-size: 14px;
  line-height: 1.6;
  color: var(--steel-light);
  margin: 0 0 10px;
}
.card__detail-label {
  font-weight: 700;
  color: var(--graphite);
  font-size: 13.5px;
  margin-bottom: 6px !important;
}
.card__detail-list {
  padding-left: 18px;
}
.card__detail-list li {
  margin-bottom: 4px;
}
.card__detail > *:last-child {
  margin-bottom: 0;
}

.card--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-gold));
  border: none;
  grid-column: span 1;
}
.card--accent h3, .card--accent p { color: var(--white); }
.card--accent p { opacity: 0.95; }
.card--accent .card__chevron { color: rgba(255, 255, 255, 0.85); }
.card--accent .card__detail > *:first-child { border-top-color: rgba(255, 255, 255, 0.35); }
.card--accent .card__detail p,
.card--accent .card__detail ul,
.card--accent .card__detail-list li { color: rgba(255, 255, 255, 0.9); }
.card--accent .card__detail-label { color: var(--white); }

.cards--why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow);
}
.why-item__icon { font-size: 22px; }

.stats {
  background: var(--graphite);
  color: var(--white);
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
}
.stat__num {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
}
.stat__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.industries {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--steel);
  min-width: 120px;
}
.industry__icon {
  font-size: 30px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
}

.partners {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.partner-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter var(--transition), opacity var(--transition);
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.energy {
  background: linear-gradient(135deg, var(--graphite), var(--steel));
  color: var(--white);
  text-align: center;
}
.energy__subtitle {
  max-width: 640px;
  margin: 0 auto 48px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}
.cards--energy {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
  text-align: left;
}
.energy-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.energy-item__icon { font-size: 26px; }
.energy-item h3 {
  font-size: 16px;
  margin: 12px 0 8px;
  color: var(--white);
}
.energy-item p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.form-block {
  max-width: 560px;
  text-align: center;
}
.form-block__subtitle {
  color: var(--steel-light);
  margin-bottom: 36px;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.lead-form__row {
  display: flex;
  gap: 14px;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #dde0e4;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14.5px;
  background: var(--white);
}
.lead-form select {
  padding-right: 40px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%234d7396' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.lead-form textarea { min-height: 100px; resize: vertical; }
.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--steel-light);
}
.lead-form__consent input { width: auto; margin-top: 3px; }
.lead-form__status {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-dark);
  min-height: 20px;
  text-align: center;
}

.footer {
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 16px;
}
.footer__col p, .footer__col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}
.footer__col a:hover { color: var(--accent); }
.footer__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.footer__messengers a { margin-bottom: 0; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  padding: 20px 24px;
  padding-bottom: 100px;
  padding-right: 100px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.policy-content {
  max-width: 760px;
}
.policy-content h1 {
  font-size: 34px;
  margin-bottom: 8px;
}
.policy-updated {
  color: var(--steel-light);
  font-size: 14px;
  margin-bottom: 40px;
}
.policy-content h2 {
  font-size: 19px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.policy-content p {
  color: var(--steel);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 8px;
}
.policy-content a { color: var(--accent-dark); font-weight: 600; }

.floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.floating-widget button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 159, 224, 0.4);
}
.floating-widget__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.floating-widget.is-open .floating-widget__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-widget__link {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--graphite);
  white-space: nowrap;
}
.floating-widget__link:hover { background: var(--bg-light); }

@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--graphite);
    flex-direction: column;
    align-items: center;
    padding: 24px 0;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform var(--transition);
  }
  .nav.is-open { transform: translateY(0); }
  .header__phone { display: none; }
  .burger { display: flex; }

  .cards--services { grid-template-columns: repeat(2, 1fr); }
  .cards--why { grid-template-columns: repeat(2, 1fr); }
  .cards--energy { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 34px; }
}

@media (max-width: 560px) {
  .header__actions { gap: 10px; }
  .header__actions .btn--accent { display: none; }
  .lang-switch { padding: 6px 8px; }
}

@media (max-width: 720px) {
  .cards--services,
  .cards--why,
  .cards--energy,
  .stats__inner,
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .lead-form__row { flex-direction: column; }
  .hero h1 { font-size: 28px; }
  .section { padding: 56px 0; }
}
