@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin-200-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* =========================================================
   Espacio Vital — propuesta visual (ULi) · v4
   Dirección: editorial cálida · Montserrat de uso gráfico
   Fondos: blanco + arena con textura, alternados
   ========================================================= */

:root {
  /* Base */
  --white: #FDFCFA;
  --sand: #ECE4D7;          /* se multiplica con la textura */
  --sand-solid: #E6DDCF;    /* tono resultante aprox., para rellenos */
  --ink: #172126;
  --ink-2: #3A4448;
  --muted: #7A746B;
  --line: rgba(23, 33, 38, .14);

  /* Acentos de marca (desde el logo) */
  --petrol: #0E5C80;
  --teal: #0F9C97;
  --teal-light: #7FD0CB;

  /* Logo */
  --logo-navy: #145A8D;
  --logo-violet: #653895;
  --logo-teal: #12AFAF;
  --logo-gap: var(--white);

  --night: #14262D;

  /* Roles de color (se redefinen por paleta, ver abajo) */
  --accent: var(--ink);          /* botones sólidos, líneas fuertes */
  --accent-hover: var(--petrol);
  --deep: var(--night);          /* sección Equipo */
  --deep-2: var(--ink);          /* footer */
  --deep-card: #1d333b;
  --vital: var(--petrol);        /* palabra "vital" del hero */
  --violet: #653895;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1360px;
  --gutter: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 76px;
}

