:root {
  --ink-950: #14171A;
  --ink-900: #1B1F23;
  --ink-800: #272C31;

  --sand-100: #F2EDE4;
  --sand-50: #F8F5EF;
  --white-warm: #FDFCF9;

  --copper-600: #A96438;
  --copper-500: #B97745;
  --copper-400: #D09A70;

  --text-primary: #1D2125;
  --text-secondary: #656D72;
  --text-light: #E9E5DE;

  --border-light: #DDD7CC;
  --border-dark: #383D42;

  --footer-bg: #101214;
  --radius: 8px;
  --shadow-soft: 0 10px 30px rgba(20, 23, 26, 0.08);
  --container: 1240px;
  --text-max: 620px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 550ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--white-warm);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Manrope', 'Inter', sans-serif;
  margin: 0 0 0.5em;
  color: var(--text-primary);
}
h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 650;
}
h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 620;
}
h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 620;
}
h4 { font-size: 1.05rem; font-weight: 620; }
p { margin: 0 0 1em; color: var(--text-secondary); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink-950); color: var(--white-warm);
  padding: 12px 18px; border-radius: var(--radius); font-weight: 600; font-size: 14px;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--copper-500); outline-offset: 3px; }

/* Layout helpers */
.container { max-width: var(--container); margin-inline: auto; padding-inline: 32px; }
section { padding-block: 112px; }
.max-text { max-width: var(--text-max); }
.center { text-align: center; }
.center .max-text { margin-inline: auto; }
.lead { font-size: 18px; max-width: var(--text-max); color: var(--text-secondary); }
.center .lead { margin-inline: auto; }
.eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-500);
  margin-bottom: 18px;
}
.eyebrow-muted { color: var(--text-secondary); }
.copper { color: var(--copper-500); }

/* Section background utilities */
.bg-ink { background: var(--ink-950); color: var(--white-warm); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--white-warm); }
.bg-ink p { color: var(--text-light); opacity: 0.78; }
.bg-ink-2 { background: var(--ink-800); color: var(--white-warm); }
.bg-ink-2 h1, .bg-ink-2 h2, .bg-ink-2 h3, .bg-ink-2 h4 { color: var(--white-warm); }
.bg-ink-2 p { color: var(--text-light); opacity: 0.75; }
.bg-sand { background: var(--sand-50); }
.bg-sand-100 { background: var(--sand-100); }
.bg-white { background: var(--white-warm); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding-inline: 24px;
  border-radius: var(--radius);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--copper-500); color: var(--white-warm); }
.btn-primary:hover { background: var(--copper-600); }
.btn-outline-light { background: transparent; color: var(--white-warm); border-color: rgba(233, 229, 222, 0.4); }
.btn-outline-light:hover { background: var(--white-warm); color: var(--ink-950); }
.btn-outline-dark { background: transparent; color: var(--text-primary); border-color: var(--border-light); }
.btn-outline-dark:hover { background: var(--text-primary); color: var(--white-warm); border-color: var(--text-primary); }
.btn-block { width: 100%; justify-content: center; }
.btn-arrow { font-size: 15px; transition: transform var(--dur) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* Header */
header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), height var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
header.is-scrolled {
  position: fixed;
  height: 68px;
  background: rgba(253, 252, 249, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav { display: flex; align-items: center; justify-content: space-between; max-width: var(--container); margin-inline: auto; padding-inline: 32px; width: 100%; }
.brand { display: block; }
.brand img { height: 20px; width: auto; display: block; }
.brand .logo-dark { display: none; }
header.is-scrolled .brand .logo-light { display: none; }
header.is-scrolled .brand .logo-dark { display: block; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: rgba(253, 252, 249, 0.8); transition: color var(--dur) var(--ease); }
.nav-links a:hover { color: var(--copper-400); }
header.is-scrolled .nav-links a { color: var(--text-primary); }
header.is-scrolled .nav-links a:hover { color: var(--copper-600); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--white-warm); margin: 5px 0; transition: background var(--dur) var(--ease); }
header.is-scrolled .menu-toggle span { background: var(--text-primary); }

body.menu-open { overflow: hidden; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink-950);
  display: flex; flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 15px 0; font-family: 'Manrope', sans-serif; font-size: 21px; font-weight: 600; color: var(--white-warm); border-bottom: 1px solid rgba(233, 229, 222, 0.1); }
