/* ==========================================================================
   ACM Soluciones Jurídicas y Financieras — Sistema de diseño
   Azul profundo · Ocre · Marfil
   ========================================================================== */

:root {
  --navy-950: #040b2b;
  --navy-900: #071440;
  --navy: #0b1c5a;
  --navy-700: #15296f;
  --navy-500: #2c418a;
  --ochre: #b5832c;
  --ochre-600: #9a6d20;
  --ochre-300: #d9b46e;
  --ochre-100: #f1e3c4;
  --ivory: #f7f3ea;
  --paper: #fbf9f4;
  --white: #ffffff;
  --ink: #0e1530;
  --muted: #5a6078;
  --muted-light: #a9b0c9;
  --line: rgba(11, 28, 90, 0.12);
  --line-light: rgba(247, 243, 234, 0.14);
  --wa: #25d366;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", sans-serif;

  --radius: 4px;
  --radius-lg: 18px;
  --shadow: 0 30px 60px -30px rgba(7, 20, 64, 0.35);
  --shadow-soft: 0 18px 40px -24px rgba(7, 20, 64, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 88px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
::selection { background: var(--ochre); color: var(--white); }

:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ochre); color: var(--white); padding: 10px 18px; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 920px; }

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

/* Grain overlay for depth */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 { font-family: var(--serif); letter-spacing: -0.01em; }
.h1 { font-size: clamp(2.9rem, 6.4vw, 5.9rem); line-height: .98; font-weight: 500; }
.h2 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.04; font-weight: 500; }
.h3 { font-size: clamp(1.55rem, 2.2vw, 2rem); line-height: 1.15; font-weight: 600; }
.h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 500; color: var(--ochre); }
.on-dark .h1 em, .on-dark .h2 em, .on-dark .h3 em { color: var(--ochre-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--ochre-300); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 34px; height: 1px; background: currentColor; }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.7; color: var(--muted); font-weight: 300; }
.on-dark .lead { color: var(--muted-light); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Gold rule with dot — inspired by the brand banner */
.rule {
  position: relative; height: 1px; background: linear-gradient(90deg, var(--ochre), rgba(181,131,44,.15));
  margin: 34px 0; max-width: 420px;
}
.rule::before { content: ""; position: absolute; left: 0; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ochre); --fg: var(--white);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg); background: var(--bg);
  border: 1px solid var(--bg); border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 16px 30px -16px rgba(181,131,44,.7); transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.on-dark .btn::before, .btn--light::before { background: var(--ivory); }
.on-dark .btn:hover, .btn--light:hover { color: var(--navy); }

.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: rgba(11,28,90,.3); }
.btn--ghost::before { background: var(--navy); }
.btn--ghost:hover { color: var(--ivory); border-color: var(--navy); box-shadow: none; }
.on-dark .btn--ghost { --fg: var(--ivory); border-color: rgba(247,243,234,.35); }
.on-dark .btn--ghost::before { background: var(--ivory); }
.on-dark .btn--ghost:hover { color: var(--navy); border-color: var(--ivory); }

.btn--navy { --bg: var(--navy); }
.btn--navy::before { background: var(--ochre); }

.btn--wa { --bg: var(--wa); --fg: #06301a; }
.btn--wa::before { background: var(--navy); }
.btn--wa:hover { color: var(--white); box-shadow: 0 16px 30px -16px rgba(37,211,102,.7); }
.btn--sm { padding: 13px 22px; font-size: 12.5px; }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.4; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy);
}
.link-arrow span { position: relative; }
.link-arrow span::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--ochre); transform-origin: right; transition: transform .5s var(--ease); }
.link-arrow:hover span::after { transform: scaleX(0); }
.link-arrow svg { width: 18px; height: 18px; color: var(--ochre); transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }
.on-dark .link-arrow { color: var(--ivory); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand img { height: 60px; width: auto; transition: height .5s var(--ease); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 24px; font-weight: 600; letter-spacing: .06em; color: var(--ivory); transition: color .4s; }
.brand__name b { color: var(--ochre-300); font-weight: 600; }
.brand__tag { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ochre-300); }
.brand__tag + .brand__tag { margin-top: 3px; }
.brand__text { padding-left: 14px; border-left: 1px solid rgba(217,180,110,.4); }
.brand .logo-dark { display: none; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; padding: 10px 14px;
  font-size: 13px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  color: rgba(247,243,234,.82);
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--ochre-300);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ivory); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 14px; }

