/* NEUROENVOLVE prototype. Palette from paleta.json (logo mint + teal of the clinic's wave mural). */
@font-face { font-family: 'Bricolage'; src: url('/assets/fonts/bricolage-var.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/assets/fonts/figtree-var.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
:root {
  --fundo: #eef8f2; --superficie: #dcf1e5; --texto: #123a36; --primaria: #1d5c57; --acento: #98e2b2;
  --deep: #123a36; --deep-2: #0d2b28; --muted: #46625e; --line: #b9dcc8; --white: #fbfdfc;
  --r: 14px; --r-sm: 10px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.6 'Figtree', system-ui, sans-serif; color: var(--texto); background: var(--fundo); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primaria); text-underline-offset: 3px; }
h1, h2, h3, .h2 { font-family: 'Bricolage', 'Figtree', sans-serif; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; margin: 0 0 .5em; }
p { text-wrap: pretty; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--acento); color: var(--deep); padding: .6rem 1rem; border-radius: var(--r-sm); z-index: 50; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.8; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; font: 600 1rem/1 'Figtree', sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .18s var(--ease), background-color .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.96); }
.btn--mint { background: var(--acento); color: var(--deep); }
.btn--mint:hover { background: #b4ecc7; box-shadow: 0 1px 2px rgb(0 0 0 / .12), 0 6px 16px rgb(0 0 0 / .14); }
.btn--teal { background: var(--primaria); color: #fff; }
.btn--teal:hover { background: #164a46; box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 6px 16px rgb(0 0 0 / .12); }
.btn--ghost { background: transparent; color: var(--primaria); border-color: var(--primaria); }
.btn--ghost:hover { background: var(--superficie); }
.link-light { color: #e6f7ec; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; }
.link-light:hover { color: var(--acento); text-decoration: underline; }
.textlink { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; }
.textlink .icon { transition: transform .2s var(--ease); }
.textlink:hover .icon { transform: translateX(3px); }
.round { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--primaria); border: 1.5px solid var(--line); cursor: pointer; transition: background-color .2s, transform .15s; }
.round:hover { background: var(--acento); }
.round:active { transform: scale(.96); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--deep); color: #fff; }
.top__in { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: block; padding: 8px 0; } .brand img { width: 150px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: #e1f3e8; text-decoration: none; font-weight: 600; padding: .55rem .8rem; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav a:hover { background: rgb(152 226 178 / .14); color: #fff; }
.nav a[aria-current='page'] { color: var(--acento); }
.burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; width: 48px; height: 48px; place-items: center; cursor: pointer; }
.burger .icon { width: 28px; height: 28px; }
.menu { background: var(--deep-2); }
.menu ul { list-style: none; margin: 0; padding: .5rem 1.25rem 1.25rem; }
.menu a { display: block; padding: .85rem 0; color: #fff; text-decoration: none; font-size: 1.125rem; font-weight: 600; border-bottom: 1px solid rgb(255 255 255 / .1); }
@media (max-width: 900px) { .nav, .top__cta { display: none; } .burger { display: grid; } .brand img { width: 140px; } }

/* hero: the real Baby SPA room, full bleed, text on the dark teal band below the photo on mobile */
.hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; }
.hero__media img { width: 100%; height: min(78vh, 720px); object-fit: cover; object-position: 50% 45%; }
.hero__in { position: absolute; inset: auto 0 0 0; padding-bottom: 3rem; }
.hero__in > * { max-width: 34rem; }
.hero h1 { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; color: #fff; }
.hero p { font-size: 1.15rem; color: #e1f3e8; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 901px) {
  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero__media { grid-column: 2; grid-row: 1; }
  .hero__in { position: static; grid-column: 1; grid-row: 1; width: auto; margin: 0; padding: 4rem 3rem 4rem max(1.25rem, calc((100vw - 1200px) / 2)); align-self: center; }
  .hero__media img { height: min(80vh, 760px); min-height: 560px; }
}
@media (max-width: 900px) {
  .hero__media img { height: 52vh; min-height: 300px; object-position: 30% 45%; }
  .hero__in { position: static; padding: 1.75rem 0 2.5rem; }
  .hero h1 { font-size: 2rem; }
}
.hero--short .hero__media img { height: min(62vh, 560px); min-height: 420px; }

/* sections */
.sec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.sec--mint { background: var(--fundo); }
.sec--white { background: var(--white); }
.sec--paper { background: var(--superficie); }
.sec--deep { background: var(--deep); color: #e6f7ec; }
.sec--deep .h2, .sec--deep h1, .sec--deep h2, .sec--deep h3 { color: #fff; }
.h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 700; max-width: 22ch; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0 0 2rem; }
.pagehead { padding: clamp(3rem, 6vw, 5rem) 0; }
.pagehead h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.pagehead p { max-width: 60ch; font-size: 1.15rem; }

/* tabs + service list */
.tabs__list { display: inline-flex; gap: .35rem; padding: .35rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 2rem; flex-wrap: wrap; }
.tabs__list button { font: 600 1rem/1 'Figtree', sans-serif; padding: .8rem 1.3rem; border-radius: 999px; border: 0; background: transparent; color: var(--texto); cursor: pointer; min-height: 44px; transition: background-color .2s, color .2s; }
.tabs__list button[aria-selected='true'] { background: var(--primaria); color: #fff; }
.tabs__list button:hover:not([aria-selected='true']) { background: var(--superficie); }
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 2.5rem; }
.svc a { display: block; padding: 1.4rem 0; border-top: 1.5px solid var(--line); color: inherit; text-decoration: none; }
.svc h3 { font-size: 1.4rem; margin-bottom: .3rem; transition: color .2s; }
.svc p { margin: 0 0 .6rem; color: var(--muted); }
.svc__go { display: inline-flex; align-items: center; gap: .3rem; color: var(--primaria); font-weight: 700; font-size: .95rem; }
.svc__go .icon { transition: transform .2s var(--ease); }
.svc a:hover h3 { color: var(--primaria); }
.svc a:hover .svc__go .icon { transform: translateX(4px); }

/* baby spa band */
.spa__grid, .founder__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.spa__img img, .founder__img img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; }
.ticks li { display: flex; gap: .6rem; padding: .35rem 0; }
.ticks .icon { color: var(--acento); margin-top: .2rem; }
@media (max-width: 860px) { .spa__grid, .founder__grid { grid-template-columns: 1fr; } }

/* filmstrip carousel */
.film__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(520px, 82vw); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; overscroll-behavior-x: contain; }
.film__track::-webkit-scrollbar { display: none; }
.film__item { margin: 0; scroll-snap-align: start; }
.film__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.film__item figcaption { margin-top: .6rem; font-weight: 600; }
.film__ctrl { display: flex; gap: .6rem; margin-top: 1.25rem; }

/* how + faq */
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.how__list { counter-reset: s; list-style: none; padding: 0; margin: 1.25rem 0 2rem; }
.how__list li { counter-increment: s; position: relative; padding: .9rem 0 .9rem 3.25rem; border-top: 1.5px solid var(--line); }
.how__list li::before { content: counter(s); position: absolute; left: 0; top: .85rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--primaria); color: #fff; display: grid; place-items: center; font: 700 1rem/1 'Bricolage', sans-serif; }
.faq { background: var(--white); border-radius: var(--r); padding: 1.75rem; border: 1px solid var(--line); }
.faq h3 { font-size: 1.35rem; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .25rem; top: .8rem; font-size: 1.4rem; color: var(--primaria); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1rem; color: var(--muted); }
@media (max-width: 860px) { .how__grid { grid-template-columns: 1fr; } }

/* contact band */
.contact-band__in { text-align: left; }
.contact-band__in p { font-size: 1.15rem; }
.contact-band__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 1.25rem; }

/* especialidades */
.svcdetail { display: grid; gap: 2.5rem; }
.svcd { display: grid; grid-template-columns: 360px 1fr; gap: 2rem; align-items: center; scroll-margin-top: 90px; }
.svcd__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.svcd h3 { font-size: 1.6rem; }
.svcd p { color: var(--muted); max-width: 62ch; }
@media (max-width: 760px) { .svcd { grid-template-columns: 1fr; gap: 1rem; } }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.benefits > div { border-top: 3px solid var(--acento); padding-top: 1rem; }
.benefits h3 { font-size: 1.3rem; }
.benefits p { color: var(--muted); margin: 0; }

/* contactos */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.25rem; }
.contacts__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.contacts__card h2 { font-size: 1.2rem; display: flex; gap: .5rem; align-items: center; color: var(--primaria); }
.muted { color: var(--muted); font-size: .95rem; }
.center-cta { margin-top: 2.5rem; }

/* booking */
.book { max-width: 860px; }
.steps { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: st; flex-wrap: wrap; }
.steps li { counter-increment: st; flex: 1 1 0; min-width: 120px; padding: .7rem 1rem; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); font-weight: 600; color: var(--muted); }
.steps li::before { content: counter(st) '. '; }
.steps li[aria-current='step'] { background: var(--primaria); border-color: var(--primaria); color: #fff; }
.steps li.done { color: var(--primaria); border-color: var(--primaria); }
.book__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2.25rem); }
.book__form h2 { font-size: 1.6rem; }
.pick { border: 0; padding: 0; margin: 1.5rem 0 0; }
.pick legend { font: 700 1.05rem/1.2 'Bricolage', sans-serif; margin-bottom: .6rem; color: var(--primaria); }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: .6rem; }
.pick legend { grid-column: 1 / -1; }
.pick__opt { display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: border-color .2s, background-color .2s; background: var(--white); }
.pick__opt:hover { border-color: var(--primaria); }
.pick__opt input { margin-top: .3rem; accent-color: var(--primaria); width: 18px; height: 18px; flex: none; }
.pick__opt strong { display: block; }
.pick__opt small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.pick__opt:has(input:checked) { border-color: var(--primaria); background: var(--superficie); }
.pick__opt--wide { margin-top: .5rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0; }
.cal__head p { margin: 0; font-weight: 700; }
.cal__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.day { min-height: 64px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font: 600 .95rem/1.2 'Figtree', sans-serif; color: var(--texto); display: grid; place-items: center; padding: .4rem; transition: border-color .2s, background-color .2s; }
.day small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.day:hover:not(:disabled) { border-color: var(--primaria); }
.day[aria-pressed='true'] { background: var(--primaria); border-color: var(--primaria); color: #fff; }
.day[aria-pressed='true'] small { color: #d7efe1; }
.day:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 560px) { .cal__grid { grid-template-columns: repeat(3, 1fr); } }
.slots { border: 0; padding: 0; margin: 1.5rem 0 0; }
.slots legend { font-weight: 700; margin-bottom: .6rem; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .5rem; }
.slot { transition: border-color .15s, background-color .15s, color .15s; min-height: 44px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--white); font: 600 1rem/1 'Figtree', sans-serif; cursor: pointer; color: var(--texto); font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--primaria); }
.slot[aria-pressed='true'] { background: var(--primaria); color: #fff; border-color: var(--primaria); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.f { display: grid; gap: .35rem; }
.f--full { grid-column: 1 / -1; }
.f label { font-weight: 600; }
.f input, .f textarea { font: inherit; padding: .75rem .9rem; border: 1.5px solid #9cc4b0; border-radius: var(--r-sm); background: #fff; color: var(--texto); min-height: 48px; }
.f input:focus, .f textarea:focus { border-color: var(--primaria); outline: 3px solid rgb(152 226 178 / .6); outline-offset: 1px; }
.f input[aria-invalid='true'] { border-color: #b3261e; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }
.notice { font-size: .92rem; color: var(--muted); margin-top: 1.25rem; }
.err { color: #b3261e; font-weight: 600; }
.step__nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.step__nav .btn:only-child { margin-left: auto; }
.done { max-width: 640px; }
.done__sum { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; }
.done__sum dt { font-weight: 700; }
.done__sum dd { margin: 0; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }

/* footer */
.foot { background: var(--deep-2); color: #cfe7da; padding: 4rem 0 2rem; }
.foot a { color: #e6f7ec; }
.foot a:hover { color: var(--acento); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.foot h2 { font: 700 1.125rem/1.2 'Bricolage', sans-serif; color: #fff; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: .2rem 0; }
.foot__grid img { width: 150px; margin-bottom: 1rem; }
.foot__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / .12); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .92rem; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }

/* reveal on scroll: content visible without JS and with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* subtle image edge (make-interfaces-feel-better #11) */
.spa__img img, .founder__img img, .film__item img, .svcd__img img { outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.sec--deep .spa__img img, .sec--deep .film__item img { outline-color: oklch(1 0 0 / .1); }
@media (max-width: 560px) { .steps { flex-wrap: nowrap; gap: .35rem; } .steps li { min-width: 0; padding: .6rem .55rem; font-size: .9rem; text-align: center; } }
