/* Legal Solutions — v2 (Marco 3 + acordeones, animación y base legal) */

:root {
  --navy: #1B2A4A;
  --navy-2: #243259;
  --navy-deep: #131f38;
  --gold: #C9A84C;
  --gold-hover: #D4B86A;
  --gold-dark: #8a7230;
  --paper: #fff;
  --cream: #f4f1e8;
  --line: rgba(27, 42, 74, .12);
  --wa: #25a35a;
  --wa-hover: #1f8c4d;

  --display: Anton, Impact, "Arial Narrow", sans-serif;
  --sans: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1200px;
  --pad-x: clamp(20px, 4vw, 48px);
  --pad-y: clamp(56px, 8vw, 104px);
  --header-h: 85px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--paper); color: var(--navy);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 100px; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--max); width: 100%; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.section-rule { border-top: 1px solid var(--line); }

/* ── Tipografía ─────────────────────────────── */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; margin: 0; }
.h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: .96; text-wrap: balance; }
.h2 { font-size: clamp(36px, 4.2vw, 52px); line-height: 1; }
.h-contact { font-size: clamp(48px, 7vw, 92px); line-height: .98; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .25em; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--gold-dark); }
.tag-gold { color: var(--gold); }

/* Subrayado dorado que se dibuja (hero al cargar; el resto al aparecer) */
.gold-underline {
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 0% .1em;
  padding-bottom: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1s var(--ease-out) .35s;
}
.gold-underline-sm { background-size: 0% .08em; }
.visible .gold-underline { background-size: 100% .1em; }
.visible .gold-underline-sm { background-size: 100% .08em; }
html:not(.js) .gold-underline { background-size: 100% .1em; }
.js .hero .gold-underline { animation: dibujar 1.1s var(--ease-out) 1s forwards; }
@keyframes dibujar { from { background-size: 0% .1em; } to { background-size: 100% .1em; } }

/* ── Botones (con brillo al pasar) ──────────── */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 100px;
  font: 700 13px/1.2 var(--sans); letter-spacing: .1em; cursor: pointer; border: 0; text-align: center;
  transition: background-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn-xl { padding: 18px 34px; letter-spacing: .12em; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; box-shadow: 0 10px 24px -12px rgba(27, 42, 74, .6); }
.btn-outline { border: 2px solid var(--navy); padding: 14px 26px; background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); padding: 16px 26px; }
.btn-gold:hover { background: var(--gold-hover); color: var(--navy); box-shadow: 0 10px 24px -12px rgba(201, 168, 76, .8); }

/* ── Header (se achica al bajar) + barra de progreso dorada ─── */
.site-header {
  position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--gold); transform-origin: 0 50%; transform: scaleX(var(--progreso, 0));
}
.scrolled .site-header { box-shadow: 0 8px 24px -18px rgba(27, 42, 74, .5); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; transition: padding .3s var(--ease); }
.scrolled .header-bar { padding-top: 6px; padding-bottom: 6px; }
.brand { display: flex; align-items: center; }
.brand-full { height: 60px; width: auto; transition: height .3s var(--ease); }
.scrolled .brand-full { height: 46px; }
.brand-mini { display: none; align-items: center; gap: 10px; }
.brand-mini img { height: 30px; width: auto; }
.brand-mini span { font-size: 10px; font-weight: 700; letter-spacing: .22em; line-height: 1.25; }
.nav { display: flex; gap: clamp(14px, 2.2vw, 30px); font-size: 14px; font-weight: 600; }
.nav a { position: relative; padding-bottom: 3px; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }

.menu-toggle, .menu-close { display: none; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; background: transparent; border: 0; cursor: pointer; color: var(--navy); }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 24px; height: 2px; background: var(--navy); position: relative; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -7px; } .menu-toggle-bars::after { top: 7px; }
.menu-close { font-size: 22px; }
.mobile-menu { position: fixed; inset: 0; z-index: 50; background: var(--paper); display: flex; flex-direction: column; padding: 0 var(--pad-x) 32px; overflow-y: auto; }
.mobile-menu:not([hidden]) { animation: menu-in .35s var(--ease-out); }
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 67px; border-bottom: 1px solid var(--line); }
.mobile-menu-top .brand-mini { display: flex; }
.mobile-menu .menu-close { display: inline-flex; }
.mobile-menu-links { display: flex; flex-direction: column; margin-top: 16px; }
.mobile-menu-links a { font-family: var(--display); text-transform: uppercase; font-size: 36px; line-height: 1; padding: 18px 0; border-bottom: 1.5px solid var(--navy); }
.mobile-menu:not([hidden]) .mobile-menu-links a { animation: link-in .5s var(--ease-out) backwards; }
.mobile-menu-links a:nth-child(2) { animation-delay: .04s; } .mobile-menu-links a:nth-child(3) { animation-delay: .08s; }
.mobile-menu-links a:nth-child(4) { animation-delay: .12s; } .mobile-menu-links a:nth-child(5) { animation-delay: .16s; }
.mobile-menu-links a:nth-child(6) { animation-delay: .2s; }
@keyframes link-in { from { opacity: 0; transform: translateX(-24px); } }
.mobile-menu-cta { margin-top: 28px; align-self: flex-start; }