.site-header.is-solid {
  background: rgba(251, 249, 244, .9);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
  height: 74px;
}
.site-header.is-solid .brand img { height: 48px; }
.site-header.is-solid .brand .logo-light { display: none; }
.site-header.is-solid .brand .logo-dark { display: block; }
.site-header.is-solid .brand__name { color: var(--navy); }
.site-header.is-solid .brand__name b { color: var(--ochre); }
.site-header.is-solid .brand__tag { color: var(--ochre); }
.site-header.is-solid .nav__link { color: var(--muted); }
.site-header.is-solid .nav__link:hover, .site-header.is-solid .nav__link[aria-current="page"] { color: var(--navy); }
.site-header.is-solid .nav__link::after { background: var(--ochre); }
.site-header.is-solid .menu-toggle span { background: var(--navy); }

.menu-toggle { display: none; width: 46px; height: 46px; position: relative; z-index: 120; }
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ivory);
  transition: transform .45s var(--ease), opacity .3s, background .3s, top .45s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22.5px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-open .menu-toggle span { background: var(--ivory) !important; }
.menu-open .menu-toggle span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 22.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--navy-900);
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.mobile-menu a.m-link {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); line-height: 1.25; color: var(--ivory);
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu a.m-link small { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--ochre-300); }
.mobile-menu a.m-link[aria-current="page"] { color: var(--ochre-300); }
.menu-open .mobile-menu a.m-link { opacity: 1; transform: none; }
.menu-open .mobile-menu a.m-link:nth-child(2) { transition-delay: .06s; }
.menu-open .mobile-menu a.m-link:nth-child(3) { transition-delay: .12s; }
.menu-open .mobile-menu a.m-link:nth-child(4) { transition-delay: .18s; }
.menu-open .mobile-menu a.m-link:nth-child(5) { transition-delay: .24s; }
.mobile-menu__foot { margin-top: 44px; display: grid; gap: 18px; color: var(--muted-light); font-size: 15px; }
.mobile-menu__foot .btn { justify-self: start; }
body.menu-open { overflow: hidden; }
.menu-open .site-header { z-index: 130; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .brand .logo-light { display: block; }
.menu-open .site-header .brand .logo-dark { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background: radial-gradient(1200px 700px at 78% 30%, rgba(181,131,44,.22), transparent 60%),
              radial-gradient(900px 600px at 0% 100%, rgba(44,65,138,.55), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: var(--ivory);
  padding: calc(var(--header-h) + 60px) 0 90px;
  overflow: hidden;
  display: flex; align-items: center;
}
.hero__lines { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero__title { margin-bottom: 18px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
.hero__sub {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--ochre-300);
  margin: 0 0 8px; opacity: 0; animation: fade 1.2s .5s var(--ease) forwards;
}
.hero .lead { max-width: 540px; opacity: 0; animation: fade 1.2s .65s var(--ease) forwards; }
.hero .btn-row { margin-top: 38px; opacity: 0; animation: fade 1.2s .8s var(--ease) forwards; }
.hero .eyebrow { opacity: 0; animation: fade 1s .1s var(--ease) forwards; }

.hero__trust {
  margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line-light);
  display: grid; grid-template-columns: repeat(3, auto); gap: 34px; justify-content: start;
  opacity: 0; animation: fade 1.2s 1s var(--ease) forwards;
}
.hero__trust div { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted-light); line-height: 1.35; }
.hero__trust svg { width: 26px; height: 26px; color: var(--ochre-300); flex: none; }
.hero__trust strong { display: block; color: var(--ivory); font-weight: 500; }

.hero__visual { position: relative; justify-self: end; width: 100%; max-width: 470px; opacity: 0; animation: fade 1.6s .35s var(--ease) forwards; }
.arch {
  position: relative; aspect-ratio: 4 / 5.3; border-radius: 999px 999px 6px 6px; overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.6);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,20,64,.55)); }
.arch-outline {
  position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(217,180,110,.55);
  border-radius: 999px 999px 6px 6px; pointer-events: none;
}
.hero__roof { position: absolute; left: 50%; top: -74px; width: 86%; transform: translateX(-50%); color: var(--ochre-300); }
.hero__roof path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s .8s var(--ease) forwards; }

.float-card {
  position: absolute; z-index: 2;
  background: rgba(251,249,244,.96); color: var(--ink);
  border-radius: 14px; padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 14px;
  animation: floaty 7s ease-in-out infinite;
}
.float-card--a { left: -64px; bottom: 90px; }
.float-card--b { right: -26px; top: 64px; animation-delay: -3s; background: rgba(7,20,64,.75); color: var(--ivory); border: 1px solid var(--line-light); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.float-card__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ochre-100); color: var(--ochre-600); flex: none; }
.float-card__icon svg { width: 22px; height: 22px; }
.float-card strong { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.1; font-weight: 600; }
.float-card small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.float-card--b small { color: var(--muted-light); }
.float-card--b img { height: 30px; width: auto; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-light);
}
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--ochre-300), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ivory); animation: scrollcue 2.2s ease-in-out infinite; }

