/* Alento · 01-sereno — editorial claro */
:root {
  --bg: #F5F0E8; --surface: #EBE3D6; --ink: #1E1A16; --muted: #6B6259;
  --sage: #7D8B6A; --sage-ink: #5A6849; --sage-deep: #4E5B3F;
  --line: rgb(30 26 22 / .14); --focus: #4E5B3F; --field-line: #74706A;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: clamp(20px, 5vw, 56px); --maxw: 1240px;
  --gap: clamp(16px, 2vw, 32px);
  --sec: clamp(96px, 70px + 7vw, 168px);
  --r-sm: 4px; --r-pill: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1); --dur-1: .35s;
  --header-h: 64px; --bar-h: calc(76px + env(safe-area-inset-bottom, 0px));
  --serif: "Fraunces", Georgia, serif; --sans: "Instrument Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: var(--header-h); scroll-padding-bottom: var(--bar-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.footer :focus-visible, .menu li a:focus-visible { outline-color: currentColor; }

.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); }
.skip:focus { top: var(--s-3); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gap); }
.section { padding-block: var(--sec); }

h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; }
h1 { font-weight: 300; font-size: clamp(2.75rem, 1.9rem + 3.6vw, 5.75rem); line-height: 1.02; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
h2 { font-weight: 350; font-size: clamp(2rem, 1.55rem + 1.9vw, 3.5rem); line-height: 1.08; letter-spacing: -.015em; font-variation-settings: "opsz" 144; }
h3 { font-weight: 400; font-size: clamp(1.375rem, 1.25rem + .5vw, 1.75rem); line-height: 1.2; }
em, .it { font-style: italic; font-weight: 300; }
.lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem); line-height: 1.5; }
p { max-width: 60ch; }
.eyebrow { font: 600 .875rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--sage-ink); margin-bottom: var(--s-4); }
.eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); margin-right: .7em; vertical-align: .1em; }
h2 + .lead, h2 + p { margin-top: var(--s-5); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--s-6); border-radius: var(--r-pill); font: 600 1rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease); white-space: nowrap; }
.btn-primary { background: var(--sage-deep); color: var(--bg); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-sm { min-height: 44px; padding: 0 var(--s-5); }
.btn-block { width: 100%; min-height: 52px; }
.link-quiet, .link-btn { color: var(--sage-ink); font: 500 1rem/1 var(--sans); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 48px; }
.link-btn { background: none; border: 0; padding: 0 var(--s-2); cursor: pointer; text-decoration: underline; justify-self: start; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--ink); }
  .btn-outline:hover { background: var(--ink); color: var(--bg); }
  .link-quiet:hover { color: var(--ink); }
}

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.header-bar { position: relative; z-index: 2; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color var(--dur-1); }
.site-header.scrolled .header-bar { border-bottom-color: var(--line); }
.logo { font: 400 1.5rem/1 var(--serif); text-decoration: none; letter-spacing: -.01em; display: inline-flex; align-items: center; min-height: 48px; }
.menu-btn { min-width: 48px; min-height: 48px; padding: 0 var(--s-4); background: none; border: 0; font: 600 1rem/1 var(--sans); color: var(--ink); cursor: pointer; border-radius: var(--r-pill); }
.menu-btn[aria-expanded="true"] .menu-label { text-decoration: underline; text-underline-offset: 5px; }
.nav-desktop { display: none; }
.menu { position: fixed; inset: 0; z-index: 1; background: var(--bg); padding: calc(var(--header-h) + var(--s-5)) var(--gutter) var(--s-7); overflow-y: auto; opacity: 0; transition: opacity var(--dur-1) var(--ease); }
.menu.open { opacity: 1; }
.menu[hidden] { display: none; }
.menu li a { display: flex; align-items: center; min-height: 64px; font: 300 2.25rem/1.1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: var(--s-6); width: 100%; min-height: 56px; }

