/* ---------- Tokens ---------- */
:root {
  --paper: #FBF1EC;
  --blush: #F4E0D5;
  --ink: #34202A;
  --ink-soft: #5E4651;
  --rose: #9C4459;
  --rose-deep: #7E3245;
  --honey: #E8B46A;
  --line: #E3C9BC;
  --wa: #25D366;
  --wa-ink: #0E2A1E;

  --font-display: "Young Serif", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 7rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --container: 1160px;
  --header-h: 68px;
  --ease-out: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.125rem; line-height: 1.35; }

p { margin: 0; }
p + p { margin-top: var(--space-2); }

a { color: var(--rose); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--rose-deep); }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow > * { max-width: 780px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--paper); }

.icon { width: 20px; height: 20px; flex: none; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
  touch-action: manipulation;
}
.btn-primary { background: var(--rose); color: #fff; }
.btn-primary:hover { background: var(--rose-deep); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: .9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: var(--space-3);
}

.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand:hover { color: var(--ink); }
.brand-name { font-family: var(--font-display); font-size: 1.375rem; }
.brand-role { font-size: .875rem; color: var(--ink-soft); }

.menu-toggle {
  display: none;
  width: 48px; height: 48px; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--ink); border-radius: var(--radius-sm); cursor: pointer;
}

.site-nav { display: flex; align-items: center; gap: var(--space-4); }
.site-nav ul { display: flex; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 0; }
.site-nav ul a:hover { color: var(--rose); }

@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: var(--space-2);
    padding: var(--space-2) 20px var(--space-4);
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: var(--space-2); }
}

/* ---------- Hero ---------- */
.hero { padding: var(--space-5) 0 var(--space-6); overflow: hidden; }

.hero-grid { display: grid; gap: var(--space-5); align-items: center; }

.hero-text { max-width: 36rem; }
.hero-text .lead { margin-top: var(--space-3); }

.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 34rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-4); }

.hero-note { margin-top: var(--space-3); font-size: .9375rem; color: var(--ink-soft); }

/* The arch: the one bold element on the page */
.hero-photo {
  position: relative; margin: 0;
  width: min(100%, 440px); justify-self: center;
}
.hero-photo::before {
  content: ""; position: absolute; inset: 0;
  border: 1.5px solid var(--honey);
  border-radius: 999px 999px var(--radius-md) var(--radius-md);
  transform: translate(18px, 18px);
}
.hero-photo::after {
  content: ""; position: absolute; z-index: -1;
  width: 120%; aspect-ratio: 1; left: -10%; top: -12%;
  background: radial-gradient(circle, color-mix(in srgb, var(--honey) 45%, transparent) 0%, transparent 65%);
}
.hero-photo img {
  position: relative;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%;
  border-radius: 999px 999px var(--radius-md) var(--radius-md);
}

@media (min-width: 900px) {
  .hero { padding: var(--space-6) 0 var(--space-7); }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: var(--space-6); }
  .hero-photo { justify-self: end; }
}

/* Single orchestrated page-load moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .7s var(--ease-out) both; }
  .hero-text > :nth-child(2) { animation-delay: .08s; }
  .hero-text > :nth-child(3) { animation-delay: .16s; }
  .hero-text > :nth-child(4) { animation-delay: .24s; }
  .hero-photo img { animation: settle 1.1s var(--ease-out) both; }
  .hero-photo::before { animation: arch 1.1s .25s var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { opacity: 0; transform: scale(1.03); } }
@keyframes arch { from { opacity: 0; transform: translate(0, 0); } }

/* ---------- Sections ---------- */
.section { padding: var(--space-6) 0; }
.section-tinted { background: var(--blush); }

.section-head { max-width: 40rem; margin-bottom: var(--space-5); }
.section-head p { margin-top: var(--space-2); color: var(--ink-soft); }

@media (min-width: 900px) {
  .section { padding: var(--space-7) 0; }
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--space-5); align-items: start; }
.about-photo { margin: 0; }
.about-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%;
  border-radius: var(--radius-md);
}
.about-text { max-width: 38rem; }
.about-text h2 { margin-bottom: var(--space-3); }

.credentials { margin: var(--space-5) 0 0; display: grid; gap: var(--space-3); }
.credentials div { border-top: 1px solid var(--line); padding-top: var(--space-2); }
.credentials dt { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 6px; }
.credentials dd { margin: 0; color: var(--ink-soft); }
.credentials dd + dd { margin-top: 4px; }