.mobile-nav .btn { margin-top: 28px; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-block: 150px 64px;
  overflow: hidden;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 58% 1fr; gap: 40px; align-items: center; width: 100%; }
.hero h1 { color: var(--white-warm); }
.hero h1 .copper { color: var(--copper-400); }
.hero .lead { color: var(--text-light); opacity: 0.82; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--copper-400); font-weight: 600; }
.hero-strip {
  position: relative; z-index: 2;
  margin-top: 72px; padding-top: 24px;
  border-top: 1px solid rgba(233, 229, 222, 0.14);
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 13px; letter-spacing: 0.03em; color: rgba(233, 229, 222, 0.5);
}
.hero-strip span:not(:last-child)::after { content: "·"; margin-left: 28px; color: rgba(233, 229, 222, 0.3); }
.hero-visual { position: relative; z-index: 1; }
.hero-visual svg { width: 100%; height: auto; }
.hero-draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1500ms var(--ease); }
.reveal.is-visible .hero-draw { stroke-dashoffset: 0; }
.hero-node { opacity: 0; transition: opacity 500ms var(--ease); }
.reveal.is-visible .hero-node { opacity: 1; }
.reveal.is-visible .hero-node:nth-of-type(1) { transition-delay: 200ms; }
.reveal.is-visible .hero-node:nth-of-type(2) { transition-delay: 340ms; }
.reveal.is-visible .hero-node:nth-of-type(3) { transition-delay: 480ms; }
.reveal.is-visible .hero-node:nth-of-type(4) { transition-delay: 620ms; }
.hero-indicator { opacity: 0; }
.reveal.is-visible .hero-indicator { animation: hero-indicator-move 1300ms var(--ease) 900ms forwards; }
@keyframes hero-indicator-move {
  0% { opacity: 0; transform: translate(0, 0); }
  12% { opacity: 1; }
  100% { opacity: 1; transform: translate(230px, 4px); }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-draw, .hero-node, .hero-indicator { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
}

/* Authority strip */
.authority { padding-block: 72px; }
.authority-title { text-align: center; max-width: 760px; margin-inline: auto; margin-bottom: 52px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.authority-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.authority-item {
  padding-inline: 26px;
  border-left: 1px solid var(--border-light);
}
.authority-item:first-child { border-left: none; padding-left: 0; }
.authority-num { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 13px; color: var(--copper-500); margin-bottom: 10px; }
.authority-item p { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 15px; color: var(--text-primary); margin: 0; line-height: 1.35; }

/* Problems - editorial */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; }
.problem-item { padding-inline: 30px; border-top: 1px solid var(--border-light); padding-top: 30px; }
.problem-item:first-child { padding-left: 0; }
.problem-item:not(:first-child) { border-left: 1px solid var(--border-light); }
.problem-num { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 32px; color: var(--copper-500); margin-bottom: 20px; }
.problem-item h3 { margin-bottom: 12px; }
.problem-item p { font-size: 15.5px; margin: 0; }

/* Transition statement (closes Problemas section) */
.transition-statement {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}
.transition-statement .rule { width: 44px; height: 2px; background: var(--copper-500); margin: 0 auto 28px; }
.transition-statement p {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 620;
  color: var(--text-primary);
  max-width: 760px;
  margin-inline: auto;
}

/* Services */
.services-grid { margin-top: 60px; }
.service-row { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding-block: 44px; border-top: 1px solid var(--border-dark); }
.service-row:last-child { border-bottom: 1px solid var(--border-dark); }
.service-num { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 20px; color: var(--copper-500); }
.service-body h3 { color: var(--white-warm); margin-bottom: 10px; }
.service-body > p { color: var(--text-light); opacity: 0.72; max-width: var(--text-max); margin-bottom: 20px; }
.service-caps { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0 0 20px; list-style: none; }
.service-caps li { font-size: 14.5px; color: var(--text-light); opacity: 0.62; position: relative; padding-left: 16px; }
.service-caps li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 1.5px; background: var(--copper-500); }
.service-link { color: var(--copper-400); font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { color: var(--copper-500); }

/* Cases */
.cases-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; margin-top: 60px; }
.case-item { border-top: 1px solid var(--border-light); padding-top: 26px; }
.case-item.is-primary { grid-row: span 2; }
.cases-secondary { display: flex; flex-direction: column; gap: 44px; }
.case-sector { display: block; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper-500); margin-bottom: 16px; }
.case-item.is-primary .case-sector { font-size: 13.5px; }
.case-field { margin-bottom: 16px; }
.case-field .label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.case-field p { margin: 0; font-size: 15px; color: var(--text-primary); }
.case-item.is-primary .case-field p { font-size: 16.5px; }

