:root {
  --ink: #081a2b;
  --ink-2: #102c44;
  --ink-3: #1a3d5c;
  --blue: #2a6098;
  --electric: #3a7fd0;
  --gold: #c6a15b;
  --gold-light: #e2c489;
  --gold-deep: #a9843f;
  --paper: #f8f9fa;
  --paper-2: #e7ebef;
  --white: #ffffff;
  --slate: #3c4a5a;
  --muted: #64717d;
  --line: rgba(8, 26, 43, 0.11);
  --line-light: rgba(255, 255, 255, 0.12);
  --success: #1d8a67;
  --shadow-sm: 0 10px 30px rgba(8, 26, 43, 0.07);
  --shadow-md: 0 18px 48px rgba(8, 26, 43, 0.12);
  --shadow-lg: 0 34px 90px rgba(6, 20, 36, 0.22);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shell: 1200px;
  --header-offset: 126px;
  --font-head: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

[id] { scroll-margin-top: var(--header-offset); }

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

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid #0b65b1;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px var(--white);
}

::selection { color: var(--ink); background: var(--gold-light); }

h1, h2, h3, p { margin-top: 0; overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
/* En WordPress, Astra pinta todos los encabezados con su color global
   (var(--ast-global-color-2)); esta regla restaura la herencia de GCA:
   cada sección define su color y los encabezados lo heredan. */
body h1, body h2, body h3, body h4, body h5, body h6 { color: inherit; }
h1, h2 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}
h1 { font-size: clamp(3rem, 6.2vw, 6.3rem); }
/* Flechas decorativas de botones (↗ → ↓): forzar presentación de texto para que
   ningún navegador las pinte como emoji de color. */
