/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #070B14;
  --bg-2:      #0C1322;
  --bg-3:      #121B2E;
  --bg-4:      #17223A;
  --cream:     #EDE6D3;
  --cream-2:   #C7CAD6;
  --cream-3:   #7C86A0;
  --gold:      #C6A15B;
  --gold-2:    #E4C989;
  --bronze:    #8C6D3F;
  --line:      rgba(237, 230, 211, 0.12);
  --line-2:    rgba(237, 230, 211, 0.22);
  --danger:    #C6693F;
  --ok:        #6FAE8C;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 84px;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1240px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--serif); font-weight: 600; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--gold); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.container-narrow { max-width: 820px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  max-width: 18ch;
  margin-bottom: 1.1rem;
}
.section-lead, .section-note {
  color: var(--cream-2);
  max-width: 62ch;
  font-size: 1.05rem;
}
.section-note { font-style: italic; color: var(--cream-3); font-size: 0.92rem; margin-bottom: 2.2rem; }

.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-halo {
  position: absolute; inset: -30% -10% -30% -10%;
  background: radial-gradient(45% 40% at 50% 40%, rgba(198, 161, 91, 0.16), transparent 72%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.section .container { position: relative; z-index: 1; }

em { font-style: italic; color: var(--gold-2); }
.split-word { will-change: transform, opacity; }

/* Reveal-on-scroll (functional, never gated by reduced-motion) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .35s var(--ease-out), color .35s var(--ease-out);
  white-space: nowrap;
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: #201404;
  box-shadow: 0 14px 30px -12px rgba(198, 161, 91, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(198, 161, 91, 0.7); }
.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--cream);
  background: rgba(237, 230, 211, 0.04);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn-whatsapp {
  background: rgba(111, 174, 140, 0.14); color: #BFE4CF; border: 1px solid rgba(111, 174, 140, 0.4);
  margin-top: 1.6rem;
}
.btn-whatsapp:hover { background: rgba(111, 174, 140, 0.24); }

/* =============================================================
   5. Nav
   ============================================================= */
.site-nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), height .3s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
  height: 72px;
}
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  color: #1a1206; font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
  flex-shrink: 0;
}
.brand-name { font-family: var(--sans); font-size: .78rem; line-height: 1.3; color: var(--cream-2); }
.brand-name strong { color: var(--cream); font-size: .92rem; font-weight: 600; }
.nav-links { display: none; gap: 2rem; }
.nav-links a { position: relative; font-size: .92rem; color: var(--cream-2); transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--gold);
  transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: none; }
