/* Sosiego — Archetype 08 · Liquid Wave (sereno) */
:root {
  --bg: #eef1ec;
  --paper: #f7f8f4;
  --ink: #1f2e2a;
  --ink-2: #44554f;
  --mute: #74857e;
  --line: rgba(31, 46, 42, .12);
  --accent: #5e8b7e;
  --deep: #2f4f47;
  --sand: #e8dfcf;
  --lav: #cfd3e6;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(18px, 4vw, 48px);
}
body { background: var(--bg); color: var(--ink); font-family: var(--sans); }
::selection { background: var(--accent); color: #fff; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--gut); }
em { font-style: italic; color: var(--accent); }

.kicker { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--accent); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5vw, 68px); line-height: 1.05; letter-spacing: -.02em; }
.h2.big { font-size: clamp(44px, 6.4vw, 92px); }
.sub, .lead { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); max-width: 54ch; margin-top: 20px; line-height: 1.7; }
.head { margin-bottom: clamp(40px, 5vw, 64px); }
.fine { font-size: 13px; color: var(--mute); margin-top: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 26px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: transform .5s var(--ease), background .4s, box-shadow .5s; }
.btn-sage { background: var(--deep); color: #fff; }
.btn-sage:hover { background: var(--accent); box-shadow: 0 18px 40px -18px rgba(47, 79, 71, .8); }
.btn-soft { background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); }
.btn-soft:hover { background: #fff; }
.btn-block { width: 100%; }

/* Barra de ayuda */
.help-bar { background: var(--deep); color: #e7efe9; font-size: 13px; text-align: center; padding: 10px var(--gut); position: relative; z-index: 101; }
.help-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 100; transition: background .5s, box-shadow .5s; }
.nav.is-scrolled { background: rgba(238, 241, 236, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 28px; font-style: italic; }
.brand svg { width: 32px; height: 32px; }
.brand circle { fill: var(--accent); }
.brand path { fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; }
.menu { display: none; margin-left: auto; gap: 30px; align-items: center; font-size: 15px; color: var(--ink-2); }
.menu a { transition: color .3s; }
.menu a:hover { color: var(--accent); }
.menu-cta { background: var(--deep); color: #fff !important; padding: 11px 20px; border-radius: 999px; }
.burger { margin-left: auto; width: 46px; height: 46px; display: grid; place-content: center; gap: 7px; }
.burger span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.menu-open .burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.menu-open .menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: fixed; top: 76px; left: 0; right: 0; bottom: 0; padding: 20px var(--gut); background: var(--bg); font-family: var(--serif); font-size: 32px; font-weight: 300; }
.menu-open .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-open .menu .menu-cta { margin-top: 24px; text-align: center; font-family: var(--sans); font-size: 16px; padding: 16px; }

/* Hero */
.hero { position: relative; min-height: calc(100svh - 76px); display: flex; align-items: center; padding: 60px 0 160px; overflow: hidden; isolation: isolate; margin-top: -76px; padding-top: 136px; }
.hero-img { position: absolute; inset: 0; z-index: -1; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(238, 241, 236, .92) 0%, rgba(238, 241, 236, .6) 45%, rgba(238, 241, 236, .05) 80%), linear-gradient(180deg, rgba(238, 241, 236, .5), transparent 30%); }
.hero-title { font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 6.6vw, 100px); line-height: 1.02; letter-spacing: -.025em; max-width: 13ch; margin: 8px 0 8px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.wave { position: absolute; left: 0; width: 100%; display: block; }
.wave-hero { bottom: -1px; height: 120px; }
.wave-hero path { fill: var(--bg); animation: sway 9s ease-in-out infinite alternate; }
.wave-hero .w2 { fill: rgba(238, 241, 236, .6); animation-duration: 12s; animation-direction: alternate-reverse; }
@keyframes sway { to { transform: translateX(-40px) scaleY(1.15); } }

/* Datos */
.facts { padding: 10px 0 clamp(50px, 7vw, 90px); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.facts-grid b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; color: var(--deep); }
.facts-grid > div > span { display: block; color: var(--mute); font-size: 14px; margin-top: 6px; }

/* Atención */
.care { padding: clamp(60px, 8vw, 110px) 0; }
.care-grid { display: grid; gap: 16px; }
.c-card { background: var(--paper); border-radius: 30px; padding: 30px 28px; transition: transform .6s var(--ease), box-shadow .6s, border-radius .8s var(--ease); display: flex; flex-direction: column; gap: 8px; }
.c-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(31, 46, 42, .45); border-radius: 44px 30px 44px 30px; }
.c-ico { font-size: 34px; color: var(--accent); line-height: 1; }
.c-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-top: 10px; }
.c-card p { color: var(--ink-2); font-size: 15px; }
.c-price { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--deep) !important; }
.note { margin-top: 26px; color: var(--mute); font-size: 14px; }

