/* =========================================================
   Sbelt Med — rediseño 2026 (v2)
   Paleta y tipografías: Manual de Marca Sbelt v1.0
   Layout, escala tipográfica y resortes: inspirados en apple.com
   ========================================================= */

:root {
  /* Marca (manual v1.0) */
  --verde: #57C4B8;          /* principal: fondos, acentos grandes */
  --verde-hondo: #17786D;    /* botones y texto de acento (≥4.5:1 sobre blanco) */
  /* Crew Spa (sede norte de Quito) */
  --crew-azul: #003A86;
  --crew-azul-hondo: #0B2A5B;
  --crew-rojo: #E30D31;
  --crew-cielo: #F2F6FC;
  --barra-h: 0px;
  --verde-tinta: #0F3D39;    /* titulares sobre claro */
  --cafe: #6A4B3A;           /* secundario */
  --cafe-hondo: #3B2A20;     /* secciones oscuras */
  --beige: #E8DDD3;          /* apoyo */
  --crema: #F7F2EC;          /* fondo cálido */
  --blanco: #FFFFFF;
  --gris: #6F6F6F;

  --texto: #1F2422;
  --texto-2: #5E6461;
  --linea: rgba(15, 61, 57, .12);

  /* Tipografía */
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-titulo: "Montserrat", system-ui, sans-serif;
  --f-texto: "Lato", system-ui, sans-serif;

  /* Escala (apple.com: 80/64/48 · 28/24/19 · 21 · 17) */
  --t-hero: 84px;
  --t-h2: 56px;
  --t-h3: 28px;
  --t-intro: 21px;
  --t-body: 17px;
  --t-small: 14px;

  /* Layout (apple.com: 980 → 692 → 87.5%) */
  --ancho: 1120px;
  --ancho-texto: 680px;
  --gutter: 40px;
  --nav-h: 64px;
  --radio: 28px;
  --radio-s: 18px;

  /* Resortes Apple (.smooth / .snappy) */
  --spring-smooth: linear(0, 0.060 4.2%, 0.186 8.3%, 0.329 12.5%, 0.464 16.7%, 0.583 20.8%, 0.681 25.0%, 0.759 29.2%, 0.820 33.3%, 0.866 37.5%, 0.902 41.7%, 0.928 45.8%, 0.948 50.0%, 0.962 54.2%, 0.973 58.3%, 0.981 62.5%, 0.986 66.7%, 0.990 70.8%, 0.993 75.0%, 0.995 79.2%, 0.996 83.3%, 0.997 87.5%, 0.998 91.7%, 0.999 95.8%, 1);
  --spring-snappy: linear(0, 0.059 4.2%, 0.189 8.3%, 0.342 12.5%, 0.492 16.7%, 0.624 20.8%, 0.732 25.0%, 0.817 29.2%, 0.881 33.3%, 0.927 37.5%, 0.959 41.7%, 0.980 45.8%, 0.993 50.0%, 1.000 54.2%, 1.004 58.3%, 1.006 62.5%, 1.006 66.7%, 1.006 70.8%, 1.005 75.0%, 1.004 79.2%, 1.003 83.3%, 1.002 87.5%, 1.001 91.7%, 1.001 95.8%, 1);
}