.nav-burger {
  display: flex; flex-direction: column; gap: 5px; padding: 8px; z-index: 20;
}
.nav-burger span { width: 22px; height: 2px; background: var(--cream); transition: transform .35s var(--ease-out), opacity .35s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; top: 0; padding-top: calc(var(--nav-h) + 1rem);
  background: rgba(7, 11, 20, 0.98);
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
  font-size: 1.2rem;
  transform: translateY(-8px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
  z-index: 10;
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; transform: none; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .nav-mobile { display: none; }
}

/* =============================================================
   6. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9998;
  display: grid; place-items: center;
  background: var(--bg);
  animation: splashSafety .01s 3.6s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .5s var(--ease-out); }
.splash-mark {
  font-family: var(--serif); font-size: 2.6rem; color: var(--gold);
  letter-spacing: .3em; padding-left: .3em;
  animation: splashPulse 1.6s ease-in-out infinite;
}
@keyframes splashPulse { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; } }

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: clip;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-bg-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,11,20,.55) 0%, rgba(7,11,20,.72) 55%, rgba(7,11,20,.96) 100%),
    linear-gradient(90deg, rgba(7,11,20,.9) 0%, rgba(7,11,20,.35) 55%, rgba(7,11,20,.75) 100%);
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 1; mix-blend-mode: screen; opacity: .55;
  background:
    radial-gradient(38% 45% at 18% 20%, rgba(198,161,91,.35), transparent 70%),
    radial-gradient(32% 38% at 82% 70%, rgba(140,109,63,.28), transparent 70%);
  animation: meshDrift 22s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%, -3%, 0) scale(1.08); }
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 3; max-width: 760px; }
.kicker { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1.3rem; font-weight: 600; }
.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  color: var(--cream);
  max-width: 16ch;
  margin-bottom: 1.4rem;
}
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--cream-2); max-width: 52ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .85rem; color: var(--cream-3); }
.hero-trust li { position: relative; padding-left: 1.1rem; }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 20px;
  display: none;
}
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 3px; background: var(--gold); animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0% { top: 8px; opacity: 1; } 70% { opacity: 0; } 100% { top: 22px; opacity: 0; } }
@media (min-width: 720px) { .scroll-cue { display: block; } }

/* =============================================================
   8. Áreas de práctica
   ============================================================= */
.areas-grid {
  margin-top: 3rem;
  display: grid; grid-template-columns: 1fr; gap: 1.3rem;
}
@media (min-width: 720px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .areas-grid { grid-template-columns: repeat(3, 1fr); } }

.area-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform .1s linear, border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  transform-style: preserve-3d;
  will-change: transform;
}
.area-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(198,161,91,.25), transparent 60%);
  transition: opacity .4s var(--ease-out);
  pointer-events: none;
}
.area-card:hover { border-color: var(--line-2); box-shadow: 0 26px 50px -30px rgba(0,0,0,.6); }
.area-card:hover::before { opacity: 1; }
.area-icon { color: var(--gold); width: 44px; height: 44px; margin-bottom: 1.3rem; }
.area-card h3 { font-size: 1.35rem; margin-bottom: .55rem; color: var(--cream); }
.area-card > p { color: var(--cream-2); font-size: .95rem; margin-bottom: 1.1rem; }
.area-tags { display: flex; flex-direction: column; gap: .45rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.area-tags li { font-size: .85rem; color: var(--cream-3); padding-left: 1rem; position: relative; }
.area-tags li::before { content: "—"; position: absolute; left: 0; color: var(--gold); }

/* =============================================================
   9. Proceso
   ============================================================= */
.process-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .process-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.process-intro { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
@media (max-width: 959px) { .process-intro { position: static; } }
.process-image { border-radius: var(--radius); margin-top: 1.8rem; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }
.process-steps { display: flex; flex-direction: column; gap: 2.2rem; }
.process-step { display: flex; gap: 1.4rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.process-step:last-child { border-bottom: 0; padding-bottom: 0; }
.step-num { font-family: var(--sans); font-variant-numeric: tabular-nums; font-weight: 700; font-size: 1.3rem; letter-spacing: 0.02em; color: var(--gold); flex-shrink: 0; width: 2.4ch; }
.process-step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.process-step p { color: var(--cream-2); font-size: .96rem; }

/* =============================================================
   10. Evaluador IA
   ============================================================= */
.ai-disclaimer {
  display: flex; gap: .9rem; align-items: flex-start;
  background: rgba(198, 161, 91, 0.08); border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.8rem 0 2.6rem;
  max-width: 780px; color: var(--gold-2); font-size: .92rem;
}
.ai-disclaimer svg { flex-shrink: 0; margin-top: .1rem; color: var(--gold); }
.ai-disclaimer p { color: var(--cream-2); }
.ai-disclaimer strong { color: var(--gold-2); }

.evaluador {
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.6rem, 4vw, 3rem);
  max-width: 780px;
}
.eval-progress { display: flex; gap: .6rem; margin-bottom: 2rem; }
.ep-dot { width: 100%; height: 3px; border-radius: 3px; background: var(--line-2); transition: background .4s; }
.ep-dot.is-active, .ep-dot.is-done { background: var(--gold); }

.eval-step { display: none; }
.eval-step.is-active { display: block; animation: evalIn .5s var(--ease-out); }
@keyframes evalIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.eval-step h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.eval-hint { color: var(--cream-3); font-size: .88rem; margin-bottom: 1.3rem; }

.eval-tabs { display: flex; gap: .6rem; margin: 1.4rem 0 1.2rem; }
.eval-tab {
  padding: .6rem 1.1rem; border-radius: 999px; font-size: .88rem; border: 1px solid var(--line-2); color: var(--cream-2);
}
.eval-tab.is-active { background: var(--gold); color: #201404; border-color: var(--gold); font-weight: 600; }
.eval-tab-panel { display: none; }
.eval-tab-panel.is-active { display: block; }

.eval-dropzone {
  display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center;
  border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); padding: 2.4rem 1.5rem;
  color: var(--cream-3); cursor: pointer; transition: border-color .3s, background .3s;
}
.eval-dropzone:hover, .eval-dropzone.is-drag { border-color: var(--gold); background: rgba(198,161,91,.06); color: var(--gold-2); }
.eval-dz-title { color: var(--cream); font-weight: 500; }
.eval-dz-sub { font-size: .82rem; }
.eval-file-name { margin-top: .8rem; font-size: .88rem; color: var(--gold-2); }

.eval-textarea, .evaluador input[type="text"], .evaluador input[type="email"], .evaluador input[type="tel"], .evaluador select {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: rgba(7,11,20,.55); color: var(--cream); font-size: .95rem;
}
.eval-textarea:focus, .evaluador input:focus, .evaluador select:focus { outline: none; border-color: var(--gold); }
.evaluador label { display: flex; flex-direction: column; gap: .45rem; font-size: .85rem; color: var(--cream-3); }

.eval-fields { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-bottom: 1.6rem; }
@media (min-width: 640px) { .eval-fields { grid-template-columns: 1fr 1fr; } }
.eval-field-wide { grid-column: 1 / -1; }

.eval-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem; font-size: .82rem; margin-bottom: 1.4rem; }
.eval-consent input { margin-top: .2rem; accent-color: var(--gold); }

.eval-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.eval-actions:has(button:only-child) { justify-content: flex-end; }
.eval-error { color: var(--danger); font-size: .85rem; margin-top: .8rem; min-height: 1.2em; }

.eval-loading { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2.5rem 0; color: var(--cream-3); }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--gold); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.report-disclaimer {
  background: rgba(198,161,91,.08); border: 1px solid rgba(198,161,91,.35); border-radius: var(--radius-sm);
  padding: .9rem 1.1rem; font-size: .85rem; color: var(--cream-2); margin-bottom: 1.6rem;
}
.report-disclaimer strong { color: var(--gold-2); }
.report-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.report-head h3 { font-size: 1.5rem; }
.report-badge { padding: .35rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 600; border: 1px solid var(--line-2); }
.report-badge.baja { color: var(--ok); border-color: rgba(111,174,140,.5); }
.report-badge.media { color: var(--gold-2); border-color: rgba(198,161,91,.5); }
.report-badge.alta { color: var(--danger); border-color: rgba(198,105,63,.5); }
.report-grid { display: grid; gap: 1rem; margin-bottom: 1.6rem; }
@media (min-width: 640px) { .report-grid { grid-template-columns: 1fr 1fr; } }
.report-box { background: rgba(7,11,20,.5); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.report-box h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: .5rem; font-family: var(--sans); font-weight: 600; }
.report-steps { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.6rem; }
.report-steps li { padding-left: 1.6rem; position: relative; font-size: .95rem; color: var(--cream-2); }
.report-steps li::before { content: ""; position: absolute; left: 0; top: .45em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.report-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.report-restart { color: var(--cream-3); font-size: .85rem; text-decoration: underline; align-self: center; }

/* =============================================================
   11. Testimonios
   ============================================================= */
.testi-grid { margin-top: 2.6rem; display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  position: relative;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem;
}
.testi-badge {
  display: inline-block; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); background: rgba(198,161,91,.12); border: 1px solid rgba(198,161,91,.35);
  padding: .3rem .6rem; border-radius: 999px; margin-bottom: 1.1rem; font-weight: 600;
}
.testi-card p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--cream); margin-bottom: 1.4rem; }
.testi-card footer { display: flex; align-items: center; gap: .8rem; font-size: .85rem; color: var(--cream-3); }
.testi-avatar {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--bronze), var(--gold)); color: #1a1206; font-weight: 700; font-size: .82rem; font-family: var(--sans);
}

