/* =========================================================
   SeaPrime Logistics — landing styles
   ========================================================= */

:root {
  --bg: #010b14;
  --bg-2: #041424;
  --bg-3: #061a2c;
  --surface: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --text-soft: #c2cbd8;
  --muted: #8b98ad;
  --label: #9aa8bd;
  --accent: #1a5cb3;
  --accent-hover: #2470d6;
  --white-btn: #f4f6f9;
  --white-btn-text: #0b1626;
  --radius: 4px;
  --radius-lg: 8px;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 88px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--label);
}
.h-display {
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.h-section {
  font-size: clamp(30px, 3.3vw, 46px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.lead {
  color: var(--text-soft);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.65;
  max-width: 44ch;
}

/* Vertical decorative side text */
.side-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--label);
  line-height: 1.9;
}
.side-text--line::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--label);
  margin-top: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); }
.btn--white { background: var(--white-btn); color: var(--white-btn-text); }
.btn--white:hover { background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 11px; }
.btn--ghost {
  height: auto; padding: 0; border-radius: 0;
  color: var(--text-soft);
  letter-spacing: 0.26em; font-size: 11px; font-weight: 600;
}
.btn--ghost:hover { color: #fff; }

.play-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--text-soft);
  transition: color .25s var(--ease);
}
.play-link:hover { color: #fff; }
.play-link__icon {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.play-link:hover .play-link__icon { border-color: #fff; background: rgba(255,255,255,.06); }
.play-link__icon svg { width: 12px; height: 12px; margin-left: 2px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header.is-scrolled {
  height: 72px;
  background: rgba(1, 11, 20, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo__icon { width: 74px; height: auto; }
.logo__name {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo__sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 4px;
}
.logo--footer .logo__icon { width: 84px; }

.nav {
  margin-inline: auto;
}
.nav__mobile-extra { display: none; }
.nav__list {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
}
.nav__link {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 2px;
  background: #fff;
  transition: right .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link.is-active::after, .nav__link:hover::after { right: 0; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.lang-switch a {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { background: rgba(255,255,255,.12); color: #fff; }

.burger {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border-radius: 50%;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  position: relative;
  transition: background .2s;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 2px; background: #fff;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 43vw, 680px);
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero__media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(1,11,20,.96) 18%, rgba(1,11,20,.7) 36%, rgba(1,11,20,.08) 58%, rgba(1,11,20,0) 76%, rgba(1,11,20,.45) 90%, rgba(1,11,20,.85) 100%),
    linear-gradient(180deg, rgba(1,11,20,.5) 0%, rgba(1,11,20,0) 22%, rgba(1,11,20,0) 78%, var(--bg) 100%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 32px;
  padding-block: clamp(32px, 5vw, 64px);
}
.hero__content { max-width: 640px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 0 0; margin-bottom: clamp(20px, 3vw, 36px); }
.hero__tags span { position: relative; padding-right: 26px; margin-right: 22px; }
.hero__tags span::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 14px; background: var(--label);
}
.hero__tags span:last-child { padding-right: 0; margin-right: 0; }
.hero__tags span:last-child::after { display: none; }
.hero .h-display { margin-bottom: clamp(20px, 2.6vw, 30px); }
.hero .lead { max-width: 38ch; margin-bottom: clamp(28px, 3.4vw, 42px); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.hero__trust {
  display: flex; align-items: center; gap: 22px;
  margin-top: clamp(40px, 6vw, 72px);
}
.hero__trust::before { content: ""; width: 48px; height: 1px; background: var(--label); }
.hero__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 8px;
  gap: 40px;
}


/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #010b14, #020f1b);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
}
.stat {
  padding: 34px clamp(14px, 2vw, 30px) 30px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat__label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--label); font-weight: 600; }
.stats__side { padding-left: clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; }

/* ---------- Generic section ---------- */
.section { padding-block: clamp(64px, 8vw, 110px); position: relative; }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section__head .eyebrow { display: block; margin-bottom: 18px; }
.section__head .lead { max-width: 46ch; padding-bottom: 8px; }
.section__head .btn--ghost { padding-bottom: 12px; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, #020f1b 0%, #010b14 100%); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.8);
}
.service-card__media { aspect-ratio: 16 / 9.4; overflow: hidden; }
.service-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 8px 16px;
  align-items: start;
  padding: 22px 22px 24px;
  flex: 1;
}
.service-card__icon { width: 34px; height: 34px; color: #fff; grid-row: span 2; }
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title { grid-column: 2 / 4; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.service-card__text { grid-column: 2; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.service-card__arrow {
  grid-column: 3; grid-row: 2;
  align-self: end;
  width: 20px; height: 20px; color: var(--text-soft);
  transition: transform .3s var(--ease), color .3s;
}
.service-card:hover .service-card__arrow { transform: translateX(4px); color: #fff; }

/* ---------- About ---------- */
.about { padding-block: 0; background: linear-gradient(180deg, #010b14, #050e18 30%, #071120); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .85fr);
  min-height: 560px;
}
.about__media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.about__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%;
}
.about__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(1,11,20,.15), rgba(1,11,20,0) 30%, rgba(5,14,24,0) 75%, rgba(5,14,24,.6) 100%),
              linear-gradient(0deg, rgba(1,11,20,.85) 0%, rgba(1,11,20,0) 40%);
}
.about__media .side-text {
  position: absolute; left: clamp(20px, 4vw, 56px); bottom: 48px; z-index: 1;
}
.about__content {
  padding: clamp(56px, 7vw, 96px) clamp(28px, 4vw, 64px);
  display: flex; flex-direction: column; justify-content: center;
}
.about__content .eyebrow { display: block; margin-bottom: 18px; }
.about__content .h-section { margin-bottom: 26px; }
.about__content .lead { margin-bottom: 36px; max-width: 42ch; }
.about__content .btn { align-self: flex-start; }
.about__values {
  border-left: 1px solid var(--line);
  padding: clamp(56px, 7vw, 96px) clamp(24px, 3vw, 48px);
  display: flex; flex-direction: column; justify-content: center; gap: 30px;
}
.value {
  display: grid; grid-template-columns: 30px 1fr; gap: 16px; align-items: start;
}
.value__icon { width: 30px; height: 30px; color: #fff; }
.value__icon svg { width: 100%; height: 100%; }
.value__title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.value__text { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Network ---------- */
.network {
  background: #020f1b;
  overflow: hidden;
}
.network__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}
.network__content .eyebrow { display: block; margin-bottom: 18px; }
.network__content .h-section { margin-bottom: 22px; }
.network__content .lead { margin-bottom: 32px; max-width: 42ch; }
.network__map { position: relative; }
.network__map img { width: 100%; mix-blend-mode: lighten; }
.network__map::after {
  content: "";
  position: absolute; inset: -1px;
  background:
    radial-gradient(ellipse 64% 66% at 50% 50%, rgba(2,15,27,0) 72%, #020f1b 100%);
  pointer-events: none;
}
.network__facts {
  display: grid; grid-template-columns: auto auto; gap: 0 clamp(28px, 4vw, 64px); align-items: center;
}
.network__facts ul {
  border-left: 1px solid var(--line);
  padding-left: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 26px;
}
.fact__value { font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.fact__label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--label); font-weight: 600; }


/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, #010b14, #020e19); }
.testimonials__grid {
  display: grid;
  grid-template-columns: minmax(200px, .55fr) minmax(0, 2.2fr);
  gap: 32px;
  align-items: center;
}
.testimonials__head .eyebrow { display: block; margin-bottom: 18px; }
.slider { position: relative; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 12px; }
.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 18px) / 3);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 4px;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text-soft);
  transition: color .2s, background .2s;
}
.slider__btn:hover { color: #fff; background: rgba(255,255,255,.06); }
.slider__btn svg { width: 22px; height: 22px; }
.testimonial {
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  min-height: 218px;
  padding: 26px 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.testimonial__quote { font-size: 14.5px; line-height: 1.55; color: var(--text-soft); }
.testimonial__author { display: flex; align-items: center; gap: 14px; }
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #1a5cb3, #0d3a74);
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.testimonial__name { display: block; font-size: 14px; font-weight: 700; }
.testimonial__role { display: block; font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { padding-block: 0; background: #020f1b; }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, .8fr) minmax(0, 1.25fr) minmax(0, .95fr);
  /* Tall enough to fit the longest open answer, so the row never resizes
     (otherwise the cover-fitted side images re-crop on every toggle). */
  min-height: 580px;
}
.faq__media { position: relative; overflow: hidden; min-height: 260px; }
.faq__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: none; }
.faq__media--left img { object-position: 50% 50%; }
.faq__media--left::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(1,11,20,.95) 0%, rgba(1,11,20,.7) 35%, rgba(1,11,20,.05) 75%);
}
.faq__media--right::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(1,11,20,.95) 0%, rgba(1,11,20,.7) 35%, rgba(1,11,20,.05) 75%);
}
.faq__media .side-text { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); }
.faq__media--left .side-text { left: clamp(20px, 3vw, 48px); }
.faq__media--right .side-text { right: clamp(20px, 3vw, 48px); }
.faq__head {
  padding: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 48px);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.faq__head .eyebrow { display: block; margin-bottom: 18px; }
.faq__head .h-section { font-size: clamp(28px, 2.7vw, 38px); }
.faq__list {
  padding: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 48px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  display: flex; align-items: center; gap: 18px;
  padding: 16px 0;
  font-size: 14.5px; font-weight: 500; color: var(--text-soft);
  cursor: pointer;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover, .faq__item[open] summary { color: #fff; }
.faq__item summary svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform .35s var(--ease); }
.faq__item.is-open summary svg, .no-js .faq__item[open] summary svg { transform: rotate(45deg); }
.faq__body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .4s var(--ease), opacity .4s var(--ease);
}
/* No vertical padding/margin here: they can't collapse inside a 0fr row
   and would leave an 18px ghost that snaps away at the end of the animation. */
.faq__body > * { min-height: 0; overflow: hidden; margin: 0; padding-block: 0; }
.faq__item.is-open .faq__body, .no-js .faq__item[open] .faq__body { grid-template-rows: 1fr; opacity: 1; }
.faq__answer { padding-left: 32px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.faq__answer::after { content: ""; display: block; height: 18px; } /* bottom spacing that collapses with the row */

/* ---------- CTA / Contact ---------- */
.cta {
  position: relative;
  padding-block: 0;
  background: #031320;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr) auto auto;
  gap: 32px;
  align-items: center;
  min-height: 300px;
}
.cta__media { position: relative; align-self: stretch; min-height: 220px; }
.cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% 50%; }
.cta__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3,19,32,0) 55%, #031320 100%),
              linear-gradient(0deg, rgba(3,19,32,.6), rgba(3,19,32,0) 40%);
}
.cta__content { padding-block: 48px; }
.cta__content .h-section { margin-bottom: 16px; }
.cta__content .lead { max-width: 46ch; }
.cta__side { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 48px); padding-right: var(--gutter); align-self: center; }