/* ── Hero: entrada escalonada + escudo con halo que sigue al mouse ─── */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px); align-items: center;
  padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 120px);
}
.hero-copy { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-lead { margin: 0; font-size: 17px; line-height: 1.6; max-width: 460px; color: var(--navy-2); text-wrap: pretty; }
.js .hero-in { opacity: 0; transform: translateY(26px); animation: hero-in .9s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
@keyframes hero-in { to { opacity: 1; transform: none; } }
.hero-art { position: relative; isolation: isolate; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero-art::before {
  content: ""; position: absolute; width: min(460px, 110%); aspect-ratio: 1; left: 50%; top: 45%;
  transform: translate(calc(-50% + var(--mx, 0) * 18px), calc(-50% + var(--my, 0) * 18px));
  background: radial-gradient(closest-side, rgba(201, 168, 76, .22), rgba(201, 168, 76, .06) 60%, transparent);
  border-radius: 50%; z-index: -1; transition: transform .6s var(--ease-out);
}
.hero-logo {
  width: 100%; max-width: 380px;
  transform: translate(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -8px));
  transition: transform .6s var(--ease-out);
}
.js .hero-logo { opacity: 0; scale: .92; animation: logo-in 1.2s var(--ease-out) .35s forwards; }
@keyframes logo-in { to { opacity: 1; scale: 1; } }
.hero-est { font-size: 11px; font-weight: 700; letter-spacing: .4em; color: var(--gold-dark); text-align: center; }

/* ── Franja de áreas ────────────────────────── */
.strip { border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); overflow: hidden; }
.strip-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px;
  padding-top: 18px; padding-bottom: 18px;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(18px, 2vw, 24px); line-height: 1.2;
}
.strip-inner a { position: relative; transition: color .25s; }
.strip-inner a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.strip-inner a:hover::after { transform: scaleX(1); }
.strip-sep { color: var(--gold); }

