:root {
  --ink: #142133;
  --ink-soft: #3c4b5f;
  --navy: #101a28;
  --navy-2: #172a41;
  --gold: #c5a467;
  --gold-light: #dfc993;
  --cream: #f8f5ef;
  --paper: #ffffff;
  --therapy: #6e667f;
  --therapy-deep: #4d475d;
  --therapy-soft: #eeeaf2;
  --line: rgba(20, 33, 51, 0.12);
  --shadow: 0 22px 60px rgba(15, 28, 43, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 100px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(16, 26, 40, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; color: #fff; letter-spacing: -0.02em; }
.brand-mark {
  width: 38px; height: 38px; border: 1px solid rgba(223,201,147,.75); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-light); font-family: Georgia, serif; font-size: 1.2rem;
}
.main-nav { display: flex; align-items: center; gap: 24px; color: rgba(255,255,255,.82); font-size: .92rem; }
.main-nav a { transition: color .2s ease, opacity .2s ease; }
.main-nav a:hover { color: #fff; }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(223,201,147,.65); border-radius: 999px; color: #fff !important; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: #fff; transition: .25s ease; }

.hero {
  min-height: 790px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 150px 0 95px;
  color: white;
  background:
    radial-gradient(circle at 75% 22%, rgba(197,164,103,.16), transparent 28%),
    linear-gradient(135deg, #0c1521 0%, #122238 56%, #152c49 100%);
}
.hero:after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223,201,147,.55), transparent);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-glow-one { width: 520px; height: 520px; border: 1px solid rgba(223,201,147,.12); right: -120px; top: 70px; }
.hero-glow-two { width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.07); right: 80px; top: 150px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 800; color: var(--gold-light); }
.eyebrow.dark { color: #876f41; }
.hero h1, .section-heading h2, .therapy-copy h2, .legal-cta h2, .contact-card h2, .social-wrap h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(3.3rem, 7vw, 6.8rem); font-weight: 500; }
.hero-text { margin: 28px 0 0; max-width: 580px; color: rgba(255,255,255,.72); font-size: 1.25rem; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px;
  border-radius: 999px; font-weight: 760; font-size: .95rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #101820; box-shadow: 0 12px 28px rgba(197,164,103,.22); }
.btn-ghost { border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.04); }
.hero-meta { display: flex; gap: 14px 22px; flex-wrap: wrap; margin-top: 44px; color: rgba(255,255,255,.62); font-size: .88rem; }
.hero-meta span:before { content: "·"; color: var(--gold); margin-right: 7px; }
.hero-visual { position: relative; min-height: 430px; display: grid; place-items: center; }
.balance-card {
  width: min(100%, 390px); aspect-ratio: 1 / 1; border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.12); box-shadow: 0 35px 80px rgba(0,0,0,.22); backdrop-filter: blur(12px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.balance-card p { margin: 28px 0 3px; color: rgba(255,255,255,.65); }
.balance-card strong { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.balance-icon { position: relative; width: 180px; height: 160px; }
.pillar { position: absolute; width: 4px; height: 120px; background: var(--gold-light); left: 88px; top: 12px; }
.pillar:before { content: ""; position: absolute; width: 76px; height: 4px; background: var(--gold-light); left: -36px; bottom: 0; }
.beam { position: absolute; width: 142px; height: 4px; background: var(--gold-light); left: 19px; top: 36px; }
.beam:before { content: ""; position: absolute; width: 10px; height: 10px; background: var(--gold-light); border-radius: 50%; left: 66px; top: -3px; }
.pan { position: absolute; width: 55px; height: 28px; border-bottom: 3px solid var(--gold-light); border-radius: 0 0 55px 55px; top: 85px; }
.pan:before, .pan:after { content: ""; position: absolute; width: 1px; height: 54px; background: var(--gold-light); top: -51px; }
.pan:before { left: 7px; transform: rotate(16deg); transform-origin: bottom; }
.pan:after { right: 7px; transform: rotate(-16deg); transform-origin: bottom; }
.pan-left { left: 7px; } .pan-right { right: 7px; }
.mini-card { position: absolute; padding: 10px 16px; border-radius: 999px; background: rgba(8,17,27,.75); border: 1px solid rgba(223,201,147,.25); color: var(--gold-light); font-size: .82rem; box-shadow: 0 12px 34px rgba(0,0,0,.2); }
.mini-card-top { top: 20px; right: 10px; } .mini-card-bottom { bottom: 32px; left: 0; }

.section-light { background: #fff; }
.split-intro { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: start; }
.section-heading h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.6rem); font-weight: 500; }
.section-heading.centered { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.intro-copy { font-size: 1.18rem; color: var(--ink-soft); max-width: 620px; }
.location-line { display: flex; align-items: center; gap: 10px; margin: 26px 0; color: var(--ink); font-weight: 700; }
.dot { width: 9px; height: 9px; background: var(--gold); border-radius: 50%; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

.areas-section { background: var(--cream); }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  position: relative; min-height: 270px; padding: 28px; border-radius: var(--radius-md); background: #fff;
  border: 1px solid var(--line); box-shadow: 0 12px 38px rgba(29,39,52,.06); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-index { position: absolute; top: 20px; right: 20px; font-size: .76rem; color: #9da5ae; font-weight: 800; letter-spacing: .12em; }
.service-icon { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; margin: 48px 0 36px; background: var(--navy); color: var(--gold-light); font-family: Georgia, serif; font-size: 2rem; }
.service-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }

.legal-cta { padding: 34px 0; background: var(--navy); color: #fff; }
.legal-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 40px 0; }
.legal-cta h2 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 500; }
.legal-cta p { margin: 0; color: rgba(255,255,255,.63); }
.btn-light { background: #fff; color: var(--navy); white-space: nowrap; }

.therapy-section { background: var(--therapy-soft); padding: 120px 0; }
.therapy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.therapy-visual { min-height: 480px; position: relative; display: grid; place-items: center; }
.therapy-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(77,71,93,.18); }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 285px; height: 285px; border-style: dashed; }
.therapy-core { width: 205px; height: 205px; border-radius: 50%; background: linear-gradient(145deg, var(--therapy), var(--therapy-deep)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 25px 70px rgba(77,71,93,.25); }
.therapy-core span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.therapy-core strong { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; }
.therapy-eyebrow { color: var(--therapy-deep); }
.therapy-copy h2 { margin: 0; max-width: 700px; font-size: clamp(2.9rem, 5vw, 5rem); font-weight: 500; color: var(--therapy-deep); }
.therapy-audience { margin: 24px 0 32px; font-size: 1.15rem; color: #665f72; font-weight: 700; }
.therapy-list { border-top: 1px solid rgba(77,71,93,.18); margin-bottom: 34px; }
.therapy-list div { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid rgba(77,71,93,.18); align-items: center; }
.therapy-list span { font-size: .76rem; font-weight: 800; color: #91889e; }
.therapy-list strong { font-size: 1.05rem; color: var(--therapy-deep); }
.btn-therapy { background: var(--therapy-deep); color: #fff; }

.coverage-section { background: #fff; }
.coverage-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.coverage-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.coverage-card { min-height: 180px; border-radius: var(--radius-md); display: flex; align-items: flex-end; padding: 26px; background: linear-gradient(145deg, #f7f3e9, #efe7d6); border: 1px solid rgba(197,164,103,.22); }
.coverage-card span { font-family: Georgia, serif; font-size: clamp(1.7rem, 3vw, 2.8rem); color: var(--ink); }

.social-section { padding-top: 0; background: #fff; }
.social-wrap { padding: 52px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; justify-content: space-between; gap: 40px; align-items: center; background: var(--cream); }
.social-wrap h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 500; }
.social-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.social-chips span { padding: 11px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 750; }

.contact-section { background: #fff; padding: 20px 0 100px; }
.contact-card { padding: 58px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: white; display: flex; align-items: center; justify-content: space-between; gap: 32px; box-shadow: var(--shadow); }
.contact-card h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 500; }
.contact-card .phone { display: inline-block; margin: 8px 0 6px; color: var(--gold-light); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.contact-card p { margin: 0; color: rgba(255,255,255,.65); }

.site-footer { background: #0a111b; color: rgba(255,255,255,.68); padding: 58px 0 78px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.site-footer strong { color: #fff; font-size: 1.15rem; }
.site-footer p { margin: 8px 0; }
.site-footer a { color: var(--gold-light); }
.footer-grid > div:last-child { text-align: right; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--navy); box-shadow: 0 12px 34px rgba(0,0,0,.2); font-weight: 800; font-size: .88rem; }
.whatsapp-float span:first-child { color: #2f9f65; }

/* El contenido es visible por defecto. Las animaciones nunca controlan la visibilidad
   para evitar pantallas en blanco si JavaScript no carga. */
.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; z-index: 70; }
  .main-nav { position: fixed; inset: 76px 0 0; background: rgba(10,17,27,.98); flex-direction: column; align-items: stretch; padding: 38px 28px; gap: 0; transform: translateX(100%); transition: transform .28s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
  .nav-cta { margin-top: 18px; text-align: center; border: 1px solid rgba(223,201,147,.65) !important; padding: 13px 16px !important; }
  .hero-grid, .therapy-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 360px; }
  .balance-card { width: 330px; }
  .split-intro, .coverage-grid { grid-template-columns: 1fr; gap: 35px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .therapy-grid { gap: 45px; }
  .therapy-visual { min-height: 380px; }
  .orbit-one { width: 320px; height: 320px; }
  .orbit-two { width: 230px; height: 230px; }
  .therapy-core { width: 170px; height: 170px; }
  .social-wrap, .contact-card { align-items: flex-start; flex-direction: column; }
  .social-chips { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 74px 0; }
  .nav-wrap { min-height: 68px; }
  .main-nav { inset: 68px 0 0; }
  .brand span:last-child { font-size: .92rem; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { padding: 122px 0 66px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-text { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-meta { gap: 8px 12px; }
  .hero-visual { min-height: 300px; }
  .balance-card { width: 260px; border-radius: 28px; }
  .balance-icon { transform: scale(.78); }
  .balance-card p { margin-top: 8px; }
  .balance-card strong { font-size: 1.55rem; }
  .mini-card-top { right: 0; }
  .mini-card-bottom { left: 0; bottom: 10px; }
  .section-heading h2, .therapy-copy h2 { font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .cards-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .service-icon { margin: 34px 0 22px; }
  .legal-cta-inner { flex-direction: column; align-items: flex-start; }
  .legal-cta .btn { width: 100%; }
  .therapy-section { padding: 80px 0; }
  .therapy-visual { min-height: 300px; }
  .orbit-one { width: 270px; height: 270px; }
  .orbit-two { width: 200px; height: 200px; }
  .therapy-core { width: 148px; height: 148px; }
  .therapy-core strong { font-size: 1.55rem; }
  .coverage-cards { grid-template-columns: 1fr; }
  .coverage-card { min-height: 135px; }
  .social-wrap, .contact-card { padding: 34px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:last-child { text-align: left; }
  .whatsapp-float { right: 14px; bottom: 14px; padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .main-nav { transition: none; }
}
