/* =============================================================
   Centro de Armonía Emocional — styles.css
   Archetype: Editorial Dark Warm (adapted palette: navy + teal + gold)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0a0614;   /* deep violet-black — never pure #000 */
  --bg-2:      #120a22;
  --bg-3:      #17102a;   /* card surface */
  --bg-4:      #1f1638;   /* card hover / elevated */
  --cream:     #f2ecff;   /* text on dark — never pure white */
  --cream-2:   #cfc0ea;
  --cream-3:   #8f7fae;   /* metadata / muted */
  --violet:      #8b5cf6;
  --violet-soft: #a78bfa;
  --violet-deep: #4c2c8f;
  --crimson:      #e11d48;
  --crimson-soft: #fb7185;
  --gold:      #d9b859;
  --gold-2:    #e8cd85;
  --gold-dim:  #a9863f;
  --line:      rgba(242,236,255,.10);
  --line-2:    rgba(242,236,255,.06);
  --shadow:    0 20px 60px rgba(0,0,0,.5);

  --serif: "Cinzel", "EB Garamond", Georgia, serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease-out:    cubic-bezier(.16,.84,.44,1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 84px;
}

/* =============================================================
   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);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream-2);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
  min-height: 100svh;
}

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 { font-family: var(--serif); text-wrap: balance; line-height: 1.08; letter-spacing: 0; color: var(--cream); font-weight: 600; }
ul, ol { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--bg); }

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

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
  transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.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; }
.section { position: relative; padding-block: clamp(4rem, 9vw, 8rem); }
.section-halo {
  position: absolute; inset: -30% -10% -30% -10%;
  background: radial-gradient(45% 40% at 50% 30%, rgba(139,92,246,.16), transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.section-inner { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
}
.eyebrow::before { content: "—— ✦"; font-size: .95em; letter-spacing: .1em; color: var(--gold-dim); }
.kicker { color: var(--gold); }
em { font-style: italic; color: var(--gold-2); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; } /* defensive: never trap split text invisible */
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.8rem;
  border-radius: 999px;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  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-primary {
  background: linear-gradient(135deg, var(--crimson-soft), var(--crimson));
  color: var(--cream);
  box-shadow: 0 10px 30px rgba(225,29,72,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(225,29,72,.42); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--cream);
  background: rgba(242,236,255,.03);
}
.btn-ghost:hover { border-color: var(--gold-dim); background: rgba(217,184,89,.08); transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* =============================================================
   4. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10,6,20,0);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(10,6,20,.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.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 img { width: 44px; height: 44px; border-radius: 50%; }
.brand-name { font-family: var(--serif); font-size: 1.02rem; line-height: 1.15; color: var(--cream); }
.brand-name small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: .15rem; }

.nav-links { display: none; align-items: center; gap: 2.1rem; }
.nav-links a {
  position: relative; font-size: .92rem; color: var(--cream-2); font-weight: 500;
  padding-block: .4rem;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--gold); transition: right .35s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }

.nav-drop { position: relative; }
.nav-drop > button { display: inline-flex; align-items: center; gap: .35rem; font: inherit; }
.nav-drop > button svg { width: .7em; height: .7em; transition: transform .3s var(--ease-out); }
.nav-drop:hover > button svg, .nav-drop.is-open > button svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  min-width: 230px; padding: .6rem; border-radius: 16px;
  background: var(--bg-3); border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out), visibility .28s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop.is-open .nav-drop-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.nav-drop-menu a {
  display: block; padding: .6rem .8rem; border-radius: 10px; font-size: .88rem; color: var(--cream-2);
}
.nav-drop-menu a:hover { background: rgba(217,184,89,.1); color: var(--cream); }
.nav-drop-menu a::after { display: none; }