@media (max-width: 1068px) {
  :root { --t-hero: 64px; --t-h2: 44px; --t-h3: 24px; --gutter: 32px; }
}
@media (max-width: 734px) {
  :root { --t-hero: 46px; --t-h2: 36px; --t-h3: 22px; --t-intro: 19px; --gutter: 20px; --radio: 22px; --nav-h: 56px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: var(--t-body);
  line-height: 1.5;
  color: var(--texto);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 6px; }

.contenedor { width: min(var(--ancho), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Tipos ---------- */
.eyebrow {
  font-family: var(--f-titulo);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--verde-hondo);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--claro { color: var(--verde); }

.display {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--verde-tinta);
}
.display em { font-style: italic; color: var(--verde-hondo); font-weight: 500; }
.h1 { font-size: var(--t-hero); }
.h2 { font-size: var(--t-h2); line-height: 1.06; }
.h3 { font-family: var(--f-titulo); font-size: var(--t-h3); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; color: var(--verde-tinta); }
.intro { font-size: var(--t-intro); line-height: 1.45; color: var(--texto-2); }
.nota { font-size: var(--t-small); color: var(--texto-2); }

/* ---------- Botones (cápsula) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-family: var(--f-titulo); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  border: 0; cursor: pointer;
  transition: transform 500ms var(--spring-snappy), background-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}
.btn:active { transform: scale(.97); transition: none; }
.btn i { font-size: 20px; }
.btn--primario { background: var(--verde-hondo); color: #fff; }
.btn--claro { background: #fff; color: var(--verde-tinta); }
.btn--borde { background: transparent; color: var(--verde-tinta); box-shadow: inset 0 0 0 1.5px var(--linea); }
.btn--borde-claro { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
@media (hover: hover) {
  .btn--primario:hover { background: #12665D; }
  .btn--claro:hover { background: var(--crema); }
  .btn--borde:hover { box-shadow: inset 0 0 0 1.5px var(--verde-hondo); }
  .btn--borde-claro:hover { box-shadow: inset 0 0 0 1.5px #fff; }
}
.link {
  font-family: var(--f-titulo); font-weight: 600; font-size: 15px; color: var(--verde-hondo);
  display: inline-flex; align-items: center; gap: 6px;
}
.link i { transition: transform 500ms var(--spring-snappy); }
@media (hover: hover) { .link:hover i { transform: translateX(4px); } }

/* ---------- Navegación (vidrio, flota) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 -.5px 0 var(--linea);
}
@media (prefers-reduced-transparency: reduce) { .nav { background: #fff; } }
.nav__in { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--f-titulo); font-size: 14px; font-weight: 500; color: var(--texto);
  opacity: .8; transition: opacity 200ms ease;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { opacity: 1; color: var(--verde-hondo); }
.nav__cta { min-height: 40px; padding: 0 18px; font-size: 14px; }
.nav__menu { display: none; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; color: var(--verde-tinta); cursor: pointer; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: inline-flex; align-items: center; justify-content: center; }
}

/* Panel móvil */
.panel {
  position: fixed; inset: calc(var(--nav-h) + var(--barra-h)) 0 auto 0; z-index: 49;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  padding: 12px var(--gutter) 28px;
  box-shadow: 0 20px 40px rgba(15,61,57,.08);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform 600ms var(--spring-smooth), opacity 250ms ease, visibility 0s 250ms;
}
.panel.abierto { transform: none; opacity: 1; visibility: visible; transition: transform 600ms var(--spring-smooth), opacity 250ms ease; }
.panel a:not(.btn) {
  display: block; padding: 14px 0; font-family: var(--f-display); font-size: 30px; color: var(--verde-tinta);
  box-shadow: inset 0 -.5px 0 var(--linea);
}
.panel .btn { width: 100%; margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + var(--barra-h) + 72px) 0 96px; background: linear-gradient(180deg, var(--crema) 0%, #fff 100%); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero__texto .h1 { margin: 22px 0 26px; }
.hero__texto .intro { max-width: 30ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__sedes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; font-family: var(--f-titulo); font-size: 13px; font-weight: 500; color: var(--texto-2); }
.hero__sedes span { display: inline-flex; align-items: center; gap: 6px; }
.hero__sedes i { color: var(--verde-hondo); font-size: 17px; }

.hero__fotos { position: relative; aspect-ratio: 4 / 4.6; }
.hero__foto { position: absolute; border-radius: var(--radio); overflow: hidden; background: var(--beige); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; }
.hero__foto--a { inset: 0 18% 12% 0; }
.hero__foto--b { width: 46%; aspect-ratio: 3 / 4; right: 0; bottom: 0; box-shadow: 0 0 0 8px #fff; }
.hero__sello {
  position: absolute; left: -22px; bottom: 22%;
  background: #fff; border-radius: 999px; padding: 12px 20px 12px 12px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: 8px 8px 16px rgba(0,0,0,.08);
  font-family: var(--f-titulo); font-size: 13px; font-weight: 600; color: var(--verde-tinta);
}
.hero__sello b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--verde); color: #fff; font-size: 20px; }
.hero__sello small { display: block; font-weight: 500; color: var(--texto-2); font-size: 12px; }
.hoja { position: absolute; pointer-events: none; color: var(--verde); opacity: .14; }

@media (max-width: 960px) {
  .hero { padding-top: calc(var(--nav-h) + var(--barra-h) + 40px); padding-bottom: 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__texto .intro { max-width: none; }
  .hero__fotos { max-width: 520px; width: 100%; margin-inline: auto; }
  .hero__sello { left: 8px; }
}

/* ---------- Cinta de credenciales ---------- */
.cinta { background: var(--verde-tinta); color: #fff; padding: 22px 0; overflow: hidden; }
.cinta__pista { display: flex; gap: 56px; width: max-content; animation: desliza 40s linear infinite; }
.cinta__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: 24px; font-style: italic; white-space: nowrap; color: rgba(255,255,255,.92); }
.cinta__item::after { content: "✦"; font-style: normal; font-size: 12px; color: var(--verde); margin-left: 42px; }
@keyframes desliza { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.seccion { padding: 128px 0; }
.seccion--crema { background: var(--crema); }
.seccion--oscura { background: var(--cafe-hondo); color: #F3EADF; }
.seccion--oscura .display { color: #fff; }
.seccion--oscura .display em { color: var(--verde); }
.seccion--oscura .intro { color: rgba(243,234,223,.75); }
.cabecera { max-width: 760px; margin-bottom: 64px; }
.cabecera .h2 { margin: 18px 0 20px; }
.cabecera--centro { margin-inline: auto; text-align: center; }
.cabecera--centro .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.cabecera--fila { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.cabecera--fila > div { max-width: 640px; }
@media (max-width: 734px) {
  .seccion { padding: 88px 0; }
  .cabecera { margin-bottom: 44px; }
  .cabecera--fila { flex-direction: column; align-items: start; gap: 20px; }
}

/* ---------- Fundadora ---------- */
.fundadora { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.fundadora__foto { border-radius: var(--radio); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.fundadora__foto img { width: 100%; height: 100%; object-fit: cover; }
.fundadora__firma { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-radius: var(--radio-s); padding: 16px 20px; }
.fundadora__firma strong { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 600; color: var(--verde-tinta); line-height: 1.1; }
.fundadora__firma span { font-size: 14px; color: var(--texto-2); }
.cita-x { font-family: var(--f-display); font-style: italic; font-size: 30px; line-height: 1.3; color: var(--verde-tinta); margin: 28px 0 36px; }
.linea-tiempo { list-style: none; padding: 0; margin: 0 0 40px; position: relative; }
.linea-tiempo::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--linea); }
.linea-tiempo li { position: relative; padding: 0 0 18px 34px; }
.linea-tiempo li::before { content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--verde); }
.linea-tiempo li:last-child::before { background: var(--verde); }
.linea-tiempo strong { font-family: var(--f-titulo); font-weight: 600; font-size: 16px; color: var(--verde-tinta); }
.linea-tiempo span { display: block; font-size: 15px; color: var(--texto-2); }
@media (max-width: 960px) { .fundadora { grid-template-columns: 1fr; gap: 48px; } .cita-x { font-size: 26px; } }

/* ---------- Sedes + valoración ---------- */
.valoracion { text-align: center; }
.valoracion .h2 { margin: 18px auto 20px; max-width: 22ch; }
.valoracion .intro { max-width: 56ch; margin: 0 auto; }
.sedes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 56px 0 44px; text-align: left; }
.sede { background: #fff; border-radius: var(--radio); padding: 36px; box-shadow: inset 0 0 0 .5px var(--linea); display: flex; flex-direction: column; gap: 10px; }
.sede__icono { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--crema); color: var(--verde-hondo); font-size: 24px; margin-bottom: 10px; }
.sede h3 { font-family: var(--f-display); font-size: 34px; font-weight: 500; color: var(--verde-tinta); line-height: 1.1; }
.sede p { color: var(--texto-2); }
.sede .link { margin-top: auto; padding-top: 12px; }
@media (max-width: 734px) { .sedes { grid-template-columns: 1fr; } .sede { padding: 28px; } }

/* ---------- Footer ---------- */
.footer { background: var(--verde-tinta); color: rgba(255,255,255,.75); padding: 80px 0 40px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__marca { display: inline-block; background: #fff; border-radius: var(--radio-s); padding: 14px 18px; margin-bottom: 22px; }
.footer__marca img { height: 44px; width: auto; }
.footer__frase { font-family: var(--f-display); font-style: italic; font-size: 24px; color: #fff; line-height: 1.3; max-width: 22ch; }
.footer h4 { font-family: var(--f-titulo); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--verde); margin: 0 0 18px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__redes { display: flex; gap: 10px; margin-top: 18px; }
.footer__redes a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 20px; color: #fff; }
.footer__base { margin-top: 64px; padding-top: 28px; box-shadow: inset 0 .5px 0 rgba(255,255,255,.15); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.5); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--verde-hondo); color: #fff;
  font-family: var(--f-titulo); font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 30px rgba(15,61,57,.3);
  transition: transform 500ms var(--spring-snappy);
}
.wa i { font-size: 26px; }
.wa:active { transform: scale(.95); transition: none; }
@media (hover: hover) { .wa:hover { transform: translateY(-2px); } }
@media (max-width: 734px) { .wa span { display: none; } .wa { width: 56px; padding: 0; justify-content: center; } }

/* ---------- Aparición al hacer scroll ---------- */
.revela { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 900ms var(--spring-smooth); }
.revela.visible { opacity: 1; transform: none; }
.revela[data-retraso="1"] { transition-delay: 80ms; }
.revela[data-retraso="2"] { transition-delay: 160ms; }
.revela[data-retraso="3"] { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .revela { transform: none; transition: opacity 400ms ease; }
  .cinta__pista { animation: none; }
  html { scroll-behavior: auto; }
}
.no-js .revela { opacity: 1; transform: none; }

/* ---------- Pestañas (control segmentado) ---------- */
.pestanas {
  position: relative; display: inline-flex; gap: 2px; padding: 4px;
  background: var(--crema); border-radius: 999px; margin-bottom: 28px;
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.pestanas::-webkit-scrollbar { display: none; }
.pestanas button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  min-height: 44px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
  font-family: var(--f-titulo); font-size: 15px; font-weight: 600; color: var(--texto-2);
  transition: color 250ms ease;
}
.pestanas button[aria-selected="true"] { color: #fff; }
.pestanas__marca {
  position: absolute; z-index: 0; top: 4px; left: 0; height: calc(100% - 8px);
  border-radius: 999px; background: var(--verde-hondo);
  transition: transform 600ms var(--spring-snappy), width 600ms var(--spring-snappy);
}
.no-js .pestanas__marca { display: none; }
@media (max-width: 734px) { .pestanas { display: flex; } .pestanas button { flex: 1; padding: 0 14px; font-size: 14px; } }

/* ---------- Vitrina (categoría) ---------- */
.vitrina { display: grid; grid-template-columns: .82fr 1.18fr; gap: 12px; align-items: stretch; }
.vitrina.entra { animation: entra 700ms var(--spring-smooth); }
@keyframes entra { from { opacity: 0; transform: translateY(16px); } }
.vitrina__foto {
  position: relative; margin: 0; border-radius: var(--radio); overflow: hidden; min-height: 520px;
  color: #fff; display: flex; align-items: flex-end; isolation: isolate; background: var(--verde-tinta);
}
.vitrina__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vitrina__foto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,34,31,0) 40%, rgba(12,34,31,.85) 100%); }
.vitrina__foto figcaption { padding: 32px; }
.vitrina__foto strong { display: block; font-family: var(--f-display); font-size: 46px; font-weight: 500; line-height: 1; margin-bottom: 10px; }
.vitrina__foto figcaption { color: rgba(255,255,255,.88); }
.vitrina__foto--marca { background: linear-gradient(155deg, var(--verde) 0%, var(--verde-hondo) 70%); }
.vitrina__foto--marca::before { display: none; }
.vitrina__foto--marca svg { position: absolute; width: 70%; top: 8%; left: 15%; color: rgba(255,255,255,.28); z-index: -1; }

.menu { list-style: none; margin: 0; padding: 8px 28px; background: #fff; border-radius: var(--radio); box-shadow: inset 0 0 0 .5px var(--linea); }
.item {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
  padding: 20px 0; box-shadow: inset 0 -.5px 0 var(--linea);
}
.item:last-child { box-shadow: none; }
.item h3 { font-family: var(--f-titulo); font-size: 17px; font-weight: 600; color: var(--verde-tinta); letter-spacing: -.01em; }
.item p { font-size: 15px; color: var(--texto-2); margin-top: 3px; }
.item__info[aria-expanded="true"] { background: var(--verde-tinta); }
.item__info:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }
.item__detalle { grid-column: 1 / -1; }
.item__detalle p {
  margin: 0; padding: 16px 18px; border-radius: 14px;
  background: var(--crema); color: var(--verde-tinta); font-size: 15px; line-height: 1.55; max-width: 62ch;
}
.item__detalle:not([hidden]) { animation: detalle 420ms var(--spring-smooth); }
@keyframes detalle { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .item__detalle:not([hidden]) { animation: none; } }
.item--simple { grid-template-columns: 1fr auto; }
.item--simple h3 { font-weight: 500; }
.item__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--verde-hondo); color: #fff;
  font-family: var(--f-titulo); font-size: 14px; font-weight: 600;
  transition: transform 500ms var(--spring-snappy), background-color 200ms ease;
}
.item__btn i { font-size: 19px; }
.item__btn:active { transform: scale(.95); transition: none; }
.item__btn--suave { background: var(--crema); color: var(--verde-tinta); }
@media (hover: hover) {
  .item__btn:hover { background: #12665D; }
  .item__btn--suave:hover { background: var(--beige); }
}
@media (max-width: 960px) {
  .vitrina { grid-template-columns: 1fr; }
  .vitrina__foto { min-height: 300px; }
  .vitrina__foto strong { font-size: 38px; }
}
@media (max-width: 560px) {
  .menu { padding: 4px 18px; }
  .item { grid-template-columns: 1fr auto; grid-template-areas: "txt" "info" "det"; grid-template-columns: 1fr; gap: 12px; }
  .item > div:not(.item__detalle) { grid-area: txt; }
  .item__btn.item__info { grid-area: info; justify-content: center; width: 100%; }
  .item__detalle { grid-area: det; }
  .item__btn { grid-area: btn; justify-content: center; width: 100%; }
  .item--simple { grid-template-areas: "txt" "btn"; grid-template-columns: 1fr; }
}

/* ---------- Franja "¿no sabes cuál?" ---------- */
.duda {
  margin-top: 12px; padding: 28px 32px; border-radius: var(--radio);
  background: var(--verde-tinta); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.duda strong { display: block; font-family: var(--f-display); font-size: 30px; font-weight: 500; line-height: 1.1; }
.duda span { color: rgba(255,255,255,.75); }
.duda .btn--primario { background: #fff; color: var(--verde-tinta); }
@media (hover: hover) { .duda .btn--primario:hover { background: var(--crema); } }

/* ---------- Razones ---------- */
.razones { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 22px; }
.razones li { display: flex; gap: 18px; align-items: flex-start; }
.razones i { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--verde-hondo); font-size: 22px; }
.razones strong { display: block; font-family: var(--f-titulo); font-weight: 600; font-size: 17px; color: var(--verde-tinta); margin-bottom: 3px; }
.razones span { color: var(--texto-2); }

/* ---------- Sede: botón ---------- */
.sede .btn { margin-top: 14px; align-self: flex-start; }
.sede .link { padding-top: 6px; margin-top: 4px; }

/* ---------- Footer: hoteles ---------- */
.footer__hoteles {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; margin-bottom: 64px; border-radius: var(--radio);
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 .5px rgba(255,255,255,.15);
}
.footer__hoteles strong { display: block; color: #fff; font-family: var(--f-display); font-size: 26px; font-weight: 500; }

/* ---------- Hoja de sede (dialog) ---------- */
.hoja-sede {
  border: 0; padding: 0; border-radius: 28px; width: min(440px, calc(100% - 32px));
  background: #fff; color: var(--texto); box-shadow: 0 30px 80px rgba(15,61,57,.25);
}
.hoja-sede::backdrop { background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hoja-sede[open] { animation: hoja 600ms var(--spring-smooth); }
@keyframes hoja { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.hoja-sede form { padding: 32px 28px 28px; position: relative; }
.hoja-sede__eyebrow { font-family: var(--f-titulo); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--verde-hondo); }
.hoja-sede h2 { font-size: 34px; margin: 10px 0 6px; padding-right: 32px; }
.hoja-sede__que { color: var(--texto-2); margin-bottom: 24px; }
.hoja-sede__opciones { display: grid; gap: 10px; }
.hoja-sede__opciones .btn { width: 100%; }
.hoja-sede__cerrar { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--crema); color: var(--verde-tinta); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
@media (max-width: 560px) {
  .hoja-sede { margin: auto auto 12px; border-radius: 28px; }
}

[hidden] { display: none !important; }
.display { text-wrap: balance; }
.intro { text-wrap: pretty; }

/* ---------- Crew Spa: barra superior, botones, sede ---------- */
html { scroll-padding-top: calc(var(--nav-h) + var(--barra-h) + 12px); }
.barra-crew {
  display: block; height: var(--barra-h); background: var(--crew-azul); color: #fff;
  font-family: var(--f-titulo); font-size: 13px; font-weight: 500;
}
.barra-crew__in { height: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; }
.barra-crew img { height: 22px; width: auto; background: #fff; border-radius: 6px; padding: 1px 2px; }
.barra-crew strong { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--crew-rojo); }
.barra-crew i { font-size: 16px; transition: transform 500ms var(--spring-snappy); }
@media (hover: hover) { .barra-crew:hover i { transform: translateX(4px); } }
@media (max-width: 734px) {
  .barra-crew__in > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .barra-crew__in > span { font-size: 0; }
  .barra-crew__in > span strong { font-size: 13px; }
  .barra-crew__in > span::after { content: " · norte de Quito"; font-size: 13px; }
}
.nav__links .nav__crew { color: var(--crew-azul); opacity: 1; font-weight: 600; }
.btn--crew { background: var(--crew-azul); color: #fff; }
@media (hover: hover) { .btn--crew:hover { background: var(--crew-azul-hondo); } }
.link--crew { color: var(--crew-azul); }

.sede__marca { height: 96px; display: flex; align-items: center; margin-bottom: 6px; }
.sede__marca img { max-height: 100%; width: auto; }
.sede--sbelt .sede__marca img { height: 64px; }
.sede--crew { background: linear-gradient(180deg, #fff 0%, var(--crew-cielo) 100%); box-shadow: inset 0 0 0 .5px rgba(0,58,134,.18); }
.sede--crew h3 { color: var(--crew-azul-hondo); }

.hoja-sede__op { justify-content: flex-start; min-height: 64px; text-align: left; padding: 0 20px; }
.hoja-sede__op i { font-size: 22px; }
.hoja-sede__op small { display: block; font-weight: 500; font-size: 12px; opacity: .8; }

/* ---------- Nav con selector de sede ---------- */
.nav__acciones { display: flex; align-items: center; gap: 10px; }
@media (max-width: 960px) { .nav__acciones { display: none; } .nav__in { gap: 10px; } .nav .selector-sede { margin-left: auto; } }

.sede__enlaces { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 6px; }
.sede__enlaces .link { margin-top: 4px; padding-top: 0; }
.link--crew { color: #003A86; }
.footer small { font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- Hojas cayendo (fondo sutil en toda la página) ---------- */
.hojas { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.hoja {
  position: absolute; top: 0; display: block;
  animation-name: hoja-cae; animation-timing-function: linear; animation-iteration-count: infinite;
  will-change: transform;
}
.hoja__vaiven {
  display: block; width: 100%; height: 100%;
  animation-name: hoja-mece; animation-timing-function: ease-in-out; animation-iteration-count: infinite; animation-direction: alternate;
}
.hoja svg { display: block; width: 100%; height: 100%; }
@keyframes hoja-cae { from { transform: translateY(-8vh); } to { transform: translateY(108vh); } }
@keyframes hoja-mece {
  from { transform: translateX(calc(var(--ancho) * -.5)) rotate(calc(var(--giro) * -1)); }
  to   { transform: translateX(calc(var(--ancho) * .5)) rotate(var(--giro)); }
}
@media (prefers-reduced-motion: reduce) { .hojas { display: none; } }

/* ---------- Barra superior: enlaces tipo cápsula con sección activa ---------- */
.nav__links { gap: 4px; }
.nav__links a {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  opacity: 1; color: #3E4643;
  transition: background-color 250ms ease, color 250ms ease;
}
.nav__links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--verde); display: none; }
@media (hover: hover) { .nav__links a:hover { background: rgba(23,120,109,.07); color: var(--verde-hondo); } }
.nav__links a.activa { background: rgba(23,120,109,.1); color: var(--verde-hondo); font-weight: 600; }
.nav__links a.activa::before { display: block; }
