/* ============================================================
   ЖАГАЛМАЙ — дорожное строительство, Кыргызстан
   Visual system: light, engineered, generous whitespace
   ============================================================ */

:root {
  /* color */
  --bg:        #ffffff;
  --bg-soft:   #f4f6f8;
  --bg-soft-2: #eef1f5;
  --ink:       #1b2430;
  --ink-2:     #475160;
  --ink-3:     #79838f;
  --line:      #e4e9ee;
  --line-2:    #d6dde4;

  --accent:      #1b3a6b;
  --accent-600:  #234a82;
  --accent-700:  #142d55;
  --accent-soft: #eaf0f8;
  --accent-tint: #f3f7fc;

  --green:      #2f7a5f;
  --green-soft: #e7f1ec;

  /* type */
  --font: "Golos Text", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* metrics */
  --container: 1240px;
  --gutter: 40px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(27,36,48,.04), 0 2px 8px rgba(27,36,48,.04);
  --shadow:    0 2px 4px rgba(27,36,48,.04), 0 12px 32px rgba(27,36,48,.07);
  --shadow-lg: 0 8px 24px rgba(20,45,85,.08), 0 28px 64px rgba(20,45,85,.10);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
.ph { width: 100%; object-fit: cover; background: var(--bg-soft); display: block; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.16); transform-origin: top left; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #fff; }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 132px 0; }
.section--tight { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  opacity: .55;
}
.eyebrow--center { justify-content: center; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}
.section-head__main { max-width: 640px; }
.section-title {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 600;
  margin: 18px 0 0;
  text-wrap: balance;
}
.section-lead {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 460px;
  margin: 18px 0 0;
}
.section-index {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .04em;
  white-space: nowrap;
  padding-bottom: 8px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .15s var(--ease),
              box-shadow .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(20,45,85,.18), 0 8px 20px rgba(20,45,85,.16);
}
.btn--primary:hover { background: var(--accent-700); transform: translateY(-1px); }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 17px 32px; font-size: 16.5px; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--accent);
  font-size: 15.5px;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-stuck {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(27,36,48,.02), 0 8px 24px rgba(27,36,48,.04);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 34px; height: 34px;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .02em;
  color: var(--ink);
}
.brand__tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__links a {
  display: inline-block;
  white-space: nowrap;
  padding: 9px 12px;
  font-size: 15px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav__links a.is-active { color: var(--accent); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__phone {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.nav__phone span { color: var(--ink-3); font-size: 11px; display: block; font-family: var(--mono); letter-spacing: .12em; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span { width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
.nav__toggle.is-open span:nth-child(1){ transform: translateY(6.6px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2){ opacity: 0; }
.nav__toggle.is-open span:nth-child(3){ transform: translateY(-6.6px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed;
  inset: 72px 0 auto 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px var(--gutter) 28px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 99;
  box-shadow: var(--shadow);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: 14px 6px;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-menu .btn { margin-top: 18px; }

/* ============================================================
   HERO  (3 variants toggled by [data-hero] on #hero)
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero__variant { display: none; }
#hero[data-hero="split"]    .hero__variant--split    { display: block; }
#hero[data-hero="overlap"]  .hero__variant--overlap  { display: block; }
#hero[data-hero="centered"] .hero__variant--centered { display: block; }
#hero[data-hero="full"]     .hero__variant--full     { display: block; }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.03em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__sub {
  color: var(--ink-2);
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 520px;
  margin: 26px 0 0;
}
.hero__cta { display: flex; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero__trust {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero__trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.hero__trust-item svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.hero__trust .divider { width: 1px; height: 22px; background: var(--line-2); }

/* -- variant: split -- */
.hero__variant--split .hero-split {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 92px 0 104px;
}
.hero__variant--split .hero-split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__variant--split .ph { width: 100%; height: 560px; }
.hero-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-badge__num { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.hero-badge__lbl { font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }

/* -- variant: overlap -- */
.hero__variant--overlap .hero-overlap { position: relative; padding: 40px 0 120px; }
.hero__variant--overlap .hero-overlap__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__variant--overlap .ph { width: 100%; height: 620px; }
.hero__variant--overlap .hero-overlap__card {
  position: relative;
  margin: -160px 0 0 0;
  max-width: 660px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 56px 48px;
  box-shadow: var(--shadow-lg);
}

/* -- variant: centered -- */
.hero__variant--centered .hero-centered { text-align: center; padding: 104px 0 0; }
.hero__variant--centered .hero-centered__inner { max-width: 880px; margin: 0 auto; }
.hero__variant--centered .hero__sub { margin-left: auto; margin-right: auto; }
.hero__variant--centered .hero__cta { justify-content: center; }
.hero__variant--centered .hero-centered__media {
  margin: 76px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero__variant--centered .ph { width: 100%; height: 520px; }

/* -- variant: full background -- */
.hero-full {
  position: relative;
  height: calc(100vh - 72px);
  min-height: 600px;
  max-height: 920px;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* больше воздуха между шапкой и контентом hero (контент смещён ниже центра) */
  padding-top: 128px;
  padding-bottom: 48px;
}
.hero-video--full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-full__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.82) 26%,
      rgba(255,255,255,.40) 48%,
      rgba(255,255,255,0) 66%),
    linear-gradient(to top,
      rgba(255,255,255,.5) 0%,
      rgba(255,255,255,0) 26%);
  pointer-events: none;
}
.hero-full__inner { position: relative; z-index: 2; width: 100%; }
.hero-full__copy { max-width: 660px; }
.hero-full__copy .hero__sub { color: var(--ink); opacity: .85; }
.hero-full__copy .hero__trust-item { color: var(--ink); }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 56px 40px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 28px; bottom: 28px;
  width: 1px;
  background: var(--line);
}
.stat__num {
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.stat__num .unit { color: var(--accent); font-size: .5em; font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.stat__label {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 15px;
}
.stat__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
  display: block;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.about__lead {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.32;
  letter-spacing: -.01em;
  font-weight: 500;
  margin: 0;
}
.about__lead b { color: var(--accent); font-weight: 600; }
.about__body { color: var(--ink-2); font-size: 17px; }
.about__body p { margin: 0 0 18px; }
.about__quote {
  margin: 36px 0 0;
  padding: 26px 30px;
  border-left: 2px solid var(--accent);
  background: var(--accent-tint);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  font-size: 17px;
}
.about__quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 14px; color: var(--ink-3); font-family: var(--mono); letter-spacing: .04em; }

.about__features {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.about__feature { background: #fff; padding: 26px 28px; }
.about__feature h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.about__feature p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px 36px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.service::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.service:hover::after { transform: scaleX(1); }
.service__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service__icon svg { width: 26px; height: 26px; }
.service__num {
  position: absolute;
  top: 30px; right: 30px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: .05em;
}
.service h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.service p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ============================================================
   PROJECTS
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: .2s var(--ease);
}
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.project {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s var(--ease);
}
.project.is-hidden { display: none; }
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project__media { position: relative; overflow: hidden; }
.project .ph { width: 100%; height: 230px; }
.project__cat {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  border-radius: 7px;
  padding: 6px 11px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.project__body { padding: 24px 26px 26px; }
.project__name { font-size: 18px; font-weight: 600; margin: 0 0 16px; letter-spacing: -.01em; }
.project__meta { display: flex; gap: 28px; border-top: 1px solid var(--line); padding-top: 16px; }
.project__meta div { display: flex; flex-direction: column; gap: 3px; }
.project__meta .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.project__meta .v { font-size: 16px; font-weight: 600; }

/* ============================================================
   TECH PARK
   ============================================================ */
.tech__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.tech__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.tech__media .ph { width: 100%; height: 480px; }
.tech__list { display: grid; gap: 0; }
.tech__item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.tech__item:first-child { padding-top: 0; }
.tech__icon {
  width: 48px; height: 48px; flex: none;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.tech__icon svg { width: 24px; height: 24px; }
.tech__name { font-size: 17px; font-weight: 600; }
.tech__desc { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.tech__count {
  margin-left: auto;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.tech__count span { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-left: 4px; }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.adv__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.adv {
  background: #fff;
  padding: 40px 32px 44px;
  transition: background .25s var(--ease);
}
.adv:hover { background: var(--accent-tint); }
.adv__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: .08em;
}
.adv__icon { margin: 28px 0 22px; color: var(--accent); }
.adv__icon svg { width: 30px; height: 30px; }
.adv h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; }
.adv p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.contact__info { padding-top: 8px; }
.contact__list { margin: 36px 0 0; display: grid; gap: 4px; }
.contact__row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact__row:first-child { border-top: 1px solid var(--line); }
.contact__row svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.contact__row .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact__row .v { font-size: 17px; font-weight: 500; margin-top: 4px; white-space: nowrap; }
.contact__row .v a:hover { color: var(--accent); }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; background: #fdf3f2; }
.field__error { color: #c0392b; font-size: 12.5px; margin-top: 6px; display: none; }
.field.has-error .field__error { display: block; }
.form__submit { width: 100%; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--ink-3); margin: 16px 0 0; text-align: center; }
.form__success {
  display: none;
  text-align: center;
  padding: 28px 0;
}
.form__success.is-visible { display: block; }
.form__success svg { width: 56px; height: 56px; color: var(--green); margin: 0 auto 18px; }
.form__success h3 { margin: 0 0 8px; font-size: 22px; }
.form__success p { margin: 0; color: var(--ink-2); }
.form.is-sent .form__fields { display: none; }

/* map */
.map {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}
.map svg { display: block; width: 100%; height: auto; }
.map__pin-label {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 13px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.map__pin-label::before { content:""; width:8px; height:8px; border-radius:50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: #c8d0db;
  padding: 80px 0 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: #8a96a4; }
.footer__about { margin: 22px 0 0; font-size: 14.5px; max-width: 300px; color: #97a2b0; }
.footer h5 { color: #fff; font-size: 13px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 20px; font-weight: 500; }
.footer__col a, .footer__col p { display: block; color: #aeb8c4; font-size: 14.5px; margin: 0 0 12px; transition: color .18s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: #7e8a98;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
  [data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  [data-reveal-stagger].is-in > * { opacity: 1; transform: none; }
}
/* instant mode when the renderer pauses transitions/rAF */
.no-anim [data-reveal],
.no-anim [data-reveal-stagger] > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .section { padding: 104px 0; }
  .hero__variant--split .hero-split { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 80px; }
  .hero__variant--split .ph { height: 420px; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .tech__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .adv__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 880px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(n+1) { border-top: 1px solid var(--line); }
  .stat:nth-child(2)::before, .stat:nth-child(4)::before { content:""; display:block; left:0; }
  .stats__grid .stat:nth-child(odd) { border-right: 1px solid var(--line); }
}

@media (max-width: 680px) {
  :root { --gutter: 22px; }
  .section { padding: 80px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 44px; }
  .services__grid, .projects__grid, .adv__grid, .stats__grid, .about__features, .form__row { grid-template-columns: 1fr; }
  .stat { padding: 36px 6px; }
  .stat + .stat::before { display: none; }
  .stats__grid .stat:nth-child(odd) { border-right: none; }
  .stat { border-top: 1px solid var(--line); }
  .hero__variant--overlap .hero-overlap__card { margin-top: -90px; padding: 36px 28px; }
  .hero__variant--overlap .ph { height: 420px; }
  .hero__variant--centered .ph { height: 320px; }
  .hero-full { height: auto; min-height: 0; max-height: none; padding: 80px 0 64px; }
  .hero-full .hero-video--full { position: absolute; }
  .hero-full__scrim {
    background:
      linear-gradient(to top, rgba(255,255,255,.96) 8%, rgba(255,255,255,.62) 40%, rgba(255,255,255,.34) 100%);
  }
  .form { padding: 28px 22px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .adv { padding: 32px 26px; }
}