.nav-cta { display: none; }
.nav-burger {
  display: inline-flex; flex-direction: column; gap: 5px; padding: .5rem;
}
.nav-burger span { width: 22px; height: 2px; background: var(--cream); transition: transform .3s var(--ease-out), opacity .3s var(--ease-out); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 400;
  background: rgba(10,6,20,.98); backdrop-filter: blur(10px);
  padding: 2rem 1.5rem; overflow-y: auto;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out), visibility .35s;
}
.mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; }
.mobile-menu a {
  display: block; padding: 1rem 0; font-size: 1.3rem; font-family: var(--serif);
  color: var(--cream); border-bottom: 1px solid var(--line-2);
}
.mobile-menu .mobile-sub { padding-left: 1rem; }
.mobile-menu .mobile-sub a { font-size: 1.05rem; font-family: var(--sans); color: var(--cream-2); padding: .7rem 0; border: 0; }
.mobile-menu-cta { margin-top: 1.5rem; }

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

/* =============================================================
   5. WhatsApp float
   ============================================================= */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 600;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #2fbf75, #1f9e5f);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(31,158,95,.4);
  animation: waPulse 2.8s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { animation: none; transform: scale(1.06); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(31,158,95,.4), 0 0 0 0 rgba(47,191,117,.5); }
  50% { box-shadow: 0 12px 30px rgba(31,158,95,.4), 0 0 0 14px rgba(47,191,117,0); }
}

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: clip;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(139,92,246,.16), transparent 65%),
    radial-gradient(70% 60% at 85% 100%, rgba(217,184,89,.14), transparent 60%),
    radial-gradient(60% 50% at 10% 90%, rgba(76,44,143,.35), transparent 60%),
    var(--bg);
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 30% at 22% 26%, rgba(139,92,246,.22), transparent 70%),
    radial-gradient(34% 28% at 78% 22%, rgba(217,184,89,.2), transparent 70%);
  filter: blur(70px);
  animation: meshDrift 22s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.14) rotate(8deg); }
}
.hero-stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; }
.hero-stars span {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-2); box-shadow: 0 0 8px 1px rgba(232,205,133,.7);
  animation: starTwinkle 3.6s ease-in-out infinite;
}
@keyframes starTwinkle { 0%, 100% { opacity: .15; } 50% { opacity: .9; } }

#hero-canvas {
  position: fixed; inset: 0; z-index: 0; width: 100vw; height: 100vh;
  display: block; pointer-events: none; opacity: 0; transition: opacity 1.8s var(--ease-out);
}
html.is-ready #hero-canvas { opacity: 1; }

.hero-inner { position: relative; z-index: 1; width: 100%; padding-block: clamp(2rem, 6vw, 3rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { text-align: center; }
.hero-logo { width: 96px; height: 96px; margin: 0 auto 1.6rem; }
.hero-title {
  font-size: clamp(2.3rem, 6.6vw, 4.6rem);
  max-width: 16ch; margin-inline: auto;
}
.hero-sub {
  margin: 1.4rem auto 0; max-width: 46ch; font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--cream-2);
}
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.hero-tags { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.hero-tag {
  padding: .5rem 1rem; border-radius: 999px; font-size: .82rem;
  border: 1px solid var(--line); color: var(--cream-3);
}

/* Hero trust stat row */
.hero-trust {
  margin-top: clamp(2.6rem, 6vw, 3.6rem);
  display: grid; gap: 1.4rem 1rem;
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px; margin-inline: auto;
  padding-top: clamp(1.6rem, 4vw, 2.2rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .hero-trust { grid-template-columns: repeat(4, 1fr); } }
.hero-trust-item { text-align: center; }
.hero-trust-item strong {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--gold-2);
}
.hero-trust-item span {
  display: block; margin-top: .3rem; font-family: var(--mono);
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-3);
}

/* Custom cursor (fine pointer only) */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9000; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold-2); }
.cursor-ring {
  width: 34px; height: 34px; border: 1px solid rgba(217,184,89,.5);
  transition: opacity .3s var(--ease-out), transform .18s var(--ease-out), border-color .3s var(--ease-out);
}
html.has-fine-cursor .cursor-dot, html.has-fine-cursor .cursor-ring { opacity: 1; }
html.has-fine-cursor { cursor: none; }
html.has-fine-cursor a, html.has-fine-cursor button { cursor: none; }
.cursor-ring.is-active { transform: translate(-50%, -50%) scale(1.7); border-color: rgba(217,184,89,.9); }
.cursor-ring.is-down { transform: translate(-50%, -50%) scale(.85); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }
@media (prefers-reduced-motion: reduce) { .cursor-dot, .cursor-ring { display: none; } html.has-fine-cursor { cursor: auto; } }

