/* ==========================================================================
   Ana Sánchez Psicóloga · Hoja de estilos
   Paleta: base cálida (blanco roto / arena) + un acento verde salvia.
   Tipografía: Outfit (títulos) + Nunito Sans (texto). Auto-alojadas.
   ========================================================================== */

/* ---------- Fuentes ---------- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/nunito-sans-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg: #faf8f4;
  --bg-alt: #f3efe7;
  --bg-sage: #eef1e8;
  --surface: #fffdfa;

  --text: #2b2a26;
  --text-2: #625e56;
  --text-3: #8d887e;
  --line: #e4dfd4;

  --accent: #5c6b4b;
  --accent-hover: #4b583d;
  --accent-soft: #a8b399;
  --accent-tint: #dfe5d5;
  --star: #8a6318;
  --whatsapp: #3f7f57;

  --radius: 14px;
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(43, 42, 38, 0.05), 0 4px 14px rgba(43, 42, 38, 0.05);
  --shadow-md: 0 2px 6px rgba(43, 42, 38, 0.06), 0 14px 34px rgba(43, 42, 38, 0.08);
}

/* ---------- Reset suave ---------- */
*,
*::before,
*::after { 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;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 0.6em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.125rem; font-weight: 500; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }

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

ul, ol { padding-left: 1.2em; }
strong { font-weight: 700; }
em { font-style: italic; }

.muted { color: var(--text-2); }
.small { font-size: 0.9375rem; }
.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  color: var(--text-2);
  max-width: 60ch;
}
.measure { max-width: 64ch; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--bg-alt); }
.section--sage { background: var(--bg-sage); }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-bottom: 0.4em; }
.section-head p { color: var(--text-2); max-width: 58ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
}

.photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.12s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(92, 107, 75, 0.22);
}
.btn--primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 8px 22px rgba(92, 107, 75, 0.3); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--whatsapp {
  background: #fff;
  color: var(--whatsapp);
  border-color: color-mix(in srgb, var(--whatsapp) 35%, transparent);
}
.btn--whatsapp:hover { background: #f1f7f3; color: var(--whatsapp); border-color: var(--whatsapp); }

.btn--lg { padding: 18px 32px; font-size: 1.125rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 30px;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

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

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-head);
}
.brand__name {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand__role {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav__link:hover { background: var(--bg-alt); color: var(--text); }
.nav__link[aria-current="page"] { color: var(--accent); font-weight: 500; }
.nav__cta { margin-left: 12px; padding: 12px 20px; font-size: 1rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0;
    top: var(--header-h);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 24px;
    gap: 6px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 12px; font-size: 1.125rem; border-radius: 10px; }
  .nav__cta { margin: 12px 0 0; padding: 16px 20px; font-size: 1.0625rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 { margin-bottom: 0.55em; max-width: 20ch; }
.hero__kicker {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  line-height: 1.4;
}
.hero .lead { max-width: 46ch; }
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__birds {
  position: absolute;
  right: -10px;
  top: 8px;
  width: clamp(140px, 18vw, 220px);
  color: var(--accent-soft);
  opacity: 0.75;
  pointer-events: none;
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { max-width: none; }
  .hero__birds { width: 120px; top: 0; right: 0; opacity: 0.5; }
}

/* Franja de valoración bajo el hero */
.rating-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.rating-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  padding-block: 18px;
  text-align: center;
  font-size: 1rem;
  color: var(--text-2);
}
.rating-strip__inner strong { color: var(--text); font-weight: 700; }
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
  vertical-align: middle;
}
.stars svg { width: 18px; height: 18px; }
.rating-strip .stars svg { width: 20px; height: 20px; }
.rating-strip__sep { color: var(--line); }
@media (max-width: 560px) {
  .rating-strip__sep { display: none; }
  .rating-strip__inner { flex-direction: column; gap: 6px; }
}

/* ---------- Equipo (roster) ---------- */
.team-intro { margin-bottom: clamp(36px, 5vw, 64px); }
.team-intro .photo { aspect-ratio: 3 / 2; }

.roster {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.roster__item { border-bottom: 1px solid var(--line); }
.roster__link {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 8px;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
}
.roster__link:hover { background: var(--bg-alt); color: var(--text); }
.roster__link--static { cursor: default; }
.roster__link--static:hover { background: transparent; }
.roster__avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-alt);
  flex: none;
}
.roster__avatar img { width: 100%; height: 100%; object-fit: cover; }
.roster__name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 4px;
}
.roster__role { color: var(--text-2); margin: 0; }
.roster__arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.roster__arrow svg { width: 20px; height: 20px; }
.roster__link:hover .roster__arrow { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateX(4px); }
@media (max-width: 560px) {
  .roster__link { grid-template-columns: 64px 1fr auto; gap: 16px; padding: 18px 4px; }
  .roster__avatar { width: 64px; height: 64px; }
  .roster__name { font-size: 1.2rem; }
  .roster__arrow { width: 38px; height: 38px; }
}