/* Paleta con morado (propuesta v4). La paleta "original" usa los valores de :root. */
[data-palette="morado"] {
  --ink: #221B2E;                /* tinta con un toque de berenjena: menos duro que el negro */
  --ink-2: #463F52;
  --line: rgba(34, 27, 46, .14);
  --accent: #4A2B6B;
  --accent-hover: #653895;
  --deep: #2B1C3F;
  --deep-2: #241733;
  --deep-card: #3a2a52;
  --vital: #653895;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
/* width/height en el HTML reservan la proporción; la altura real la define el CSS de cada componente */
:where(img[width][height]) { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
::selection { background: var(--teal); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Fondos ---------- */
.bg-white { background: var(--white); }
.bg-sand, .form {
  background-color: var(--sand);
  background-image: url("../assets/img/_resp/textura-q70.webp");
  background-size: 1400px auto;
  background-repeat: repeat;
  background-blend-mode: multiply;
}

/* ---------- Tipos utilitarios ---------- */
.label {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.thin { font-weight: 200; }
.title {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1; letter-spacing: -.035em; font-weight: 800;
}
.title .thin { display: block; letter-spacing: -.03em; }
.statement {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.12; font-weight: 300; letter-spacing: -.025em;
  text-wrap: balance;
}
.statement strong { font-weight: 800; }

/* ---------- Notas de propuesta ---------- */
/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .9em;
  height: 52px; padding: 0 26px;
  font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn--solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--big { height: 60px; padding: 0 34px; }
.link {
  background: none; border-top: 0; border-left: 0; border-right: 0; color: inherit; font-family: var(--font); cursor: pointer;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 4px; white-space: nowrap;
}
.link:hover { color: var(--petrol); }

/* ---------- Marcos de imagen ---------- */
.frame { position: relative; overflow: hidden; background: var(--sand-solid); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame[data-parallax] img { height: 116%; margin-top: -8%; will-change: transform; }
.frame--tall { aspect-ratio: 9 / 14; }
.frame--portrait { aspect-ratio: 4 / 5; }
.caption { margin-top: 12px; font-size: 12px; color: var(--muted); letter-spacing: .02em; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(253, 252, 250, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-hidden:focus-within { transform: none; transition: none; }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 12px; --logo-gap: transparent; }
.brand__mark { width: 46px; height: 27px; }
.brand__word {
  font-size: 11px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; line-height: 1.25;
  border-left: 1px solid var(--line); padding-left: 12px;
}
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a, .nav__cta { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { border: 1px solid var(--accent); color: var(--accent); background: none; font-family: var(--font); cursor: pointer; padding: 11px 18px; transition: background .3s, color .3s; }
.nav__cta:hover { background: var(--accent); color: var(--white); }
.nav__burger { display: none; }
.menu { display: none; }

/* ---------- HERO ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 56px)); }
.hero__meta { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }

.hero__head {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  margin-top: clamp(10px, 2vw, 24px);
  padding-bottom: clamp(40px, 5vw, 72px);
}
.hero__title { display: contents; }
.hero__word {
  display: inline-flex; overflow: hidden;
  font-size: clamp(3.6rem, 12.4vw, 12.2rem);
  line-height: .9; letter-spacing: -.055em;
  /* aire para que el remate de la última letra no se recorte */
  padding: 0 .12em .08em 0; margin-right: -.12em;
}
.hero__word--heavy { grid-column: 1 / -1; grid-row: 1; justify-self: start; font-weight: 800; margin-left: -.05em; }
.hero__word--light {
  /* "vital" empieza justo donde termina la "o" de "Espacio" (≈ 3,7 em), en la línea de abajo */
  grid-column: 1 / -1; grid-row: 2; justify-self: start; align-self: start; margin-left: 3.74em;
  font-weight: 200; color: var(--vital); letter-spacing: -.05em; margin-top: -.12em;
}
.hero__word .ch { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-loaded .hero__word .ch { transform: none; }
.hero__intro { grid-column: 1 / span 5; grid-row: 2; align-self: end; }
.hero__lead { font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.5; color: var(--ink-2); margin: 0 0 22px; max-width: 32ch; font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero__media { margin: 0; position: relative; }
.hero__frame {
  height: clamp(420px, 86vh, 920px);
  overflow: hidden;
  clip-path: inset(0 var(--gutter) 0 var(--gutter));
  transition: clip-path 1.6s var(--ease) .5s;
}
.is-loaded .hero__frame { clip-path: inset(0 0 0 0); }

/* ---------- Franja en movimiento ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: clamp(22px, 3vw, 36px) 0; }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-size: clamp(2rem, 4.6vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05;
  white-space: nowrap; padding: 0 .45em;
}
.marquee span.thin { font-weight: 200; color: var(--petrol); }
.marquee i { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(64px, 7vw, 104px) 0; }
.sec-head { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(40px, 5.5vw, 76px); }
.sec-head__num { font-size: 13px; font-weight: 800; color: var(--teal); letter-spacing: .05em; }
.sec-head__rule { flex: 1; height: 1px; background: var(--line); }
.sec-head--light .label { color: rgba(253,252,250,.6); }
.sec-head--light .sec-head__rule { background: rgba(253,252,250,.18); }

/* EL ESPACIO: más pegado a la franja y a Servicios */
.espacio { padding-top: clamp(48px, 5vw, 80px); }
.espacio__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.espacio__text { grid-column: 1 / span 6; padding-top: 12px; }
.espacio__text p { margin-top: 32px; max-width: 42ch; color: var(--ink-2); font-size: 1.05rem; }
.espacio__video { grid-column: 7 / span 3; margin: 0; }
.espacio__photo { grid-column: 10 / span 3; margin: 100px 0 0; }

/* 02 SERVICIOS */
.servicios__title { margin-bottom: clamp(40px, 5vw, 72px); }
.svc { list-style: none; margin: 0; padding: 0; position: relative; border-top: 1px solid var(--accent); }
.svc__row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 130px; gap: 24px; align-items: center;
  padding: clamp(24px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line);
}
.svc__num { font-size: 12px; font-weight: 800; color: var(--teal); letter-spacing: .1em; }
.svc__name {
  font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.04em; font-weight: 800;
  transition: transform .6s var(--ease), color .4s;
}
.svc__desc { margin: 0; color: var(--ink-2); max-width: 40ch; }
.svc__link { justify-self: end; background: none; border: 0; padding: 8px 0; color: inherit; font-family: var(--font); cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.svc__link span { display: inline-block; transition: transform .35s var(--ease); }
.svc__row:hover .svc__link span { transform: translateX(5px); }
.svc__row:hover .svc__name { transform: translateX(12px); color: var(--accent-hover); }
.svc__img { display: none; }

.gift {
  margin-top: clamp(48px, 6vw, 88px);
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: var(--white); padding: 20px;
}
.gift__img { aspect-ratio: 1; overflow: hidden; }
.gift__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .8s var(--ease); }
.gift:hover .gift__img img { transform: scale(1.05); }
.gift__text { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-right: clamp(0px, 2vw, 28px); }
.gift__text .label { width: 100%; }
.gift__title { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }

/* 03 COMUNIDAD */
.comunidad__intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); }

/* Collage con capas: posiciones en % sobre un lienzo de proporción fija */
.collage { position: relative; aspect-ratio: 15 / 8; margin-top: 8px; }
.c-item { position: absolute; margin: 0; will-change: transform; }
.c-inner {
  overflow: hidden; background: var(--sand-solid);
  border: 6px solid var(--white);
  box-shadow: 0 30px 60px -28px rgba(23,33,38,.35), 0 2px 6px rgba(23,33,38,.06);
  transition: box-shadow .6s var(--ease);
}
.c-inner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.c-item:hover { z-index: 10 !important; }
.c-item:hover .c-inner img { transform: scale(1.05); }
.c-item:hover .c-inner { box-shadow: 0 40px 80px -30px rgba(23,33,38,.45), 0 2px 6px rgba(23,33,38,.06); }
.c-1 { left: 0;   top: 3%;  width: 34%; z-index: 1; }
.c-1 .c-inner { aspect-ratio: 4 / 5; }
.c-2 { left: 25%; top: 55%; width: 30%; z-index: 3; }
.c-2 .c-inner { aspect-ratio: 3 / 2; }
.c-3 { left: 45%; top: 0;   width: 20%; z-index: 2; }
.c-3 .c-inner { aspect-ratio: 9 / 15; }
.c-4 { left: 61%; top: 48%; width: 18%; z-index: 4; }
.c-4 .c-inner { aspect-ratio: 3 / 4; }
.c-5 { left: 81%; top: 10%; width: 19%; z-index: 2; }
.c-5 .c-inner { aspect-ratio: 3 / 4; }

/* 04 EQUIPO */
.equipo { background: var(--deep); color: var(--white); }
.equipo__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.equipo__title {
  grid-column: 1 / span 7; display: flex; flex-direction: column;
  font-size: clamp(3.2rem, 8.6vw, 8.2rem); line-height: .9; letter-spacing: -.05em;
}
.equipo__title .thin { color: var(--teal-light); }
.equipo__lead { grid-column: 9 / span 4; margin: 0; font-size: 1.2rem; line-height: 1.45; font-weight: 500; color: rgba(253,252,250,.85); }
.team {
  list-style: none; padding: 0; margin: clamp(56px, 7vw, 96px) 0 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
}
.team li:nth-child(even) { margin-top: 56px; }

/* 05 VISITA */
.visita__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.visita__info { grid-column: 1 / span 5; }
.address { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.address strong { white-space: nowrap; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: .95; letter-spacing: -.045em; font-weight: 800; }
.address .thin { font-size: clamp(1.2rem, 1.9vw, 1.7rem); line-height: 1.25; letter-spacing: -.02em; color: var(--ink-2); max-width: 18ch; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 14px 0; border-top: 1px solid var(--line); text-align: left; font-size: 15px; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours th { font-weight: 500; color: var(--ink-2); }
.hours td { text-align: right; font-weight: 800; letter-spacing: .02em; }
.visita__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.visita__media { grid-column: 7 / span 6; position: relative; }
.map { aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.2) contrast(.95) brightness(1.03); }

/* 06 CONTACTO */
.contacto__title {
  font-size: clamp(3rem, 8.4vw, 8rem); line-height: .86; letter-spacing: -.055em;
  margin: 0 0 clamp(28px, 3.5vw, 48px) -.04em; white-space: nowrap;
}
.contacto__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.contacto__head { grid-column: 1 / span 5; }
.contacto__intro { color: var(--ink-2); max-width: 30ch; font-size: 1.2rem; line-height: 1.45; font-weight: 500; }
.direct { list-style: none; padding: 0; margin: 36px 0 0; }

.form { grid-column: 7 / span 6; align-self: start; padding: clamp(24px, 3.4vw, 48px); }

.field { position: relative; margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(23,33,38,.25);
  padding: 28px 0 10px; border-radius: 0; outline: none; resize: vertical; transition: border-color .3s;
}
.field textarea { min-height: 100px; }
.field label {
  position: absolute; left: 0; top: 28px; font-size: 15px; color: var(--muted);
  pointer-events: none; transform-origin: left top;
  transition: transform .35s var(--ease), color .3s, letter-spacing .3s;
}
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px) scale(.72); color: var(--petrol); letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
}
.field.is-error input { border-bottom-color: #B4442F; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 28px; }

/* ---------- FOOTER ---------- */

/* ---------- Flotantes ---------- */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--petrol); color: #fff; box-shadow: 0 12px 30px -10px rgba(14,92,128,.6);
  transition: transform .4s var(--ease), background .3s;
}
.wa svg { width: 26px; height: 26px; }
.wa:hover { transform: translateY(-3px); }

/* ---------- Revelado ---------- */
.reveal { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.will-reveal:not(.is-in) { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; }
.team li.reveal:nth-child(2) { transition-delay: .06s; }
.team li.reveal:nth-child(3) { transition-delay: .12s; }
.team li.reveal:nth-child(4) { transition-delay: .18s; }
.team li.reveal:nth-child(5) { transition-delay: .24s; }
.team li.reveal:nth-child(6) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero__word .ch { opacity: 1; transform: none; transition: none; }
  .hero__frame { transition: none; clip-path: none; }
  .marquee__track { animation: none; }
  .c-item { transform: none !important; }
  .frame[data-parallax] img { transform: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { gap: 20px; }
  .hero__intro { grid-column: 1 / span 6; }
  .svc__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc__link { grid-column: 1 / -1; justify-self: start; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .team li:nth-child(even) { margin-top: 0; }
  .team li:nth-child(3n+2) { margin-top: 40px; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    margin-left: auto; width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer;
  }
  .nav__burger span { display: block; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
  .menu-open .nav__burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-open .nav__burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .menu-open .nav { background: var(--white); }
  .menu {
    display: block; position: fixed; inset: 0; z-index: 40; background: var(--white);
    padding-top: calc(var(--nav-h) + 24px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .menu { opacity: 1; visibility: visible; }
  .menu nav { display: flex; flex-direction: column; }
  .menu a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
  .menu a i { font-style: normal; font-size: 12px; color: var(--teal); letter-spacing: .05em; }

  .hero__place { display: none; }
  .hero__head { grid-template-columns: 1fr; }
  .hero__word--light { grid-column: 1; grid-row: 2; justify-self: end; margin-left: 0; }
  .hero__intro { grid-column: 1; grid-row: 3; min-width: 0; padding-top: 28px; }
  .hero__frame { height: 62vh; clip-path: inset(0 0 0 0); }

  .espacio__grid, .visita__grid, .contacto__grid, .equipo__grid { grid-template-columns: 1fr 1fr; }
  .espacio__text, .visita__info, .visita__media, .contacto__head, .form, .equipo__title, .equipo__lead { grid-column: 1 / -1 !important; }
  .espacio__text { margin-bottom: 24px; }
  .espacio__video { grid-column: 1 / 2; }
  .espacio__photo { grid-column: 2 / 3; margin-top: 64px; }
  .equipo__lead { margin-top: 24px; }

  .svc__row { grid-template-columns: 1fr; gap: 12px; }
  .svc__num { display: none; }
  .svc__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; order: -1; }
  .svc__link { grid-column: auto; }
  .svc__row:hover .svc__name { transform: none; }
  .gift { grid-template-columns: 110px 1fr; padding: 14px; }

  .comunidad__intro { flex-direction: column; align-items: flex-start; }
  .collage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .c-item { position: static; width: auto; transform: none !important; }
  .c-1, .c-2 { grid-column: 1 / -1; }
  .c-4 { margin-top: 32px; }
  .c-inner { border-width: 4px; }

  .team { gap: 12px; }

  .visita__media { padding-bottom: 0; margin-top: 32px; }

  .form { margin-top: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
      .wa { right: 14px; bottom: 14px; }
}

/* =========================================================
   v4 · Componentes nuevos
   ========================================================= */

/* Botón con ícono de WhatsApp */
.btn__wa { width: 18px; height: 18px; flex: none; }
button.btn { font-family: var(--font); }

/* ---------- Carrusel de portada ---------- */
.slides { list-style: none; margin: 0; padding: 0; position: relative; width: 100%; height: 100%; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  transform: scale(1.06); transition: transform 7s linear;
}
.slide.is-active img { transform: scale(1); }
.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3;
  display: flex; align-items: center; gap: 14px;
}
.dots { display: flex; gap: 8px; }
.dot {
  width: 34px; height: 23px; padding: 10px 0; border: 0; cursor: pointer;
  background: rgba(253,252,250,.5); background-clip: content-box;
  transition: background-color .4s var(--ease), width .4s var(--ease);
}
.dot.is-active { background-color: var(--white); width: 54px; }
.hero__pause {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(253,252,250,.6);
  background: rgba(23,20,30,.25); display: grid; place-items: center; cursor: pointer;
}
.i-pause { width: 10px; height: 11px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero__pause[aria-pressed="true"] .i-pause { width: 0; height: 0; border: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.dot:focus-visible, .hero__pause:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.hero__note { margin-left: auto; background: rgba(253,252,250,.92); padding: 8px 12px; }
.hero__frame { position: relative; }

/* ---------- Diferenciadores ---------- */
.why {
  list-style: none; margin: clamp(56px, 6vw, 88px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.why__item { padding: 32px 28px 8px 0; position: relative; }
.why__item + .why__item { padding-left: 28px; border-left: 1px solid var(--line); }
.why__big {
  display: block; font-size: 3.4rem; line-height: 1; font-weight: 200; letter-spacing: -.05em;
  color: var(--vital); height: 46px; margin-bottom: 20px;
}
.why__big sup { font-size: .5em; font-weight: 600; vertical-align: top; margin-left: 2px; }
.why__icon {
  display: block; width: 46px; height: 46px; margin-bottom: 20px;
  fill: none; stroke: var(--vital); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.why__item h3 { font-size: 1.05rem; letter-spacing: -.01em; margin: 0 0 8px; }
.why__item p { margin: 0 0 10px; color: var(--ink-2); font-size: .95rem; line-height: 1.5; max-width: 26ch; }

/* ---------- Servicios ---------- */
.svc__link:focus-visible, .link:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 4px; }

/* ---------- Google ---------- */
.google { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.google__stars { color: var(--teal); letter-spacing: .25em; font-size: 15px; }
.google__text { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.google:hover .google__text { color: var(--accent-hover); }

/* ---------- Testimonios (marcadores) ---------- */
.quote {
  display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px;
  background-color: var(--sand); background-image: url("../assets/img/_resp/textura-q70.webp");
  background-size: 1400px auto; background-blend-mode: multiply;
}
.quote__mark { font-size: 4rem; line-height: .6; font-weight: 800; color: var(--vital); height: 30px; }

/* ---------- Equipo: tarjetas interactivas ---------- */
.member {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 3 / 4; overflow: hidden; background: var(--deep-card); color: var(--white);
  font-family: var(--font); text-align: left;
}
.member img { width: 100%; height: 100%; object-fit: cover; transition: filter .6s var(--ease), transform 1s var(--ease); }
/* Vívidas por defecto; al pasar el cursor se suavizan un poco y aparece el nombre */
.member:hover img, .member:focus-visible img, .member.is-open img { filter: saturate(.7) brightness(.92); transform: scale(1.04); }
.member__info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px;
  display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(to top, rgba(28,18,40,.88), rgba(28,18,40,0));
  opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.member__info strong { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.member__info span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); }
.member:hover .member__info, .member:focus-visible .member__info, .member.is-open .member__info { opacity: 1; transform: none; }
.member:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; }

/* ---------- Visítanos: horarios por área ---------- */
.address { margin-bottom: 10px; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 36px 0 10px; }
.hours__title { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hours td { color: var(--muted); font-weight: 600; }

/* ---------- Contacto ---------- */
.direct { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 32px 0 22px; padding: 0; }
.direct__wa {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 15px; font-weight: 800; text-align: left; cursor: pointer;
  transition: border-color .3s, background .3s, color .3s;
}
.direct__wa svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.direct__wa small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.direct__wa:hover { border-color: var(--accent); }
.direct__wa:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }
.form__status { margin: 24px 0 0; padding: 16px 18px; background: rgba(253,252,250,.75); border-left: 2px solid var(--accent); font-weight: 600; font-size: 14px; }

/* ---------- Footer ---------- */

/* ---------- WhatsApp: flotante + selector ---------- */
/* Flotante en el verde de WhatsApp, más grande */
.wa { width: 64px; height: 64px; border: 0; cursor: pointer; background: #25D366; color: #fff; box-shadow: 0 14px 32px -10px rgba(18,140,70,.6); }
.wa svg { width: 32px; height: 32px; }
.wa:hover { background: #1EBE5A; }
.wa:focus-visible { outline: 2px solid #128C4B; outline-offset: 4px; }
.wa-panel {
  position: fixed; right: 22px; bottom: 100px; z-index: 70;
  width: min(260px, calc(100vw - 28px));
  background: var(--white); color: var(--ink);
  box-shadow: 0 30px 70px -20px rgba(30,20,45,.4), 0 0 0 1px var(--line);
  padding: 10px; transform-origin: bottom right;
  animation: wa-in .35s var(--ease);
}
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.wa-panel__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Herramientas de propuesta ---------- */
/* ---------- Responsive v4 ---------- */
@media (max-width: 1080px) {
  .why { grid-template-columns: 1fr 1fr; }
  .why__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .why__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  }
@media (max-width: 860px) {
  .hero__note { display: none; }
  .hero__controls { bottom: 14px; }
  .why { grid-template-columns: 1fr; }
  .why__item, .why__item + .why__item { padding: 26px 0 10px; border-left: 0; }
  .why__item + .why__item { border-top: 1px solid var(--line); }
  .comunidad__intro .google { align-items: flex-start; text-align: left; }
    .hours-grid { grid-template-columns: 1fr; gap: 18px; }
  .direct { grid-template-columns: 1fr; }
  .wa-panel { right: 14px; bottom: 88px; }
  .wa { width: 58px; height: 58px; }
  #paletteLabel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide img { transition: none; transform: none; }
  .wa-panel { animation: none; }
}

/* Botones del hero un poco más compactos */
.hero__actions .btn { height: 46px; padding: 0 22px; font-size: 11px; }
.hero__actions .btn__wa { width: 16px; height: 16px; }

/* Selector de WhatsApp: solo Pilates / Kinesiología */
.wa-panel__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wa-opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 16px; border: 1px solid var(--line); background: none; color: var(--ink);
  font-family: var(--font); font-size: 15px; font-weight: 800; text-align: left; cursor: pointer;
  transition: border-color .3s, background .3s;
}
.wa-opt svg { width: 22px; height: 22px; color: #25D366; flex: none; }
.wa-opt i { margin-left: auto; font-style: normal; color: var(--muted); transition: transform .3s var(--ease); }
.wa-opt:hover, .wa-opt.is-suggested { border-color: #25D366; background: rgba(37,211,102,.06); }
.wa-opt:hover i { transform: translateX(4px); }
.wa-opt:focus-visible { outline: 2px solid #128C4B; outline-offset: 2px; }

/* Flechas del carrusel */
.hero__arrow {
  position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 1px solid rgba(253,252,250,.55); background: rgba(253,252,250,.22); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--font); font-size: 20px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.hero__arrow--prev { left: calc(var(--gutter) + 8px); }
.hero__arrow--next { right: calc(var(--gutter) + 8px); }
.hero__arrow:hover { background: rgba(253,252,250,.9); color: var(--ink); }
.hero__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 860px) {
  .hero__arrow { width: 42px; height: 42px; font-size: 17px; }
  .hero__arrow--prev { left: 12px; } .hero__arrow--next { right: 12px; }
}

/* Nuestro espacio */
.espacio__title { margin-bottom: clamp(22px, 2.6vw, 36px); }
.espacio__text .statement { margin: 0; max-width: 24ch; font-size: clamp(1.4rem, 2.3vw, 2.1rem); color: var(--ink); }

/* Nuestro espacio: rectángulos verticales con la proporción de las fotografías */
.espacio__grid { align-items: start; }
.espacio__text { align-self: center; padding-top: 0; }
.espacio__photo { margin: 0; }
.espacio__video .frame, .espacio__photo .frame {
  aspect-ratio: 15 / 22;
  border-radius: 0;
}
@media (max-width: 860px) {
  .espacio__photo { margin-top: 0; }
}

/* =========================================================
   v5 · ajustes de Seba (29/10)
   ========================================================= */

/* Servicios: título en morado */
.servicios__title { color: var(--vital); }

/* Gift card: fondo difuminado con los colores del loto */
.gift { position: relative; overflow: hidden; isolation: isolate; }
.gift__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.gift__glow span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.gift__glow span:nth-child(1) { width: 46%; aspect-ratio: 1; right: 8%;  top: -60%; background: #653895; }
.gift__glow span:nth-child(2) { width: 38%; aspect-ratio: 1; right: -8%; bottom: -70%; background: #12AFAF; opacity: .45; }
.gift__glow span:nth-child(3) { width: 34%; aspect-ratio: 1; left: 28%;  bottom: -80%; background: #145A8D; opacity: .35; }
@media (prefers-reduced-motion: no-preference) {
  .gift__glow span { animation: glow 14s ease-in-out infinite alternate; }
  .gift__glow span:nth-child(2) { animation-duration: 18s; }
  .gift__glow span:nth-child(3) { animation-duration: 22s; }
}
@keyframes glow { to { transform: translate(-8%, 12%) scale(1.12); } }

/* Testimonios */
.quotes { list-style: none; margin: clamp(72px, 8vw, 120px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quote { justify-content: space-between; }
.quote__text { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.quote__who { margin: 18px 0 0; display: flex; flex-direction: column; gap: 2px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.quote__who strong { font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 800; }

/* Equipo: título más pequeño */
.equipo__title { font-size: clamp(2.6rem, 5.4vw, 5.2rem); }

/* Visítanos: más compacto, mapa enmarcado */
.visita { padding: clamp(56px, 5.5vw, 84px) 0; }
.address strong { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.address .thin { font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.hours-grid { margin-top: 26px; }
.hours th, .hours td { padding: 11px 0; font-size: 14px; }
.hours td { color: var(--ink); font-weight: 700; }
.visita__actions { margin-top: 26px; }
.visita__media { align-self: center; }
.map {
  aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: 0 24px 50px -26px rgba(43,28,63,.35), 0 0 0 1px rgba(43,28,63,.08);
}

/* Contacto */
.contacto__title { font-size: clamp(2.6rem, 6vw, 5.6rem); }
.direct__wa { background: #25D366; border-color: #25D366; color: #fff; }
.direct__wa svg { color: #fff; }
.direct__wa small { color: rgba(255,255,255,.85); }
.direct__wa:hover { background: #1EBE5A; border-color: #1EBE5A; }
.ig {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 4px;
  padding: 10px 22px 10px 12px; border-radius: 999px;
  color: var(--ink); background: var(--white);
  border: 1.5px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)), linear-gradient(120deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4);
  background-origin: border-box; background-clip: padding-box, border-box;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ig svg {
  width: 34px; height: 34px; padding: 7px; border-radius: 50%; flex: none; color: #fff;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF);
}
.ig span { font-size: 14px; font-weight: 800; }
.ig em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.ig:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(129,52,175,.5); }
.ig:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }

/* Footer: una línea delgada */
.footer { background: var(--deep-2); color: rgba(253,252,250,.72); padding: 22px 0; --logo-gap: var(--deep-2); font-size: 13px; }
.footer__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 32px; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.footer__mark { width: 40px; height: 24px; }
.footer__word { font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em; }
.footer__word span { font-weight: 600; color: var(--teal-light); }
.footer__links { display: flex; gap: 20px; margin-left: auto; }
.footer__links a, .footer__links button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; transition: color .3s; }
.footer__links a:hover, .footer__links button:hover { color: var(--teal-light); }
.footer__copy { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.footer__copy a { border-bottom: 1px solid rgba(253,252,250,.4); }
@media (max-width: 860px) {
  .footer { padding: 22px 0 90px; }
  .footer__links { margin-left: 0; }
  .footer__bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .map { border-width: 5px; border-radius: 16px; }
}
/* Ajustes finos v5 */
.gift__glow span { filter: blur(80px); opacity: .28 !important; }
.gift__glow span:nth-child(1) { right: 2%; top: -90%; }
.gift__glow span:nth-child(2) { right: -14%; bottom: -95%; }
.gift__glow span:nth-child(3) { left: 46%; bottom: -110%; }
.visita__info { grid-column: 1 / span 6; }
.visita__media { grid-column: 8 / span 5; }
.hours th, .hours td { white-space: nowrap; }
.hours-grid { gap: 32px; }

/* v6 · ajustes de Seba */
.espacio__accent { color: var(--vital); }
.espacio__title { font-size: clamp(2.8rem, 5.8vw, 5.4rem); }
.gift__glow span { opacity: .16 !important; filter: blur(90px); }
.form__title {
  margin: 0 0 6px; padding-bottom: 18px; border-bottom: 1px solid rgba(34,27,46,.14);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink);
}
.form { padding-top: clamp(28px, 3.6vw, 52px); }
.contacto__grid { align-items: start; }

/* =========================================================
   v7 · referencias (franja superior, banner, reseñas, Instagram)
   ========================================================= */
:root { --top-h: 38px; }
html { scroll-padding-top: calc(var(--nav-h) + var(--top-h) + 8px); }

/* Franja superior: gift card */
.nav { height: auto; }
.nav__inner { height: var(--nav-h); }
.topbar {
  height: var(--top-h); display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #487985; color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .01em;
}
.topbar__sep { opacity: .6; }
.topbar button {
  background: none; border: 0; padding: 0; color: #fff; font: inherit; font-weight: 700; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.topbar button:hover { text-decoration-thickness: 2px; }
.topbar button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero { padding-top: calc(var(--nav-h) + var(--top-h) + clamp(24px, 3.4vw, 48px)); }
.menu { padding-top: calc(var(--nav-h) + var(--top-h) + 24px); }

/* Servicios: encabezado sobre foto en primer plano */
.servicios { padding-top: clamp(48px, 5vw, 80px); }
.svc-banner {
  position: relative; overflow: hidden; margin-bottom: clamp(36px, 4.5vw, 64px);
  aspect-ratio: 16 / 6; min-height: 260px; display: grid; align-items: center;
}
.svc-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.svc-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,28,63,.78) 0%, rgba(43,28,63,.45) 55%, rgba(43,28,63,.15) 100%); }
.svc-banner__text { position: relative; z-index: 1; padding: 0 clamp(24px, 5vw, 72px); }
.svc-banner .label { color: rgba(255,255,255,.75); }
.svc-banner .servicios__title { color: #fff; margin: 14px 0 0; }
.svc-banner .servicios__title .thin { color: #D9C8EE; }

/* Reseñas de Google */
.greviews {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 28px;
  padding: 22px 28px; background: #EFEBE4; border-radius: 16px;
}
.greviews__brand { display: flex; align-items: baseline; gap: 8px; grid-column: 1; }
.greviews__logo { font-family: "Product Sans", Arial, sans-serif; font-size: 28px; font-weight: 500; letter-spacing: -.02em; }
.greviews__logo b { font-weight: 600; }
.greviews__word { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.greviews__score { grid-column: 1; display: flex; align-items: center; gap: 10px; }
.greviews__score strong { font-size: 24px; font-weight: 800; }
.greviews__stars { color: #FBBC05; font-size: 24px; letter-spacing: 2px; }
.greviews__count { color: var(--muted); font-size: 14px; }
.greviews__btn {
  grid-column: 3; grid-row: 1 / span 2; justify-self: end;
  padding: 16px 30px; border-radius: 999px; background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15px; transition: background .3s;
}
.greviews__btn:hover { background: var(--accent-hover); }
.greviews__btn:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }
.comunidad__intro { flex-direction: column; align-items: stretch; gap: 28px; }

/* Tarjetas de reseñas de Google */
.reviews {
  margin-top: clamp(64px, 7vw, 104px); padding: clamp(36px, 4vw, 56px) 0; overflow: hidden;
  display: flex; flex-direction: column; gap: 22px;
  background-color: var(--sand); background-image: url("../assets/img/_resp/textura-q70.webp");
  background-size: 1400px auto; background-blend-mode: multiply;
}
.rv {
  position: relative; width: 420px; flex: none;
  display: grid; grid-template-columns: 58px 1fr; column-gap: 18px; align-items: start;
  padding: 24px 26px; background: var(--white); border-radius: 20px;
  box-shadow: 0 18px 40px -26px rgba(43,28,63,.35);
}
.rv__av {
  grid-row: 1 / span 2; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: .02em;
}
.rv--v .rv__av { background: #653895; } .rv--t .rv__av { background: #0B7F7B; } /* 4,84:1 con blanco (antes #0F9C97, 3,37:1) */ .rv--n .rv__av { background: #145A8D; }
.rv p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.rv__who { margin-top: 10px; font-size: 12px; color: var(--muted); }
.rv__who strong { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .reviews { overflow-x: auto; } }

/* Mapa a color */
.map iframe { filter: none; }

/* Instagram: grilla */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; max-width: 460px; }
.ig-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; transition: transform .5s var(--ease), filter .5s; }
.ig-grid:hover img { filter: saturate(.85); }
.ig-grid img:hover { transform: scale(1.04); filter: none; }

@media (max-width: 860px) {
  :root { --top-h: 34px; }
  .topbar { font-size: 12px; } .topbar > span:first-child, .topbar__sep { display: none; }
  .svc-banner { aspect-ratio: 4 / 3; }
  .greviews { grid-template-columns: 1fr; padding: 20px; }
  .greviews__btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
  .rv { width: 300px; }
  .ig-grid { max-width: none; }
}
/* Banner centrado, como la referencia */
.svc-banner { justify-items: center; text-align: center; }
.svc-banner::after { background: rgba(43,28,63,.58); }
.svc-banner .servicios__title .thin { display: block; }
.comunidad { padding-bottom: 0; }

/* =========================================================
   v4 · ajustes 30/10: más compacto en servicios, comunidad y equipo
   ========================================================= */
/* Banner de servicios más bajo */
.svc-banner { aspect-ratio: 5 / 1; min-height: 210px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.svc-banner .servicios__title { margin-top: 8px; font-size: clamp(2.2rem, 4.2vw, 4rem); }

/* Gift card: menos aire arriba y abajo */
.gift { margin-top: clamp(28px, 3.4vw, 48px); }
.servicios { padding-bottom: clamp(40px, 4.2vw, 64px); }

/* Comunidad: todo más chico para que quepa en una pantalla */
.comunidad { padding-top: clamp(44px, 4.4vw, 68px); }
.comunidad .sec-head { margin-bottom: clamp(20px, 2.4vw, 32px); }
.comunidad .title { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.comunidad__intro { gap: 18px; margin-bottom: clamp(24px, 2.8vw, 40px); }
.greviews { padding: 14px 22px; }
.greviews__logo { font-size: 22px; } .greviews__word { font-size: 18px; }
.greviews__score strong { font-size: 19px; } .greviews__stars { font-size: 19px; }
.greviews__btn { padding: 12px 24px; font-size: 14px; }
.collage { aspect-ratio: 15 / 6; max-width: 1080px; margin: 0 auto; }

/* Testimonios: más anchos y más lentos */
.reviews { margin-top: clamp(40px, 4.4vw, 64px); padding: clamp(28px, 3vw, 44px) 0; gap: 18px; }
.rv { width: 560px; padding: 22px 28px; }
.rv p { font-size: 15.5px; }

/* Equipo: más compacto */
.equipo { padding: clamp(56px, 5.5vw, 84px) 0; }
.equipo .sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
.equipo__title { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
.equipo__lead { font-size: 1.05rem; }
.team { max-width: 1040px; margin: clamp(32px, 4vw, 56px) auto 0; gap: 14px; }
.team li:nth-child(even) { margin-top: 36px; }

@media (max-width: 860px) {
  .svc-banner { aspect-ratio: auto; min-height: 200px; }
  .collage { aspect-ratio: auto; }
  .rv { width: 320px; }
  .team li:nth-child(even) { margin-top: 0; }
}
/* Comunidad: título y reseñas de Google en una misma fila; collage más bajo */
.comunidad__intro { flex-direction: row; align-items: center; justify-content: space-between; }
.comunidad__intro .greviews { flex: 0 1 560px; }
.collage { max-width: 900px; aspect-ratio: 15 / 5.6; }
.reviews { margin-top: clamp(32px, 3.4vw, 48px); padding: 24px 0; gap: 14px; }
.rv { padding: 18px 26px; }
@media (max-width: 860px) { .comunidad__intro { flex-direction: column; align-items: stretch; } .comunidad__intro .greviews { flex: none; } }
.collage { aspect-ratio: 15 / 6.9; }
@media (max-width: 860px) {
  .gift { grid-template-columns: 1fr; }
  .gift__img { max-width: 140px; }
  .gift .link { white-space: normal; }
}

/* 30/10 · equipo con fotos más grandes; visítanos y contacto un poco más compactos */
.team { max-width: 1240px; gap: 18px; }
.team li:nth-child(even) { margin-top: 44px; }
.visita { padding: clamp(48px, 4.6vw, 72px) 0; }
.contacto { padding: clamp(52px, 5vw, 80px) 0; }
@media (max-width: 860px) { .team li:nth-child(even) { margin-top: 0; } }

/* Comunidad: carrusel de fotos uniformes (4:5) — opción A */
.cg { display: flex; align-items: center; gap: 16px; }
.cg__track {
  list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0;
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.cg__track::-webkit-scrollbar { display: none; }
.cg__track:focus-visible { outline: 3px solid var(--accent-hover); outline-offset: -3px; }
.cg__item { flex: 0 0 calc((100% - 3 * 18px) / 4); scroll-snap-align: start; border-radius: 14px; overflow: hidden; background: var(--sand-solid); }
.cg__item img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s var(--ease); }
.cg__item:hover img { transform: scale(1.04); }
.cg__arrow {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 18px; transition: background .3s, color .3s, border-color .3s;
}
.cg__arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cg__arrow:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }
@media (max-width: 860px) {
  .cg__arrow { display: none; }
  .cg__track { gap: 12px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .cg__item { flex-basis: 72%; }
}
/* Banner de servicios: alto fijo por clamp (evita que aspect-ratio + min-height ensanche la página) */
.svc-banner { aspect-ratio: auto; min-height: 0; width: 100%; height: clamp(200px, 17vw, 280px); }
@media (max-width: 860px) { .svc-banner { height: 220px; } }
.svc__img { display: none !important; }

/* =========================================================
   Ajustes móviles (30/10)
   ========================================================= */
.gift__mtitle { display: none; }
@media (max-width: 860px) {
  /* Hero: "vital" empieza donde termina la "o" de "Espacio", igual que en escritorio */
  .hero__word--light { justify-self: start; margin-left: 3.74em; }

  /* Diferenciadores en 2 × 2 */
  .why { grid-template-columns: 1fr 1fr; }
  .why__item, .why__item + .why__item { padding: 22px 14px 12px 0; border-left: 0; border-top: 0; }
  .why__item:nth-child(even) { padding-left: 14px; padding-right: 0; border-left: 1px solid var(--line); }
  .why__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why__big { font-size: 2.6rem; height: 38px; margin-bottom: 14px; }
  .why__icon { width: 36px; height: 36px; margin-bottom: 16px; }
  .why__item h3 { font-size: .95rem; }
  .why__item p { font-size: .86rem; }

  /* Gift card: título fuera del recuadro; recuadro bajo y rectangular */
  .gift__mtitle { display: block; margin: 0 0 14px; font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
  .gift__mtitle .label { display: block; margin-bottom: 8px; }
  .gift { grid-template-columns: 88px 1fr; gap: 16px; padding: 12px; margin-top: 0; }
  .gift__img { max-width: none; }
  .gift__text .label, .gift__title { display: none; }
  .gift__text { padding: 0; }
  .gift .link { font-size: 11px; }

  /* Reseñas de Google ordenadas: marca y nota en una fila, botón debajo */
  .comunidad__intro .greviews { display: grid; grid-template-columns: auto auto; justify-content: space-between; align-items: center; gap: 12px 10px; padding: 16px 18px; }
  .greviews__brand { grid-column: 1; grid-row: 1; }
  .greviews__score { grid-column: 2; grid-row: 1; justify-self: end; gap: 6px; }
  .greviews__score strong, .greviews__stars { font-size: 16px; }
  .greviews__btn { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; text-align: center; margin-top: 2px; }

  /* Testimonios más chicos */
  .rv { width: 270px; grid-template-columns: 42px 1fr; column-gap: 12px; padding: 16px 18px; border-radius: 16px; }
  .rv__av { width: 42px; height: 42px; font-size: 13px; }
  .rv p { font-size: 13.5px; }
  .rv__who { font-size: 11px; }
  .reviews { gap: 12px; }

  /* Equipo: filas parejas */
  .team li, .team li:nth-child(even), .team li:nth-child(3n+2) { margin-top: 0 !important; }

  /* Footer sin espacio vacío abajo */
  .footer { padding: 22px 0 26px; }
}

/* =========================================================
   Auditoría de diseño (30/10)
   ========================================================= */

/* 1 · Formulario más legible: menos textura, campos con fondo, etiquetas y líneas más oscuras */
.form { background-image: none; background-color: #EAE3D8; }
.form__title { border-bottom-color: rgba(34,27,46,.22); }
.field { margin-bottom: 14px; }
.field input, .field textarea {
  background: rgba(253,252,250,.82); border: 1px solid rgba(34,27,46,.28); border-radius: 6px;
  padding: 26px 14px 10px; color: var(--ink);
}
.field label { left: 14px; top: 18px; color: var(--ink-2); font-weight: 500; }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(101,56,149,.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px) scale(.72); color: var(--accent);
}
.field.is-error input { border-color: #B4442F; }
.field-row { gap: 14px; }

/* 2 · Sistema de acciones: principal = rectángulo morado (.btn--solid);
       secundaria = rectángulo con borde (.btn--line) o enlace con flecha.
       WhatsApp mantiene su verde reconocible. */
.greviews__btn {
  border-radius: 0; background: transparent; color: var(--ink); border: 1px solid var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 14px 20px;
}
.greviews__btn:hover { background: var(--ink); color: var(--white); }
.ig {
  border-radius: 0; border: 1px solid var(--line); background: transparent; background-image: none;
  padding: 12px 18px 12px 14px; gap: 12px;
}
.ig svg { background: none; color: var(--accent); width: 24px; height: 24px; padding: 0; }
.ig span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ig:hover { transform: none; box-shadow: none; border-color: var(--ink); }


/* 4 · Contenedores estables: encuadre ajustable por foto (style="--pos: 50% 20%") */
.slide img, .cg__item img, .member img, .ig-grid img, .frame img { object-position: var(--pos, 50% 50%); }
.slide img { object-position: var(--pos, 50% 35%); }
/* Testimonios: altura pareja; textos largos se muestran hasta 6 líneas */
.rv { min-height: 150px; align-content: start; }
.rv p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
@media (max-width: 860px) { .rv { min-height: 140px; } .rv p { -webkit-line-clamp: 7; } }

/* =========================================================
   Correcciones de responsive y accesibilidad (31/10)
   ========================================================= */

/* 1 · 320 px: "vital" cabe en pantallas muy angostas; reseñas de Google en columna */
@media (max-width: 380px) {
  .hero__word { font-size: 14.4vw; }
}
@media (max-width: 860px) {
  .greviews__btn { white-space: normal; letter-spacing: .1em; line-height: 1.35; padding: 12px 14px; }
}
@media (max-width: 420px) {
  .comunidad__intro .greviews { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .greviews__brand, .greviews__score { grid-column: 1; grid-row: auto; justify-self: start; }
  .greviews__score { flex-wrap: wrap; }
  .greviews__btn { grid-row: auto; }
}

/* 2 · Contraste WhatsApp: texto e ícono oscuros sobre el verde de WhatsApp (7,46:1) */
.direct__wa, .wa { background: #25D366; border-color: #25D366; color: #0B2E1A; }
.direct__wa svg, .direct__wa small { color: #0B2E1A; }
.direct__wa small { opacity: .8; }
.direct__wa:hover, .wa:hover { background: #1EBE5A; border-color: #1EBE5A; color: #0B2E1A; }
.direct__wa:focus-visible, .wa:focus-visible { outline: 3px solid #0B2E1A; outline-offset: 3px; }
.wa-opt svg { color: #128C4B; }
[aria-disabled="true"][data-wa-open] { cursor: not-allowed; }

.marquee, .reviews { position: relative; }

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; transform: none; }
  .gift__glow span { animation: none; }
  .svc__name, .btn span, .cg__item img, .member img, .ig-grid img { transition: none; }
  * { scroll-behavior: auto !important; }
}

.menu-open .menu { transition: opacity .4s var(--ease), visibility 0s; }
.menu-open .wa, .menu-open .wa-panel { display: none; }
@media (max-width: 860px) { .hero__arrow { top: 34%; } }

/* Botón flotante: verde WhatsApp con ícono blanco (#1DAA52 → 3,03:1, mínimo para íconos) */
.wa { background: #1DAA52; border-color: #1DAA52; color: #fff; }
.wa:hover { background: #1A9E4C; border-color: #1A9E4C; color: #fff; }
.wa:focus-visible { outline: 3px solid #0B2E1A; outline-offset: 3px; }
/* Botones WhatsApp de Contacto: texto blanco sobre verde WhatsApp oscuro (#118746 → 4,59:1, AA) */
.direct__wa { background: #118746; border-color: #118746; color: #fff; }
.direct__wa svg, .direct__wa small { color: #fff; }
.direct__wa:hover { background: #0E7A3F; border-color: #0E7A3F; color: #fff; }
.direct__wa:focus-visible { outline: 3px solid #0B2E1A; outline-offset: 3px; }

/* Formulario: ayuda, errores y texto solo para lectores de pantalla */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form__help { margin: 4px 0 18px; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.field label span[aria-hidden] { color: #9B2C1F; }
.field__error { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: #9B2C1F; }
.field__error::before { content: "⚠ "; }
.field-row { position: relative; }
.field__error--group { grid-column: 1 / -1; margin-top: -6px; }
.field.is-error input, .field.is-error textarea { border-color: #9B2C1F; box-shadow: 0 0 0 1px #9B2C1F inset; }
.form__status { border-left-color: var(--accent); }
/* Reflujo en anchos muy angostos (zoom alto): los horarios pueden partirse en dos líneas */
@media (max-width: 360px) { .hours th, .hours td { white-space: normal; } .hours td { padding-left: 10px; } }
@media (max-width: 360px) { .ig { flex-wrap: wrap; max-width: 100%; row-gap: 4px; } .footer__links { flex-wrap: wrap; gap: 8px 16px; } }
/* Si una miniatura no carga, su texto alternativo no debe ensanchar la grilla */
.ig-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ig-grid img { min-width: 0; overflow: hidden; font-size: 11px; background: var(--sand-solid); }

/* Marco de fotos de «Nuestro espacio» */
.espacio__video .frame { position: relative; }

/* v5 · Reseñas reales de Google en tarjetas fijas (sin movimiento) */
.reviews--static .reviews__grid { list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.reviews--static .rv { width: auto; min-height: 0; }
.rv__stars { display: block; color: #FBBC05; font-size: 14px; letter-spacing: 2px; margin-bottom: 6px; }
.reviews__more { margin: 18px auto 0; text-align: right; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.reviews__more a { color: var(--ink); border-bottom: 1px solid currentColor; }
.reviews__more a:hover { color: var(--accent-hover); }
@media (max-width: 860px) {
  .reviews--static .reviews__grid { grid-template-columns: 1fr; gap: 12px; }
  .reviews__more { text-align: left; }
}

/* Portada: <picture> del díptico ocupa todo el cuadro */
.slide picture { display: block; width: 100%; height: 100%; }

/* «Nuestro espacio»: fundido entre fotos */
.fader { position: relative; }
.fader img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.fader img.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fader img { transition: none; } }
.svc-banner img { object-position: 50% 55%; }

/* v5 · equipo real: 8 personas en 4 columnas × 2 filas (2 columnas en celular) */
.team.team--8 { grid-template-columns: repeat(4, 1fr); max-width: 1040px; }
.team--8 li:nth-child(n) { margin-top: 0; }
.team--8 li:nth-child(even) { margin-top: 44px; }
.team--8 li.reveal:nth-child(7) { transition-delay: .36s; }
.team--8 li.reveal:nth-child(8) { transition-delay: .42s; }
@media (max-width: 860px) { .team--8 li:nth-child(even) { margin-top: 28px; } }
@media (max-width: 600px) {
  .team.team--8 { grid-template-columns: repeat(2, 1fr); }
  .team--8 li:nth-child(even) { margin-top: 0 !important; }
}

/* 12/11 · Equipo: marco en arco (mismo gesto que «Nuestro espacio») con una línea desplazada detrás;
   al pasar el cursor, la foto pasa a blanco y negro y la línea se corre un poco más. */
.team--8 li { position: relative; isolation: isolate; align-self: start; }
.team--8 li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 1px solid var(--teal-light); border-radius: 999px 999px 0 0; opacity: .55;
  transform: translate(10px, 10px); transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.team--8 .member { border-radius: 999px 999px 0 0; }
.team--8 .member:focus-visible { outline-offset: 4px; }
.team--8 .member:hover img, .team--8 .member:focus-visible img, .team--8 .member.is-open img {
  filter: grayscale(1) contrast(1.06); transform: scale(1.04);
}
.team--8 li:hover::before, .team--8 li:focus-within::before { transform: translate(16px, 16px); opacity: 1; }
@media (max-width: 600px) { .team--8 li::before { transform: translate(6px, 6px); } .team--8 li:hover::before, .team--8 li:focus-within::before { transform: translate(9px, 9px); } }
@media (prefers-reduced-motion: reduce) { .team--8 li::before { transition: none; } }

/* 12/11 · «Nuestro espacio»: misma línea desplazada que el equipo, en morado (fondo blanco) */
.espacio__video, .espacio__photo { position: relative; isolation: isolate; }
.espacio__video::before, .espacio__photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 1px solid var(--vital); border-radius: 0; opacity: .45;
  transform: translate(12px, 12px); transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.espacio__video:hover::before, .espacio__photo:hover::before { transform: translate(18px, 18px); opacity: .8; }
@media (max-width: 600px) { .espacio__video::before, .espacio__photo::before { transform: translate(7px, 7px); } }
@media (prefers-reduced-motion: reduce) { .espacio__video::before, .espacio__photo::before { transition: none; } }

/* =========================================================
   13/11 · Ronda de ajustes v5
   ========================================================= */

/* Portada · ubicación: tarjeta (opción A elegida el 13/11) */
.loc-card {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; max-width: 100%;
  padding: 8px 8px 8px 8px; border-radius: 999px; color: var(--ink); text-decoration: none;
  background: rgba(255,255,255,.6); border: 1px solid var(--line);
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.loc-card__pin { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--vital); flex: none; }
.loc-card__pin svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; transition: transform .45s var(--ease); }
.loc-card__txt { display: flex; flex-direction: column; line-height: 1.15; padding-right: 6px; }
.loc-card__txt strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.loc-card__txt span { font-size: 14px; font-weight: 300; color: var(--ink-2); }
.loc-card__go {
  padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--vital); color: var(--vital);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.loc-card:hover { background: #fff; border-color: rgba(101,56,149,.35); box-shadow: 0 14px 30px -18px rgba(43,28,63,.45); }
.loc-card:hover .loc-card__go { background: var(--vital); color: #fff; }
.loc-card:hover .loc-card__pin svg { transform: translateY(-3px); }
.loc-card:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 4px; }
@media (max-width: 420px) { .loc-card__go { padding: 10px 12px; letter-spacing: .1em; } .loc-card__txt strong { font-size: 15px; } }
@media (max-width: 375px) {
  .hero__controls { gap: 10px; }
  .dots { gap: 6px; }
  .dot { width: 28px; }
  .dot.is-active { width: 42px; }
  .loc-card {
    display: inline-grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 12px;
    padding: 8px 12px 8px 8px; border-radius: 24px;
  }
  .loc-card__pin { grid-row: 1 / span 2; }
  .loc-card__txt strong { white-space: normal; }
  .loc-card__go { grid-column: 2; justify-self: start; white-space: normal; }
}

/* Convenios: texto más largo en la tarjeta */
.why__item p strong { font-weight: 800; color: var(--ink); }

/* Reseñas: el recuadro de Google pasa a la cabecera de la franja de reseñas */
.reviews--static { flex-direction: column; }
.reviews__head { margin-bottom: 22px; }
.reviews__head .greviews { background: var(--white); }
.comunidad__intro { margin-bottom: clamp(28px, 3.4vw, 48px); }

/* Contacto: foto de las fundadoras con el arco suave y la línea desplazada */
.founders { margin: 28px 0 0; }
.founders img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 50% 50% 0 0 / 13% 13% 0 0; }
.founders__frame { display: block; position: relative; isolation: isolate; }
.founders__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  border: 1px solid var(--vital); opacity: .45; border-radius: 50% 50% 0 0 / 13% 13% 0 0; transform: translate(12px, 12px);
}
.founders figcaption { margin-top: 22px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contacto__head .direct { margin-top: 26px; }

/* Contacto: botón de Instagram */
.ig2 {
  position: relative; display: flex; align-items: center; gap: 16px; margin-top: 10px; padding: 14px 20px 14px 14px;
  color: #fff; text-decoration: none; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: linear-gradient(45deg, #FEDA75 0%, #FA7E1E 22%, #D62976 50%, #962FBF 76%, #4F5BD5 100%);
  background-size: 160% 160%; background-position: 0% 50%;
  box-shadow: 0 14px 30px -18px rgba(214,41,118,.7);
  transition: background-position .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ig2__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex: none; color: #fff;
  background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.55); transition: transform .45s var(--ease), background .35s;
}
.ig2__icon svg { width: 26px; height: 26px; }
.ig2__txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ig2__txt small { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.ig2__txt strong { font-size: 20px; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 1px 8px rgba(0,0,0,.12); }
.ig2__arrow { margin-left: auto; font-size: 22px; transition: transform .45s var(--ease); }
.ig2:hover { background-position: 100% 50%; transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(150,47,191,.75); }
.ig2:hover .ig2__icon { transform: rotate(-8deg); background: rgba(255,255,255,.28); }
.ig2:hover .ig2__arrow { transform: translate(4px, -4px); }
.ig2:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }
@media (max-width: 860px) { .founders, .ig2 { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .ig2__icon, .ig2__arrow, .loc-card__pin svg { transition: none; } }

/* 13/11 · portada: el texto baja un poco para que quede a la misma distancia de «Espacio» que de los botones */
@media (min-width: 861px) { .hero__lead { margin-top: clamp(12px, 1.4vw, 22px); } }
@media (prefers-reduced-motion: reduce) { .ig2 { transition: none; } }

/* 13/11 · gift card en celular: más aire respecto de la línea de Servicios */
@media (max-width: 860px) { .gift__mtitle { margin-top: 36px; } }


/* 19/11 · Cambios solicitados para la segunda revisión */
.hero__head { display: block; }
.hero__intro { padding-top: 0; }
.servicios__heading { margin-bottom: clamp(28px, 3.4vw, 48px); }
.servicios__heading .servicios__title { margin: 14px 0 0; }


/* 19/11 · Prueba de portada con texto sobre las fotografías */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr);
  background-color: var(--sand);
  padding-top: calc(var(--nav-h) + var(--top-h));
}
.hero > .wrap, .hero > .hero__media { grid-area: 1 / 1; }
.hero > .wrap {
  position: relative; z-index: 4; align-self: end; pointer-events: none;
  padding-top: 50px; padding-bottom: 86px;
}
.hero > .wrap a, .hero > .wrap button { pointer-events: auto; }
.hero__media { min-width: 0; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(22,15,29,.78), rgba(22,15,29,.42) 48%, rgba(22,15,29,.06));
}
.hero__frame { height: clamp(620px, 80svh, 880px); clip-path: none; }
.is-loaded .hero__frame { clip-path: none; }
.hero__meta {
  display: inline-flex; justify-content: flex-start; flex-wrap: wrap; gap: 10px 16px;
  max-width: 100%; border-bottom-color: rgba(255,255,255,.32);
}
.hero__meta .hero__place {
  display: inline-block; border-left: 1px solid rgba(255,255,255,.55); padding-left: 16px;
}
.hero__meta .label { color: #fff; }
.hero__head { margin-top: 28px; padding-bottom: 0; }
.hero__lead { color: #fff; max-width: 32ch; }
.hero__actions .btn--line { color: #fff; border-color: rgba(255,255,255,.8); background: rgba(22,15,29,.18); }
.hero .loc-card { background: rgba(253,252,250,.94); }
.hero__controls { z-index: 5; pointer-events: none; }
.hero__controls button { pointer-events: auto; }
.hero__arrow { z-index: 5; top: auto; bottom: 20px; transform: none; }
.hero__arrow--prev { left: auto; right: 158px; }
.hero__arrow--next { right: 96px; }
@media (max-width: 860px) {
  .hero > .wrap { padding-top: 240px; padding-bottom: 86px; }
  .hero__frame { height: clamp(700px, 88svh, 820px); }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(22,15,29,.02) 8%, rgba(22,15,29,.18) 30%, rgba(22,15,29,.85) 70%, rgba(22,15,29,.9));
  }
  .hero__meta { padding-bottom: 14px; }
  .hero__head { margin-top: 18px; }
  .hero__meta .label { font-size: 9px; letter-spacing: .12em; }
  .hero__meta { column-gap: 10px; }
  .hero__meta .hero__place { padding-left: 10px; }
  .hero__controls { bottom: 20px; padding-right: calc(var(--gutter) + 90px); }
  .hero__controls .dots { gap: 5px; }
  .hero__controls .dot { width: 18px; }
  .hero__controls .dot.is-active { width: 28px; }
  .hero__arrow { bottom: 20px; width: 34px; height: 34px; }
  .hero__arrow--prev { right: calc(var(--gutter) + 42px); }
}


/* 19/11 · Pesos uniformes solicitados por Seba */
.marquee span.thin,
#espacio-t .thin,
#servicios-t .thin,
#comunidad-t .thin,
#equipo-t .thin,
.greviews__logo b,
.greviews__word { font-weight: 800; }
.espacio__text .statement,
.espacio__text .statement strong { font-weight: 400; }

/* Selección de originales del cliente, 19/11 */
.slide__photos { display: grid; width: 100%; height: 100%; }
.slide__photos--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.slide__photos img { min-width: 0; min-height: 0; }
@media (max-width: 860px) {
  .slide__photos--pair { grid-template-columns: minmax(0, 1fr); }
  .slide__photos--pair img + img { display: none; }
}

/* Evitar que WhatsApp tape las flechas de portada en móvil.
   27/11: bajan a la fila de los puntos y la pausa, para no tapar «Cómo llegar». */
@media (max-width: 860px) {
  .hero__arrow { bottom: 22px; }
  .hero__arrow--next { right: 96px; }
  .hero__arrow--prev { right: 138px; }
}
@media (max-width: 360px) {
  .hero__controls .dots { gap: 4px; }
  .hero__controls .dot { width: 14px; }
  .hero__controls .dot.is-active { width: 24px; }
}

/* 19/11 · Invertir los dípticos 1 y 3 solo en escritorio;
   en móvil se conserva la foto de las personas como imagen principal. */
@media (min-width: 861px) {
  .slide__photos--reversed img:first-child { order: 1; }
}

/* 19/11 · Header blanco permanente y marca un poco más grande. */
.nav,
.nav.is-scrolled,
.menu-open .nav {
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.brand { flex-shrink: 0; gap: 14px; }
.brand__mark { width: 56px; height: 33px; flex: none; }
.brand__word { font-size: 15px; padding-left: 14px; }
.menu { background: #fff; }

@media (min-width: 861px) and (max-width: 1080px) {
  .nav__inner { gap: 14px; }
  .nav__links { gap: 12px; }
  .nav__links a, .nav__cta { white-space: nowrap; }
  .nav__cta { padding: 11px 14px; }
}

@media (min-width: 861px) and (max-width: 960px) {
  .nav__inner { gap: 10px; }
  .nav__links { gap: 10px; }
}

/* 19/11 · Centrar la cabeza en la segunda foto de portada en móvil. */
@media (max-width: 860px) {
  .slide img.slide__photo--cenital { object-position: 40% 35%; }
}

/* 19/11 · Priorizar el logo del muro en la quinta foto de portada en móvil. */
@media (max-width: 860px) {
  .slide img.slide__photo--camillas { object-position: 100% 35%; }
}

/* 19/11 · Ajuste de uniformidad aprobado: títulos, Contacto y acciones generales. */
:root {
  --section-title-size: clamp(2.25rem, 4.4vw, 3.75rem);
  --service-title-size: clamp(1.85rem, 3.6vw, 3.2rem);
}
#espacio-t,
#servicios-t,
#comunidad-t,
#equipo-t,
#contacto-t {
  font-size: var(--section-title-size);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
}
.svc__name {
  font-size: var(--service-title-size);
  line-height: 1.08;
  letter-spacing: -.035em;
}
/* Se conserva la foto completa en 5:4 y su borde desplazado. */
.founders img,
.founders__frame::before { border-radius: 0; }

/* Botones rectangulares de acción; las redes y controles tienen su estilo propio. */
.btn,
.btn--big,
.hero__actions .btn,
.greviews__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  min-height: 48px;
  height: auto;
  padding: 12px 22px;
  border-radius: 0;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
  text-align: center;
}
/* Acciones de texto: misma tipografía y área cómoda para tocar. */
.svc__link,
.gift .link {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  min-height: 44px;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
}

/* QA 19/11: área táctil de indicadores sin engrosar las líneas visibles. */
.dot { height: 30px; padding-top: 13.5px; padding-bottom: 13.5px; }
@media (max-width: 860px) {
  .hero__controls { gap: 10px; }
  .hero__controls .dots { gap: 0; }
  .hero__controls .dot { width: 24px; padding-left: 3px; padding-right: 3px; flex: none; }
  .hero__controls .dot.is-active { width: 28px; padding-left: 0; padding-right: 0; }
}
@media (max-width: 360px) {
  .hero__controls .dot { padding-left: 5px; padding-right: 5px; }
  .hero__controls .dot.is-active { width: 24px; padding-left: 0; padding-right: 0; }
}

/* Texto blanco sobre el turquesa de contraste reforzado. */
.topbar, .topbar button { color: #fff; }
.topbar button:focus-visible { outline-color: #fff; }

/* 19/11 · Alternativa solicitada: retratos del equipo rectangulares. */
.team--8 .member, .team--8 li::before { border-radius: 0; }

/* 19/11 · Comunidad: esquinas rectas solicitadas por Seba. */
.cg__item { border-radius: 0; }

/* Contacto directo */
.contacto--foto { scroll-margin-top: 12px; }
.contacto--foto #contacto-t { white-space: normal; }
.contacto--foto .sec-head { margin-bottom: clamp(26px, 4vw, 48px); }
.contacto-muestra {
  display: grid;
  align-items: center;
  column-gap: clamp(28px, 5vw, 82px);
  row-gap: 20px;
}
.contacto-muestra > * { min-width: 0; }
.contacto-muestra__intro { grid-area: intro; align-self: end; }
.contacto-muestra__intro p { margin: 12px 0 0; font-size: 1rem; line-height: 1.55; }
.contacto-muestra__acciones { grid-area: acciones; }
.contacto-muestra__red { grid-area: red; align-self: start; }
.contacto-muestra .founders { grid-area: foto; margin: 0; }
.contacto-muestra .founders__frame::before { border-color: var(--accent); }
.contacto-muestra .direct { margin: 0; gap: 12px; }
.contacto-muestra .direct__wa { min-height: 62px; padding: 12px 14px; }
.contacto-muestra .direct__wa small { opacity: 1; letter-spacing: .12em; }
.contacto-muestra .ig2 { margin: 0; }

.contacto--foto .contacto-muestra {
  max-width: 1060px;
  margin-inline: auto;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas: "foto intro" "foto acciones" "foto red";
  grid-template-rows: 1fr auto 1fr;
}
.contacto--foto .direct { grid-template-columns: 1fr; }


@media (max-width: 760px) {
  .contacto--foto .contacto-muestra {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "acciones" "foto" "red";
    grid-template-rows: auto;
    gap: 22px;
  }
}

/* Dejar más ancho para las publicaciones en pantallas chicas. */
@media (max-width: 600px) {
  #comunidad .lightwidget-widget {
    width: calc(100% + 16px);
    margin-inline: -8px;
  }
}

#comunidad .lightwidget-widget { min-width: 100%; }

/* En móvil el marco alcanza el alto de la portada aunque la tarjeta ocupe más de una línea. */
@media (max-width: 860px) {
  .hero__media { display: grid; }
  .hero__frame { height: 100%; min-height: clamp(700px, 88svh, 820px); }
  .hero__controls .dots { gap: 4px; }
  .hero__controls .dot { width: 12px; }
  .hero__controls .dot.is-active { width: 20px; }
  .hero__arrow { bottom: 22px; }
  .hero__arrow--prev { right: auto; left: calc(var(--gutter) + 152px); }
  .hero__arrow--next { right: auto; left: calc(var(--gutter) + 192px); }
}

/* Borrador de privacidad */
.privacy-header { padding-block: 18px; background: #fff; border-bottom: 1px solid var(--line); }
.privacy-header .brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; }
.privacy { max-width: 800px; }
.privacy h1 { margin: 12px 0 24px; }
.privacy h2 { margin: 28px 0 8px; font-size: clamp(1.25rem, 3vw, 1.65rem); }
.privacy ul { padding-left: 1.25em; }
.privacy .btn { margin-top: 8px; }