.button > [aria-hidden="true"], .header-cta > [aria-hidden="true"], .text-link > [aria-hidden="true"],
.mobile-cta-bar a > [aria-hidden="true"], .section-intro .text-link > [aria-hidden="true"] {
  font-variant-emoji: text;
  -webkit-font-feature-settings: normal;
}
h2 { font-size: clamp(2.35rem, 4.2vw, 4.7rem); }
h3 { line-height: 1.25; }
p:last-child { margin-bottom: 0; }

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section { padding: clamp(88px, 10vw, 144px) 0; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-topbar {
  position: relative;
  z-index: 60;
  color: rgba(255,255,255,.88);
  background: #05101e;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .035em;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-inner p { margin: 0; }
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar-links a { text-decoration: none; }
.topbar-links a:hover { color: var(--gold-light); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(7,20,38,.06);
  -webkit-backdrop-filter: saturate(1.4) blur(20px);
  backdrop-filter: saturate(1.4) blur(20px);
  transition: box-shadow .3s ease, background-color .3s ease, border-color .3s ease;
}

.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 28px;
}

/* Las flechas ↗ / → se renderizaban como emoji (cuadro azul) en algunos
   Chrome; forzamos presentación de texto en los íconos de botón/enlace. */
.button [aria-hidden="true"], .header-cta [aria-hidden="true"],
.text-link [aria-hidden="true"], .mobile-cta-bar [aria-hidden="true"] {
  font-variant-emoji: text;
}

.brand { display: flex; align-items: center; text-decoration: none; width: 176px; }
.brand-crop { display: flex; align-items: center; justify-content: flex-start; width: 176px; height: 58px; }
.brand-crop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav { display: flex; justify-content: center; gap: clamp(14px, 1.6vw, 30px); }
.desktop-nav a {
  position: relative;
  padding: 6px 2px;
  color: #3a4a5e;
  font-size: .82rem;
  font-weight: 620;
  letter-spacing: .012em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: var(--ink); }
.desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 -9px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after, .desktop-nav a.is-current::after { transform: scaleX(1); }
.desktop-nav a.is-current { color: var(--ink); }
.site-header { transition: box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .9); box-shadow: 0 8px 30px rgba(4, 18, 35, .09); border-bottom-color: rgba(7,20,38,.04); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-whatsapp {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: #147a58;
  border: 1px solid #0d6547;
  border-radius: 50%;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: -.02em;
  text-decoration: none;
}
.language-switcher {
  display: inline-flex;
  padding: 3px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(7,20,38,.1);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(7,20,38,.04);
}
.language-switcher button {
  min-width: 42px;
  min-height: 34px;
  padding: 6px 12px;
  color: #4a5a6d;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .02em;
  transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.language-switcher button[aria-pressed="true"] { color: var(--white); background: var(--ink); box-shadow: 0 2px 8px rgba(7,20,38,.22); }

.header-cta {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 20px;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  background: linear-gradient(135deg, #e4c073 0%, #c6a15b 55%, #b9924a 100%);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(178,128,32,.28);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .22s cubic-bezier(.22,.7,.3,1), box-shadow .22s ease;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(178,128,32,.42); }
.header-cta:active { transform: translateY(0) scale(.98); }
.header-cta svg { width: 15px; height: 15px; transition: transform .22s ease; }
.header-cta:hover svg { transform: translate(2px, -2px); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.fallback-menu { display: none; }
.fallback-menu summary {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  list-style: none;
}
.fallback-menu summary::-webkit-details-marker { display: none; }
.fallback-menu summary > span[aria-hidden="true"],
.fallback-menu summary > span[aria-hidden="true"]::before,
.fallback-menu summary > span[aria-hidden="true"]::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}
.fallback-menu summary > span[aria-hidden="true"] { position: relative; }
.fallback-menu summary > span[aria-hidden="true"]::before,
.fallback-menu summary > span[aria-hidden="true"]::after { content: ""; position: absolute; left: 0; }
.fallback-menu summary > span[aria-hidden="true"]::before { top: -6px; }
.fallback-menu summary > span[aria-hidden="true"]::after { top: 6px; }
.fallback-menu[open] summary > span[aria-hidden="true"] { background: transparent; }
.fallback-menu[open] summary > span[aria-hidden="true"]::before { top: 0; transform: rotate(45deg); }
.fallback-menu[open] summary > span[aria-hidden="true"]::after { top: 0; transform: rotate(-45deg); }
.fallback-menu-panel {
  position: fixed;
  z-index: 49;
  inset: 76px 0 0;
  padding: 26px 24px 40px;
  color: var(--white);
  background: var(--ink);
  overflow-y: auto;
}
.fallback-menu-panel nav { display: grid; }
.fallback-menu-panel nav a {
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-head);
  font-size: 1.55rem;
  text-decoration: none;
}
.fallback-menu-contact { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 28px; }
.fallback-menu-contact a { color: var(--gold-light); font-weight: 750; }

.mobile-panel {
  display: none;
  position: fixed;
  z-index: 49;
  inset: 82px 0 0;
  padding: 26px 24px 40px;
  color: var(--white);
  background: var(--ink);
  overflow-y: auto;
}
.mobile-panel[hidden] { display: none; }
.mobile-panel nav { display: grid; }
.mobile-panel nav a {
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-head);
  font-size: 1.55rem;
  text-decoration: none;
}
.mobile-panel-footer { margin-top: 28px; display: grid; gap: 16px; }
.mobile-panel-footer .language-switcher { justify-self: start; background: rgba(255,255,255,.1); }
.mobile-panel-footer .language-switcher button { color: rgba(255,255,255,.75); }
.mobile-panel-footer .language-switcher button[aria-pressed="true"] { color: var(--ink); background: var(--gold); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 820;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow > span:first-child { width: 22px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-light); }

.hero {
  position: relative;
  min-height: 760px;
  padding: clamp(78px, 7vw, 104px) 0 clamp(82px, 8vw, 118px);
  color: var(--white);
  background:
    radial-gradient(120% 90% at 14% 12%, rgba(42,96,152,.34), transparent 46%),
    radial-gradient(90% 80% at 88% 4%, rgba(198,161,91,.16), transparent 42%),
    linear-gradient(150deg, #05101d 0%, #081a2b 46%, #0c2237 100%);
  overflow: hidden;
}
/* Brillo dorado que orbita muy lento detrás del contenido — aporta profundidad
   sin distraer (se desactiva con prefers-reduced-motion en el bloque general). */
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 640px;
  height: 640px;
  right: -180px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,161,91,.18), rgba(198,161,91,.05) 45%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  animation: gcaHeroOrbit 22s ease-in-out infinite;
}
@keyframes gcaHeroOrbit {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(1.08); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, black, transparent 62%);
}
.hero-glow { position: absolute; width: 520px; height: 520px; right: -240px; top: 130px; border-radius: 50%; border: 1px solid rgba(212,166,75,.18); box-shadow: 0 0 0 90px rgba(212,166,75,.025), 0 0 0 180px rgba(212,166,75,.02); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(50px, 7vw, 96px); min-width: 0; }
.hero-copy { position: relative; z-index: 2; min-width: 0; max-width: 100%; }
.hero-copy p, .hero-copy h1 { max-width: 100%; overflow-wrap: break-word; }
.hero h1 { max-width: 780px; margin-bottom: 28px; color: var(--white); font-size: clamp(3.15rem, 4.6vw, 5.25rem); }
.hero-lede { max-width: 690px; margin-bottom: 34px; color: rgba(255,255,255,.74); font-size: clamp(1.05rem, 1.5vw, 1.23rem); line-height: 1.75; }

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button-row-center { justify-content: center; }
.button {
  display: inline-flex;
  min-height: 52px;
  padding: 14px 22px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .91rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform .22s ease; }