/* =============================================================
   12. FAQ
   ============================================================= */
.faq-list { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0; text-align: left; font-size: 1.08rem; color: var(--cream);
}
.faq-plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; transition: transform .35s var(--ease-out); }
.faq-plus::before { top: 50%; left: 0; width: 100%; height: 2px; margin-top: -1px; }
.faq-plus::after { left: 50%; top: 0; height: 100%; width: 2px; margin-left: -1px; }
.faq-q[aria-expanded="true"] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.faq-a p { padding-bottom: 1.5rem; color: var(--cream-2); max-width: 68ch; }
.faq-a a { color: var(--gold-2); text-decoration: underline; }

/* =============================================================
   13. Contacto
   ============================================================= */
.contacto-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contacto-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contacto-datos { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contacto-datos li { display: flex; flex-direction: column; gap: .2rem; border-bottom: 1px solid var(--line); padding-bottom: 1.1rem; }
.contacto-datos strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.contacto-datos span { color: var(--cream-2); }

.contacto-form {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.2rem;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contacto-form label { display: flex; flex-direction: column; gap: .45rem; font-size: .85rem; color: var(--cream-3); }
.contacto-form input, .contacto-form select, .contacto-form textarea {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line-2);
  background: rgba(7,11,20,.55); color: var(--cream); font-size: .95rem;
}
.contacto-form input:focus, .contacto-form select:focus, .contacto-form textarea:focus { outline: none; border-color: var(--gold); }
.btn-submit { position: relative; align-self: flex-start; }
.btn-submit .btn-check { display: none; }
.btn-submit.is-sending { opacity: .75; pointer-events: none; }
.btn-submit.is-success .btn-label { display: none; }
.btn-submit.is-success .btn-check { display: block; stroke-dashoffset: 0 !important; transition: stroke-dashoffset .6s var(--ease-out); }
.form-status { font-size: .88rem; min-height: 1.2em; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--danger); }
.form-legal { font-size: .76rem; color: var(--cream-3); }