/* ---------- Especialidades ---------- */
.specialties {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.specialties__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.specialties__aside h2 { margin-bottom: 0.5em; }
.specialties__aside p { color: var(--text-2); }
.specialties__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.specialty {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.specialty:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--accent-tint); }
.specialty__num {
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
}
.specialty h3 { font-size: 1.25rem; margin-bottom: 0.45em; }
.specialty p { color: var(--text-2); font-size: 1rem; margin: 0; }
@media (max-width: 960px) {
  .specialties { grid-template-columns: 1fr; }
  .specialties__aside { position: static; }
}
@media (max-width: 600px) {
  .specialties__list { grid-template-columns: 1fr; }
}

/* ---------- La consulta ---------- */
.space {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 18px;
}
.space__text {
  grid-column: 1 / -1;
  max-width: 60ch;
  margin-bottom: 14px;
}
.space .photo { aspect-ratio: 4 / 3; }
@media (max-width: 720px) {
  .space { grid-template-columns: 1fr; }
}

/* ---------- Opiniones ---------- */
.reviews {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.reviews__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.reviews__score {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 6px;
  font-family: var(--font-head);
}
.reviews__score strong { font-size: 3rem; font-weight: 400; line-height: 1; }
.reviews__score .stars svg { width: 22px; height: 22px; }
.reviews__aside .small { color: var(--text-2); }
.reviews__links { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; align-items: flex-start; }

.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  position: relative;
  margin: 0;
}
.review--featured { padding: 36px 36px 30px; }
.review--featured blockquote { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
.review .stars { margin-bottom: 14px; }
.review blockquote {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text);
}
.review blockquote p { display: inline; }
.review blockquote::before { content: "\201C"; color: var(--accent-soft); margin-right: 2px; }
.review blockquote::after { content: "\201D"; color: var(--accent-soft); margin-left: 2px; }
.review figcaption {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-2);
}
.review figcaption strong { color: var(--text); font-weight: 600; }
.review figcaption svg { width: 16px; height: 16px; flex: none; }
.review-list__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 960px) {
  .reviews { grid-template-columns: 1fr; }
  .reviews__aside { position: static; }
}
@media (max-width: 1100px) {
  .review-list__pair { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .review, .review--featured { padding: 26px 22px 22px; }
}

/* ---------- Banda CTA ---------- */
.cta-band {
  position: relative;
  background: var(--bg-sage);
  overflow: hidden;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { color: var(--text-2); max-width: 48ch; }
.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-band__note { font-size: 0.9375rem; color: var(--text-2); }
.cta-band__birds {
  position: absolute;
  right: 4%;
  bottom: -8px;
  width: clamp(140px, 16vw, 210px);
  color: var(--accent-soft);
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 860px) {
  .cta-band__inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-band__birds { display: none; }
}

/* ---------- Pie ---------- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px) 28px;
  font-size: 1rem;
  color: var(--text-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
  gap: 36px;
}
.footer-grid h4 {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--text-2); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid address { font-style: normal; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.hours-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.hours-list dt { color: var(--text); font-weight: 600; }
.hours-list dd { margin: 0; white-space: nowrap; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 0.9rem;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--text-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Página de profesional ---------- */
.profile-hero { padding-block: clamp(32px, 5vw, 72px) clamp(40px, 6vw, 88px); }
.profile-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.profile-hero__photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
}
.profile-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero h1 { margin-bottom: 0.25em; }
.profile-hero__role {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--accent);
  margin-top: 0.35em;
  margin-bottom: 18px;
}
.profile-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.9375rem;
  color: var(--text-2);
  margin-bottom: 26px;
}
.profile-hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.profile-hero__meta svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 860px) {
  .profile-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .profile-hero__photo { order: -1; }
}

.profile-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.profile-body__main h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.profile-body__main > section + section { margin-top: clamp(40px, 5vw, 64px); }
.profile-body__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 18px; }
.aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.aside-card h3 { font-size: 1.15rem; margin-bottom: 0.7em; }
.aside-card ul { list-style: none; margin: 0; padding: 0; }
.aside-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.aside-card li:first-child { border-top: 0; padding-top: 0; }
.aside-card li:last-child { padding-bottom: 0; }
.aside-card--cta { background: var(--bg-sage); border-color: var(--accent-tint); }
.aside-card--cta p { color: var(--text-2); font-size: 1rem; }
.aside-card--cta .btn { width: 100%; margin-top: 8px; }
.aside-card--cta .small { margin-top: 14px; text-align: center; }
@media (max-width: 900px) {
  .profile-body { grid-template-columns: 1fr; }
  .profile-body__aside { position: static; }
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pill-list li {
  background: var(--bg-sage);
  border: 1px solid var(--accent-tint);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 1rem;
  color: var(--text);
}

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 22px 28px;
  border-left: 1px solid var(--line);
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -5px; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; }
.timeline span { color: var(--text-2); font-size: 1rem; }