.photo { position: relative; aspect-ratio: var(--ar, 4/5); overflow: hidden; background: var(--surface); }
.reveal-inner, .parallax { position: absolute; inset: 0; }
.parallax { will-change: transform; }
.parallax img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.js-motion .parallax { transform: scale(1.12); }
html.js-motion:not(.js-ready) .hero-photo .reveal-inner { transform: translateY(101%); }
html.js-motion:not(.js-ready) .hero-photo img { transform: translateY(-101%); }
html.js-motion:not(.js-ready) [data-hero-in] { opacity: 0; }
.bleed { margin-top: var(--s-8); width: 100%; aspect-ratio: auto; height: clamp(300px, 70vw, 70vh); }

.hero { padding-top: var(--header-h); }
.hero-media .photo { aspect-ratio: auto; height: 44svh; min-height: 260px; }
.hero-photo img { object-position: 58% 38%; }
.hero-text { padding: var(--s-5) var(--gutter) var(--s-6); }
.hero-text .eyebrow { margin-bottom: var(--s-3); }
.hero-text h1 { margin-bottom: var(--s-4); }
.hero-text .lead { font-size: 1.125rem; margin-bottom: var(--s-5); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); }
.hero-actions .btn { min-height: 52px; }
.hero-meta { margin-top: var(--s-4); color: var(--muted); }

.line { display: block; overflow: hidden; padding-block: .12em; margin-block: -.12em; }
.line-inner { display: block; }
html.js-motion [data-split]:not(.is-split):not(.is-done) { visibility: hidden; }

.filo-head, .filo-text { grid-column: 1 / -1; }
.filo-text { margin-top: var(--s-6); display: grid; gap: var(--s-5); }
.pull { font: 300 italic 1.5rem/1.3 var(--serif); color: var(--sage-ink); padding-top: var(--s-4); border-top: 1px solid var(--line); }

.svcs-head, .svc-media, .svcs-list { grid-column: 1 / -1; }
.svc-media { margin-top: var(--s-6); }
.svc-media .photo { max-width: 520px; }
.svc-ph { opacity: 0; transition: opacity .6s var(--ease); }
.svc-ph:first-child, .svc-ph.is-on { opacity: 1; }
.svcs-list { margin-top: var(--s-7); }
.svcs-list > .btn { margin-top: var(--s-6); }
.svc { padding-block: var(--s-5); border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-row { display: flex; align-items: baseline; gap: var(--s-3); }
.svc-row h3 { flex: 0 1 auto; }
.dots { flex: 1 1 24px; min-width: 16px; border-bottom: 2px dotted var(--sage); transform: translateY(-.25em); }
.svc-price { display: flex; flex-direction: column; align-items: flex-end; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--sage-ink); }
.svc-desc { margin-top: var(--s-2); color: var(--muted); }

.steps { margin-top: var(--s-8); display: grid; gap: var(--s-9); }
.step { display: grid; gap: var(--s-5); }
.num { display: block; font: 300 italic 3rem/1 var(--serif); color: var(--sage); margin-bottom: var(--s-3); }
.step-text p { margin-top: var(--s-3); color: var(--muted); }

.ters-list { margin-top: var(--s-8); display: grid; gap: var(--s-8); }
.ther .photo { margin-bottom: var(--s-5); }
.ther h3 { margin-bottom: var(--s-2); }
.ther .eyebrow { margin-bottom: var(--s-2); }
.ther p:last-child { color: var(--muted); }

.deps-list { margin-top: var(--s-8); display: grid; gap: 0; }
.deps-list li { padding-block: var(--s-6); border-top: 1px solid var(--line); }
.deps-list li:last-child { border-bottom: 1px solid var(--line); }
blockquote p { font: 300 italic 1.5rem/1.35 var(--serif); max-width: none; }
figcaption { margin-top: var(--s-4); margin-bottom: 0; }