/* Methodology */
.method-line { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 68px; position: relative; }
.method-line::before { content: ""; position: absolute; top: 17px; left: 0; right: 0; height: 1px; background: var(--border-light); }
.method-step { position: relative; padding-top: 50px; }
.method-num {
  position: absolute; top: 0; left: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--white-warm); border: 1.5px solid var(--copper-500);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14px; color: var(--copper-500);
}
.method-step h4 { margin-bottom: 8px; }
.method-step p { font-size: 14.5px; margin: 0; }

/* Direccion y equipo */
.team-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; margin-top: 24px; }
.team-photo {
  border-radius: var(--radius); overflow: hidden; background: var(--ink-800);
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-dark);
}
.team-photo .placeholder-mark { color: rgba(233, 229, 222, 0.22); font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.06em; text-align: center; padding: 24px; line-height: 1.5; }
.team-quote { font-size: 19px; color: var(--white-warm); opacity: 0.92; margin-bottom: 28px; font-family: 'Manrope', sans-serif; font-weight: 600; letter-spacing: -0.01em; }
.team-info h4 { color: var(--white-warm); font-size: 19px; margin-bottom: 4px; }
.team-role { color: var(--copper-400); font-weight: 600; font-size: 14.5px; margin-bottom: 22px; }
.team-facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.team-facts li { font-size: 14.5px; color: var(--text-light); opacity: 0.7; padding-left: 18px; position: relative; }
.team-facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1.5px; background: var(--copper-500); }