/* ---------- Page hero (internal) ---------- */
.page-hero {
  position: relative; color: var(--ivory); overflow: hidden;
  padding: calc(var(--header-h) + 90px) 0 110px;
  background: var(--navy-900);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4) contrast(1.05); transform: scale(1.08); animation: slowzoom 18s ease-out forwards; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-950) 10%, rgba(7,20,64,.88) 45%, rgba(11,28,90,.55) 100%),
              radial-gradient(700px 400px at 85% 20%, rgba(181,131,44,.25), transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero .h1 { max-width: 15ch; font-size: clamp(2.8rem, 5.8vw, 5.2rem); }
.page-hero .lead { max-width: 620px; margin-top: 26px; }
.breadcrumb { display: flex; gap: 10px; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--ochre-300); }
.breadcrumb span[aria-current] { color: var(--ochre-300); }
.page-hero .fade-in { opacity: 0; animation: fade 1.1s var(--ease) forwards; }
.page-hero .fade-in:nth-child(2) { animation-delay: .1s; }
.page-hero .fade-in:nth-child(3) { animation-delay: .2s; }
.page-hero .fade-in:nth-child(4) { animation-delay: .3s; }
.page-hero .fade-in:nth-child(5) { animation-delay: .4s; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.section--tight { padding: clamp(64px, 8vw, 100px) 0; }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy); color: var(--ivory); }
.section--deep { background: var(--navy-900); color: var(--ivory); }
.section--navy, .section--deep { overflow: hidden; }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head.text-center { margin-left: auto; margin-right: auto; }
.section__head .lead { margin-top: 22px; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.split-head .lead { margin: 0; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ochre); color: var(--navy-950); overflow: hidden; padding: 20px 0; position: relative; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item { display: flex; align-items: center; gap: 30px; padding-right: 30px; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; font-style: italic; white-space: nowrap; }
.marquee__item svg { width: 18px; height: 18px; color: var(--navy); }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Pain points ---------- */
.pains { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.pain-list li {
  display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease);
}
.pain-list li:first-child { border-top: 1px solid var(--line); }
.pain-list li:hover { padding-left: 12px; }
.pain-list .num { font-family: var(--serif); font-size: 20px; color: var(--ochre); font-style: italic; }
.pain-list h3 { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; line-height: 1.2; color: var(--navy); }
.pain-list p { grid-column: 2; margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.solution-card {
  position: sticky; top: 120px;
  background: var(--navy); color: var(--ivory); border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px); overflow: hidden;
}
.solution-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(181,131,44,.4), transparent 70%);
}
.solution-card .h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.solution-card p { color: var(--muted-light); }
.solution-card .btn-row { margin-top: 30px; }
.solution-card__img { position: absolute; right: 0; bottom: 0; width: 46%; opacity: .12; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.service-card {
  position: relative; background: var(--paper); padding: 44px 34px 40px; min-height: 380px;
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy);
  transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { color: var(--ivory); }
.service-card__num { font-family: var(--serif); font-style: italic; color: var(--ochre); font-size: 18px; }
.service-card__icon { width: 58px; height: 58px; margin: 26px 0 30px; color: var(--ochre); transition: transform .6s var(--ease), color .5s; }
.service-card:hover .service-card__icon { transform: translateY(-4px) scale(1.06); color: var(--ochre-300); }
.service-card h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.12; color: var(--navy); margin-bottom: 14px; transition: color .5s; }
.service-card:hover h3 { color: var(--ivory); }
.service-card p { font-size: 15.5px; color: var(--muted); transition: color .5s; }
.service-card:hover p { color: var(--muted-light); }
.service-card .link-arrow { margin-top: auto; }
.service-card:hover .link-arrow { color: var(--ivory); }