/* =============================================================
   7. Cards / components
   ============================================================= */
.card {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 28px;
  padding: 2rem; transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), background .4s var(--ease-out);
}
.card:hover { transform: translateY(-6px); border-color: var(--gold-dim); background: var(--bg-4); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(217,184,89,.22), rgba(139,92,246,.18));
  color: var(--gold-2); margin-bottom: 1.2rem; font-size: 1.5rem;
}
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { font-size: .95rem; color: var(--cream-3); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-top: .8rem; }
.section-head p { margin-top: 1rem; font-size: 1.05rem; color: var(--cream-3); }

.grid-2 { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Pain points */
.pain-split { display: grid; gap: 2.4rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .pain-split { grid-template-columns: .9fr 1.1fr; gap: 3rem; } }
.pain-lead h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.pain-lead p { margin-top: 1rem; color: var(--cream-2); font-size: 1.02rem; max-width: 42ch; }
.pain-list { display: grid; gap: 1rem; }
.pain-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem 1.4rem; border-radius: 18px;
  background: var(--bg-3); border: 1px solid var(--line);
  font-size: .96rem; color: var(--cream-2);
}
.pain-item .ic { flex-shrink: 0; width: 1.4rem; height: 1.4rem; color: var(--gold); margin-top: .1rem; }

/* Services */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card .btn { margin-top: 1.4rem; align-self: flex-start; }

/* Specialists */
.specialist-card { text-align: center; }
.specialist-photo {
  width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 1.3rem;
  background: var(--bg-4);
}
.specialist-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .6s var(--ease-out); }
.specialist-card:hover .specialist-photo img { transform: scale(1.05); }
.specialist-card h3 { font-size: 1.3rem; }
.specialist-role { color: var(--gold); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .3rem; font-weight: 600; }
.specialist-tags { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: 1rem; }
.specialist-tags span {
  font-size: .76rem; padding: .35rem .7rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--cream-3);
}
.specialist-bio { margin-top: 1rem; font-size: .92rem; color: var(--cream-3); }

/* Process steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.6rem; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-size: 1.5rem; color: var(--gold);
}

/* Testimonials placeholder */
.testi-note {
  border: 1px dashed var(--line); border-radius: 20px; padding: 2.2rem;
  text-align: center; color: var(--cream-3);
}

/* Testimonial cards */
.testi-card {
  display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.testi-quote-mark {
  font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--gold-dim); line-height: 1;
}
.testi-card p { font-size: .96rem; color: var(--cream-2); }
.testi-author { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line-2); font-size: .86rem; color: var(--gold-2); font-weight: 600; }

/* Team note (diferentes conocimientos) */
.team-note {
  margin-top: 2.6rem;
  border-radius: 24px; padding: clamp(1.8rem, 4vw, 2.6rem);
  background: linear-gradient(160deg, rgba(76,44,143,.4), rgba(139,92,246,.16));
  border: 1px solid var(--line);
  display: grid; gap: 1.6rem; grid-template-columns: 1fr;
}
@media (min-width: 960px) { .team-note { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.team-note h3 { font-size: 1.5rem; }
.team-note p { font-size: .96rem; color: var(--cream-2); }

/* Disclaimer note */
.disclaimer {
  border: 1px solid var(--line); border-left: 3px solid var(--gold-dim);
  border-radius: 14px; padding: 1.2rem 1.4rem; margin-top: 2rem;
  font-size: .86rem; color: var(--cream-3); background: rgba(242,236,255,.02);
}
.disclaimer strong { color: var(--cream-2); }

/* Photo hero (inner pages with a real background image) */
.photo-hero {
  position: relative; padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 5rem));
  padding-bottom: clamp(3rem, 8vw, 5rem);
  overflow: clip;
}
.photo-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.photo-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(1.05) brightness(.62);
}
.photo-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,6,20,.55) 0%, rgba(10,6,20,.78) 60%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,6,20,.55), rgba(10,6,20,.2) 55%, rgba(10,6,20,.55));
}
.photo-hero .section-inner { position: relative; z-index: 1; }

