/* =========================================================
   HAVEN Wellness Center — landing
   Colores: guía de marca (#9CA589, #515B63, #C0BFB9, #565A36,
   dorado y madera) sobre el crema del logo (#EAE1D6).
   Tipografía: Playfair Display, Source Serif 4 y un script
   (sustituto de Symphony) según el brand board.
   ========================================================= */

@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Pinyon Script";
  src: url("../assets/fonts/pinyon-script-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* Marca */
  --cream: #EAE1D6;
  --linen: #F4EDE2;
  --paper: #FAF6EF;
  --taupe: #BBA899;
  --gold: #9E692B;
  --gold-deep: #7F5320;
  --olive: #565A36;
  --olive-deep: #3E4128;
  --sage: #9CA589;
  --slate: #515B63;
  --stone: #C0BFB9;
  --wood: #6A4630;
  --ink: #2F2A25;
  --ink-soft: #5B5148;

  --line: rgba(158, 105, 43, 0.32);
  --line-soft: rgba(91, 81, 72, 0.18);

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --header-h: 76px;
}

*, *::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-color: var(--cream);
  /* Lino sutil, como el papel de la carta impresa */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.s-pad { padding-block: var(--section-y); }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--olive); color: var(--linen); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: .75rem; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.3rem); line-height: 1.02; color: var(--gold); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; color: var(--gold); text-wrap: balance; }
h3 { font-size: 1.5rem; line-height: 1.2; }
h4 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.28rem; line-height: 1.25; color: var(--ink); }
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; line-height: 1.1; color: var(--gold); }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.6; color: var(--ink-soft); max-width: 34ch; }
p { max-width: 62ch; text-wrap: pretty; }
b, strong { font-weight: 600; }
.leader ~ b, .prices b, .rows b, .plain b { font-family: var(--font-display); font-variant-numeric: lining-nums tabular-nums; font-weight: 500; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: .75rem 1.7rem;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--olive); color: var(--linen); }
.btn--primary:hover { background: var(--olive-deep); }
.btn--outline { border-color: var(--olive); color: var(--olive); background: transparent; }
.btn--outline:hover { background: var(--olive); color: var(--linen); }
.btn--light { background: var(--linen); color: var(--olive-deep); }
.btn--light:hover { background: #fff; }
.btn svg { width: 1.3rem; height: 1.3rem; fill: currentColor; flex: none; }

.link {
  color: var(--gold-deep); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: .28em; text-decoration-color: rgba(127, 83, 32, .5);
  transition: text-decoration-color .2s, color .2s;
}
.link:hover { color: var(--olive-deep); text-decoration-color: currentColor; }

/* ---------- Barra superior y encabezado ---------- */
.topbar {
  display: block; background: var(--olive); color: var(--linen);
  text-align: center; text-decoration: none; font-size: .95rem; line-height: 1.4;
  padding: .55rem var(--gutter);
}
.topbar:hover { background: var(--olive-deep); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(234, 225, 214, .94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.brand img { height: 58px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a:not(.btn) { text-decoration: none; font-size: 1rem; color: var(--ink); padding: .35rem 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.nav a:not(.btn):hover { color: var(--gold-deep); border-bottom-color: var(--gold); }
.nav__cta { min-height: 2.6rem; padding: .5rem 1.4rem; }

.nav-toggle { display: none; width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: .7rem; right: .7rem; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.nav-toggle span:first-child { top: calc(50% - 4px); }
.nav-toggle span:last-child { top: calc(50% + 4px); }
.nav-toggle[aria-expanded="true"] span:first-child { top: 50%; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 50%; transform: rotate(-45deg); }

/* ---------- Inicio ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero__tagline { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: .75rem; }
.hero h1 { max-width: 12ch; text-wrap: balance; }
.hero .lede { margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }
.proof { display: flex; align-items: center; gap: .65rem; margin-top: 2rem; font-size: .98rem; color: var(--ink-soft); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 1.05rem; height: 1.05rem; fill: var(--gold); }

/* El momento memorable: el círculo (enso) del logo se dibuja y abre una ventana a la cabina */
@property --draw { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
.hero__visual { display: flex; justify-content: center; }
.enso { position: relative; width: min(100%, 540px); aspect-ratio: 640 / 611; }
.enso__photo {
  position: absolute; left: 50%; top: 50%; width: 74%; aspect-ratio: 1; object-fit: cover; object-position: 50% 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  animation: photo-in .9s ease-out .7s both;
}
.enso__mark {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: conic-gradient(from 268deg, #000 var(--draw), transparent var(--draw));
  mask-image: conic-gradient(from 268deg, #000 var(--draw), transparent var(--draw));
  animation: enso-draw 2.1s cubic-bezier(.55, .08, .25, 1) .25s both;
}
@keyframes enso-draw { from { --draw: 0deg; } to { --draw: 360deg; } }
@keyframes photo-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Nosotros ---------- */
.nosotros { background: var(--linen); }
.nosotros__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.nosotros__photos { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; }
.ph { position: absolute; width: 72%; height: auto; border-radius: 3px; box-shadow: 0 1px 0 rgba(47, 42, 37, .06); }
.ph--a { left: 0; top: 0; }
.ph--b { right: 0; bottom: 0; outline: 10px solid var(--linen); }
.nosotros__text h2 { margin-bottom: 1.5rem; }
.nosotros__text p + p { margin-top: 1.1rem; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.values li { padding: 2.25rem clamp(1rem, 2vw, 1.75rem) 0; text-align: center; }
.values li + li { border-left: 1px solid var(--line-soft); }
.values svg { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.1rem; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.values h3 { font-size: 1.22rem; margin-bottom: .5rem; color: var(--ink); }
.values p { font-size: 1rem; line-height: 1.55; color: var(--ink-soft); margin-inline: auto; }

/* ---------- Frase de marca ---------- */
.quote-band { background: var(--taupe); text-align: center; }
.quote-band__line { max-width: none; font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.05; color: var(--ink); letter-spacing: -0.015em; }
.quote-band__script { font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--ink); margin-top: .15em; max-width: none; }
.quote-band__mission { margin: 2rem auto 0; font-size: 1.1rem; max-width: 52ch; color: var(--ink); }

/* ---------- Filas con línea punteada (precios) ---------- */
.plain li { display: flex; align-items: baseline; gap: .6rem; padding: .55rem 0; font-size: 1rem; }
.plain li:not(:last-child) { border-bottom: 1px solid var(--line-soft); }
.plain b { white-space: nowrap; }
.plain em { font-family: var(--font-body); font-style: italic; font-weight: 400; font-size: .9em; color: var(--ink-soft); }
.leader { flex: 1; min-width: .75rem; align-self: flex-end; height: .72em; border-bottom: 1px dotted rgba(91, 81, 72, .55); transform: translateY(-.15em); }

/* ---------- Psicología ---------- */
.psico__head p { margin-top: 1rem; max-width: 56ch; color: var(--ink-soft); }
.psico__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem clamp(2rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.expert { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 1.75rem; }
.expert__top { display: flex; align-items: flex-start; gap: 1.1rem; }
.expert__photo { width: 84px; height: 84px; flex: none; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: var(--linen); }
.expert h3 { font-size: 1.28rem; line-height: 1.2; color: var(--ink); }
.expert__role { margin-top: .15rem; font-style: italic; font-size: .98rem; color: var(--slate); }
.expert__reviews { display: flex; align-items: center; gap: .35rem; margin-top: .1rem; font-size: .9rem; color: var(--ink-soft); }
.expert__reviews .stars { gap: 1px; margin-right: .3rem; }
.expert__reviews svg { width: .95rem; height: .95rem; fill: var(--gold); }
.expert__top > div { padding-top: .35rem; }
.expert__about { margin-top: 1.4rem; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.chips li { padding: .15rem .8rem; border: 1px solid var(--sage); border-radius: 999px; background: rgba(156, 165, 137, .2); font-size: .88rem; color: var(--olive-deep); }
.expert .plain { margin-top: 1.1rem; }
.expert__cta { margin-top: auto; padding-top: 1.75rem; }
.psico__note { margin-top: 3rem; font-size: .92rem; color: var(--ink-soft); max-width: none; }

@media (min-width: 981px) {
  .expert__top { min-height: 7.1rem; }
  .expert__about { min-height: 6.6rem; }
}

/* ---------- Promociones (carrusel) ---------- */
.promos { background: var(--linen); padding-inline: 0; overflow: hidden; }
.promos__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.promos__head p { margin-top: 1rem; max-width: 50ch; color: var(--ink-soft); }
.promos__nav { display: flex; gap: .6rem; flex: none; }
.promos__btn { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--olive); border-radius: 50%; background: transparent; color: var(--olive); cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.promos__btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promos__btn:hover:not(:disabled) { background: var(--olive); color: var(--linen); }
.promos__btn:disabled { opacity: .3; cursor: default; }

.promos__track {
  --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
  display: flex; gap: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: clamp(2rem, 4vw, 3rem) var(--edge) 1.5rem; scrollbar-width: none;
}
.promos__track::-webkit-scrollbar { display: none; }
.promos__track:focus-visible { outline-offset: -4px; }

.promo {
  position: relative; flex: 0 0 clamp(270px, 28vw, 360px); aspect-ratio: 4 / 5;
  border-radius: 6px; overflow: hidden; scroll-snap-align: start; isolation: isolate;
  color: var(--linen); background-size: cover; background-position: center;
}
.promo--cafe { background-color: #7E5330; background-image: url("../assets/promos/textura-cafe.webp"); }
.promo--verde { background-color: #66723F; background-image: url("../assets/promos/textura-verde.webp"); }

.promo__panel {
  position: absolute; z-index: 1; top: 6%; left: 7%; right: 7%; height: 54%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: .25rem;
  padding: 1.15rem 1rem; border-radius: 22px; background: rgba(240, 232, 220, .97); color: var(--ink); text-align: center;
}
.promo__title { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.1; color: var(--ink); text-wrap: balance; }
.promo__sub { font-size: 1rem; line-height: 1.3; color: var(--ink-soft); text-wrap: balance; }
.promo__big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 3.2vw, 2.7rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: lining-nums; }
.promo__note { max-width: 28ch; font-size: .84rem; line-height: 1.35; color: var(--ink-soft); }
.promo--note .promo__img--a { bottom: 15%; width: 54%; }
.promo--note .promo__img--b { bottom: 22%; width: 29%; }

.promo__photos { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.promo__img { position: absolute; border: 5px solid #fff; border-radius: 8px; box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .5); object-fit: cover; background: #ddd; }
.promo__img--a { left: 4%; bottom: 19%; width: 62%; aspect-ratio: 4 / 3; transform: rotate(-5deg); }
.promo__img--b { right: 5%; bottom: 27%; width: 31%; aspect-ratio: 1; transform: rotate(4deg); }

.promo__foot { position: absolute; z-index: 3; left: 0; right: 0; bottom: 4.5%; display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.promo__btn { display: inline-block; padding: .3rem 1.4rem; border: 1px solid rgba(244, 237, 226, .9); border-radius: 999px; font-family: var(--font-display); font-size: 1rem; line-height: 1.4; color: var(--linen); text-decoration: none; transition: background-color .2s, color .2s; }
.promo__btn:hover { background: var(--linen); color: var(--olive-deep); }
.promo__valid { max-width: none; font-size: .8rem; letter-spacing: .03em; color: rgba(244, 237, 226, .92); }

.promo--portada { background: var(--wood); }
.promo--portada::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(40, 29, 21, .88) 0%, rgba(40, 29, 21, .4) 42%, rgba(40, 29, 21, 0) 68%); }
.promo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.promo__mark { position: absolute; z-index: 2; top: 6%; left: 8%; width: 14%; height: auto; }
.promo__cover { position: absolute; z-index: 2; left: 8%; right: 8%; bottom: 7%; }
.promo__cover h3 { font-size: clamp(2.7rem, 4.4vw, 3.6rem); line-height: 1; color: var(--linen); }
.promo__cover .script { margin-top: .1em; font-size: clamp(2.6rem, 4.2vw, 3.5rem); color: var(--linen); max-width: none; }

.promos__ask { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); }
.promos__ask p { max-width: none; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; color: var(--olive); }

/* ---------- Carta de servicios ---------- */
.servicios__head { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: .25rem 1.5rem; margin-bottom: 2.25rem; }
.servicios__soft { font-size: 2.3rem; }
.servicios__note { grid-column: 1 / -1; color: var(--ink-soft); max-width: none; }

.carta { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: clamp(1.25rem, 3.5vw, 3rem); box-shadow: 0 18px 40px -28px rgba(47, 42, 37, .35); }
.tabs-wrap { margin: 0 calc(-1 * clamp(1.25rem, 3.5vw, 3rem)); padding: 0 clamp(1.25rem, 3.5vw, 3rem); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.tabs-wrap::-webkit-scrollbar { display: none; }
.tabs { display: flex; gap: clamp(1.25rem, 2.6vw, 2.25rem); min-width: max-content; }
.tab {
  background: none; border: 0; cursor: pointer; white-space: nowrap;
  padding: .85rem 0; margin-bottom: -1px; border-bottom: 2px solid transparent;
  font-family: var(--font-display); font-size: 1.12rem; color: var(--ink-soft);
  transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--gold-deep); }
.tab[aria-selected="true"] { color: var(--gold-deep); border-bottom-color: var(--gold); }

.panel { padding-top: 2.5rem; animation: panel-in .35s ease-out; }
.panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.group + .group { margin-top: 3rem; }
.group__title { font-size: 1.55rem; color: var(--olive); margin-bottom: 1.5rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line-soft); }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4.5rem); }
.group:only-child > .items, .panel > .group:first-child:last-of-type > .items { margin-top: 0; }

.item__head { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.item__min { font-style: italic; font-size: .95rem; color: var(--slate); }
.item__desc { margin-top: .4rem; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }
.item__note { margin-top: .6rem; font-size: .9rem; line-height: 1.5; font-style: italic; color: var(--ink-soft); }
.prices { margin-top: .9rem; }
.prices li, .rows li { display: flex; align-items: baseline; gap: .5rem; padding: .22rem 0; font-size: 1rem; }
.prices b, .rows b { font-size: 1.1rem; white-space: nowrap; }
.rows em { font-family: var(--font-body); font-style: italic; font-weight: 400; font-size: .85em; color: var(--ink-soft); }
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); }
.rows li { padding: .45rem 0; font-size: 1.05rem; }

.tech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); }
.tech dt { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; }
.tech dd { margin-top: .2rem; font-size: 1rem; line-height: 1.6; color: var(--ink-soft); }

.panel__cta { max-width: none; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.noscript { padding: 1.5rem 0; }

/* ---------- Opiniones ---------- */
.opiniones { background: var(--linen); }
.opiniones__head p { margin-top: .9rem; color: var(--ink-soft); }
.opiniones__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem clamp(2rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.quote { grid-column: span 4; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.quote blockquote p { font-style: italic; font-size: 1.12rem; line-height: 1.6; }
.quote figcaption { margin-top: 1rem; font-size: .92rem; color: var(--ink-soft); }
.quote--main { grid-column: span 8; border-top: 0; padding-top: 0; }
.quote--side { align-self: end; }
.quote--main blockquote p { max-width: none; font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.28; color: var(--gold-deep); text-wrap: balance; }
.quote--main figcaption { font-size: 1rem; }
.opiniones__more { margin-top: 3rem; }

/* ---------- Contacto ---------- */
.contacto { background: var(--linen); }
.contacto__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contacto__info h2 { margin-bottom: 1.25rem; }
.contacto__cta { margin: 2rem 0 2.5rem; }
.contacto__list > div { padding: 1rem 0; border-top: 1px solid var(--line-soft); }
.contacto__list dt { font-family: var(--font-display); font-size: 1.1rem; color: var(--olive); margin-bottom: .15rem; }
.contacto__map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 460px); border: 0; border-radius: 3px; background: var(--stone); filter: sepia(.18) saturate(.85); }
.contacto__map .link { display: inline-block; margin-top: 1rem; }

/* ---------- Pie ---------- */
.site-footer { background: var(--olive-deep); color: var(--linen); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.site-footer__grid { display: grid; grid-template-columns: 240px 1fr auto; gap: 2rem 4rem; align-items: center; }
.site-footer__grid img { width: 220px; height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.site-footer nav a { text-decoration: none; color: rgba(244, 237, 226, .9); }
.site-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.site-footer__tag { color: var(--sage); font-size: 2rem; }
.site-footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(244, 237, 226, .2); font-size: .9rem; color: rgba(244, 237, 226, .7); max-width: none; }
.site-footer :focus-visible { outline-color: var(--linen); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 40;
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.3rem .8rem 1.05rem;
  background: var(--olive); color: var(--linen); border-radius: 999px; text-decoration: none; font-weight: 600;
  box-shadow: 0 10px 28px -10px rgba(47, 42, 37, .55); transition: background-color .2s;
}
.wa-float:hover { background: var(--olive-deep); }
.has-observer .wa-float { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background-color .2s; }
.has-observer.past-hero .wa-float { opacity: 1; visibility: visible; transform: none; }
.wa-float svg { width: 1.45rem; height: 1.45rem; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .brand img { height: 48px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .25rem;
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 1rem var(--gutter) 2rem; background: var(--cream); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font-family: var(--font-display); font-size: 1.6rem; padding: .7rem 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav__cta { margin-top: 1.5rem; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .enso { width: min(78%, 400px); }
  .hero h1 { max-width: 14ch; }
  .nosotros__grid { grid-template-columns: 1fr; }
  .nosotros__photos { margin-inline: auto; max-width: 460px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values li:nth-child(3) { border-left: 0; }
  .values li:nth-child(n+3) { margin-top: 2.25rem; border-top: 1px solid var(--line-soft); }
  .psico__grid { grid-template-columns: 1fr; max-width: 640px; }
  .contacto__grid { grid-template-columns: 1fr; }
  .opiniones__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote, .quote--side { grid-column: span 1; align-self: start; }
  .quote--main { grid-column: 1 / -1; }
  .site-footer__grid { grid-template-columns: 1fr; justify-items: start; }
}

@media (max-width: 680px) {
  body { font-size: 1.0625rem; }
  .items, .rows, .tech { grid-template-columns: 1fr; }
  .opiniones__grid { grid-template-columns: 1fr; }
  .quote, .quote--side, .quote--main { grid-column: 1 / -1; }
  .servicios__head { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .values li, .values li + li { border-left: 0; padding-inline: 0; margin-top: 0; }
  .values li:nth-child(n+2) { border-top: 1px solid var(--line-soft); margin-top: 2rem; }
  .wa-float span { display: none; }
  .wa-float { padding: .95rem; }
  .hero__actions .btn { width: 100%; }
  .promos__head { align-items: flex-start; }
  .promos__nav { display: none; }
  .promos__ask .btn { width: 100%; }
}

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