/* ---------- Figures (Ley 2445) ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.figure { padding: 46px 30px 10px 0; border-right: 1px solid var(--line-light); }
.figure + .figure { padding-left: 30px; }
.figure:last-child { border-right: 0; }
.figure__value { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: 1; color: var(--ochre-300); font-weight: 500; letter-spacing: -0.02em; }
.figure__value small { font-size: .42em; letter-spacing: 0; margin-left: 4px; }
.figure__label { margin-top: 16px; font-size: 15px; color: var(--muted-light); max-width: 240px; }
.figure__label strong { color: var(--ivory); font-weight: 500; display: block; font-size: 16px; margin-bottom: 4px; }
.note { font-size: 13px; color: var(--muted-light); margin-top: 40px; opacity: .8; max-width: 760px; }
.on-light .note, .section--ivory .note { color: var(--muted); }

.law-badge {
  position: absolute; right: var(--gutter); top: 0; width: 170px; height: 170px; transform: translateY(-50%);
  animation: spin 40s linear infinite; color: var(--ochre-300);
}

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 33px; height: 1px; background: linear-gradient(90deg, var(--ochre), rgba(181,131,44,.15)); }
.step { position: relative; padding-top: 0; }
.step__dot {
  position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--ochre); color: var(--ochre);
  font-family: var(--serif); font-size: 26px; font-style: italic; margin-bottom: 30px;
  transition: background .5s, color .5s;
}
.section--ivory .step__dot { background: var(--ivory); }
.step:hover .step__dot { background: var(--ochre); color: var(--white); }
.step h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--navy); line-height: 1.15; margin-bottom: 12px; }
.step p { font-size: 15.5px; color: var(--muted); margin: 0; }
.on-dark .step__dot { background: var(--navy); }
.on-dark .step h3 { color: var(--ivory); }
.on-dark .step p { color: var(--muted-light); }

/* ---------- About teaser ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.portrait { position: relative; }
.portrait__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.portrait::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--ochre); border-radius: var(--radius-lg); z-index: -1; }
.portrait__badge {
  position: absolute; left: -34px; bottom: 44px; background: var(--navy); color: var(--ivory);
  padding: 22px 26px; border-radius: 12px; box-shadow: var(--shadow); max-width: 240px;
}
.portrait__badge strong { font-family: var(--serif); font-size: 22px; display: block; line-height: 1.15; font-weight: 600; }
.portrait__badge small { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ochre-300); }
.quote { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.45rem); line-height: 1.22; color: var(--navy); font-style: italic; font-weight: 500; margin: 0 0 30px; position: relative; }
.quote::before { content: "“"; display: block; height: .55em; font-size: 3.2em; line-height: 1; color: var(--ochre); opacity: .55; }
.checks { display: grid; gap: 14px; margin: 28px 0 36px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.checks svg { width: 22px; height: 22px; color: var(--ochre); flex: none; margin-top: 3px; }
.on-dark .checks li { color: var(--ivory); }
.checks--2 { grid-template-columns: 1fr 1fr; gap: 14px 30px; }

/* ---------- Alliance ---------- */
.alliance { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.alliance__logos {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 30px;
  padding: 60px 40px; border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}
.alliance__logos img { height: auto; }
.alliance__logos .acm { width: 150px; }
.alliance__logos .avz { width: 210px; }
.alliance__x { font-family: var(--serif); font-size: 46px; color: var(--ochre-300); font-style: italic; line-height: 1; }
.alliance__card { background: var(--ivory); border-radius: var(--radius-lg); padding: 50px 40px; display: grid; place-items: center; gap: 22px; }
.alliance__card img { width: 260px; }

/* ---------- Coverage map ---------- */
.coverage { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.map { position: relative; max-width: 460px; margin: 0 auto; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map .country { fill: rgba(181,131,44,.08); stroke: var(--ochre); stroke-width: 1.4; stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 3s var(--ease); }
.map.is-in .country { stroke-dashoffset: 0; }
.map .city circle.dot { fill: var(--navy); }
.on-dark .map .city circle.dot { fill: var(--ivory); }
.map .city circle.pulse { fill: var(--ochre); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.map .city text { font-family: var(--sans); font-size: 12px; fill: var(--muted); letter-spacing: .04em; }
.on-dark .map .city text { fill: var(--muted-light); }
.map .city { opacity: 0; transition: opacity .6s; }
.map.is-in .city { opacity: 1; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.cities span { font-size: 13px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); }
.on-dark .cities span { border-color: var(--line-light); color: var(--muted-light); }

/* ---------- Quiz ---------- */
.quiz {
  position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  display: grid; grid-template-columns: .8fr 1.2fr;
}
.quiz__aside { position: relative; background: var(--navy); color: var(--ivory); padding: 50px 44px; overflow: hidden; }
.quiz__aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.quiz__aside > * { position: relative; }
.quiz__aside .h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 500; }
.quiz__aside p { color: var(--muted-light); font-size: 15.5px; margin-top: 16px; }
.quiz__progress { display: flex; gap: 6px; margin-top: 34px; }
.quiz__progress i { flex: 1; height: 3px; background: rgba(247,243,234,.18); border-radius: 2px; overflow: hidden; position: relative; }
.quiz__progress i::after { content: ""; position: absolute; inset: 0; background: var(--ochre-300); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.quiz__progress i.done::after { transform: scaleX(1); }
.quiz__body { padding: 50px clamp(28px, 4vw, 56px); min-height: 420px; display: flex; flex-direction: column; }
.quiz__step { display: none; animation: fade .6s var(--ease); }
.quiz__step.is-active { display: block; }
.quiz__count { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ochre); }
.quiz__q { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.18; color: var(--navy); margin: 14px 0 28px; font-weight: 600; }
.quiz__options { display: grid; gap: 12px; }
.quiz__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--white);
  font-size: 16px; transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.quiz__opt:hover { border-color: var(--ochre); transform: translateX(4px); }
.quiz__opt svg { width: 18px; height: 18px; color: var(--ochre); flex: none; opacity: 0; transition: opacity .3s; }
.quiz__opt:hover svg { opacity: 1; }
.quiz__result { text-align: left; }
.quiz__result .h3 { color: var(--navy); margin: 12px 0 14px; }
.quiz__result p { color: var(--muted); }
.quiz__result .btn-row { margin-top: 26px; }
.quiz__restart { margin-top: 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.quiz__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 99px; background: var(--ochre-100); color: var(--ochre-600); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.quiz__badge.is-maybe { background: #e7ebf6; color: var(--navy-700); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: var(--ivory); padding: clamp(90px, 12vw, 160px) 0; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 50% 50%, rgba(181,131,44,.28), transparent 70%), linear-gradient(180deg, rgba(4,11,43,.7), rgba(4,11,43,.92)); }
.cta-band .container { position: relative; }
.cta-band .h2 { max-width: 16ch; margin: 0 auto; font-size: clamp(2.5rem, 5.2vw, 4.6rem); }
.cta-band .lead { max-width: 560px; margin: 26px auto 40px; }
.cta-band .btn-row { justify-content: center; }
.cta-band__roof { width: 120px; margin: 0 auto 34px; color: var(--ochre-300); }

/* ---------- Service detail (servicios) ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding: clamp(60px, 7vw, 100px) 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-soft); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.05); }
.svc__tag { position: absolute; left: 22px; top: 22px; background: rgba(251,249,244,.94); padding: 8px 16px; border-radius: 99px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.svc__num { font-family: var(--serif); font-style: italic; color: var(--ochre); font-size: 20px; display: block; margin-bottom: 14px; }
.svc .h2 { font-size: clamp(2rem, 3.4vw, 3rem); color: var(--navy); }
.svc p { color: var(--muted); margin-top: 20px; }
.svc .checks { margin: 22px 0 30px; }
.svc .checks li { font-size: 16px; }

.include-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.include {
  padding: 38px 32px; border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,0));
  transition: transform .6s var(--ease), border-color .5s, background .5s;
}
.include:hover { transform: translateY(-6px); border-color: rgba(217,180,110,.5); background: linear-gradient(160deg, rgba(181,131,44,.12), rgba(255,255,255,0)); }
.include svg { width: 40px; height: 40px; color: var(--ochre-300); margin-bottom: 24px; }
.include h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.15; margin-bottom: 10px; }
.include p { color: var(--muted-light); font-size: 15.5px; margin: 0; }

.fees { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.fees__main { background: var(--paper); padding: clamp(40px, 5vw, 64px); }
.fees__side { background: var(--ochre); color: var(--navy-950); padding: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.fees__side .big { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5rem); line-height: .95; font-weight: 500; }
.fees__side p { margin-top: 18px; font-size: 16px; }
.fees__side .btn { margin-top: 18px; align-self: flex-start; }
.fees__side .btn--navy::before { background: var(--ivory); }
.fees__side .btn--navy:hover { color: var(--navy); }

/* ---------- Ley page ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--ink); font-weight: 500; }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 5.2em; line-height: .8; padding: 8px 14px 0 0; color: var(--ochre); }

.req-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.req { background: var(--paper); border-radius: var(--radius-lg); padding: 34px 28px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.req:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.req__big { font-family: var(--serif); font-size: 3.6rem; color: var(--ochre); line-height: 1; font-weight: 500; }
.req h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 14px 0 8px; color: var(--navy); line-height: 1.2; }
.req p { color: var(--muted); font-size: 15px; margin: 0; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.benefit { padding: 40px 34px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background .5s; }
.benefit:hover { background: rgba(181,131,44,.08); }
.benefit svg { width: 36px; height: 36px; color: var(--ochre-300); margin-bottom: 22px; }
.benefit h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; line-height: 1.2; }
.benefit p { color: var(--muted-light); font-size: 15.5px; margin: 0; }

.tabs { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-soft); }
.tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.tabs__btn { position: relative; padding: 24px 20px; text-align: left; border-right: 1px solid var(--line); transition: background .4s; }
.tabs__btn:last-child { border-right: 0; }
.tabs__btn small { display: block; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre); }
.tabs__btn span { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--muted); transition: color .3s; }
.tabs__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ochre); transform: scaleX(0); transition: transform .5s var(--ease); }
.tabs__btn[aria-selected="true"] { background: var(--white); }
.tabs__btn[aria-selected="true"] span { color: var(--navy); }
.tabs__btn[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__panel { padding: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; animation: fade .6s var(--ease); }
.tabs__panel[hidden] { display: none; }
.tabs__panel h3 { font-family: var(--serif); font-size: 2rem; color: var(--navy); font-weight: 600; margin-bottom: 16px; line-height: 1.15; }
.tabs__panel p { color: var(--muted); }
.tabs__meta { background: var(--ivory); border-radius: 12px; padding: 28px; align-self: start; }
.tabs__meta dt { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre); margin-top: 16px; }
.tabs__meta dt:first-child { margin-top: 0; }
.tabs__meta dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); font-weight: 600; line-height: 1.3; }

.myths { display: grid; gap: 18px; }
.myth { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.myth > div { padding: 30px 34px; }
.myth__m { background: var(--paper); }
.myth__r { background: var(--navy); color: var(--ivory); }
.myth small { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px; }
.myth__m small { color: #a2433b; }
.myth__r small { color: var(--ochre-300); }
.myth__m p { font-family: var(--serif); font-size: 1.4rem; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(162,67,59,.5); text-decoration-thickness: 1px; margin: 0; line-height: 1.3; }
.myth__r p { margin: 0; color: var(--ivory); font-size: 16px; }

/* Vertical timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 35px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--ochre), rgba(181,131,44,.1)); }
.timeline li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 30px; padding: 0 0 46px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline__n {
  width: 72px; height: 72px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--ochre);
  display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ochre);
  position: relative; z-index: 1; transition: background .5s, color .5s;
}
.timeline li:hover .timeline__n { background: var(--ochre); color: var(--white); }
.timeline h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--navy); line-height: 1.2; margin: 14px 0 8px; }
.timeline p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 600; color: var(--navy); line-height: 1.25;
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ochre-600); }
.faq summary i { position: relative; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; flex: none; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ochre); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { background: var(--ochre); border-color: var(--ochre); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--white); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 60px 30px 0; color: var(--muted); }
.faq__a p:last-child { margin: 0; }

/* ---------- About page ---------- */
.manifesto { font-family: var(--serif); font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1.2; color: var(--navy); font-weight: 500; max-width: 24ch; }
.manifesto em { color: var(--ochre); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv__card { padding: clamp(36px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); }
.mv__card--dark { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.mv__card small { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ochre); }
.mv__card--dark small { color: var(--ochre-300); }
.mv__card p { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.35; margin: 18px 0 0; font-weight: 500; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.value { padding: 36px 26px 10px 0; }
.value + .value { padding-left: 26px; border-left: 1px solid var(--line); }
.value span { font-family: var(--serif); font-style: italic; color: var(--ochre); font-size: 18px; }
.value h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--navy); margin: 10px 0 10px; }
.value p { font-size: 15px; color: var(--muted); margin: 0; }
.ethics { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ethics__list { display: grid; gap: 0; }
.ethics__list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.ethics__list li:first-child { border-top: 1px solid var(--line-light); }
.ethics__list svg { width: 26px; height: 26px; color: var(--ochre-300); margin-top: 3px; }
.ethics__list strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ivory); line-height: 1.25; }
.ethics__list p { margin: 4px 0 0; color: var(--muted-light); font-size: 15.5px; }

/* ---------- Contact page ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact > *, .contact-card > span, .office > * { min-width: 0; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center;
  padding: 22px 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
a.contact-card:hover { transform: translateX(6px); border-color: var(--ochre); box-shadow: var(--shadow-soft); }
.contact-card__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--ochre-300); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card--wa .contact-card__icon { background: var(--wa); color: #06301a; }
.contact-card small { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre); display: block; }
.contact-card strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--navy); line-height: 1.25; display: block; }
.contact-card span { font-size: 14.5px; color: var(--muted); }
.contact-card > svg { width: 18px; height: 18px; color: var(--ochre); }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 54px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card .h3 { color: var(--navy); font-weight: 600; }
.form-card > p { color: var(--muted); margin-top: 10px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 15px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
  transition: border-color .3s, box-shadow .3s, background .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23b5832c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ochre); background: var(--white); box-shadow: 0 0 0 4px rgba(181,131,44,.14); }
.field.has-error input, .field.has-error select { border-color: #b64a3f; }
.field__error { font-size: 13px; color: #b64a3f; display: none; }
.field.has-error .field__error { display: block; }
.consent { grid-column: 1 / -1; display: flex; flex-direction: row; gap: 12px; font-size: 13.5px; color: var(--muted); align-items: flex-start; line-height: 1.5; }
.consent.has-error span { color: #b64a3f; }
.consent input { width: 18px; height: 18px; accent-color: var(--ochre); margin-top: 2px; flex: none; }
.form-card .btn { margin-top: 26px; }
.form-hint { font-size: 13px; color: var(--muted); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.form-hint svg { width: 16px; height: 16px; color: var(--ochre); }

.hours { display: grid; gap: 0; margin-top: 18px; }
.hours div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.hours span { color: var(--muted); }
.hours strong { font-weight: 500; color: var(--navy); }

.socials { display: flex; gap: 12px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light); display: grid; place-items: center; color: var(--ivory); transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.socials a:hover { background: var(--ochre); border-color: var(--ochre); color: var(--white); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.socials--dark a { border-color: var(--line); color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--muted-light); padding: 100px 0 0; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1fr; gap: 50px; padding-bottom: 70px; border-bottom: 1px solid var(--line-light); }
.footer-brand img { width: 190px; margin-bottom: 26px; }
.footer-brand p { font-size: 15px; max-width: 320px; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--ochre-300); font-weight: 500; margin-bottom: 22px; }
.footer-col li { margin-bottom: 12px; font-size: 15px; }
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--ivory); }
.footer-ally { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-light); }
.footer-ally small { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; display: block; margin-bottom: 14px; }
.footer-ally img { width: 170px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 28px 0 34px; font-size: 13px; flex-wrap: wrap; }
.footer-legal { font-size: 12.5px; line-height: 1.6; opacity: .7; max-width: 760px; }
.footer-word {
  font-family: var(--serif); font-size: clamp(5rem, 19vw, 17rem); line-height: .8; font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px rgba(217,180,110,.16); letter-spacing: .02em;
  text-align: center; user-select: none; margin-bottom: -.12em; white-space: nowrap;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
}
.wa-float__btn {
  position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: var(--white);
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7);
  transition: transform .4s var(--ease);
}
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ring 2.4s ease-out infinite; }
.wa-float__btn svg { width: 30px; height: 30px; }
.wa-float:hover .wa-float__btn { transform: scale(1.07); }
.wa-float__label {
  background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 99px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-soft); opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none;
}
.wa-float:hover .wa-float__label, .wa-float.is-hinting .wa-float__label { opacity: 1; transform: none; }

/* ---------- Alliance highlights ---------- */
.hero__ally {
  margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line-light);
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  opacity: 0; animation: fade 1.2s 1s var(--ease) forwards;
}
.hero__ally small { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-light); }
.hero__ally img { width: 210px; height: auto; }
.ally-badge {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 12px 24px; border: 1px solid var(--line-light); border-radius: 99px; background: rgba(255,255,255,.05);
}
.ally-badge span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light); }
.ally-badge img { height: 34px; width: auto; }
.mobile-menu__ally { display: flex; align-items: center; gap: 14px; }
.mobile-menu__ally small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.mobile-menu__ally img { width: 150px; }
.cta-band__ally { margin-top: 60px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-band__ally small { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-light); }
.cta-band__ally img { width: 210px; }
.alliance__logos { flex-wrap: wrap; }
.alliance__map { flex-basis: 100%; justify-content: center; margin-top: 8px; }
.alliance__card .btn { margin-top: 6px; }