/* =============================================================
   14. Footer
   ============================================================= */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0; }
.footer-inner { display: flex; flex-direction: column; gap: 1.6rem; }
@media (min-width: 720px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-inner p { color: var(--cream-3); font-size: .85rem; margin-top: .8rem; }
.footer-legal { max-width: 46ch; font-size: .78rem !important; }

/* =============================================================
   15. Chat widget
   ============================================================= */
.chat-widget { position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 800; }
.chat-bubble {
  display: flex; align-items: center; gap: .5rem;
  width: 60px; height: 60px; border-radius: 50%; justify-content: center;
  background: linear-gradient(135deg, var(--gold), var(--bronze)); color: #1a1206;
  box-shadow: 0 16px 34px -14px rgba(198,161,91,.7);
  transition: transform .3s var(--ease-out);
}
.chat-bubble:hover { transform: scale(1.06); }
.chat-bubble-badge { display: none; }
.chat-panel {
  position: absolute; bottom: calc(100% + 1rem); right: 0;
  width: min(370px, calc(100vw - 2rem)); max-height: min(560px, 70vh);
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 18px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.chat-header strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.chat-header span { font-size: .74rem; color: var(--cream-3); }
.chat-header button { color: var(--cream-3); font-size: 1.1rem; }
.chat-disclaimer { font-size: .72rem; color: var(--cream-3); padding: .6rem 1.2rem; border-bottom: 1px solid var(--line); background: rgba(198,161,91,.05); }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .8rem; min-height: 180px; }
.chat-msg { max-width: 88%; padding: .65rem .9rem; border-radius: 14px; font-size: .88rem; line-height: 1.5; }
.chat-msg.user { align-self: flex-end; background: var(--gold); color: #201404; border-bottom-right-radius: 4px; }
.chat-msg.bot { align-self: flex-start; background: rgba(237,230,211,.06); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--cream-2); }
.chat-msg.bot.is-typing { color: var(--cream-3); font-style: italic; }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1.2rem .8rem; }
.chat-suggestions button { font-size: .76rem; padding: .4rem .7rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--cream-2); }
.chat-suggestions button:hover { border-color: var(--gold); color: var(--gold-2); }
.chat-form { display: flex; gap: .6rem; padding: .9rem 1.2rem; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; padding: .7rem .9rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7,11,20,.5); color: var(--cream); font-size: .88rem; }
.chat-form input:focus { outline: none; border-color: var(--gold); }
.chat-form button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #201404; flex-shrink: 0; }

/* =============================================================
   16. Responsive polish
   ============================================================= */
@media (max-width: 539px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .eval-actions { flex-wrap: wrap; }
}

/* =============================================================
   17. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .splash-mark { animation: none; }
  .scroll-cue span { animation: none; }
}
