/* Agua Serena — spa & med spa (demo). Arena, salvia y atardecer. */
:root {
  --sand: #EFE7DC;
  --sand-2: #E5D9C8;
  --shell: #F8F4EE;
  --clay: #C9A88A;
  --clay-d: #A9805F;
  --sage: #8E9F8A;
  --sage-d: #5F7260;
  --dusk: #3D4A5A;
  --night: #252C36;
  --ink: #2E3440;
  --soft: #6A6F78;
  --line: rgba(46, 52, 64, .14);
  --serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.05rem/1.7 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 999; background: var(--dusk); color: var(--shell); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.7rem; border-radius: 999px; font-weight: 500; font-size: .95rem; letter-spacing: .04em; border: 1px solid transparent; cursor: pointer; transition: background .4s, color .4s, transform .4s; }
.btn:hover { transform: translateY(-2px); }
.btn-dusk { background: var(--dusk); color: var(--shell); }
.btn-dusk:hover { background: var(--sage-d); }
.btn-sand { background: var(--sand); color: var(--dusk); }
.btn-sand:hover { background: var(--shell); }
.btn-ghost { border-color: rgba(248, 244, 238, .6); color: var(--shell); }
.btn-ghost:hover { background: var(--shell); color: var(--dusk); }
.btn-line { border-color: var(--dusk); }
.btn-line:hover { background: var(--dusk); color: var(--shell); }
.btn-block { width: 100%; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--shell); transition: background .4s, color .4s; }
.nav.is-solid { background: rgba(239, 231, 220, .92); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 1.6rem; height: 80px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; letter-spacing: .02em; }
.logo svg { width: 34px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.links { display: flex; gap: 1.8rem; margin-left: auto; font-size: .93rem; }
.links a { opacity: .85; }
.links a:hover { opacity: 1; }
.lang { display: inline-flex; gap: .6rem; background: none; border: 0; cursor: pointer; font-size: .85rem; padding: .3rem; }
.lang span { opacity: .5; }
.lang span.on { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav-book { min-height: 42px; padding: .5rem 1.2rem; font-size: .88rem; }
.nav:not(.is-solid) .nav-book { background: var(--shell); color: var(--dusk); }
@media (max-width: 920px) { .links { display: none; } .lang { margin-left: auto; } }
@media (max-width: 460px) { .nav-book { display: none; } .logo { font-size: 1.4rem; } }

/* portada */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; background: radial-gradient(90% 70% at 80% 30%, #56657A, var(--dusk) 55%, var(--night)); color: var(--shell); overflow: hidden; padding: 120px 0 80px; }
.hero-media { position: absolute; right: max(2rem, calc((100vw - 1200px) / 2)); top: 50%; transform: translateY(-46%); width: min(44vw, 560px); aspect-ratio: 4 / 5; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 32px 32px; filter: saturate(.85); animation: drift 20s ease-in-out infinite alternate; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7); }
@keyframes drift { to { transform: translateY(-14px); } }
.ripples { position: absolute; left: 50%; bottom: -60px; width: 0; height: 0; }
.ripples i { position: absolute; left: 50%; top: 50%; width: 640px; height: 160px; margin: -80px 0 0 -320px; border: 1px solid rgba(248, 244, 238, .35); border-radius: 50%; animation: ripple 7s ease-out infinite; opacity: 0; }
.ripples i:nth-child(2) { animation-delay: 2.3s; }
.ripples i:nth-child(3) { animation-delay: 4.6s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.hero-in { position: relative; z-index: 2; }
.hero-in > * { max-width: 34rem; }
.eyebrow { margin: 0 0 1.2rem; font-size: .76rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--clay-d); }
.hero .eyebrow { color: var(--clay); }
.eyebrow.center { text-align: center; }
.h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 7.6vw, 6.8rem); line-height: .95; margin: 0; letter-spacing: -.01em; }
.h1 span, .h1 em { display: block; }
.h1 em, .h2 em { font-style: italic; color: var(--clay); }
.lead { font-size: 1.12rem; color: rgba(248, 244, 238, .82); margin: 1.8rem 0 2.2rem; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(248, 244, 238, .5); border-radius: 20px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--shell); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(12px); opacity: .2; } }
@media (max-width: 900px) {
  .hero { min-height: 0; padding: 104px 0 70px; align-items: start; }
  .hero-media { position: relative; right: auto; top: auto; transform: none; width: min(78vw, 360px); margin: 0 auto 2.4rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-in { width: min(1200px, 100% - 2.5rem); }
  .scroll-cue, .ripples { display: none; }
}

/* secciones */
.sec { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.head { max-width: 40rem; margin-bottom: 2.8rem; }
.head.center { margin-inline: auto; text-align: center; }
.h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; margin: 0; }
.h2 em { color: var(--clay-d); }
.sub { color: var(--soft); margin: 1.1rem 0 0; }
.fine { font-size: .82rem; color: var(--soft); margin: .9rem 0 0; }
.fine.center { text-align: center; margin-top: 2.4rem; }

/* intro */
.intro { background: var(--shell); }
.intro-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.big { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.25; margin: 0; }
.big em { color: var(--sage-d); }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.pillars li { display: grid; grid-template-columns: 4.2rem 1fr; align-items: baseline; gap: .8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.pillars b { font-family: var(--serif); font-weight: 300; font-size: 2.8rem; line-height: 1; color: var(--sage-d); }
.pillars span { color: var(--soft); font-size: .95rem; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* creador de ritual */
.rb-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
.rb-steps { display: grid; gap: 1.8rem; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .8rem; padding: 0; }
legend span { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--clay-d); width: 1.6rem; }
legend b { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.choices button { display: grid; gap: .15rem; text-align: left; padding: .9rem 1rem; min-height: 72px; border-radius: 18px; border: 1px solid var(--line); background: var(--shell); cursor: pointer; transition: background .3s, border-color .3s, transform .3s; }
.choices button:hover { border-color: var(--sage); transform: translateY(-2px); }
.choices button b { font-weight: 500; font-size: .98rem; line-height: 1.3; }
.choices button small { color: var(--soft); font-size: .8rem; }
.choices button[aria-pressed="true"] { background: var(--dusk); color: var(--shell); border-color: var(--dusk); }
.choices button[aria-pressed="true"] small { color: rgba(248, 244, 238, .7); }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.who > span { font-family: var(--serif); font-size: 1.4rem; }
.seg { display: flex; flex-wrap: wrap; gap: .45rem; }
.seg button { min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: .92rem; transition: all .3s; }
.seg button[aria-pressed="true"] { background: var(--sage-d); color: var(--shell); border-color: var(--sage-d); }
.rb-sum { position: sticky; top: 100px; background: var(--dusk); color: var(--shell); border-radius: 28px; padding: 1.8rem; }
.rb-sum .eyebrow { color: var(--clay); margin-bottom: .4rem; }
.rb-title { font-family: var(--serif); font-weight: 300; font-size: 2rem; line-height: 1.1; margin: 0 0 1.2rem; }
.timeline { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: rgba(248, 244, 238, .12); gap: 2px; }
.timeline i { display: block; height: 100%; transition: flex-grow .6s cubic-bezier(.3, .8, .3, 1); }
.rb-list { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .55rem; font-size: .93rem; }
.rb-list li { display: grid; grid-template-columns: 12px 1fr auto; gap: .7rem; align-items: center; }
.rb-list li i { width: 10px; height: 10px; border-radius: 50%; }
.rb-list li span:last-child { color: rgba(248, 244, 238, .7); white-space: nowrap; }
.rb-total { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(248, 244, 238, .2); padding-top: 1rem; margin-bottom: .6rem; }
.rb-total div { display: grid; }
.rb-total span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.rb-total b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1.1; }
.rb-note { font-size: .86rem; color: rgba(248, 244, 238, .75); margin: 0 0 1rem; min-height: 1.2em; }
.rb-sum .btn-dusk { background: var(--sand); color: var(--dusk); }
.rb-sum .btn-dusk:hover { background: var(--shell); }
.rb-sum .fine { color: rgba(248, 244, 238, .6); }
.rb-mini { display: none; }
@media (max-width: 960px) {
  .rb-grid { grid-template-columns: 1fr; } .rb-sum { position: relative; top: 0; }
  .rb-mini { display: flex; justify-content: space-between; align-items: center; gap: 1rem; position: sticky; top: 88px; z-index: 5; background: var(--dusk); color: var(--shell); border-radius: 999px; padding: .7rem 1.2rem; font-size: .92rem; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6); }
  .rb-mini b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; white-space: nowrap; }
}
@media (max-width: 640px) { .choices { grid-template-columns: 1fr 1fr; } .choices button { min-height: 64px; padding: .75rem .85rem; } }

