/* =========================================================
   Ludeña Peritajes Forenses & Financieros — One Page
   Paleta tomada del branding: azul marino + dorado + neutros
   ========================================================= */
/* Calisto MT (tipografía del manual de marca): se usa la instalada en el equipo.
   Para servirla a todos los visitantes se requiere licencia web de Monotype;
   mientras tanto, el respaldo es Sorts Mill Goudy (Google Fonts). */
@font-face { font-family: "Calisto Brand"; src: local("Calisto MT"), local("CalistoMT"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Calisto Brand"; src: local("Calisto MT Italic"), local("CalistoMT-Italic"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Calisto Brand"; src: local("Calisto MT Bold"), local("CalistoMT-Bold"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Calisto Brand"; src: local("Calisto MT Bold Italic"), local("CalistoMT-BoldItalic"); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --navy-900: #071526;
  --navy-800: #0A1F38;
  --navy-700: #0D2A4A;
  --navy-600: #14365C;
  --gold-300: #EDD69A;
  --gold-400: #E3C47E;
  --gold-500: #C9A24A;
  --gold-600: #A9822F;
  --cream-50: #FBF8F2;
  --cream-100: #F5EEE1;
  --ink: #1B2533;
  --muted: #5B6678;
  --line: #E4DCCB;
  --white: #fff;

  --serif: "Calisto Brand", "Calisto MT", "Sorts Mill Goudy", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --radius: 4px;
  --shadow: 0 18px 40px -18px rgba(7, 21, 38, .35);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-400); }
.section__title { font-size: clamp(30px, 3.6vw, 44px); color: var(--navy-800); }
.section__title--light { color: var(--white); }
.section__intro { color: var(--muted); max-width: 620px; margin: 0 auto; }
.rule { display: block; width: 64px; height: 2px; background: var(--gold-500); margin: 22px 0 26px; }
.rule--center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; transition: all .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn--sm { padding: 11px 18px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--navy-900); }
.btn--gold:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(201, 162, 74, .7); }
.btn--outline-light { border-color: rgba(237, 214, 154, .6); color: var(--gold-300); }
.btn--outline-light:hover { background: rgba(237, 214, 154, .1); border-color: var(--gold-300); }
.btn--link-light { color: var(--white); padding-inline: 8px; }
.btn--link-light span { transition: transform .3s var(--ease); }
.btn--link-light:hover span { transform: translateX(5px); }
.btn--navy { background: var(--navy-800); color: var(--gold-300); }
.btn--navy:hover { background: var(--navy-600); }
.btn--whatsapp { background: #1FA855; color: #fff; margin-top: 8px; }
.btn--whatsapp:hover { background: #18914A; transform: translateY(-2px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .35s, box-shadow .35s, height .35s;
}
.header.is-scrolled {
  background: rgba(7, 21, 38, .96); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(237, 214, 154, .15); --header-h: 70px;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 46px; width: auto; transition: height .35s; }
.header.is-scrolled .header__logo img { height: 38px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  position: relative; color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 500; letter-spacing: .04em;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--gold-300); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: var(--gold-300); transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 960px); display: flex; flex-direction: column; justify-content: center;
  color: var(--white); overflow: hidden; background: var(--navy-900);
}
.hero__bg {
  position: absolute; inset: 0;
  /* Capa azul de marca + brillo dorado + foto, en un solo fondo (se conserva también al exportar a PDF) */
  background:
    linear-gradient(100deg, rgba(7, 21, 38, .97) 0%, rgba(10, 31, 56, .9) 45%, rgba(10, 31, 56, .55) 100%),
    radial-gradient(circle at 85% 20%, rgba(201, 162, 74, .18), transparent 50%),
    url("../assets/img/hero-balanza.jpg") center / cover no-repeat,
    var(--navy-900);
  transform: scale(1.06); animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { position: relative; padding: calc(var(--header-h) + 60px) 0 200px; }
.hero__title { font-size: clamp(38px, 5.4vw, 66px); font-weight: 400; max-width: 860px; margin-bottom: 26px; }
.hero__title em { font-style: italic; color: var(--gold-300); }
.hero__lead { font-size: clamp(16px, 1.4vw, 18px); color: rgba(255, 255, 255, .78); max-width: 640px; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__tagline {
  margin-top: 44px; font: italic 400 22px var(--serif); color: var(--gold-400);
  display: flex; align-items: center; gap: 16px;
}
.hero__tagline::before { content: ""; width: 48px; height: 1px; background: var(--gold-500); }
.hero__stats { position: absolute; inset: auto 0 0; border-top: 1px solid rgba(237, 214, 154, .18); background: rgba(7, 21, 38, .6); backdrop-filter: blur(6px); }
.hero__stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px; display: flex; gap: 14px; align-items: center; border-left: 1px solid rgba(237, 214, 154, .12); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font: 700 42px/1 var(--serif); color: var(--gold-300); }
.stat__label { font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, .7); }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--cream { background: var(--cream-100); }
.section--navy { background: var(--navy-800); color: rgba(255, 255, 255, .8); }
.section__head { text-align: center; margin-bottom: 64px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__media > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__media::before {
  content: ""; position: absolute; inset: -18px auto auto -18px; width: 60%; height: 60%;
  border: 1px solid var(--gold-500); z-index: -1;
}
.about__badge {
  position: absolute; right: -30px; bottom: 40px; max-width: 260px; display: flex; gap: 14px; align-items: center;
  background: var(--navy-800); color: rgba(255, 255, 255, .85); padding: 20px 22px; border-radius: var(--radius); box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.5;
}
.about__badge img { width: 40px; flex: none; }
.about__badge p { margin: 0; }
.about__badge strong { color: var(--gold-300); font-family: var(--serif); font-size: 20px; display: block; }
.about__text > p { color: var(--muted); }
.about__text strong { color: var(--navy-800); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 32px 0; padding: 28px 0; border-block: 1px solid var(--line); }
.mv h3 { font-size: 24px; color: var(--navy-800); margin-bottom: 8px; }
.mv p { font-size: 14px; color: var(--muted); margin: 0; }
.callout { margin: 0; padding: 18px 22px; background: var(--cream-100); border-left: 3px solid var(--gold-500); font-size: 14px; color: var(--ink); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 100px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--white); padding: 38px 30px; transition: background .35s; }
.value:hover { background: var(--cream-50); }
.value svg { width: 44px; height: 44px; fill: none; stroke: var(--gold-500); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.value h3 { font-size: 23px; color: var(--navy-800); margin-bottom: 10px; }
.value p { font-size: 14px; color: var(--muted); margin: 0; }

/* Specialties */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.spec {
  display: grid; grid-template-columns: 180px 1fr; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.spec:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.spec__img { background-size: cover; background-position: center; position: relative; filter: saturate(.75); }
.spec__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 31, 56, .15), rgba(10, 31, 56, .55)); }
.spec__body { padding: 32px 30px; position: relative; }
.spec__num { font: 700 15px var(--serif); color: var(--gold-600); letter-spacing: .1em; }
.spec h3 { font-size: 25px; color: var(--navy-800); margin: 6px 0 16px; }
.spec p { font-size: 14px; color: var(--muted); }
.spec li { position: relative; padding-left: 20px; font-size: 14px; color: var(--muted); margin-bottom: 7px; line-height: 1.55; }
.spec li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; background: var(--gold-500); transform: rotate(45deg); }
.spec--wide { grid-column: 1 / -1; grid-template-columns: 300px 1fr; }

