:root {
  --bg: #f7f3f1;
  --paper: #fffdfb;
  --ink: #302b2d;
  --muted: #756b6f;
  --accent: #8b6f7f;
  --accent-2: #b79aa9;
  --deep: #4e3d47;
  --sage: #aab3a4;
  --line: rgba(78, 61, 71, .13);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(72, 54, 64, .13);
  --radius-lg: 32px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
strong { font-weight: 700; }

.page-orb { position: fixed; border-radius: 50%; filter: blur(2px); pointer-events: none; z-index: -1; opacity: .45; }
.page-orb--one { width: 420px; height: 420px; background: rgba(183,154,169,.18); top: -170px; right: -120px; }
.page-orb--two { width: 330px; height: 330px; background: rgba(170,179,164,.14); left: -160px; top: 38%; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 84px 0; position: relative; }
.compact-section { padding-block: 72px; }
.section-soft { background: rgba(255,255,255,.48); border-block: 1px solid rgba(78,61,71,.05); }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: rgba(247,243,241,.88); backdrop-filter: blur(14px); transition: .25s ease; }
.site-header.scrolled { box-shadow: 0 12px 40px rgba(56,43,50,.07); border-color: var(--line); background: rgba(247,243,241,.97); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 44px; height: 44px; border: 1px solid rgba(139,111,127,.25); border-radius: 50%; display: grid; place-items: center; color: var(--accent); font: 600 1rem/1 Georgia, serif; background: rgba(255,255,255,.56); }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: .93rem; letter-spacing: -.02em; }
.brand-copy small { color: var(--muted); font-size: .72rem; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: .88rem; }
.main-nav > a { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--accent); transition: right .25s ease; }
.main-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 12px 17px; border-radius: 999px; background: var(--deep); color: white; box-shadow: 0 10px 25px rgba(78,61,71,.15); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .2s ease; }
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.hero { padding-top: 72px; padding-bottom: 78px; min-height: calc(100vh - 82px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(330px,.85fr); gap: 70px; align-items: center; }
.eyebrow { color: var(--accent); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: rgba(255,255,255,.72); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.035em; }
h1 { font-size: clamp(3.35rem, 6.6vw, 6.4rem); line-height: .97; margin: 0 0 20px; max-width: 880px; }
h2 { font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.06; margin: 0 0 18px; }
h3 { margin-top: 0; }
.hero-specialty { margin: 0 0 18px; font: 600 clamp(1.35rem, 2.4vw, 2rem)/1.25 Georgia, serif; color: var(--deep); }
.hero-lead { color: #5f565a; font-size: 1.08rem; max-width: 760px; margin: 0 0 20px; }
.hero-location-line { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 19px; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--deep); color: white; box-shadow: 0 14px 30px rgba(78,61,71,.18); }
.btn-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.52); color: var(--deep); }