.others {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.other-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.other-card:hover { border-color: var(--accent-tint); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--text); }
.other-card__avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--bg-alt); }
.other-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.other-card strong { font-family: var(--font-head); font-weight: 500; font-size: 1.15rem; display: block; }
.other-card span { color: var(--text-2); font-size: 0.95rem; }
@media (max-width: 600px) {
  .others { grid-template-columns: 1fr; }
}

/* ---------- Contacto ---------- */
.page-head { padding-block: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 48px); }
.page-head h1 { margin-bottom: 0.4em; }

.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.booking__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.booking__aside h2 { margin-bottom: 0.5em; }
.booking__aside p { color: var(--text-2); }
.booking__steps { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: step; }
.booking__steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  color: var(--text-2);
}
.booking__steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  color: var(--accent);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  padding-top: 3px;
}
.booking__alt { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.booking__widget-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}
#reservas-widget { min-height: 320px; }
#reservas-widget iframe { border-radius: 10px; }
.booking__fallback {
  margin-top: 18px;
  font-size: 0.9375rem;
  color: var(--text-2);
  text-align: center;
}
@media (max-width: 900px) {
  .booking { grid-template-columns: 1fr; }
  .booking__aside { position: static; }
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact-list .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-sage);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; margin-bottom: 2px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list address { font-style: normal; }

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; color: var(--text); width: 38%; }
.hours td { color: var(--text-2); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); }
.hours tr.is-today th::after { content: " · hoy"; font-weight: 400; font-size: 0.85em; }
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-2);
  margin-top: 14px;
}
.open-status::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--text-3);
}
.open-status.is-open::before { background: var(--whatsapp); }

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(92, 107, 75, 0.08), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(92, 107, 75, 0.08), transparent 45%),
    var(--bg-alt);
}
.map__placeholder p { color: var(--text-2); font-size: 0.9375rem; max-width: 34ch; margin: 0; }
.map__placeholder svg { width: 40px; height: 40px; color: var(--accent); }
.map__placeholder .small a { color: var(--text-2); }
.map.is-loaded .map__placeholder { display: none; }
.map-caption { margin-top: 12px; font-size: 0.9375rem; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 48px 22px 0;
  position: relative;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq .faq__body { padding: 0 0 24px; color: var(--text-2); max-width: 68ch; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Migas de pan ---------- */
.crumbs {
  padding-top: 20px;
  font-size: 0.9375rem;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-2);
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--text-2); }

/* ---------- Pasos (cómo empieza la terapia) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: paso;
  border-top: 1px solid var(--line);
}
.step {
  counter-increment: paso;
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; padding-right: 0; }
.step:not(:first-child) { padding-left: 32px; }
.step::before {
  content: counter(paso, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.45em; }
.step p { color: var(--text-2); font-size: 1rem; margin: 0; }
.steps__note {
  margin-top: 36px;
  color: var(--text-2);
  font-size: 1rem;
}
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; }
  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }
  .step:not(:first-child) { padding-left: 0; }
  .step:last-child { border-bottom: 0; }
}

/* ---------- Páginas legales ---------- */
.legal { padding-block: clamp(32px, 5vw, 72px) var(--section); }
.legal h1 { margin-bottom: 0.3em; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--text-2); }
.legal table.hours { margin: 18px 0 8px; }
.legal table.hours th { width: auto; }
.legal table.hours thead th { color: var(--text); font-weight: 600; }
@media (max-width: 560px) {
  .legal table.hours { font-size: 0.9375rem; }
}
.legal code {
  font-size: 0.9em;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}

.legal .todo {
  background: #fff6db;
  border: 1px dashed #d9b95a;
  padding: 2px 6px;
  border-radius: 6px;
  color: #6b5410;
  font-size: 0.95em;
}
.legal-updated { color: var(--text-2); font-size: 0.95rem; margin-bottom: 2em; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }


/* ---------- Botón flotante de WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 22px rgba(63, 127, 87, 0.35);
  transition: bottom 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(63, 127, 87, 0.42);
}
.whatsapp-float:active { transform: translateY(0) scale(0.97); }
@media (max-width: 560px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: bottom 0.3s ease; }
}

/* ---------- Animación de aparición ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .roster__arrow, .specialty, .other-card, .link-arrow svg { transition: none; }
}