/* Multidisciplinary */
.multi { position: relative; overflow: hidden; }
.multi::before {
  content: ""; position: absolute; right: -120px; top: -60px; width: 520px; height: 680px;
  background: url("../assets/img/isotipo-dorado.png") no-repeat center / contain; opacity: .05;
}
.multi__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.multi__quote {
  margin: 0 0 22px; font: italic 400 23px/1.5 var(--serif); color: var(--gold-300);
  padding-left: 22px; border-left: 2px solid var(--gold-500);
}
.multi__cards { display: grid; gap: 18px; }
.mcard {
  display: flex; gap: 20px; padding: 26px 28px; border: 1px solid rgba(237, 214, 154, .2);
  border-radius: var(--radius); background: rgba(255, 255, 255, .03); transition: border-color .3s, background .3s;
}
.mcard:hover { border-color: rgba(237, 214, 154, .55); background: rgba(255, 255, 255, .06); }
.mcard svg { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--gold-400); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mcard h3 { color: var(--white); font-size: 22px; margin-bottom: 6px; }
.mcard p { font-size: 14px; margin: 0; color: rgba(255, 255, 255, .65); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500) 15%, var(--gold-500) 85%, transparent); }
.step { text-align: center; position: relative; }
.step__num {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--navy-800); color: var(--gold-300); font: 700 28px var(--serif);
  box-shadow: 0 0 0 8px var(--white), 0 0 0 9px var(--line); transition: transform .4s var(--ease);
}
.step:hover .step__num { transform: scale(1.08); }
.step h3 { font-size: 23px; color: var(--navy-800); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); }