/* ---------- Profile card ---------- */
.profile {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: var(--ivory);
  border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 60px) clamp(28px, 4vw, 54px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(217,180,110,.22);
}
.profile::before { content: ""; position: absolute; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(181,131,44,.35), transparent 70%); }
.profile > * { position: relative; }
.profile__mark { width: 190px; margin: 0 auto; }
.profile__rule { display: flex; align-items: center; gap: 14px; margin: 28px 0 22px; }
.profile__rule span { flex: 1; height: 1px; background: rgba(217,180,110,.45); }
.profile__rule svg { width: 30px; height: 30px; color: var(--ochre-300); }
.profile__role { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ochre-300); }
.profile__name { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.1; margin: 10px 0 24px; }
.profile__list { display: inline-grid; gap: 10px; text-align: left; }
.profile__list li { display: flex; align-items: center; gap: 12px; color: var(--muted-light); font-size: 16px; }
.profile__list svg { width: 19px; height: 19px; color: var(--ochre-300); flex: none; }
.profile__contact { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; }
.profile__contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ivory); transition: color .3s; }
.profile__contact a:hover { color: var(--ochre-300); }
.profile__contact svg { width: 18px; height: 18px; color: var(--ochre-300); }

/* ---------- Filters ---------- */
.quiz__fine { margin-top: 20px !important; font-size: 13px !important; color: var(--ochre-300) !important; }
.form-filter { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--navy-700); background: #e7ebf6; padding: 12px 14px; border-radius: 8px; }