@media (min-width: 900px) {
  .about-grid { grid-template-columns: 380px 1fr; gap: var(--space-6); }
  .about-photo { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Topics ---------- */
.topics {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0 var(--space-5);
}
.topics li { padding: var(--space-3) 0; border-top: 1px solid var(--line); }
.topics h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 8px; }
.topics p { color: var(--ink-soft); max-width: 32rem; }

@media (min-width: 760px) {
  .topics { grid-template-columns: 1fr 1fr; }
}

.modalities {
  display: grid; gap: var(--space-2);
  margin-top: var(--space-5);
}
.modality {
  display: flex; gap: var(--space-2); align-items: flex-start;
  background: var(--paper); border-radius: var(--radius-md);
  padding: var(--space-3);
}
.modality .icon { color: var(--rose); margin-top: 2px; }
.modality p { color: var(--ink-soft); margin-top: 4px; font-size: 1rem; }

@media (min-width: 900px) {
  .modalities { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Steps (a real sequence) ---------- */
.steps-grid { display: grid; gap: var(--space-5); align-items: center; }

.steps { list-style: none; margin: var(--space-4) 0 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative; padding: 0 0 var(--space-4) 64px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -4px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--rose); color: var(--rose);
  font-family: var(--font-display); font-size: 1.25rem;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 48px; bottom: 8px;
  width: 1.5px; background: var(--line);
}
.steps p { color: var(--ink-soft); margin-top: 4px; max-width: 30rem; }

.steps-photo { margin: 0; }
.steps-photo img {
  width: 100%; max-height: 520px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%;
  border-radius: var(--radius-md);
}

@media (min-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 360px; gap: var(--space-6); }
}

/* ---------- Prices ---------- */
.prices { list-style: none; margin: 0; padding: 0; }
.price {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: var(--space-1) var(--space-4);
  padding: var(--space-3) 0; border-top: 1px solid var(--line);
}
.price:last-child { border-bottom: 1px solid var(--line); }
.price h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.price p { color: var(--ink-soft); margin-top: 4px; }
.price .amount {
  margin: 0; color: var(--ink);
  font-family: var(--font-display); font-size: 1.75rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
@media (max-width: 559px) {
  .price { grid-template-columns: 1fr; }
}
.price-featured {
  background: var(--paper); border-radius: var(--radius-md);
  padding-inline: var(--space-3); border-top-color: transparent;
}
.price-featured + * , .price-featured:last-child { border-bottom-color: transparent; }
.price-featured .amount { color: var(--rose); }

.terms { margin-top: var(--space-4); }
.terms ul { margin: var(--space-2) 0 0; padding-left: 1.2rem; color: var(--ink-soft); }
.terms li + li { margin-top: 6px; }

summary {
  cursor: pointer; font-weight: 600; min-height: 44px;
  display: flex; align-items: center; gap: 12px; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; margin-left: auto;
  width: 10px; height: 10px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s var(--ease-out);
}
details[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.terms > summary { justify-content: flex-start; color: var(--rose); }
.terms > summary::after { margin-left: 0; }

/* ---------- Calendar ---------- */
.calendar-frame {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid var(--line); overflow: hidden;
  min-height: 680px;
}
.calendar-frame iframe { display: block; width: 100%; height: 1000px; border: 0; }
@media (min-width: 900px) {
  .calendar-frame iframe { height: 760px; }
}

.calendar-help { margin-top: var(--space-3); color: var(--ink-soft); font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--space-4); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: var(--space-2) 0; font-size: 1.0625rem; }
.faq details p { padding: 0 0 var(--space-3); color: var(--ink-soft); max-width: 40rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-5); align-items: center; }
.contact .lead { margin: var(--space-2) 0 var(--space-4); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.contact-list li { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.contact-list .icon { color: var(--rose); }
.contact-list a { color: var(--ink); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--rose); }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: #EBDCD5;
  padding: var(--space-4) 0 calc(var(--space-4) + 72px);
  font-size: .9375rem;
}
.footer-inner { display: grid; gap: var(--space-2); }
.site-footer a { color: #fff; }
.crisis { max-width: 40rem; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 16px;
  background: var(--wa); color: var(--wa-ink);
  border-radius: 999px; text-decoration: none; font-weight: 600;
  box-shadow: 0 6px 20px rgba(52, 32, 42, .22);
  transition: transform .2s var(--ease-out);
}
.whatsapp-float:hover { color: var(--wa-ink); transform: translateY(-2px); }
.whatsapp-float svg { width: 26px; height: 26px; }
@media (max-width: 599px) {
  .whatsapp-float { width: 56px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
}

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