/* Team */
.team { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 32px; }
.member { display: grid; grid-template-columns: 220px 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.member__body { padding: 34px 32px; }
.member__role { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.member h3 { font-size: 26px; color: var(--navy-800); margin-bottom: 14px; }
.member__body > p { font-size: 14px; color: var(--muted); }
.director { display: grid; grid-template-columns: 340px 1fr; max-width: 1080px; margin: 0 auto; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-top: 3px solid var(--gold-500); }
.director__photo { position: relative; min-height: 420px; }
.director__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.director__years { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 26px; background: linear-gradient(to top, rgba(7, 21, 38, .95), rgba(7, 21, 38, .55)); display: flex; align-items: center; gap: 14px; }
.director__years strong { font: 700 46px/1 var(--serif); color: var(--gold-300); }
.director__years span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .85); max-width: 130px; line-height: 1.4; }
.director__body { padding: 46px 48px; }
.director__body h3 { font-size: 32px; color: var(--navy-800); margin-bottom: 14px; }
.director__lead { font: italic 400 21px/1.5 var(--serif); color: var(--navy-700); margin-bottom: 26px; padding-left: 18px; border-left: 2px solid var(--gold-500); }
.director__body > p:not(.director__lead):not(.member__role) { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.director__sub { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-800); margin: 28px 0 14px; }
.director__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 26px; }
.director__list li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.director__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--gold-500); }
.director__list--check li::before { content: "✓"; width: auto; height: auto; top: 0; background: none; color: var(--gold-600); font-weight: 700; }
@media (max-width: 1080px) {
  .director { grid-template-columns: minmax(0, 1fr); }
  .director__photo { min-height: 360px; }
}
@media (max-width: 640px) {
  .director__body { padding: 32px 22px; }
  .director__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .director__body h3 { font-size: 26px; }
}
.creds { display: flex; flex-wrap: wrap; gap: 8px; }
.creds li { font-size: 11px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--gold-400); color: var(--navy-700); border-radius: 30px; }