.photo-strip { display: grid; gap: 1.2rem; grid-template-columns: 1fr; margin-top: 2.6rem; }
@media (min-width: 720px) { .photo-strip { grid-template-columns: 1fr 1fr; } }
.photo-strip figure { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.photo-strip figure:hover img { transform: scale(1.06); }

/* FAQ accordion */
.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-family: var(--serif); font-size: 1.08rem; color: var(--cream);
}
.faq-q svg { width: 1.1em; height: 1.1em; flex-shrink: 0; color: var(--gold); transition: transform .35s var(--ease-out); }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.faq-a-inner { padding-bottom: 1.4rem; font-size: .96rem; color: var(--cream-3); max-width: 68ch; }

/* Contact */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
.contact-panel {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.8rem, 3vw, 2.6rem);
}
.contact-row { display: flex; gap: 1rem; align-items: flex-start; padding-block: 1rem; border-top: 1px solid var(--line-2); }
.contact-row:first-child { border-top: 0; padding-top: 0; }
.contact-row .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(217,184,89,.14); color: var(--gold-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row h4 { font-size: 1rem; color: var(--cream); font-family: var(--sans); font-weight: 600; }
.contact-row p, .contact-row a { font-size: .92rem; color: var(--cream-3); }
.contact-row a:hover { color: var(--gold-2); }

/* Legal pages */
.legal-body { max-width: 74ch; }
.legal-body h2 { font-size: 1.4rem; margin-top: 2.4rem; margin-bottom: .8rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: .96rem; color: var(--cream-3); margin-bottom: .9rem; }
.legal-body ul { list-style: disc; padding-left: 1.4rem; }
.legal-body ul li { margin-bottom: .4rem; }
.legal-updated { color: var(--cream-3); font-size: .85rem; margin-bottom: 2.5rem; }

/* Page hero (inner pages) */
.page-hero { padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 5rem)); padding-bottom: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: clip; }
.page-hero .section-halo { inset: -20% -10% -40% -10%; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 22ch; }
.page-hero p { margin-top: 1rem; max-width: 60ch; font-size: 1.05rem; color: var(--cream-3); }
.breadcrumb { font-size: .82rem; color: var(--cream-3); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--gold-2); }

/* CTA band */
.cta-band {
  border-radius: 28px; padding: clamp(2.4rem, 6vw, 4rem);
  background: linear-gradient(135deg, rgba(76,44,143,.55), rgba(139,92,246,.28));
  border: 1px solid var(--line); text-align: center;
  position: relative; overflow: clip;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 26ch; margin-inline: auto; }
.cta-band p { margin-top: .9rem; color: var(--cream-2); max-width: 50ch; margin-inline: auto; }
.cta-band .hero-actions { margin-top: 1.8rem; }

/* =============================================================
   7b. Lectura (natal chart tool)
   ============================================================= */
.astro-form {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(1.6rem, 3.5vw, 2.4rem); display: grid; gap: 1.4rem;
}
.astro-field label { display: block; font-size: .84rem; color: var(--cream-2); margin-bottom: .5rem; font-weight: 600; }
.astro-field input[type="date"] {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--cream);
  font: inherit; font-size: .95rem; color-scheme: dark;
}
.astro-field input[type="date"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.astro-field small { display: block; margin-top: .4rem; color: var(--cream-3); font-size: .8rem; }
.astro-actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.astro-error { color: #e08a7a; font-size: .86rem; display: none; }
.astro-error.is-visible { display: block; }

.astro-results { margin-top: clamp(2.2rem, 5vw, 3rem); display: grid; gap: 1.8rem; }
.astro-result { background: var(--bg-3); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.6rem, 3.5vw, 2.4rem); }
.astro-result-head h3 { font-size: 1.4rem; }
.astro-sub { margin-top: .5rem; font-size: .9rem; color: var(--cream-3); }
.astro-grid { margin-top: 1.6rem; display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .astro-grid { grid-template-columns: repeat(2, 1fr); } }
.astro-card { background: var(--bg-4); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; }
.astro-card-head { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .7rem; }
.astro-symbol { font-size: 1.4rem; color: var(--gold-2); line-height: 1; margin-top: .1rem; }
.astro-card-head h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600; color: var(--cream); }
.astro-house { font-size: .76rem; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.astro-card p { font-size: .87rem; color: var(--cream-3); }
.astro-compare-list { margin-top: 1.4rem; display: grid; gap: .9rem; }
.astro-compare-list li { font-size: .92rem; color: var(--cream-2); padding-left: 1.4rem; position: relative; }
.astro-compare-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .8em; top: .2em; }