/* ── Secciones: cabezas ─────────────────────── */
.services { display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section-title { display: flex; flex-direction: column; gap: 12px; }
.section-help { margin: 0; font-size: 14px; color: var(--navy-2); }

/* ── Acordeón genérico (altura animada con grid 0fr → 1fr) ─── */
.area-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.area-panel > div { overflow: hidden; min-height: 0; }
.area-panel.abierto { grid-template-rows: 1fr; }
.area-sign { position: relative; flex: none; width: 20px; height: 20px; }
.area-sign::before, .area-sign::after { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
.area-sign::after { transform: rotate(90deg); }
[aria-expanded="true"] .area-sign::after { transform: rotate(0deg); }
[aria-expanded="true"] .area-sign { transform: rotate(180deg); transition: transform .4s var(--ease-out); }

/* ── Áreas de práctica ──────────────────────── */
.areas { border-top: 2px solid var(--navy); }
.area { position: relative; border-bottom: 2px solid var(--navy); transition: background-color .45s var(--ease); }
.area::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold);
  transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--ease-out);
}
.area:hover::before, .area:has([aria-expanded="true"])::before { transform: scaleY(1); }
.area-head { margin: 0; font: inherit; }
.area-head button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: 6px 28px;
  padding: 26px 24px; color: var(--navy); font-family: var(--sans);
  transition: padding .35s var(--ease), color .3s;
}
.area-head button:hover { padding-left: 34px; }
.area-head button:focus-visible { outline: 3px solid var(--gold); outline-offset: -5px; }
.area-name { font-size: clamp(26px, 3vw, 36px); line-height: 1.05; }
.area-sum { font-size: 15px; font-weight: 500; color: var(--navy-2); transition: color .3s; }
.area:has([aria-expanded="true"]) { background: var(--navy); }
.area:has([aria-expanded="true"]) .area-head button { color: #fff; }
.area:has([aria-expanded="true"]) .area-sum { color: rgba(255, 255, 255, .7); }
.area:not(:has([aria-expanded="true"])):hover { background: var(--cream); }
.area-body {
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 28px 44px;
  padding: 4px 24px 34px; color: #fff;
}
.area-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.area-panel .area-col { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.area-panel.abierto .area-col { opacity: 1; transform: none; }
.area-panel.abierto .area-col:nth-child(1) { transition-delay: .12s; }
.area-panel.abierto .area-col:nth-child(2) { transition-delay: .2s; }
.area-panel.abierto .area-col:nth-child(3) { transition-delay: .28s; }
.area-col p { margin: 0; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .88); text-wrap: pretty; }
.area-latin { font-style: italic; font-size: 14px; color: var(--gold); }
.area-list, .area-law { list-style: none; margin: 0; padding: 0; }
.area-list li { padding: 11px 0 11px 22px; position: relative; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 15px; font-weight: 500; }
.area-list li::before { content: "→"; position: absolute; left: 0; color: var(--gold); }
.area-law li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.area-law b { color: #fff; font-weight: 700; }
.area-col .btn { align-self: flex-start; margin-top: 10px; }
.area-panel :focus-visible { outline-color: var(--gold-hover); }

/* ── Así trabajamos: números que se llenan de oro ─── */
.method { display: flex; flex-direction: column; gap: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px 48px; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 12px; padding-top: 22px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: 0 50%; transition: transform .9s var(--ease-out) .15s; }
.steps li.visible::before { transform: scaleX(1); }
.step-num {
  font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold);
  background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 100% 0%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1s var(--ease-out) .35s;
}
.steps li.visible .step-num { background-size: 100% 100%; }
.no-js .step-num, html:not(.js) .step-num { color: var(--gold); }
.steps h3 { margin: 0; font-size: 18px; }
.steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--navy-2); }

/* ── Sobre nosotros ─────────────────────────── */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about-photo { position: relative; flex: none; width: min(300px, calc(100% - 16px)); aspect-ratio: 853 / 1280; margin-right: 16px; margin-bottom: 16px; }
.about-frame { position: absolute; inset: 16px -16px -16px 16px; border: 4px solid var(--gold); transition: transform 1s var(--ease-out) .25s; }
.js .about-photo:not(.visible) .about-frame { transform: translate(-16px, -16px); }
.about-img { position: absolute; inset: 0; overflow: hidden; background: var(--navy); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about-photo:hover .about-img img { transform: scale(1.04); }
.about-copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.about-role { font-size: 14px; font-weight: 700; letter-spacing: .14em; }
.about-copy p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--navy-2); text-wrap: pretty; }
.about-more { border-top: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy); margin-top: 8px; }
.about-more-head { margin: 0; font: inherit; }
.about-more-head button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font: 700 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.about-more-head button:hover { color: var(--gold-dark); }
.about-more-head button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.about-more .area-panel > div > * { margin-top: 0; }
.about-more .area-panel p { margin: 0 0 12px; }
.timeline { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin: 6px 0 12px; }
.timeline > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(27, 42, 74, .2); font-size: 15px; }
.timeline dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--gold-dark); }
.timeline dd { margin: 0; }
.about-lang { display: block; font-size: 14px; color: var(--navy-2); padding-bottom: 16px; }

/* ── Marquesina (se acelera al hacer scroll) ── */
.marquee { border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; white-space: nowrap; font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; line-height: 1.2; animation: ls-marquee 48s linear infinite; }
.marquee-run { display: flex; }
.marquee-run > span { padding-right: 40px; }
.marquee-sep { color: var(--gold); font-size: .6em; align-self: center; }
@keyframes ls-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Legal Solutions Academy (el único bloque azul de la página) ─── */
.academy { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.academy::before {
  content: ""; position: absolute; inset: -40%;
  background: conic-gradient(from 0deg at 70% 50%, transparent 0 70%, rgba(201, 168, 76, .18) 80%, transparent 90%);
  animation: girar 18s linear infinite;
}
.academy::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
}
@keyframes girar { to { transform: rotate(1turn); } }
.academy-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.academy-copy { display: flex; flex-direction: column; gap: 18px; max-width: 620px; }
.academy-copy p { margin: 0; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .85); }
.academy-copy b { color: var(--gold); }
.academy-copy .btn { align-self: flex-start; margin-top: 6px; }
.academy-mark { display: flex; justify-content: center; }
.academy-mark img { width: min(230px, 60%); filter: brightness(0) invert(1); opacity: .9; animation: flotar 6s ease-in-out infinite; }
@keyframes flotar { 50% { transform: translateY(-10px); } }

/* ── Preguntas ──────────────────────────────── */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px 64px; align-items: start; }
.faq-list { border-top: 1.5px solid var(--navy); }
.faq-item { border-bottom: 1.5px solid var(--navy); }
.faq-item h3 { margin: 0; font: inherit; }
.faq-item button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 17px/1.4 var(--sans); color: var(--navy); transition: color .25s; }
.faq-item button:hover { color: var(--gold-dark); }
.faq-item button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.faq-item .area-panel p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--navy-2); }

/* ── Contacto ───────────────────────────────── */
.contact { max-width: 820px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--pad-x); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.contact p { margin: 0; font-size: 16px; }
.contact-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 17px; font-weight: 600; margin-top: 8px; }
.contact-dot { color: var(--gold); }
.contact-rule { width: 60px; height: 2px; background: var(--gold); margin: 8px 0; }
.socials { display: flex; gap: 12px; justify-content: center; }
.social { width: 48px; height: 48px; border: 1.5px solid var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background-color .25s, transform .3s var(--ease), border-color .25s; }
.social:hover { background: var(--cream); border-color: var(--gold); transform: translateY(-3px) rotate(-6deg); }
.social img { width: 20px; height: 20px; }
.contact-handle { font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.muted { color: var(--navy-2); }

/* ── Footer y WhatsApp flotante ─────────────── */
.site-footer { border-top: 1px solid var(--line); }
.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 96px; font-size: 14px; font-weight: 600; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { height: 48px; width: auto; }
.footer-colophon { font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--navy-2); }
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 20; height: 56px; padding: 0 22px; border-radius: 100px;
  display: flex; align-items: center; background: var(--wa); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; box-shadow: 0 6px 20px rgba(27, 42, 74, .25);
  transition: background-color .2s, transform .3s var(--ease);
}
.js .wa-float { animation: wa-in .7s var(--ease-out) 1.6s backwards; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 163, 90, .55); animation: wa-pulso 2.4s ease-out 2.6s 3; }
.wa-float:hover { background: var(--wa-hover); color: #fff; transform: translateY(-3px); }
@keyframes wa-in { from { opacity: 0; transform: translateY(30px) scale(.9); } }
@keyframes wa-pulso { to { box-shadow: 0 0 0 16px rgba(37, 163, 90, 0); } }

/* ── Aparición al hacer scroll ──────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].visible { opacity: 1; transform: none; }

/* ── Celular ────────────────────────────────── */
@media (max-width: 1000px) {
  .area-body { grid-template-columns: 1fr 1fr; }
  .area-body .area-col:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 67px; }
  .brand-full, .nav { display: none; }
  .brand-mini, .menu-toggle { display: flex; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-logo { max-width: 220px; }
  .hero-art { gap: 16px; }
  .strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; text-align: center; }
  .strip-sep { display: none; }
  .area-head button { grid-template-columns: minmax(0, 1fr) auto; padding: 22px 16px; }
  .area-head button:hover { padding-left: 16px; }
  .area-name { grid-column: 1; }
  .area-sum { grid-column: 1; grid-row: 2; font-size: 14px; }
  .area-sign { grid-column: 2; grid-row: 1 / span 2; }
  .area-body { grid-template-columns: 1fr; padding: 0 16px 28px; }
  .academy-inner { grid-template-columns: 1fr; }
  .academy-mark { order: -1; justify-content: flex-start; }
  .academy-mark img { width: 110px; }
  .marquee-track { animation-duration: 36s; }
  .wa-float { right: 16px; bottom: 16px; }
}
@media (max-width: 480px) {
  .contact-lines { flex-direction: column; gap: 6px; }
  .contact-dot { display: none; }
  .timeline > div { grid-template-columns: 104px 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero-in, .js .hero-logo { opacity: 1 !important; transform: none !important; scale: 1 !important; }
  .gold-underline { background-size: 100% .1em; }
  .step-num { background-size: 100% 100%; }
  .js .about-photo .about-frame { transform: none; }
}