/* Coverage */
.coverage { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: center; }
.coverage__text > p { color: var(--muted); }
.regions { margin-top: 28px; border-top: 1px solid var(--line); }
.regions li {
  display: flex; justify-content: space-between; align-items: baseline; padding: 15px 4px; border-bottom: 1px solid var(--line);
  cursor: default; transition: padding .3s var(--ease), background .3s;
}
.regions li span { font: 400 22px var(--serif); color: var(--navy-800); }
.regions li small { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.regions li.is-hover { background: var(--cream-100); padding-inline: 14px; }
.coverage__map { background: var(--navy-800); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.coverage__map svg { width: 100%; height: auto; }
.map__ocean { font: italic 15px var(--serif); fill: rgba(237, 214, 154, .35); letter-spacing: .1em; }
.map__lines line { stroke: rgba(237, 214, 154, .35); stroke-width: 1; stroke-dasharray: 4 5; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.map__city circle:not([fill]) { fill: var(--gold-400); stroke: var(--navy-800); stroke-width: 3; transition: r .3s; }
.map__city text { font: 600 13px var(--sans); fill: var(--white); }
.map__city .map__sub { font: 500 10px var(--sans); fill: rgba(237, 214, 154, .75); letter-spacing: .08em; text-transform: uppercase; }
.map__city.is-hover circle:not([fill]) { r: 11; fill: var(--gold-300); }
.map__city--hq circle:not([fill]) { fill: var(--gold-300); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact__info > p { color: var(--muted); }
.channels { margin: 30px 0; display: grid; gap: 20px; }
.channels li { display: flex; gap: 16px; align-items: center; }
.channels svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--navy-800); color: var(--gold-300); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.channels small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }
.channels a, .channels span { font-weight: 600; color: var(--navy-800); word-break: break-word; }
.channels a:hover { color: var(--gold-600); }

.form { background: var(--white); padding: 44px 40px; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--gold-500); }
.form h3 { font-size: 28px; color: var(--navy-800); margin-bottom: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--navy-700); margin-bottom: 18px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 13px 14px; font: 400 15px var(--sans); color: var(--ink);
  background: var(--cream-50); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201, 162, 74, .18); background: var(--white); }
.form .is-invalid { border-color: #B4442F; }
.form__note { font-size: 12px; color: var(--muted); }
.form label.form__consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; letter-spacing: 0; line-height: 1.5; color: var(--muted); }
.form .form__consent input { width: 18px; height: 18px; flex: none; margin: 2px 0 0; padding: 0; accent-color: var(--navy-800); }
.form .form__consent input.is-invalid { outline: 2px solid #B4442F; outline-offset: 2px; }
.form__consent a { color: var(--navy-800); text-decoration: underline; }
.form__consent a:hover { color: var(--gold-600); }
.form__status { margin: 14px 0 0; font-size: 14px; font-weight: 600; min-height: 1em; }
.form__status.ok { color: #1F7A45; }
.form__status.err { color: #B4442F; }

/* Footer */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .65); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 40px; padding: 80px 0 60px; }
.footer__brand img { height: 56px; width: auto; }
.footer__tag { margin-top: 18px; font: italic 400 19px var(--serif); color: var(--gold-400); }
.footer h4 { font: 700 12px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 18px; }
.footer li { margin-bottom: 10px; word-break: break-word; }
.footer a:hover { color: var(--gold-300); }
.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(237, 214, 154, .3); border-radius: 50%; color: var(--gold-300); transition: .3s; }
.social a:hover { background: var(--gold-400); color: var(--navy-900); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(237, 214, 154, .12); padding: 22px 0; font-size: 12px; text-align: center; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #1FA855; color: #fff; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .map__lines line { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .about, .multi__grid, .coverage, .contact { grid-template-columns: 1fr; gap: 56px; }
  .about__media { max-width: 560px; }
  .about__badge { right: 16px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .specs, .team { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: 10px 24px 26px; border-top: 1px solid rgba(237, 214, 154, .15);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 18px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header { background: rgba(7, 21, 38, .96); }
  .hero__stats { position: relative; }
  .hero__content { padding-bottom: 70px; }
  .hero__stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 16px; border-left: 0; border-top: 1px solid rgba(237, 214, 154, .12); }
  .stat:first-child { padding-left: 16px; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .section { padding: 84px 0; }
  .header__logo img { height: 36px; }
  .hero__actions .btn { width: 100%; }
  .hero__stats-grid { grid-template-columns: 1fr; }
  .stat__num { font-size: 36px; }
  .values { grid-template-columns: 1fr; margin-top: 70px; }
  .mv { grid-template-columns: 1fr; }
  .spec, .spec--wide, .member { grid-template-columns: 1fr; }
  .spec__img { height: 160px; }
  .member__photo img { height: 300px; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 32px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; padding-top: 60px; }
  .about__badge { position: relative; right: auto; bottom: auto; margin-top: -40px; margin-left: 16px; }
}