/* =============================================================
   7b2. Tree-reveal — scroll-driven particle tree (grows as you scroll)
   ============================================================= */
.tree-reveal { position: relative; height: 230vh; }
.tree-reveal-sticky {
  position: sticky; top: 0; height: 100vh; z-index: 1;
  display: flex; align-items: center; justify-content: center; overflow: clip;
  background: radial-gradient(ellipse at 50% 30%, var(--bg-3) 0%, var(--bg) 60%, #05030b 100%);
}
#tree-reveal-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tree-reveal-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 58%, rgba(217,184,89,.28), transparent 70%);
  opacity: .2; transition: opacity .4s ease-out;
}
.tree-reveal-copy { position: relative; z-index: 2; text-align: center; max-width: 560px; padding-inline: 1.5rem; }
.tree-reveal-copy .eyebrow { justify-content: center; }
.tree-reveal-copy h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin-top: .8rem; }
.tree-reveal-copy p:last-child { margin-top: 1.1rem; color: var(--cream-2); font-size: 1.02rem; }
@media (max-width: 640px) { .tree-reveal { height: 185vh; } }
@media (prefers-reduced-motion: reduce) {
  .tree-reveal { height: auto; }
  .tree-reveal-sticky { position: relative; height: 78vh; }
}

/* =============================================================
   7c. Union symbol (harmony sigil section)
   ============================================================= */
.union-section {
  position: relative; text-align: center; overflow: clip;
  padding-block: clamp(3.5rem, 9vw, 6rem);
}
.union-canvas {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%;
}
.union-overlay { position: relative; z-index: 1; max-width: 46ch; margin-inline: auto; }
.union-overlay h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: .8rem; }
.union-overlay p { margin-top: 1rem; color: var(--cream-2); font-size: 1.02rem; }
.sigil-frame {
  position: relative; width: min(320px, 70vw); aspect-ratio: 1; margin: 2.2rem auto 0;
}
.sigil-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(217,184,89,.4);
  animation: sigilSpin 40s linear infinite;
}
.sigil-ring.r2 { inset: 14%; border-color: rgba(139,92,246,.45); animation-duration: 30s; animation-direction: reverse; }
.sigil-ring.r3 { inset: 30%; border-color: rgba(242,236,255,.18); animation-duration: 50s; }
.sigil-core {
  position: absolute; inset: 42%; border-radius: 50%;
  background: radial-gradient(circle, rgba(217,184,89,.55), rgba(139,92,246,.15) 70%, transparent);
  filter: blur(2px);
  animation: sigilPulse 4.5s ease-in-out infinite;
}
@keyframes sigilSpin { to { transform: rotate(360deg); } }
@keyframes sigilPulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
  .sigil-ring { animation: none; }
  .sigil-core { animation: none; }
}

/* =============================================================
   8. Footer
   ============================================================= */
.footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; background: var(--bg-2); }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; }
.footer-brand span { font-family: var(--serif); font-size: 1.1rem; color: var(--cream); }
.footer p { font-size: .9rem; color: var(--cream-3); max-width: 34ch; }
.footer h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); margin-bottom: 1rem; font-weight: 600; }
.footer ul li { margin-bottom: .6rem; }
.footer a { font-size: .92rem; color: var(--cream-3); }
.footer a:hover { color: var(--gold-2); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: .82rem; color: var(--cream-3);
}
.footer-bottom a:hover { color: var(--gold-2); }

/* =============================================================
   9. Responsive helpers
   ============================================================= */
@media (min-width: 720px) {
  .hero-title { font-size: clamp(2.8rem, 6vw, 4.6rem); }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   10. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .hero-stars span { animation: none; opacity: .35; }
  .wa-float { animation: none; }
}

/* =============================================================
   11. View transitions (multi-page)
   ============================================================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .5s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
::view-transition-old(root) { animation-name: fadeOutUp; }
::view-transition-new(root) { animation-name: fadeInUp; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } }
