/* =========================================================
   PRISMA Psicología — Hoja de estilos
   Diseño: minimalista, cálido, elegante. Motivo "prisma"
   presente de forma muy sutil (refracción de luz, cristal,
   destellos tenues). Sin arcoíris ni multicolor.
   ========================================================= */

/* ---------- Tokens de diseño ---------- */
:root {
  /* Paleta cálida y natural */
  --bg:          #FBF8F3; /* blanco roto */
  --bg-alt:      #F4EDE3; /* crema */
  --surface:     #FCFAF6;
  --surface-2:   #FFFFFF;
  --border:      #E7DDCF;
  --border-soft: #EFE8DC;

  --text:        #2B2723; /* negro cálido */
  --text-soft:   #6E655A; /* gris cálido */
  --text-faint:  #97897A;

  --accent:      #A6836A; /* tierra desaturado */
  --accent-deep: #6D5646; /* café, para CTA/hover */
  --accent-soft: #EADFD1;

  /* Tipografía */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Escala */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3:  clamp(1.8rem, 1.5rem + 1.4vw, 2.8rem);
  --step-4:  clamp(2.3rem, 1.8rem + 2.6vw, 4rem);
  --step-5:  clamp(2.7rem, 1.9rem + 3.8vw, 5.2rem);

  /* Ritmo y forma */
  --container: 1160px;
  --container-narrow: 780px;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(43, 39, 35, .04), 0 6px 20px rgba(43, 39, 35, .05);
  --shadow-md: 0 10px 40px rgba(43, 39, 35, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);
}

/* ---------- Reset ligero ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0 0 .5em;
  font-optical-sizing: auto;
}
p { margin: 0 0 1.1rem; }
::selection { background: var(--accent-soft); color: var(--text); }

/* ---------- Utilidades ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 1.1rem;
}
.lead { font-size: var(--step-1); color: var(--text-soft); line-height: 1.55; }
.muted { color: var(--text-soft); }
.center { text-align: center; }
.balance { text-wrap: balance; }
.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;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 500;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.btn--primary { background: var(--accent-deep); color: #FBF6EF; }
.btn--primary:hover { background: #5b4738; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.7); color: var(--text); border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn .btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--accent-deep); font-weight: 500;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow:hover { gap: .85rem; border-color: var(--accent); }

/* ---------- Motivo prisma (destello sutil) ---------- */
.prism-glow {
  position: absolute; pointer-events: none; z-index: 0;
  filter: blur(2px); opacity: .5; mix-blend-mode: multiply;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(251, 248, 243, .82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border-soft);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; letter-spacing: .02em; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-family: var(--font-serif); font-size: 1.35rem; letter-spacing: .16em; text-transform: uppercase; }
.brand__name span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav__links { display: flex; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: .96rem; color: var(--text-soft); position: relative; padding: .3rem 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--accent);
  transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: inline-flex; }
.nav__toggle { display: none; }
/* El menú móvil está oculto por defecto (escritorio); solo aparece en móvil */
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(7rem, 8vw, 9rem); padding-bottom: var(--section-y); overflow: clip; }
.hero__grid {
  display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center;
  grid-template-columns: 1.05fr .95fr;
}
.hero__content { position: relative; z-index: 2; max-width: 34rem; }
.hero__title { font-size: var(--step-5); line-height: 1.04; margin-bottom: 1.4rem; }
.hero__title em { font-style: italic; color: var(--accent-deep); }
.hero__sub { font-size: var(--step-1); color: var(--text-soft); line-height: 1.55; margin-bottom: 2.2rem; max-width: 32rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem;
  font-size: var(--step--1); color: var(--text-faint); letter-spacing: .04em;
}
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .7; }

.hero__media { position: relative; z-index: 1; }
.hero__photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; background: linear-gradient(155deg, #efe6d8, #e4d6c4 55%, #d8c7b2);
  box-shadow: var(--shadow-md);
}
/* Marco de cristal sutil (prisma) sobre la foto */
.hero__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 30%),
    linear-gradient(300deg, rgba(166,131,106,.12) 0%, rgba(166,131,106,0) 40%);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  color: var(--accent-deep); gap: .4rem; padding: 1.5rem;
}
.photo-placeholder svg { margin-inline: auto; opacity: .55; }
.photo-placeholder span { font-size: var(--step--1); letter-spacing: .04em; opacity: .8; }

.hero__glow-1 { top: -6%; right: -8%; width: 46%; height: 60%;
  background: radial-gradient(closest-side, rgba(214,196,171,.9), rgba(214,196,171,0)); }
.hero__glow-2 { bottom: -12%; left: -6%; width: 40%; height: 50%;
  background: radial-gradient(closest-side, rgba(234,223,209,.9), rgba(234,223,209,0)); }

/* Línea de refracción muy tenue (prisma) */
.refraction {
  position: absolute; z-index: 0; pointer-events: none; opacity: .5;
}

/* ---------- Sección emocional ---------- */
.feeling { text-align: center; }
.feeling__title { font-size: var(--step-4); max-width: 20ch; margin-inline: auto; margin-bottom: 1.6rem; }
.feeling__title em { font-style: italic; color: var(--accent-deep); }
.feeling p { max-width: 56ch; margin-inline: auto; color: var(--text-soft); font-size: var(--step-1); line-height: 1.6; }
.feeling .btn { margin-top: 2.2rem; }

/* ---------- Sobre mí ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3 / 4; background: linear-gradient(155deg, #ece2d3, #ddccb7);
  box-shadow: var(--shadow-sm); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__title { font-size: var(--step-3); margin-bottom: 1.3rem; }
.about__title em { font-style: italic; color: var(--accent-deep); }
.about__body p { color: var(--text-soft); max-width: 52ch; }
.about__body p.intro { color: var(--text); font-size: var(--step-1); line-height: 1.55; }
.creds {
  margin: 2rem 0 1.8rem; padding: 1.5rem 1.6rem; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
}
.creds h3 { font-family: var(--font-sans); font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.creds li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-soft); font-size: .98rem; }
.creds li::before { content: ""; margin-top: .55em; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--accent); }
.placeholder-tag { color: var(--accent-deep); font-style: italic; }

/* ---------- Cómo puedo ayudarte (tarjetas) ---------- */
.section__head { max-width: 44rem; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: var(--step-3); margin-bottom: .8rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card {
  position: relative; padding: 1.6rem 1.5rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease);
  background: linear-gradient(140deg, rgba(255,255,255,.6), rgba(234,223,209,.25));
  pointer-events: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border); }
.card:hover::before { opacity: 1; }
.card__icon { width: 34px; height: 34px; margin-bottom: 1.1rem; color: var(--accent); position: relative; z-index: 1; }
.card h3 { font-size: var(--step-1); margin-bottom: .4rem; position: relative; z-index: 1; }
.card p { font-size: .95rem; color: var(--text-soft); margin: 0; position: relative; z-index: 1; }

/* ---------- Terapia online (pasos + FAQ) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.step { position: relative; padding-top: 1.4rem; }
.step__num {
  font-family: var(--font-serif); font-size: 2.6rem; color: var(--accent);
  line-height: 1; display: block; margin-bottom: 1rem; opacity: .85;
}
.step h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.step p { color: var(--text-soft); font-size: .98rem; margin: 0; max-width: 34ch; }

.faq { max-width: var(--container-narrow); margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; padding: 1.4rem 3rem 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-serif); font-size: var(--step-1); color: var(--text); position: relative;
}
.faq__q::after {
  content: ""; position: absolute; right: .3rem; width: 12px; height: 12px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg); transition: transform .35s var(--ease); margin-top: -4px;
}
.faq__item.is-open .faq__q::after { transform: rotate(-135deg); margin-top: 2px; }
.faq__a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq__a-inner { padding: 0 0 1.4rem; color: var(--text-soft); max-width: 62ch; }

/* ---------- Psicoeducación (artículos) ---------- */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.article-card {
  display: flex; flex-direction: column; border: 1px solid var(--border-soft); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border); }
.article-card__media {
  aspect-ratio: 16 / 10; position: relative;
  background:
    linear-gradient(150deg, rgba(239,230,216,.15), rgba(221,204,183,.15)),
    url("../assets/prisma-geometria.jpg") center / cover no-repeat,
    linear-gradient(150deg, #efe6d8, #ddccb7);
}
.article-card__media .tag {
  position: absolute; top: .9rem; left: .9rem; background: rgba(251,248,243,.9); backdrop-filter: blur(4px);
  color: var(--accent-deep); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px;
}
.article-card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.article-card__body h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.article-card__body p { color: var(--text-soft); font-size: .95rem; flex: 1; }
.article-card__meta { font-size: .8rem; color: var(--text-faint); margin-top: 1rem; letter-spacing: .03em; }

.empty-note {
  margin-top: 2.5rem; text-align: center; color: var(--text-faint); font-size: .95rem; font-style: italic;
}

/* ---------- Frase de marca ---------- */
.brand-quote { position: relative; overflow: clip; text-align: center; padding-block: clamp(6rem, 10vw, 11rem); }
.brand-quote__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.brand-quote::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(244,237,227,.62), rgba(244,237,227,.42) 45%, rgba(244,237,227,.72));
}
.brand-quote blockquote {
  margin: 0 auto; max-width: 22ch; font-family: var(--font-serif); font-weight: 300;
  font-size: var(--step-4); line-height: 1.22; letter-spacing: -.015em; position: relative; z-index: 2;
}
.brand-quote blockquote em { font-style: italic; color: var(--accent-deep); }
.brand-quote .glow-a { top: 8%; left: 50%; transform: translateX(-50%); width: 60%; height: 70%;
  background: radial-gradient(closest-side, rgba(234,223,209,.8), rgba(234,223,209,0)); }
.brand-quote .refraction { top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(680px, 85%); opacity: .35; }

/* ---------- Bloque reservar (CTA) ---------- */
.reserve-cta { text-align: center; }
.reserve-cta__box {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--accent-deep), #5a4638);
  color: #F6EFE6; padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
}
.reserve-cta__box h2 { color: #fff; font-size: var(--step-3); margin-bottom: 1rem; }
.reserve-cta__box p { color: rgba(246,239,230,.82); max-width: 46ch; margin-inline: auto; margin-bottom: 2rem; }
.reserve-cta__box .refraction { top: -20%; right: -5%; width: 45%; opacity: .18; }
.reserve-cta__box .btn--light { background: #fff; color: var(--accent-deep); }
.reserve-cta__box .btn--light:hover { background: #f6efe6; }

/* ---------- Reservar (página) ---------- */
.reserve-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.detail {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.5rem; background: var(--surface);
}
.detail h3 { font-family: var(--font-sans); font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.detail p { margin: 0; color: var(--text-soft); }
.booking-embed {
  margin-top: 2.5rem; border: 1px dashed var(--border); border-radius: var(--radius-lg);
  background: var(--surface); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; color: var(--text-faint);
}
.booking-embed svg { margin: 0 auto 1rem; opacity: .5; }

/* ---------- Contacto / formularios ---------- */
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__intro h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.contact__intro p { color: var(--text-soft); max-width: 40ch; }
.contact__points { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact__points li { display: flex; gap: .8rem; align-items: center; color: var(--text-soft); }
.contact__points svg { color: var(--accent); flex: none; }

.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .9rem; color: var(--text); font-weight: 500; letter-spacing: .01em; }
.field .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 12px; padding: .85rem 1rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease); resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(166,131,106,.14);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--text-soft); }
.consent input { margin-top: .28em; width: 1.05rem; height: 1.05rem; accent-color: var(--accent-deep); flex: none; }
.consent a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.form__note { font-size: .82rem; color: var(--text-faint); }
.form__status { font-size: .92rem; padding: .3rem 0; min-height: 1.2rem; }
.form__status.ok { color: #4e7a52; }
.form__status.err { color: #a45a4a; }

/* ---------- Footer ---------- */
.footer { background: #2B2723; color: #D8CFC2; padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer a { color: #D8CFC2; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__brand .brand__name { color: #F3ECE1; }
.footer__brand .brand__name span { color: var(--accent); }
.footer__brand p { color: #A99C8C; max-width: 34ch; margin-top: 1rem; font-size: .95rem; }
.footer__col h4 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #A99C8C; margin-bottom: 1.1rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer__col a { color: #CDC3B4; font-size: .95rem; transition: color .3s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__legal-data { color: #A99C8C; font-size: .88rem; line-height: 1.8; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.6rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  color: #8C8073; font-size: .82rem;
}

/* ---------- Botón contacto flotante ---------- */
.float-contact {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 40;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--accent-deep); color: #F6EFE6; padding: .8rem 1.2rem; border-radius: 999px;
  box-shadow: var(--shadow-md); font-size: .92rem; font-weight: 500;
  transform: translateY(0); opacity: 0; visibility: hidden;
  transition: transform .4s var(--ease), opacity .4s var(--ease), visibility .4s, background .3s;
}
.float-contact.is-visible { opacity: 1; visibility: visible; }
.float-contact:hover { background: #5b4738; transform: translateY(-2px); }
.float-contact svg { flex: none; }
@media (max-width: 560px) { .float-contact span { display: none; } .float-contact { padding: .85rem; } }

/* ---------- Banner de cookies ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: clamp(1rem, 3vw, 1.6rem); transform: translate(-50%, 140%);
  z-index: 60; width: min(680px, calc(100% - 2rem));
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 1.4rem 1.5rem;
  transition: transform .5s var(--ease); opacity: .98;
}
.cookie-banner.is-visible { transform: translate(-50%, 0); }
.cookie-banner p { font-size: .9rem; color: var(--text-soft); margin: 0 0 1rem; }
.cookie-banner p a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-banner .btn { padding: .7rem 1.3rem; font-size: .92rem; }
.cookie-banner__settings { margin-left: auto; align-self: center; }
.cookie-banner__settings button { background: none; border: 0; color: var(--text-faint); font-size: .85rem; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Páginas de contenido/legal ---------- */
.page-hero { padding-top: clamp(8rem, 10vw, 11rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.page-hero h1 { font-size: var(--step-4); margin-bottom: .8rem; }
.page-hero p { color: var(--text-soft); font-size: var(--step-1); max-width: 55ch; }
.legal { padding-bottom: var(--section-y); }
.legal .prose { max-width: 760px; }
.prose h2 { font-size: var(--step-2); margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: var(--step-1); margin: 1.8rem 0 .5rem; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 1.2rem; display: grid; gap: .5rem; margin-bottom: 1.2rem; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.callout {
  border-left: 3px solid var(--accent); background: var(--bg-alt);
  padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; color: var(--text-soft); font-size: .95rem;
}
.callout strong { color: var(--text); }

/* Artículo individual */
.article-body { max-width: 720px; margin-inline: auto; }
.article-body p { font-size: var(--step-0); }
.article-hero-media { aspect-ratio: 16 / 8; border-radius: var(--radius-lg); background: linear-gradient(150deg,#efe6d8,#ddccb7); margin: 1.5rem 0 2.5rem; box-shadow: var(--shadow-sm); }

/* ---------- Animaciones al scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .contact__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .articles { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: .5rem;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .35s var(--ease); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    position: fixed; inset: 76px 0 0 0; background: var(--bg); z-index: 45;
    transform: translateX(100%); transition: transform .45s var(--ease);
    display: flex; flex-direction: column; padding: 2rem clamp(1.25rem, 5vw, 2.5rem); gap: .4rem;
  }
  .mobile-menu.is-open { transform: translateX(0); }
  .mobile-menu a { font-family: var(--font-serif); font-size: var(--step-2); padding: .7rem 0; border-bottom: 1px solid var(--border-soft); color: var(--text); }
  .mobile-menu .btn { margin-top: 1.5rem; justify-content: center; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .field--row { grid-template-columns: 1fr; }
  .reserve-details { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .articles { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}