.button:hover svg { transform: translate(2px, -2px); }
.button-gold { color: var(--ink); background: linear-gradient(135deg, var(--gold), var(--gold-light)); box-shadow: 0 14px 34px rgba(212,166,75,.24); }
.button-gold:hover { box-shadow: 0 18px 40px rgba(212,166,75,.35); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.button-dark { color: var(--white); background: var(--ink); }
.button-light { color: var(--ink); background: var(--white); }
.button-wide { width: 100%; }
.button-disabled { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); cursor: not-allowed; }
.button-disabled:hover { transform: none; }

.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: .88rem; font-weight: 790; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link-light { margin-top: 24px; color: rgba(255,255,255,.88); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #43d49a; box-shadow: 0 0 0 6px rgba(67,212,154,.12); }

.trust-strip { display: flex; flex-wrap: wrap; gap: 12px 25px; margin: 38px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.58); font-size: .76rem; list-style: none; }
.trust-strip li { position: relative; padding-left: 14px; }
.trust-strip li::before { content: ""; position: absolute; left: 0; top: .65em; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.hero-title-desktop { display: none; }
@media (min-width: 900px) {
  .hero-title-mobile { display: none; }
  .hero-title-desktop { display: inline; }
}

.hero-visual { position: relative; min-height: 620px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; z-index: 2; inset: 0; border: 1px solid rgba(255,255,255,.08); border-radius: inherit; pointer-events: none; }
.hero-visual > img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; object-position: 54% center; }
.hero-visual-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,9,20,.9), transparent 55%); }
.insight-card { position: absolute; z-index: 3; border: 1px solid rgba(255,255,255,.16); background: rgba(6,18,33,.62); -webkit-backdrop-filter: saturate(1.3) blur(22px); backdrop-filter: saturate(1.3) blur(22px); box-shadow: 0 20px 46px rgba(0,0,0,.28); }
.insight-card-main { left: 24px; right: 24px; bottom: 24px; padding: 22px 24px; border-radius: 20px; }
.insight-card-main strong { display: block; margin-top: 3px; font-family: var(--font-head); font-size: 1.32rem; font-weight: 500; }
.insight-kicker { color: var(--gold-light); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.progress-steps { display: flex; gap: 7px; margin-top: 15px; }
.progress-steps i { height: 3px; flex: 1; background: var(--gold); border-radius: 99px; }
.progress-steps i:last-child { opacity: .35; }
.insight-card-side { display: flex; align-items: center; gap: 10px; right: 22px; top: 22px; padding: 12px 16px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.shield-mark { display: grid; width: 23px; height: 23px; place-items: center; color: var(--ink); background: var(--gold); border-radius: 50%; }

.split-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; gap: 70px; margin-bottom: 64px; }
.split-heading h2 { max-width: 780px; margin-bottom: 0; }
.section-intro { max-width: 500px; color: var(--slate); }
.section-intro .text-link { margin-top: 16px; }
.center-heading { max-width: 850px; margin: 0 auto 66px; text-align: center; }
.center-heading h2 { margin-bottom: 24px; }
.center-heading > p:last-child { color: var(--slate); font-size: 1.08rem; }
.center-heading-dark { color: var(--white); }
.center-heading-dark > p:last-child { color: rgba(255,255,255,.66); }

.problem-section { background: var(--paper); }
.problem-grid { display: grid; grid-template-columns: 1.35fr repeat(2, 1fr); gap: 16px; }
.problem-feature, .problem-card { min-height: 230px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.problem-feature { grid-row: span 2; min-height: 476px; display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; background: linear-gradient(160deg, #dfe9ef, #f7f7f3); }
.problem-feature::before { content: ""; position: absolute; }
.feature-number, .service-index, .start-number { color: var(--blue); font-family: var(--font-head); font-size: .92rem; }
.problem-feature h3 { max-width: 330px; margin: 28px 0 15px; font-family: var(--font-head); font-size: 2rem; font-weight: 500; }
.problem-feature p { color: var(--slate); }
.problem-card { display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s ease, box-shadow .2s ease; }
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.problem-card > span { display: grid; width: 42px; height: 42px; place-items: center; color: var(--blue); background: #edf4fa; border-radius: 50%; font-family: var(--font-head); font-size: 1.1rem; }
.problem-card p { max-width: 260px; font-size: 1rem; font-weight: 680; line-height: 1.5; }

.section-ink { color: var(--white); background: var(--ink); }
.section-ink .center-heading > p:last-child { color: rgba(255,255,255,.62); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.value-grid-4 { grid-template-columns: repeat(4, 1fr); }
.value-card { min-height: 245px; padding: 32px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.value-card b { color: var(--gold); font-family: var(--font-head); font-size: .85rem; font-weight: 500; }
.value-card h3 { margin: 56px 0 12px; font-family: var(--font-head); font-size: 1.45rem; font-weight: 500; }
.value-card p { color: rgba(255,255,255,.58); font-size: .91rem; }
.value-card-accent { color: var(--ink); background: var(--gold); }
.value-card-accent b, .value-card-accent p { color: rgba(7,20,38,.72); }

.about-section { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(55px, 8vw, 110px); }
.about-visual { position: relative; min-height: 600px; border-radius: var(--radius-lg); overflow: hidden; }
.about-visual img { width: 100%; height: 600px; object-fit: cover; }
.about-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,16,30,.7), transparent 55%); }
.about-quote { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 28px; display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px; color: var(--white); background: rgba(5,16,30,.74); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; backdrop-filter: blur(16px); }
.about-quote > span { color: var(--gold); font-family: var(--font-head); font-size: 2.3rem; line-height: 1; }
.about-quote p { font-family: var(--font-head); font-size: 1.1rem; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy > p { color: var(--slate); font-size: 1.05rem; }
.about-facts { margin: 38px 0 0; border-top: 1px solid var(--line); }
.about-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 25px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.about-facts dt { color: var(--muted); font-size: .76rem; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; }
.about-facts dd { margin: 0; font-weight: 720; }

.services-section { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { position: relative; min-height: 320px; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.service-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -65px; bottom: -65px; border: 1px solid rgba(31,93,148,.15); border-radius: 50%; }
.service-card-featured { color: var(--white); background: linear-gradient(155deg, var(--ink-2), var(--ink)); grid-column: span 2; }
.service-card h3 { margin: 58px 0 15px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; }
.service-card p { color: var(--slate); font-size: .9rem; }
.service-card-featured p { max-width: 520px; color: rgba(255,255,255,.62); }
.service-card-featured .service-index { color: var(--gold); }
.card-tag { display: inline-flex; margin-top: 18px; padding: 6px 10px; color: var(--gold-light); border: 1px solid rgba(212,166,75,.35); border-radius: 999px; font-size: .65rem; font-weight: 750; text-transform: uppercase; }

.process-section { background: var(--paper); }
.process-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: start; gap: clamp(60px, 9vw, 120px); }
.process-sticky { position: sticky; top: calc(var(--header-offset) + 34px); }
.process-sticky h2 { margin-bottom: 24px; }
.process-sticky > p:last-of-type { margin-bottom: 30px; color: var(--slate); }
.process-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.process-list li { display: grid; grid-template-columns: 64px 1fr; gap: 30px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-list > li > span { display: grid; width: 54px; height: 54px; place-items: center; color: var(--blue); border: 1px solid var(--line); border-radius: 50%; font-family: var(--font-head); }
.process-list h3 { margin: 0 0 8px; font-family: var(--font-head); font-size: 1.55rem; font-weight: 500; }
.process-list p { color: var(--slate); }
.process-cta { margin-top: 48px; text-align: center; }

.academy-section { padding-top: 0; background: var(--paper); }
.academy-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 65px; padding: clamp(40px, 7vw, 84px); color: var(--white); background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.academy-copy h2 { margin-bottom: 24px; }
.academy-copy > p:last-of-type { margin-bottom: 30px; color: rgba(255,255,255,.62); }
.academy-topics { display: grid; grid-template-columns: repeat(2, 1fr); align-content: center; gap: 12px; }
.academy-topics span { min-height: 86px; padding: 20px; display: flex; align-items: flex-end; color: rgba(255,255,255,.8); border: 1px solid var(--line-light); border-radius: 14px; font-size: .84rem; font-weight: 690; }

.benefits-section { color: var(--white); background: #0b1b2d; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.benefit-grid > div { display: flex; min-height: 145px; align-items: center; gap: 18px; padding: 30px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.benefit-grid span { display: grid; min-width: 38px; width: 38px; height: 38px; place-items: center; color: var(--ink); background: var(--gold); border-radius: 50%; font-weight: 900; }
.benefit-grid p { font-family: var(--font-head); font-size: 1.13rem; }

.start-section { background: var(--white); }
.start-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 990px; margin-inline: auto; }
.start-card { min-height: 560px; padding: clamp(32px, 5vw, 50px); display: flex; flex-direction: column; border-radius: var(--radius-lg); }
.start-card-dark { color: var(--white); background: var(--ink); }
.start-card-light { background: var(--paper-2); border: 1px solid var(--line); }
.start-number { color: var(--gold); }
.card-kicker { margin: auto 0 10px; color: var(--gold); font-size: .67rem; font-weight: 850; letter-spacing: .18em; }
.start-card-light .start-number, .start-card-light .card-kicker { color: #76520e; }
.start-card h3 { margin-bottom: 16px; font-family: var(--font-head); font-size: 2rem; font-weight: 500; }
.start-card > p:not(.card-kicker) { color: var(--slate); }
.start-card-dark > p:not(.card-kicker) { color: rgba(255,255,255,.62); }
.start-card ul { margin: 24px 0 32px; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.start-card-dark ul { border-color: var(--line-light); }
.start-card li { position: relative; padding: 6px 0 6px 24px; font-size: .86rem; }
.start-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.privacy-note { max-width: 820px; margin: 25px auto 0; display: flex; align-items: flex-start; gap: 14px; padding: 18px 22px; color: var(--slate); background: #f2f7f9; border: 1px solid #dbe9ee; border-radius: 14px; font-size: .82rem; }
.privacy-note > span { color: var(--blue); font-size: 1.25rem; }

.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: start; gap: clamp(55px, 9vw, 120px); }
.faq-heading { position: sticky; top: calc(var(--header-offset) + 34px); }
.faq-heading h2 { margin-bottom: 20px; }
.faq-heading > p:last-of-type { color: var(--slate); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 24px 55px 24px 0; cursor: pointer; font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 3px; top: 18px; display: grid; width: 36px; height: 36px; place-items: center; color: var(--blue); background: var(--white); border: 1px solid var(--line); border-radius: 50%; font-family: Inter, sans-serif; font-size: 1.1rem; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--gold); border-color: var(--gold); }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { max-width: 680px; padding: 0 60px 26px 0; color: var(--slate); }

.contact-section { color: var(--white); background: var(--ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 80px; }
.contact-copy h2 { margin-bottom: 24px; }
.contact-copy > p:last-of-type { max-width: 600px; margin-bottom: 30px; color: rgba(255,255,255,.62); }
.contact-card { padding: 8px 36px; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); border-radius: var(--radius); font-style: normal; }
.contact-card > div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card span { color: rgba(255,255,255,.48); font-size: .72rem; font-weight: 760; letter-spacing: .05em; text-transform: uppercase; }
.contact-card a, .contact-card strong { font-size: .9rem; font-weight: 650; word-break: break-word; }

.final-cta { padding: clamp(88px, 11vw, 150px) 0; color: var(--white); text-align: center; background: linear-gradient(135deg, #102a47, #06111f); }
.final-cta-inner { max-width: 920px; }
.final-cta h2 { margin-bottom: 24px; }
.final-cta p:not(.eyebrow) { margin-bottom: 34px; color: rgba(255,255,255,.62); font-size: 1.08rem; }

.site-footer { padding: 75px 0 22px; color: rgba(255,255,255,.62); background: #030a13; }
.footer-grid { display: grid; grid-template-columns: 1.45fr .75fr .9fr 1fr; gap: 55px; padding-bottom: 55px; border-bottom: 1px solid var(--line-light); }
.footer-brand { align-self: start; width: 196px; }
.footer-brand .brand-crop { width: 196px; height: 94px; }
.footer-about p { max-width: 360px; margin-top: 22px; font-size: .86rem; }
.footer-location { margin-top: 14px; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.5); }
.footer-heading { display: block; margin-bottom: 18px; color: var(--white); font-family: var(--font-head); font-size: 1rem; font-weight: 500; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact { display: grid; gap: 9px; font-style: normal; }
.footer-contact a { font-size: .82rem; text-decoration: none; word-break: break-word; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 22px; font-size: .72rem; }
.footer-bottom p { margin: 0; }
.footer-language { display: flex; align-items: center; gap: 10px; }
.footer-language > span { color: rgba(255,255,255,.78); font-weight: 720; }
.footer-language .language-switcher { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); }
.footer-language .language-switcher button { min-width: 38px; min-height: 32px; padding: 5px 8px; color: rgba(255,255,255,.78); }
.footer-language .language-switcher button[aria-pressed="true"] { color: var(--ink); background: var(--gold-light); }

/* El botón "subir" de Astra se encimaba con WhatsApp y confundía; se oculta
   (no editamos Astra: solo ocultamos su elemento desde el child theme). */
#ast-scroll-top { display: none !important; }

.whatsapp-float {
  position: fixed;
  z-index: 45;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 12px));
  min-height: 56px;
  padding: 8px 20px 8px 8px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  background: linear-gradient(135deg, #25d366 0%, #12a065 55%, #0e8a5a 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(16,120,90,.38), 0 4px 12px rgba(0,0,0,.18);
  font-size: .8rem;
  font-weight: 720;
  letter-spacing: .01em;
  text-decoration: none;
  transition: opacity .25s ease, visibility .25s ease, transform .25s cubic-bezier(.22,.7,.3,1), box-shadow .25s ease;
}
.whatsapp-float > span { position: relative; z-index: 1; display: grid; width: 40px; height: 40px; place-items: center; background: rgba(255,255,255,.16); border-radius: 50%; }
.whatsapp-float > span svg { width: 24px; height: 24px; display: block; }
.whatsapp-float b { position: relative; z-index: 1; }
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(16,120,90,.48), 0 6px 16px rgba(0,0,0,.22); }
.whatsapp-float:active { transform: translateY(-1px) scale(.98); }
.whatsapp-float.is-hero-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); }
/* Anillo de pulso discreto para llamar la atención sin ser agresivo */
@media (prefers-reduced-motion: no-preference) {
  .whatsapp-float::after {
    content: "";
    position: absolute;
    left: 8px; bottom: 8px;
    width: 40px; height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37,211,102,.5);
    animation: gcaWaPulse 2.6s cubic-bezier(.4,0,.2,1) infinite;
    pointer-events: none;
  }
  @keyframes gcaWaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
    70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
  }
}
body.menu-open .whatsapp-float { display: none; }
body.menu-open .mobile-whatsapp { visibility: hidden; pointer-events: none; }

/* Legal pages */
.legal-hero { padding: 74px 0 54px; color: var(--white); background: linear-gradient(135deg, var(--ink), var(--ink-3)); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: rgba(255,255,255,.58); font-size: .78rem; }
.breadcrumbs a { text-decoration: none; }
.legal-hero h1 { max-width: 850px; margin-bottom: 18px; font-size: clamp(2.8rem, 5vw, 5rem); }
.legal-hero p { max-width: 720px; color: rgba(255,255,255,.66); }
.legal-body { padding: 70px 0 110px; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); justify-content: center; gap: 70px; align-items: start; }
.legal-aside { position: sticky; top: calc(var(--header-offset) + 30px); padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.legal-aside strong { display: block; margin-bottom: 10px; font-size: .8rem; }
.legal-aside p { color: var(--slate); font-size: .76rem; }
.legal-aside time { color: var(--blue); font-size: .76rem; font-weight: 720; }
.legal-copy[hidden] { display: none; }
.legal-copy h2 { margin: 42px 0 14px; font-family: var(--font-head); font-size: 1.65rem; font-weight: 500; letter-spacing: -.015em; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy p, .legal-copy li { color: var(--slate); }
.legal-copy a { color: var(--blue); }
.legal-review-banner { margin-bottom: 32px; padding: 18px 20px; color: #684b17; background: #fff6df; border: 1px solid #ead29b; border-radius: 12px; font-size: .83rem; }

.not-found { min-height: 72vh; display: grid; place-items: center; padding: 80px 24px; color: var(--white); text-align: center; background: var(--ink); }
.not-found strong { color: var(--gold); font-family: var(--font-head); font-size: 8rem; line-height: 1; }
.not-found h1 { margin: 20px 0; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.not-found p { max-width: 580px; margin: 0 auto 30px; color: rgba(255,255,255,.65); }

.reveal { opacity: 1; transform: none; }
.reveal-enabled .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal-enabled .reveal-delay { transition-delay: .12s; }
.reveal-enabled .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1380px) {
  :root { --header-offset: 84px; }
  .site-topbar { display: none; }
  .header-inner { grid-template-columns: 160px 1fr auto; min-height: 76px; }
  .desktop-nav { display: none; }
  .header-actions { justify-self: end; }
  .menu-toggle { display: grid; }
  .fallback-menu { display: block; }
  .mobile-whatsapp { display: grid; }
  .mobile-panel { display: block; top: 76px; }
  .header-cta { display: none; }
  .whatsapp-float { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .hero h1 { font-size: clamp(3rem, 6vw, 5rem); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card-featured { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 35px; }
}

@media (min-width: 1381px) and (max-width: 1600px) {
  .whatsapp-float { width: 54px; padding: 8px; }
  .whatsapp-float > span { width: 36px; }
  .whatsapp-float b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .about-grid, .academy-card, .contact-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 740px; }
  .hero-visual { min-height: 540px; transform: none; }
  .hero-visual > img { min-height: 540px; }
  .insight-card-main, .insight-card-side { transform: none; }
  .split-heading, .process-layout, .faq-layout, .legal-layout { grid-template-columns: 1fr; gap: 38px; }
  .split-heading { align-items: start; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-feature { grid-row: auto; grid-column: span 2; min-height: 360px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-featured { grid-column: span 2; }
  .process-sticky, .faq-heading, .legal-aside { position: static; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-aside { max-width: 500px; }
}

@media (max-width: 680px) {
  :root { --header-offset: 76px; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding: 78px 0; }
  .header-inner { min-height: 70px; grid-template-columns: 144px 1fr auto; gap: 10px; }
  .brand { width: 144px; }
  .brand-crop { width: 144px; height: 50px; }
  .header-actions > .language-switcher { display: none; }
  .mobile-panel { inset: 70px 0 0; }
  .fallback-menu-panel { inset: 70px 0 0; }
  .hero { padding: 72px 0 80px; }
  .hero h1 { font-size: clamp(2.8rem, 13.5vw, 4.3rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-visual, .hero-visual > img { min-height: 440px; }
  .insight-card-main { left: 16px; right: 16px; bottom: 16px; }
  .insight-card-side { right: 14px; top: 14px; }
  .split-heading { margin-bottom: 40px; }
  .problem-grid, .value-grid, .service-grid, .academy-topics, .benefit-grid, .start-grid { grid-template-columns: 1fr; }
  .problem-feature, .service-card-featured { grid-column: auto; }
  .problem-feature { min-height: 320px; padding: 30px; }
  .value-card { min-height: 215px; }
  .about-visual, .about-visual img { min-height: 480px; height: 480px; }
  .about-quote { left: 14px; right: 14px; bottom: 14px; padding: 16px; }
  .service-card { min-height: 280px; }
  .academy-card { padding: 34px 24px; border-radius: var(--radius); }
  .benefit-grid > div { min-height: 104px; }
  .start-card { min-height: 510px; }
  .contact-card { padding-inline: 22px; }
  .contact-card > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { width: 54px; padding: 8px; }
  .whatsapp-float > span { width: 36px; }
  .whatsapp-float b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-hero { padding-top: 58px; }
  .not-found strong { font-size: 6rem; }
}

/* Barra fija de conversión en móvil/tablet: Llamar · WhatsApp · Agendar. */
.mobile-cta-bar { display: none; }
@media (max-width: 1380px) {
  .mobile-cta-bar {
    position: fixed;
    z-index: 48;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 1fr 1.05fr 1.35fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(3, 10, 19, .96);
    border-top: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
  }
  .mobile-cta-bar a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 760;
    text-decoration: none;
  }
  .mobile-cta-bar .mobile-cta-primary { color: var(--ink); background: linear-gradient(135deg, var(--gold), var(--gold-light)); border-color: transparent; }
  body:not(.menu-open) { padding-bottom: 72px; }
  .site-footer { padding-bottom: 30px; }
}

/* ==========================================================================
   ANIMACIONES — bloque autónomo y desactivable.
   Todo lo de esta sección es decorativo: puede eliminarse completo sin
   afectar contenido, layout ni accesibilidad. Solo usa transform/translate,
   opacity y scale (sin layout thrash) y queda íntegramente dentro de
   prefers-reduced-motion: no-preference.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* --- Hero: entrada escalonada (usa `translate`, no `transform`,
         para no interferir con los transform existentes) --- */
  /* Patrón seguro: el estado base es visible; `backwards` aplica el estado
     `from` (invisible) solo mientras la animación espera su delay. Si la
     animación no llega a ejecutarse, el contenido se muestra normalmente. */
  @keyframes gcaRise {
    from { opacity: 0; translate: 0 22px; }
  }
  .hero-copy > * { animation: gcaRise .75s cubic-bezier(.22,.7,.3,1) backwards; }
  .hero-copy > :nth-child(1) { animation-delay: .08s; }
  .hero-copy > :nth-child(2) { animation-delay: .18s; }
  .hero-copy > :nth-child(3) { animation-delay: .3s; }
  .hero-copy > :nth-child(4) { animation-delay: .42s; }
  .hero-copy > :nth-child(5) { animation-delay: .52s; }
  .hero-copy > :nth-child(6) { animation-delay: .62s; }
  .hero-visual { animation: gcaRise .9s cubic-bezier(.22,.7,.3,1) .35s backwards; }
  /* El hero se anima por keyframes; se le excluye del sistema reveal
     para evitar un doble desvanecimiento. */
  .reveal-enabled .hero .reveal { opacity: 1; transform: none; transition: none; }

  /* Flotación muy sutil de la tarjeta "Privacidad primero" */
  @keyframes gcaFloat {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -7px; }
  }
  .insight-card-side { animation: gcaFloat 7s ease-in-out 1.6s infinite; }

  /* --- Entrada escalonada de tarjetas al hacer scroll (sobre el sistema
         reveal existente; solo retrasa, nunca oculta más tiempo) --- */
  .reveal-enabled .service-grid .reveal:nth-child(2),
  .reveal-enabled .problem-grid .reveal:nth-child(2),
  .reveal-enabled .value-grid .reveal:nth-child(2),
  .reveal-enabled .process-list .reveal:nth-child(2) { transition-delay: .08s; }
  .reveal-enabled .service-grid .reveal:nth-child(3),
  .reveal-enabled .problem-grid .reveal:nth-child(3),
  .reveal-enabled .value-grid .reveal:nth-child(3),
  .reveal-enabled .process-list .reveal:nth-child(3) { transition-delay: .16s; }
  .reveal-enabled .service-grid .reveal:nth-child(4),
  .reveal-enabled .problem-grid .reveal:nth-child(4),
  .reveal-enabled .value-grid .reveal:nth-child(4),
  .reveal-enabled .process-list .reveal:nth-child(4) { transition-delay: .24s; }
  .reveal-enabled .service-grid .reveal:nth-child(5),
  .reveal-enabled .problem-grid .reveal:nth-child(5) { transition-delay: .3s; }
  .reveal-enabled .service-grid .reveal:nth-child(6) { transition-delay: .34s; }
  .reveal-enabled .service-grid .reveal:nth-child(n+7) { transition-delay: .38s; }

  /* --- Cómo funciona: línea de recorrido que se dibuja al entrar --- */
  .process-list::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 34px;
    bottom: 34px;
    width: 1px;
    background: linear-gradient(180deg, var(--gold) 0%, rgba(212,166,75,.12) 100%);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1.2s cubic-bezier(.4,0,.2,1) .25s;
  }
  .process-list:has(li.is-visible)::before { transform: scaleY(1); }

  /* --- FAQ: rotación del icono y entrada suave de la respuesta --- */
  .faq-list summary::after { transition: transform .28s ease, color .2s ease, border-color .2s ease; }
  @keyframes gcaFaqIn {
    from { opacity: 0; translate: 0 -6px; }
  }
  .faq-list details[open] > p { animation: gcaFaqIn .32s ease; }

  /* --- Menú móvil: apertura/cierre con desvanecimiento y deslizamiento --- */
  .mobile-panel {
    transition: opacity .28s ease, translate .28s ease, display .28s allow-discrete;
  }
  .mobile-panel[hidden] { opacity: 0; translate: 0 -14px; }
  @starting-style {
    .mobile-panel:not([hidden]) { opacity: 0; translate: 0 -14px; }
  }
  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after { transition: top .22s ease, transform .22s ease, background-color .22s ease; }

  /* --- Microinteracciones de tarjetas y botones --- */
  .service-card { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
  .service-card:hover { border-color: rgba(212,166,75,.55); }
  .service-card .service-index { display: inline-block; transition: translate .28s ease, color .28s ease; }
  .service-card:hover .service-index { translate: 4px 0; color: var(--gold); }
  .value-card { transition: background-color .3s ease; }
  .value-card:not(.value-card-accent):hover { background-color: rgba(255,255,255,.045); }
  .start-card { transition: transform .3s ease, box-shadow .3s ease; }
  .start-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  .problem-card > span { transition: translate .28s ease; }
  .problem-card:hover > span { translate: 0 -3px; }
  .button:active:not(.button-disabled) { transform: translateY(0) scale(.985); transition-duration: .09s; }
  .desktop-nav a, .footer-links a, .topbar-links a, .text-link { transition: color .18s ease; }
}
/* ====================== FIN DEL BLOQUE DE ANIMACIONES ====================== */

/* Los círculos numerados del proceso tapan la línea decorativa al cruzarla. */
.process-list { position: relative; }
.process-list > li { position: relative; }
.process-list > li > span { position: relative; z-index: 1; background: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-enabled .reveal { opacity: 1; transform: none; }
  .hero-copy > *, .hero-visual { animation: none; }
}

@media (forced-colors: active) {
  .button, .language-switcher, .mobile-whatsapp, .problem-card, .service-card, .value-card, .contact-card { border: 1px solid ButtonText; }
}