/* Quote form */
.quote {
  padding-block: clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, #031320, #010b14);
}
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.quote__intro .eyebrow { display: block; margin-bottom: 18px; }
.quote__intro .h-section { margin-bottom: 20px; }
.quote__intro .lead { margin-bottom: 32px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--text-soft); }
.contact-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--label); }
.contact-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--label); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 15px;
  color: #fff;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s, background .2s;
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa8bd' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field select option { background: #071120; color: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.form__footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__note { font-size: 12.5px; color: var(--muted); max-width: 40ch; }
.form__status { grid-column: 1 / -1; font-size: 14px; color: #8fd3a6; }
.form__status.is-error { color: #f0a0a0; }
.form__status:empty { display: none; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form.is-busy .btn { opacity: .6; pointer-events: none; }
.field input:invalid:not(:placeholder-shown), .field input.is-invalid { border-color: rgba(240,160,160,.6); }

/* ---------- Footer ---------- */
.footer { background: #000509; padding-top: clamp(40px, 5vw, 64px); }
.footer__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px 48px;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 2.6vw, 40px); }
.footer__nav a { font-size: 13.5px; font-weight: 600; color: var(--text-soft); transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__meta { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.socials { display: flex; gap: 6px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  color: var(--text-soft); transition: color .2s, background .2s;
}
.socials a:hover { color: #fff; background: rgba(255,255,255,.06); }
.socials svg { width: 18px; height: 18px; }
.footer__lang { position: relative; }
.footer__lang summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--text-soft);
  padding: 8px 4px;
}
.footer__lang summary::-webkit-details-marker { display: none; }
.footer__lang summary svg { width: 14px; height: 14px; }
.footer__lang ul {
  position: absolute; bottom: calc(100% + 6px); left: 0;
  min-width: 140px;
  background: #071120; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 6px; box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.footer__lang li a {
  display: block; padding: 8px 10px; font-size: 13px; border-radius: 3px; color: var(--text-soft);
}
.footer__lang li a:hover { background: rgba(255,255,255,.06); color: #fff; }
.footer__lang li a[aria-current="true"] { color: #fff; font-weight: 700; }
.footer__tags { display: flex; gap: 0; }
.footer__tags span { position: relative; padding-right: 22px; margin-right: 20px; }
.footer__tags span::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 12px; background: var(--label);
}
.footer__tags span:last-child { padding-right: 0; margin-right: 0; }
.footer__tags span:last-child::after { display: none; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding-block: 26px 30px;
  font-size: 12.5px; color: var(--muted);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer__legal a, .footer__legal button { font-size: 12.5px; color: var(--muted); transition: color .2s; }
.footer__legal a:hover, .footer__legal button:hover { color: #fff; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 200;
  margin-inline: auto;
  max-width: 720px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding: 18px 22px;
  background: rgba(7, 17, 32, .96);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  backdrop-filter: blur(12px);
  font-size: 13.5px; color: var(--text-soft);
  transform: translateY(0);
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie p { flex: 1 1 320px; line-height: 1.5; }
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie a:hover { color: #fff; }
.cookie__actions { display: flex; gap: 10px; }

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--header-h) + 48px); padding-bottom: 96px; }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: 12px; }
.legal .legal__updated { color: var(--muted); font-size: 13px; margin-bottom: 40px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--text-soft); font-size: 15.5px; line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal p + p { margin-top: 12px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal a.btn { text-decoration: none; }
.legal .back { display: inline-flex; margin-top: 48px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1400px) {
  .footer__tags { display: none; }
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(1, 11, 20, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 32px var(--gutter);
    margin: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s;
  }
  .header.menu-open { background: rgba(1, 11, 20, .96); }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list li, .nav__mobile-extra {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .35s var(--ease), transform .45s var(--ease);
  }
  .nav.is-open .nav__list li, .nav.is-open .nav__mobile-extra { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(1) { transition-delay: .08s; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .14s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .20s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .26s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .32s; }
  .nav.is-open .nav__list li:nth-child(6) { transition-delay: .38s; }
  .nav.is-open .nav__mobile-extra { transition-delay: .48s; }
  .nav__link { font-size: 22px; padding: 12px 0; font-weight: 600; }
  .nav__link::after { display: none; }
  .nav__mobile-extra { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; align-items: center; }
  .header__actions .lang-switch { display: none; }
  .header__actions { gap: 12px; margin-left: auto; }
  .header__actions .btn { display: none; }
  @media (min-width: 601px) { .header__actions .btn { display: inline-flex; } }
  .burger { display: grid; }
  .logo__icon { width: 60px; }
  .logo__name { font-size: 22px; }
}

@media (max-width: 1200px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card__media { aspect-ratio: 16 / 8; }
  .section__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .section__head .btn--ghost { grid-column: 1 / -1; }
  .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .about__values { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; gap: 28px 40px; padding-block: 48px; }
  .about__values .value { flex: 1 1 260px; }
  .network__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .network__map { grid-column: 1 / -1; order: 3; }
  .network__facts ul { flex-direction: row; flex-wrap: wrap; gap: 24px 40px; }
  .slider__track { grid-auto-columns: calc((100% - 18px) / 2); }
  .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .faq__media--left { display: none; }
  .faq__media--right { grid-column: 1 / -1; min-height: 220px; }
  .faq__head { border-left: 0; }
  .faq__list { border-right: 0; }
  .cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .cta__content { grid-column: 2; }
  .cta__grid .btn { grid-column: 2; justify-self: start; margin-top: -16px; margin-bottom: 48px; }
  .cta__side { display: none; }
  .cta__content, .cta__grid > .btn { margin-inline: var(--gutter); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__side { display: none; }
  .hero__media img { object-position: 70% 50%; }
  .hero__media::before {
    background: linear-gradient(90deg, rgba(1,11,20,.92) 0%, rgba(1,11,20,.75) 55%, rgba(1,11,20,.45) 100%),
                linear-gradient(180deg, rgba(1,11,20,.6), rgba(1,11,20,0) 30%, rgba(1,11,20,0) 70%, var(--bg) 100%);
  }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 26px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:first-child { padding-left: 20px; }
  .stats__side { display: none; }
  .section__head { grid-template-columns: 1fr; gap: 20px; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .slider { grid-template-columns: 1fr; }
  .slider__btn { display: none; }
  .slider__track { grid-auto-columns: 78%; scroll-padding-inline: 0; }
  .quote__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__meta { flex-wrap: wrap; }
  .footer__tags { display: none; }
  .cta__grid { grid-template-columns: 1fr; gap: 0; }
  .cta__media { min-height: 200px; }
  .cta__content { grid-column: 1; padding-block: 36px 20px; }
  .cta__grid .btn { grid-column: 1; margin-top: 0; margin-bottom: 40px; }
  .cta__content { margin-inline: 0; padding-inline: var(--gutter); }
  .cta__grid > .btn { margin-inline: var(--gutter); }
}

@media (max-width: 600px) {
  .h-display { font-size: clamp(40px, 12vw, 56px); }
  .services__grid { grid-template-columns: 1fr; }
  .service-card__media { aspect-ratio: 16 / 7; }
  .about__values { gap: 24px; padding-block: 40px; }
  .about__values .value { flex: none; }
  .network__grid { grid-template-columns: 1fr; }
  .network__map { order: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 280px; }
  .about__values { flex-direction: column; }
  .network__facts { grid-template-columns: 1fr; }
  .network__facts .side-text { display: none; }
  .network__facts ul { flex-direction: column; gap: 22px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { padding-bottom: 0; }
  .faq__media--right { display: none; }
  .form { grid-template-columns: 1fr; }
  .field--full { grid-column: 1; }
  .hero__cta { gap: 20px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat__value { font-size: 30px; }
}