/* ---------- Office + live map ---------- */
.office { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.office__logo { width: 230px; margin: 26px 0 20px; }
.office .lead { margin-bottom: 4px; }
.map-embed { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; background: var(--ivory); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-embed__card {
  position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 14px;
  background: rgba(251,249,244,.97); padding: 14px 20px 14px 14px; border-radius: 12px; box-shadow: var(--shadow-soft);
}
.map-embed__pin { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--ochre-300); flex: none; }
.map-embed__pin svg { width: 20px; height: 20px; }
.map-embed__card small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre); }
.map-embed__card strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--navy); line-height: 1.2; }
.map-embed__card span span, .map-embed__card > span:last-child > span { font-size: 13.5px; color: var(--muted); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.reveal-img.is-in img { transform: scale(1); }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes scrollcue { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes slowzoom { to { transform: scale(1); } }

/* ---------- Responsive ---------- */
@media (max-width: 1220px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(2) { border-right: 0; }
  .figure:nth-child(3) { padding-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .process::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .value:nth-child(4) { padding-left: 0; border-left: 0; }
  .float-card--a { left: -20px; }
  .law-badge { width: 130px; height: 130px; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .hero { padding-top: calc(var(--header-h) + 40px); min-height: auto; }
  .office { grid-template-columns: 1fr; }
  .hero__grid, .pains, .about, .alliance, .coverage, .svc, .two-col, .contact, .ethics, .split-head, .fees, .quiz, .tabs__panel { grid-template-columns: 1fr; }
  .hero__visual { justify-self: center; max-width: 380px; margin-top: 70px; }
  .hero__trust { grid-template-columns: 1fr; gap: 18px; }
  .svc:nth-child(even) .svc__media { order: 0; }
  .solution-card { position: relative; top: 0; }
  .include-grid { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .mv { grid-template-columns: 1fr; }
  .portrait { max-width: 460px; margin: 0 auto 30px; }
  .portrait__badge { left: -10px; }
  .scroll-cue { display: none; }
  .split-head { gap: 20px; }
  .quiz__aside { padding: 40px 30px; }
  .law-badge { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand__tag { display: none; }
  .brand img { height: 42px; }
  .brand__name { font-size: 21px; }
  .services-grid, .figures, .process, .include-grid, .benefits, .req-grid, .values, .footer-top, .form-grid, .checks--2 { grid-template-columns: 1fr; }
  .figure, .figure + .figure { padding: 34px 0 20px; border-right: 0; border-top: 1px solid var(--line-light); }
  .figure:first-child { border-top: 0; }
  .value, .value + .value { padding: 28px 0 10px; border-left: 0; border-top: 1px solid var(--line); }
  .value:first-child { border-top: 0; }
  .service-card { min-height: 0; }
  .float-card--a { left: -8px; bottom: 40px; padding: 12px 14px; }
  .float-card--b { right: -8px; top: 30px; padding: 12px 14px; }
  .float-card strong { font-size: 18px; }
  .tabs__list { grid-template-columns: 1fr; }
  .tabs__btn { border-right: 0; border-bottom: 1px solid var(--line); }
  .myth { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 56px 1fr; gap: 18px; }
  .timeline__n { width: 56px; height: 56px; font-size: 20px; }
  .timeline::before { left: 28px; }
  .timeline h3 { margin-top: 8px; font-size: 1.45rem; }
  .faq__a { padding-right: 0; }
  .contact-card { grid-template-columns: 48px 1fr; }
  .contact-card__icon { width: 48px; height: 48px; }
  .contact-card > svg { display: none; }
  .btn { padding: 16px 22px; }
  .btn-row .btn { width: 100%; }
  .alliance__logos { flex-direction: column; padding: 40px 24px; }
  .hero__ally { gap: 14px; }
  .hero__ally img { width: 180px; }
  .ally-badge { border-radius: 16px; }
  .map-embed { aspect-ratio: 4 / 4.6; }
  .map-embed__card { right: 18px; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float__label { display: none; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .hero__title .line > span { transform: none; }
}