.gift-cards { margin-top: var(--s-8); display: grid; gap: var(--s-5); }
.card { background: var(--surface); border-radius: var(--r-sm); padding: var(--s-6); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.card p { color: var(--muted); flex: 1; }

.faq-head, .faq-list { grid-column: 1 / -1; }
.faq-list { margin-top: var(--s-7); border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 56px; padding: var(--s-3) var(--s-2); cursor: pointer; font: 400 1.1875rem/1.3 var(--serif); }
summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 20px; height: 20px; transition: transform var(--dur-1) var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--sage-ink); left: 50%; top: 50%; }
.plus::before { width: 18px; height: 2px; transform: translate(-50%, -50%); }
.plus::after { width: 2px; height: 18px; transform: translate(-50%, -50%); }
details[open] { background: var(--surface); }
details[open] .plus { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 var(--s-2) var(--s-5); }
details[open] p { color: var(--muted); }

.book-head, .book-panel { grid-column: 1 / -1; }
.book-info { margin-top: var(--s-5); color: var(--muted); }
.book-panel { margin-top: var(--s-7); background: var(--surface); border-radius: var(--r-sm); padding: var(--s-6) var(--s-5); }
.form { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; border: 0; padding: 0; margin: 0; }
label, legend { font: 500 1rem/1.4 var(--sans); padding: 0; }
legend { margin-bottom: var(--s-2); }
input, select, textarea, fieldset { scroll-margin-top: calc(var(--header-h) + 24px); }
input[type="text"], input[type="tel"], input[type="date"], select, textarea { width: 100%; min-height: 52px; padding: 0 var(--s-4); font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--field-line); border-radius: var(--r-sm); }
textarea { padding-block: var(--s-3); min-height: 104px; resize: vertical; }
::placeholder { color: var(--muted); opacity: 1; }
.pills { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pill { position: relative; }
.pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pill label { white-space: nowrap; display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--s-5); border: 1px solid var(--field-line); border-radius: var(--r-pill); background: var(--bg); transition: background-color var(--dur-1), color var(--dur-1); }
.pill input:checked + label { background: var(--sage-deep); color: var(--bg); border-color: var(--sage-deep); }
.pill input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 3px; }
.alt-whats { text-align: center; max-width: none; }
.wa-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--sage-ink); text-underline-offset: 4px; }
.summary { display: grid; gap: var(--s-4); }
.summary[hidden] { display: none; }
.summary h3:focus { outline: none; }
.summary dl { display: grid; gap: var(--s-3); }
.summary dt { font: 600 .875rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--sage-ink); }
.summary dd { margin: 0; }
.note { color: var(--muted); }
@media (max-width: 479px) {
  .svc-row { flex-wrap: wrap; }
  .dots { display: none; }
  .svc-price { flex-basis: 100%; flex-direction: row; align-items: baseline; gap: var(--s-3); }
}

.footer { background: var(--ink); color: var(--bg); padding: var(--s-9) 0 calc(var(--s-7) + var(--bar-h)); }
.foot-grid { display: grid; gap: var(--s-7); grid-template-columns: 1fr; }
.footer .eyebrow { color: var(--bg); margin: var(--s-5) 0 var(--s-2); }
.footer .eyebrow::before { background: var(--sage); }
.footer div > .eyebrow:first-child, .footer nav > .eyebrow { margin-top: 0; }
.foot-brand { font: 300 1.75rem/1.2 var(--serif); margin-bottom: var(--s-3); }
.footer a { text-underline-offset: 4px; }
.foot-link { display: inline-flex; align-items: center; min-height: 48px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 48px; min-width: 44px; }
.legal { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid rgb(245 240 232 / .2); font-size: 1rem; max-width: var(--maxw); }