.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: linear-gradient(145deg, rgba(183,154,169,.34), rgba(170,179,164,.18)); filter: blur(.2px); }
.hero-visual-ring { position: absolute; width: 390px; height: 390px; border-radius: 50%; border: 1px solid rgba(139,111,127,.19); }
.hero-visual-ring::before, .hero-visual-ring::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(139,111,127,.1); }
.hero-visual-ring::before { inset: 32px; }
.hero-visual-ring::after { inset: 66px; }
.hero-visual-card { width: min(310px, 88%); min-height: 330px; padding: 48px 34px; border-radius: 160px 160px 34px 34px; background: linear-gradient(155deg, #53404b, #7d6372); color: white; box-shadow: var(--shadow); position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.visual-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: rgba(255,255,255,.68); margin-bottom: 18px; }
.hero-visual-card strong { font: 600 1.55rem/1.4 Georgia, serif; }
.visual-divider { width: 44px; height: 1px; background: rgba(255,255,255,.35); margin: 22px 0 15px; }
.hero-visual-card > span:last-child { color: rgba(255,255,255,.78); font-size: .86rem; }

.section-heading { max-width: 720px; }
.section-heading p { color: var(--muted); font-size: 1.04rem; margin-bottom: 0; }
.accompaniment-layout { display: grid; grid-template-columns: .84fr 1.16fr; gap: 68px; align-items: start; }
.compact-services { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; }
.compact-services li { position: relative; padding: 12px 14px 12px 32px; border-bottom: 1px solid var(--line); color: #4f464b; font-weight: 600; }
.compact-services li::before { content: "•"; position: absolute; left: 10px; top: 14px; color: var(--accent); font-size: 1.25rem; line-height: 1; }

.approach-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 72px; align-items: center; }
.approach-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.approach-list span { display: inline-flex; padding: 10px 14px; border-radius: 999px; background: rgba(139,111,127,.09); border: 1px solid rgba(139,111,127,.12); color: var(--deep); font-weight: 700; font-size: .88rem; }
.therapy-note { position: relative; background: linear-gradient(145deg, #4d3b46, #79616f); color: white; border-radius: var(--radius-lg); padding: 42px; box-shadow: var(--shadow); overflow: hidden; }
.therapy-note::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); right: -90px; bottom: -120px; }
.therapy-note-mark { position: absolute; top: 12px; right: 28px; font: 600 5rem/1 Georgia, serif; color: rgba(255,255,255,.12); }
.therapy-note p { margin: 0 0 24px; color: rgba(255,255,255,.9); font-size: 1.08rem; position: relative; z-index: 1; }
.soft-tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.soft-tags span { border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.07); padding: 7px 11px; border-radius: 999px; font-size: .82rem; }

.formation-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 82px; align-items: start; }
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--accent), rgba(139,111,127,.1)); }
.timeline-item { position: relative; padding: 0 0 28px 18px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -32px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.timeline-item small { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .72rem; }
.timeline-item h3 { font: 600 1.45rem/1.25 Georgia, serif; margin: 5px 0 7px; }
.timeline-item p { color: var(--muted); margin: 0; }

.contact-section { padding-top: 48px; }
.contact-card { background: linear-gradient(135deg, #51404a, #806675); color: white; border-radius: 34px; padding: 46px; display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: center; box-shadow: var(--shadow); }
.contact-card h2 { margin-bottom: 20px; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.contact-details > div { display: grid; gap: 4px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-details strong { font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.72); }
.contact-details span { color: white; }
.appointment-note { margin: 18px 0 0; color: rgba(255,255,255,.8); font-size: .9rem; }
.contact-actions { display: grid; gap: 10px; min-width: 265px; }
.btn-light { background: white; color: var(--deep); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.3); color: white; }
.contact-phone { text-align: center; color: rgba(255,255,255,.92); font-weight: 700; padding: 6px 0; font-size: .87rem; }
.contact-phone:hover { text-decoration: underline; }

.site-footer { padding: 30px 0 88px; }
.footer-grid { border-top: 1px solid var(--line); padding-top: 24px; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 28px; align-items: start; color: var(--muted); font-size: .88rem; }
.footer-grid strong { color: var(--ink); }
.footer-grid p { margin: 0; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; }
.footer-links a:hover { color: var(--accent); }
.floating-contact { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 9px; background: var(--deep); color: white; border-radius: 999px; padding: 13px 18px; box-shadow: 0 16px 36px rgba(55,41,49,.26); font-size: .87rem; transition: transform .2s ease; }
.floating-contact:hover { transform: translateY(-3px); }

/* El contenido permanece visible aunque JavaScript no se ejecute. */
.reveal { opacity: 1; transform: none; }
.reveal.visible { animation: revealIn .58s ease both; }
@keyframes revealIn {
  from { opacity: .01; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
  .main-nav { gap: 14px; font-size: .82rem; }
  .hero-grid { grid-template-columns: 1fr .72fr; gap: 42px; }
  .hero-visual-ring { width: 330px; height: 330px; }
  .hero-visual-card { width: 270px; min-height: 300px; }
  .accompaniment-layout, .approach-grid, .formation-grid { gap: 46px; }
}

@media (max-width: 800px) {
  .section { padding: 66px 0; }
  .compact-section { padding-block: 58px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 82px 16px auto;
    display: grid;
    gap: 4px;
    padding: 18px;
    background: rgba(255,253,251,.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(52,40,47,.18);
    transform: translateY(-16px) scale(.98);
    opacity: 0;
    visibility: hidden;
    transition: .24s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .main-nav a { padding: 13px 12px; border-radius: 12px; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .hero { min-height: auto; padding-top: 50px; }
  .hero-grid, .accompaniment-layout, .approach-grid, .formation-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-visual { min-height: 330px; margin-top: -4px; }
  .hero-visual-ring { width: 300px; height: 300px; }
  .hero-visual-card { width: 245px; min-height: 275px; padding: 40px 28px; }
  .compact-services { grid-template-columns: 1fr 1fr; }
  .therapy-note { padding: 34px 30px; }
  .contact-card { padding: 38px 30px; gap: 28px; }
  .contact-actions { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav-wrap { min-height: 72px; }
  .main-nav { top: 72px; }
  .brand-copy strong { font-size: .8rem; }
  .brand-copy small { font-size: .68rem; }
  .brand-mark { width: 40px; height: 40px; }
  .hero { padding-top: 34px; padding-bottom: 48px; }
  .eyebrow { font-size: .68rem; letter-spacing: .12em; margin-bottom: 14px; }
  h1 { font-size: clamp(3rem, 15.2vw, 4.5rem); margin-bottom: 16px; }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-specialty { font-size: 1.3rem; }
  .hero-lead { font-size: 1rem; margin-bottom: 16px; }
  .hero-location-line { display: grid; gap: 2px; font-size: .92rem; }
  .hero-actions { display: grid; margin-top: 22px; }
  .btn { width: 100%; min-height: 50px; }
  .hero-visual { min-height: 255px; margin-top: 4px; }
  .hero-visual::before { width: 225px; height: 225px; }
  .hero-visual-ring { width: 245px; height: 245px; }
  .hero-visual-card { width: 200px; min-height: 225px; padding: 30px 20px; border-radius: 110px 110px 28px 28px; }
  .hero-visual-card strong { font-size: 1.24rem; }
  .visual-kicker { margin-bottom: 10px; }
  .visual-divider { margin: 14px 0 10px; }
  .compact-services { grid-template-columns: 1fr; }
  .compact-services li { padding-top: 9px; padding-bottom: 9px; }
  .approach-list { display: grid; }
  .therapy-note { border-radius: 24px; padding: 30px 22px; }
  .timeline { padding-left: 30px; }
  .timeline-item { padding-bottom: 24px; }
  .contact-card { border-radius: 24px; padding: 30px 22px; }
  .contact-details { grid-template-columns: 1fr; gap: 14px; }
  .floating-contact { right: 12px; bottom: 12px; padding: 12px 14px; }
  .floating-contact strong { font-size: .78rem; }
  .site-footer { padding-bottom: 76px; }
}

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