/* carta */
.carta { background: var(--shell); }
.rituals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.rit { display: grid; gap: 1.1rem; }
.rit-img { border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 4 / 4.6; }
.rit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.rit:hover .rit-img img { transform: scale(1.05); }
.rit .eyebrow { margin-bottom: .4rem; }
.rit h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; margin: 0 0 .3rem; }
.rit-body p:last-child { margin: 0; color: var(--soft); }
.menu-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; margin-top: 4.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.menu-cols h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; margin: 0 0 .6rem; }
.plist { list-style: none; padding: 0; margin: 0; }
.plist li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.plist b { font-weight: 500; white-space: nowrap; }
.med { background: var(--sand); border-radius: 24px; padding: 1.4rem 1.5rem; }
.med-note { font-size: .82rem; color: var(--soft); margin: .9rem 0 0; }
@media (max-width: 900px) { .rituals, .menu-cols { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .rit-img { aspect-ratio: 16 / 11; } }

/* respira */
.breathe { background: var(--sage-d); color: var(--shell); }
.breathe .eyebrow { color: #E9DCC8; }
.breathe .h2 em { color: #F1E3CD; }
.breathe .sub { color: rgba(248, 244, 238, .82); }
.br-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.br-modes { margin-top: 1.8rem; }
.br-modes button { border-color: rgba(248, 244, 238, .35); }
.br-modes button[aria-pressed="true"] { background: var(--shell); color: var(--sage-d); border-color: var(--shell); }
.br-stage { display: grid; justify-items: center; gap: .6rem; text-align: center; }
.br-circle { position: relative; width: min(320px, 72vw); aspect-ratio: 1; display: grid; place-items: center; }
.br-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(248, 244, 238, .35); }
.br-core { width: 40%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #F8F4EE, #E2D3BE 60%, #C9A88A); box-shadow: 0 0 60px rgba(248, 244, 238, .35); transform: scale(1); transition-property: transform; transition-timing-function: ease-in-out; }
.br-word { font-family: var(--serif); font-size: 2rem; font-weight: 300; margin: .8rem 0 0; min-height: 1.3em; }
.br-count { margin: 0 0 .8rem; font-size: .9rem; letter-spacing: .2em; color: rgba(248, 244, 238, .7); min-height: 1.4em; }
@media (max-width: 860px) { .br-grid { grid-template-columns: 1fr; } }

/* galería */
.gal-sec { padding-top: 0; background: var(--sage-d); }
.gal { display: grid; grid-template-columns: 1.3fr .7fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.gal figure { margin: 0; overflow: hidden; border-radius: 22px; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.gal figure:hover img { transform: scale(1.05); }
.g1 { grid-row: 1 / 3; }
.g2 { grid-row: 1 / 3; }
.g3 { grid-column: 3; grid-row: 1; }
.g4 { grid-column: 3; grid-row: 2; }
@media (max-width: 760px) { .gal { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 160px 160px; } .g1 { grid-column: 1 / 3; grid-row: 1; } .g2 { grid-column: 1; grid-row: 2 / 4; } .g3 { grid-column: 2; grid-row: 2; } .g4 { grid-column: 2; grid-row: 3; } }

/* reseñas */
.rev { text-align: center; }
.rev-slider { position: relative; max-width: 50rem; margin: 1rem auto 0; min-height: 13rem; display: grid; }
.rev-slider blockquote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.rev-slider blockquote:not(.on) { transition-duration: .3s; }
.rev-slider blockquote.on { opacity: 1; transform: none; pointer-events: auto; }
.rev-slider p { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.25; margin: 0 0 1.2rem; }
.rev-slider footer { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-d); }
.rev-dots { display: flex; justify-content: center; gap: .3rem; margin-top: 1.4rem; }
.rev-dots button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.rev-dots button::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--line); transition: background .3s; }
.rev-dots button[aria-current="true"]::before { background: var(--dusk); }

/* visita */
.visit { background: var(--shell); }
.visit-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.addr { font-style: normal; margin: 1.5rem 0 1rem; line-height: 1.9; }
.addr a { border-bottom: 1px solid var(--clay); }
.open-now { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.5rem; font-size: .9rem; color: var(--soft); }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot, var(--clay)); }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--serif); font-size: 2rem; margin-bottom: .5rem; }
.hours th, .hours td { padding: .85rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { color: var(--sage-d); font-weight: 600; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

.foot { background: var(--night); color: rgba(248, 244, 238, .72); padding: 3rem 0 6.5rem; font-size: .9rem; }
.foot-in { display: grid; gap: .8rem; justify-items: start; }
.foot .logo { color: var(--shell); }
.foot p { margin: 0; max-width: 46rem; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }

.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 120; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .5); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.demo-pill { position: fixed; left: 1rem; bottom: 1rem; z-index: 120; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; background: var(--night); color: var(--shell); font-weight: 500; font-size: .75rem; border: 1px solid rgba(248, 244, 238, .25); }
.demo-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }

[data-rv] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
[data-rv].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .001ms !important; } html { scroll-behavior: auto; } [data-rv] { opacity: 1; transform: none; } }