.cta-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); background: var(--bg); border-top: 1px solid var(--line); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); transition: transform var(--dur-1) var(--ease); }
html.js .cta-bar { transform: translateY(110%); }
html.js .cta-bar.is-on { transform: none; }
.cta-bar p { color: var(--muted); }
.cta-bar strong { color: var(--ink); font-weight: 600; }
.cta-bar .btn { min-height: 48px; padding: 0 var(--s-5); }

@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(8, 1fr); }
  .hero-media .photo { height: 50svh; }
  .hero-text { padding-top: var(--s-6); }
  .gift-cards { grid-template-columns: 1fr 1fr; }
  .ters-list { grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
  .ters-list .ther:nth-child(2) { margin-top: 64px; }
  .ters-list .ther:nth-child(3) { margin-top: 32px; }
  .deps-list { grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
  .deps-list li { border: 0; border-top: 1px solid var(--line); }
  .form { grid-template-columns: 1fr 1fr; }
  .field-wide, .periodo { grid-column: 1 / -1; }
  .deps-list li:last-child { border-bottom: 0; }
  .book-panel { padding: var(--s-7); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 1fr 1fr; align-items: center; gap: var(--gap); }
}

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
  .cta-bar { display: none; }
  .footer { padding-bottom: var(--s-7); }
  .grid { grid-template-columns: repeat(12, 1fr); }
  .header-bar { background: transparent; }
  .site-header.scrolled .header-bar { background: var(--bg); }
  .menu-btn, .menu { display: none !important; }
  .nav-desktop { display: flex; align-items: center; gap: var(--s-6); }
  .nav-desktop ul { display: flex; gap: var(--s-5); }
  .nav-desktop li a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; text-decoration: none; }
  .nav-desktop .btn { margin-left: var(--s-2); }
  .hero { display: grid; grid-template-columns: repeat(12, 1fr); height: 100svh; min-height: 640px; padding-top: 0; }
  .hero-text { grid-column: 1 / 6; grid-row: 1; align-self: end; padding: 0 var(--s-6) var(--s-8) var(--gutter); position: relative; z-index: 1; }
  .hero-media { grid-column: 6 / -1; grid-row: 1; min-height: 0; padding-top: var(--header-h); }
  .hero-media .photo { height: 100%; min-height: 0; }
  .hero-text h1 { font-size: clamp(3.5rem, 2.2rem + 2.6vw, 5.5rem); }
  .filo-head { grid-column: 1 / 9; }
  .filo-text { grid-column: 7 / 12; margin-top: var(--s-7); }
  .bleed { height: 70vh; }
  .svcs-head { grid-column: 1 / 8; }
  .svcs-list { grid-column: 1 / 8; grid-row: 2; margin-top: var(--s-7); }
  .svc-media { grid-column: 9 / -1; grid-row: 1 / span 2; margin-top: 0; align-self: stretch; }
  .svc-sticky { position: sticky; top: calc(var(--header-h) + 32px); }
  .svc-media .photo { max-width: none; }
  .svc-ph:first-child { opacity: 0; }
  .svc-ph.is-on { opacity: 1; }
  .svc-row h3 { font-size: 1.75rem; }
  .step { grid-template-columns: repeat(12, 1fr); gap: 0 var(--gap); }
  .step-media { grid-column: 1 / 6; grid-row: 1; }
  .step-text { grid-column: 7 / 12; grid-row: 1; }
  .step:nth-child(even) .step-media { grid-column: 8 / 13; }
  .step:nth-child(even) .step-text { grid-column: 2 / 7; }
  .steps { gap: var(--s-10); }
  blockquote p { font-size: 1.75rem; }
  .faq-head { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
  .faq-list { grid-column: 6 / -1; margin-top: 0; }
  .book-head { grid-column: 1 / 6; }
  .book-panel { grid-column: 7 / -1; margin-top: 0; }
  .foot-grid { grid-template-columns: 1.3fr 1.1fr 1fr .8fr; }
}
@media (hover: hover) { .footer a:hover, .wa-link:hover { text-decoration-thickness: 2px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