/* Respira */
.breathe { position: relative; background: var(--deep); color: #eef3ef; padding: clamp(130px, 14vw, 180px) 0; overflow: hidden; }
.breathe .kicker, .breathe em { color: #b9d6cb; }
.breathe .sub { color: rgba(238, 243, 239, .8); }
.breathe .fine { color: rgba(238, 243, 239, .55); }
.wave-top { top: -1px; height: 100px; } .wave-top path { fill: var(--bg); }
.wave-bot { bottom: -1px; height: 100px; } .wave-bot path { fill: var(--bg); }
.breathe-grid { display: grid; gap: 56px; align-items: center; }
.breath { --dur: 4s; position: relative; width: min(100%, 420px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.b-rings { position: absolute; inset: 0; }
.b-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(185, 214, 203, .25); animation: ripple 6s ease-out infinite; }
.b-rings i:nth-child(2) { animation-delay: 2s; } .b-rings i:nth-child(3) { animation-delay: 4s; }
@keyframes ripple { from { transform: scale(.55); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.b-core { width: 52%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; gap: 4px; cursor: pointer; background: radial-gradient(circle at 35% 30%, #cfe6dc, #7fa99b 60%, #4d766a); box-shadow: 0 0 80px rgba(185, 214, 203, .35), inset 0 -10px 30px rgba(0, 0, 0, .15); color: var(--deep); transform: scale(.72); transition: transform var(--dur) cubic-bezier(.45, 0, .55, 1); }
.breath[data-phase="in"] .b-core, .breath[data-phase="hold"] .b-core { transform: scale(1); }
.breath[data-phase="out"] .b-core { transform: scale(.72); }
.b-core span { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); padding: 0 12px; }
.b-core b { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1; }
.b-btn { position: absolute; bottom: -8px; padding: 12px 24px; border-radius: 999px; background: rgba(238, 243, 239, .12); border: 1px solid rgba(238, 243, 239, .3); color: #fff; font-weight: 500; transition: background .3s; }
.b-btn:hover { background: rgba(238, 243, 239, .22); }
.b-cycles { position: absolute; top: -6px; font-size: 13px; color: rgba(238, 243, 239, .6); }

/* Proceso */
.process { padding: clamp(80px, 10vw, 140px) 0; }
.process-grid { display: grid; gap: 48px; align-items: center; }
.p-img { border-radius: 200px 200px 30px 30px; overflow: hidden; }
.p-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.path { margin-top: 34px; display: grid; gap: 6px; }
.path li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.path span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-family: var(--serif); font-size: 20px; color: var(--deep); }
.path h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; }
.path p { color: var(--ink-2); font-size: 15px; }

/* Cita */
.quote-sec { position: relative; min-height: 70vh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.q-bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.q-bg::after { content: ""; position: absolute; inset: 0; background: rgba(31, 46, 42, .45); }
.quote-sec blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 5vw, 72px); line-height: 1.1; color: #fff; text-align: center; max-width: 18ch; margin: 0 auto; }
.quote-sec em { color: #cfe6dc; }

/* Valores */
.values { padding: clamp(80px, 10vw, 140px) 0; }
.values-grid { display: grid; gap: 44px; }
.v-list { display: grid; gap: 14px; }
.v { padding: 26px 28px; border-radius: 26px; background: linear-gradient(135deg, var(--paper), rgba(207, 211, 230, .35)); }
.v h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--deep); }
.v p { color: var(--ink-2); margin-top: 4px; }

/* Testimonios */
.voices { padding: clamp(60px, 8vw, 110px) 0; background: var(--sand); border-radius: 60px 60px 0 0; }
.voice-grid { display: grid; gap: 36px; }
.voice-grid p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.4; }
.voice-grid cite { display: block; margin-top: 16px; font-style: normal; font-size: 13px; color: var(--deep); font-weight: 600; }

/* FAQ */
.faq { padding: clamp(80px, 10vw, 130px) 0; background: var(--sand); }
.faq-grid { display: grid; gap: 40px; }
.faq-list details { border-bottom: 1px solid rgba(31, 46, 42, .18); }
.faq-list summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--deep); border-bottom: 1.5px solid var(--deep); transform: translateY(-70%) rotate(45deg); transition: transform .5s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { color: var(--ink-2); padding: 0 40px 22px 0; }

/* Agendar */
.book { position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; isolation: isolate; }
.book-bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.book-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.book-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--sand), rgba(238, 241, 236, .7) 40%, var(--bg)); }
.book-grid { display: grid; gap: 44px; align-items: start; }
.info { margin-top: 30px; display: grid; gap: 14px; }
.info span { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.info a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.form { background: rgba(247, 248, 244, .88); backdrop-filter: blur(14px); border-radius: 32px; padding: clamp(24px, 3vw, 38px); display: grid; gap: 16px; box-shadow: 0 40px 80px -50px rgba(31, 46, 42, .5); }
.form label > span, .seg legend { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.form input:not([type="radio"]), .form select { width: 100%; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(94, 139, 126, .18); }
.seg { border: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { grid-column: 1 / -1; }
.seg input { position: absolute; opacity: 0; }
.seg label span { display: block; text-align: center; padding: 13px; border-radius: 16px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: all .3s; }
.seg input:checked + span { background: var(--deep); color: #fff; border-color: var(--deep); }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(94, 139, 126, .3); }
.form-ok { color: var(--deep); font-weight: 600; }

/* Footer */
.footer { padding: 40px 0 24px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.foot-grid { display: grid; gap: 14px; margin-bottom: 18px; align-items: center; }
.footer .brand { color: var(--ink); }

@media (min-width: 720px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .voice-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: auto 1fr auto; gap: 30px; }
}
@media (min-width: 960px) {
  .menu { display: flex; }
  .burger { display: none; }
  .care-grid { grid-template-columns: repeat(3, 1fr); }
  .breathe-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .process-grid { grid-template-columns: 1fr 1.2fr; gap: 90px; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .faq-grid { grid-template-columns: 1fr 1.4fr; gap: 80px; }
  .book-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
@media (max-width: 719px) {
  .hero-img::after { background: linear-gradient(180deg, rgba(238, 241, 236, .75), rgba(238, 241, 236, .88) 60%, rgba(238, 241, 236, .95)); }
}
@media (prefers-reduced-motion: reduce) {
  .wave-hero path, .b-rings i { animation: none; }
}