/* Modalidades */
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.mode-card { position: relative; background: transparent; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 34px 28px; }
.mode-card.is-featured { background: var(--white-warm); border-color: var(--copper-500); box-shadow: var(--shadow-soft); }
.mode-tag { position: absolute; top: -12px; left: 28px; background: var(--copper-500); color: var(--white-warm); font-family: 'Manrope', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; padding: 4px 12px; border-radius: 999px; }
.mode-card h3 { font-size: 19px; margin-bottom: 10px; }
.mode-card > p { font-size: 14.5px; margin-bottom: 22px; min-height: 44px; }
.mode-card .btn { margin-top: 4px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 60px auto 0; }
.faq-item { border-top: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: 1px solid var(--border-light); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 24px; background: none; border: none; cursor: pointer; text-align: left;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 16.5px; color: var(--text-primary);
}
.faq-icon { flex: 0 0 auto; font-size: 20px; color: var(--copper-500); transition: transform var(--dur) var(--ease); line-height: 1; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq-a p { padding: 0 0 24px; margin: 0; font-size: 15px; max-width: var(--text-max); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; margin-top: 60px; align-items: start; }
.contact-benefits { list-style: none; margin: 0 0 32px; padding: 0; }
.contact-benefits li { padding: 14px 0; border-top: 1px solid rgba(233, 229, 222, 0.14); }
.contact-benefits li:first-child { border-top: none; }
.contact-benefits .label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--copper-400); margin-bottom: 4px; }
.contact-benefits .val { font-size: 14.5px; color: var(--text-light); opacity: 0.82; }
.contact-channel { margin-top: 24px; }
.contact-channel + .contact-channel { margin-top: 14px; }
.contact-channel .clabel { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(233, 229, 222, 0.5); margin-bottom: 4px; }
.contact-channel a { color: var(--white-warm); font-weight: 600; font-size: 15.5px; }
.contact-channel a:hover { color: var(--copper-400); }
.contact-form {
  background: var(--white-warm); border-radius: var(--radius); padding: 38px; color: var(--text-primary);
}
.form-progress { height: 3px; background: var(--border-light); border-radius: 3px; margin-bottom: 28px; overflow: hidden; }
.form-progress-bar { height: 100%; width: 50%; background: var(--copper-500); transition: width var(--dur) var(--ease); border-radius: 3px; }
.form-steps-label { display: flex; justify-content: space-between; font-family: 'Manrope', sans-serif; font-size: 12px; font-weight: 700; color: var(--text-secondary); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.form-steps-label .is-active { color: var(--text-primary); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--border-light); border-radius: var(--radius);
  font-family: inherit; font-size: 15px; background: var(--white-warm); color: var(--text-primary);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--copper-500); box-shadow: 0 0 0 3px rgba(185, 119, 69, 0.15);
}
.field-error { display: none; font-size: 12.5px; color: #a13c2e; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a13c2e; }
.field.has-error .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12.5px; color: var(--text-secondary); margin-top: 12px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-alert { display: none; padding: 13px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 20px; }
.form-alert-ok { background: #eef3ea; color: #3d5c33; border: 1px solid #cfe0c6; }
.form-alert-error { background: #f7e9e6; color: #8a3524; border: 1px solid #eaccc3; }
.form-alert.is-visible { display: block; }
.form-step { display: none; }
.form-step.is-active { display: block; }
.form-nav { display: flex; gap: 12px; margin-top: 6px; }

/* Footer */
footer { background: var(--footer-bg); color: rgba(233, 229, 222, 0.55); padding-block: 56px 28px; font-size: 13.5px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid rgba(233, 229, 222, 0.1); }
.footer-brand-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-brand-row img { height: 18px; }
.footer-tagline { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--copper-400); padding-left: 18px; border-left: 1px solid rgba(233, 229, 222, 0.2); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--white-warm); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 16px; font-size: 12.5px; }
.footer-legal a:hover { color: var(--white-warm); }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 54px; height: 54px; border-radius: 50%; background: var(--ink-950);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), bottom var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.06); background: var(--copper-500); }
body.cookie-visible .wa-float { bottom: 96px; }
@media (max-width: 560px) {
  .wa-float { width: 48px; height: 48px; bottom: 18px; right: 18px; }
  body.cookie-visible .wa-float { bottom: 130px; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--ink-950); color: rgba(233, 229, 222, 0.85);
  padding: 18px 24px;
  display: none; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
body.cookie-visible .cookie-banner { display: flex; }
.cookie-banner p { margin: 0; font-size: 13.5px; color: rgba(233, 229, 222, 0.75); max-width: 700px; }
.cookie-banner a { color: var(--copper-400); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Legal pages */
.page-hero { background: var(--ink-950); color: var(--white-warm); padding-block: 160px 56px; }
.page-hero .eyebrow { color: var(--copper-400); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.page-hero p { color: var(--text-light); opacity: 0.72; margin: 0; }
.legal { max-width: var(--text-max); margin-inline: auto; padding-block: 64px; }
.legal h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 15.5px; color: var(--text-secondary); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text-primary); }
.updated { font-size: 13px; color: var(--text-secondary); margin-bottom: 0; }

/* Responsive */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 54% 1fr; }
}
@media (max-width: 992px) {
  section { padding-block: 88px; }
  .hero-grid, .team-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin-inline: auto; }
  .problems-grid { grid-template-columns: 1fr; }
  .problem-item, .problem-item:not(:first-child) { padding-left: 0; border-left: none; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-item.is-primary { grid-row: auto; }
  .method-line { grid-template-columns: 1fr; gap: 28px; }
  .method-line::before { display: none; }
  .authority-row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .authority-item:nth-child(2n) { border-left: 1px solid var(--border-light); }
  .authority-item:nth-child(odd) { border-left: none; padding-left: 0; }
  .modes-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 768px) {
  .container { padding-inline: 20px; }
  section { padding-block: 72px; }
  h1 { letter-spacing: -0.03em; }
  .hero { min-height: 800px; padding-block: 128px 48px; }
  .hero-strip { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .hero-actions .btn { width: 100%; }
  .authority-row { grid-template-columns: 1fr; }
  .authority-item { border-left: none !important; padding-left: 0 !important; border-top: 1px solid var(--border-light); padding-top: 20px; padding-bottom: 4px; }
  .authority-item:first-child { border-top: none; }
  .services-grid .service-row { grid-template-columns: 1fr; gap: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .form-nav { flex-direction: column-reverse; }
  .team-photo { aspect-ratio: 16/10; }
}
@media (max-width: 480px) {
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-tagline { display: none; }
  .legal { padding-block: 48px; }
  .authority-title { font-size: 1.4rem; }
  .contact-form { padding: 26px; }
}
@media (max-width: 360px) {
  .btn { padding-inline: 18px; font-size: 14px; }
  h1 { letter-spacing: -0.02em; }
}
