/* =====================================================
   KÓDEX STUDIO — Sistema de Diseño Universal
   Generado dinámicamente con Jinja2
   Variables de paleta inyectadas desde respuestas del cliente
   ===================================================== */

/* ── VARIABLES DE PALETA DEL CLIENTE ── */
:root {
  --primario:    #2D3748;
  --secundario:  #718096;
  --acento:      #ED8936;
  --fondo:       #EDF2F7;
  --texto:       #171923;

  /* Derivados automáticos */
  --primario-10:  color-mix(in srgb, var(--primario) 10%, transparent);
  --primario-15:  color-mix(in srgb, var(--primario) 15%, transparent);
  --primario-20:  color-mix(in srgb, var(--primario) 20%, transparent);
  --acento-15:    color-mix(in srgb, var(--acento)   15%, transparent);
  --acento-25:    color-mix(in srgb, var(--acento)   25%, transparent);
  --acento-40:    color-mix(in srgb, var(--acento)   40%, transparent);
  --acento-dark:  color-mix(in srgb, var(--acento)   75%, #000);

  /* Glassmorphism nav */
  --glass-bg:           rgba(255,255,255,0.14);
  --glass-border:       rgba(255,255,255,0.28);
  --header-glass-bg:    rgba(10,16,30,0.32);
  --header-glass-border:rgba(255,255,255,0.18);

  /* Sistema de espaciado base 8px */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* Radios */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-pill:50px;

  /* Sombras — usando color del primario para coherencia de marca */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl:  0 28px 64px rgba(0,0,0,0.13), 0 8px 20px rgba(0,0,0,0.07);
  --shadow-card-hover: 0 24px 56px rgba(0,0,0,0.14), 0 6px 16px rgba(0,0,0,0.08);

  /* Easing */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.4,  0, 1,    1);
  --ease-out: cubic-bezier(0,    0, 0.2,  1);
}

/* ── TIPOGRAFÍA: UUPM dinámica o fallback por sector ── */
:root {
  --font-display: 'Barlow Condensed', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-weight-display: 700;
}

/* =====================================================
   RESET Y BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── CONTENEDOR ── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* =====================================================
   SISTEMA DE SCROLL ANIMATIONS — KÓDEX
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-right {
  opacity: 0; transform: translateX(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-scale {
  opacity: 0; transform: scale(0.93);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Delays */
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* Stagger grid */
.stagger-grid > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.stagger-grid.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:0.05s; }
.stagger-grid.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:0.13s; }
.stagger-grid.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:0.21s; }
.stagger-grid.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:0.29s; }
.stagger-grid.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:0.37s; }
.stagger-grid.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay:0.45s; }
.stagger-grid.visible > *:nth-child(n+7) { opacity:1; transform:translateY(0); transition-delay:0.52s; }

/* =====================================================
   NAV — GLASSMORPHISM FLOTANTE
   ===================================================== */
.header-glass {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  width: min(1060px, calc(100% - 32px));
  transition: top 0.3s var(--ease);
}

.header-glass.scrolled { top: 10px; }

.header-glass-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  min-height: 68px;
  padding: 10px 12px 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--header-glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--header-glass-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header-glass.scrolled .header-glass-inner {
  background: rgba(8,12,24,0.72);
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}

.header-brand { flex-shrink: 0; }

.header-logo {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: var(--font-weight-display);
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
}

/* Submenú Nosotros → Equipo / Historia */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.88);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.nav-dropdown-chevron {
  opacity: 0.75;
  transition: transform 0.2s var(--ease);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  padding: 6px;
  background: rgba(8,12,24,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  z-index: 120;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.9);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--acento-25);
  color: #fff;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-dropdown.is-active .nav-dropdown-toggle {
  color: #fff;
  background: var(--acento-40);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acento) 60%, transparent);
  font-weight: 600;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.header-glass--light-theme .nav-dropdown-toggle { color: var(--texto); opacity: 0.85; }
.header-glass--light-theme .nav-dropdown-menu {
  background: rgba(255,255,255,0.98);
  border-color: rgba(15,15,15,0.08);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.header-glass--light-theme .nav-dropdown-menu a { color: var(--texto); }
.header-glass--light-theme .nav-dropdown:hover .nav-dropdown-toggle,
.header-glass--light-theme .nav-dropdown.is-open .nav-dropdown-toggle,
.header-glass--light-theme .nav-dropdown.is-active .nav-dropdown-toggle {
  color: var(--texto);
  background: color-mix(in srgb, var(--acento) 14%, transparent);
}

/* Efecto pill en links del menú (hover + sección activa) */
.header-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
}

.header-nav a:hover {
  color: #fff;
  background: var(--acento-25);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acento) 45%, transparent);
}

.header-nav a.active {
  color: #fff;
  background: var(--acento-40);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acento) 60%, transparent);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-shrink: 0;
}

/* Botones nav */
.header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), background 0.2s var(--ease);
}
.header-btn:hover { transform: translateY(-1px); }

.header-btn-ghost {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.header-btn-ghost:hover { background: rgba(255,255,255,0.18); }

.header-btn-solid {
  background: var(--acento);
  color: #fff;
  border: none;
  font-weight: 700;
}
.header-btn-solid:hover { filter: brightness(1.08); }

/* CTA de WhatsApp en el header — verde de marca fijo (no el acento del
   sitio), para que siempre destaque como EL botón a presionar, sin depender
   de si el acento generado tiene suficiente contraste contra el header. */
.header-btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(37,211,102,0.45);
}
.header-btn-whatsapp:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(37,211,102,0.55);
}

/* Header claro — variante editorial (barra blanca translúcida en vez de
   glass oscuro), elegida por categoría de Design DNA. Se combina con
   cualquier header-glass--<hero_layout>, por eso vive aparte de esas reglas. */
.header-glass--light-theme .header-glass-inner {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15,15,15,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
}
.header-glass--light-theme.scrolled .header-glass-inner {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 12px 36px rgba(0,0,0,0.14);
}
.header-glass--light-theme .header-logo { color: var(--texto); }
.header-glass--light-theme .header-nav a { color: var(--texto); opacity: 0.75; }
.header-glass--light-theme .header-nav a:hover {
  opacity: 1;
  color: var(--primario);
  background: var(--primario-10);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primario) 35%, transparent);
}
.header-glass--light-theme .header-nav a.active {
  opacity: 1;
  color: var(--primario);
  background: var(--primario-15);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primario) 45%, transparent);
}
.header-glass--light-theme .header-btn-ghost {
  background: rgba(15,15,15,0.05);
  border: 1px solid rgba(15,15,15,0.15);
  color: var(--texto);
}
.header-glass--light-theme .header-btn-ghost:hover { background: rgba(15,15,15,0.1); }

/* Estructura "bar" — barra plana de ancho completo pegada arriba, en vez de
   la cápsula flotante. Logo+nav agrupados a la izquierda, CTA empujado a la
   derecha. Eje independiente del tema claro/oscuro — se combina con
   cualquiera de los dos (por eso los selectores no dependen de --light-theme). */
.header-structure--bar {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
}
.header-structure--bar.scrolled { top: 0; }
.header-structure--bar .header-glass-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px var(--sp-3);
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--header-glass-border);
  justify-content: flex-start;
  gap: var(--sp-6);
  box-shadow: none;
}
.header-structure--bar.scrolled .header-glass-inner {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.header-structure--bar .header-nav {
  flex: 0 1 auto;
  justify-content: flex-start;
}
.header-structure--bar .header-actions {
  margin-left: auto;
}

/* Estructura "split" — misma cápsula flotante de siempre, pero el logo se
   reordena al centro entre el nav y el CTA (en vez de ir siempre pegado a
   la izquierda). Solo cambia el orden visual vía flexbox; el DOM no se
   toca, así que degrada bien si el nav queda vacío. Solo aplica en desktop:
   en mobile el nav colapsa a hamburger y el reorden dejaría el botón de
   menú saltando antes que el logo. */
@media (min-width: 901px) {
  .header-structure--split .header-glass-inner {
    justify-content: center;
    gap: var(--sp-4);
  }
  .header-structure--split .header-brand { order: 2; }
  .header-structure--split .header-nav {
    order: 1;
    flex: 1 1 0;
    justify-content: flex-end;
  }
  .header-structure--split .header-actions {
    order: 3;
    flex: 1 1 0;
  }
}

/* Estructura "line" — sin cápsula ni barra sólida: el nav vive directo
   sobre el hero, con una línea inferior de 1px como único límite. Pensada
   para moods editoriales/minimalistas donde el glass se siente pesado.
   Comparte el posicionamiento de ancho completo de "bar". */
.header-structure--line {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
}
.header-structure--line.scrolled { top: 0; }
.header-structure--line .header-glass-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px var(--sp-3);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-bottom: 1px solid var(--header-glass-border);
  box-shadow: none;
}
.header-structure--line.scrolled .header-glass-inner {
  background: rgba(8,12,24,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.header-structure--line .header-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
}
.header-glass--light-theme.header-structure--line.scrolled .header-glass-inner {
  background: rgba(255,255,255,0.9);
}

/* Hamburger mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* =====================================================
   HERO
   ===================================================== */
.hero-shell {
  position: relative;
  background: linear-gradient(
    150deg,
    var(--primario) 0%,
    color-mix(in srgb, var(--primario) 60%, var(--secundario)) 50%,
    color-mix(in srgb, var(--primario) 80%, #000) 100%
  );
  color: #fff;
  min-height: clamp(480px, 75vh, 680px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Texture overlay sutil */
.hero-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero-shell--split {
  min-height: clamp(540px, 82vh, 760px);
}

/* Hero centrado */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 0 90px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: var(--sp-2);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: var(--font-weight-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
  color: #fff;
}

.hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); letter-spacing: -0.03em; }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  opacity: 0.88;
  max-width: 580px;
  margin: 0 auto var(--sp-4);
  line-height: 1.6;
}

.hero-cta { margin-top: var(--sp-1); }

/* Hero Split */
.hero--split {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  position: relative;
  z-index: 1;
  text-align: left;
  width: 100%;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-6), 5vw, var(--sp-12));
  align-items: center;
}

.hero-copy { animation: heroFadeUp 0.8s var(--ease) both; }
.hero-copy .hero-eyebrow { margin-bottom: var(--sp-3); }
.hero-copy h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: var(--sp-2); }
.hero-copy .hero-sub { margin: 0 0 var(--sp-4); max-width: 480px; }

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}

.hero-actions-row--center {
  justify-content: center;
}

/* Foto hero */
.hero-visual { display: flex; justify-content: flex-end; }

.hero-photo-frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: auto;
  height: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06) inset;
  animation: heroFadeRight 0.9s var(--ease) 0.15s both;
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.hero-photo-frame:hover img { transform: none; }

.hero-photo-glass {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--glass-border);
}

.hero-photo-glass span {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* =====================================================
   HERO LAYOUTS — Design DNA (split | fullscreen | band | centered)
   ===================================================== */

.hero-shell--band {
  background: var(--fondo);
  color: var(--texto);
  min-height: auto;
}

.hero-shell--band::before { display: none; }

.hero-shell--fullscreen {
  min-height: clamp(560px, 88vh, 820px);
}

.hero-shell--fullscreen.hero-shell--has-photo {
  background: none;
}

.hero-shell--fullscreen.hero-shell--has-photo::before {
  display: none;
}

.hero-fullscreen-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-shell--fullscreen.hero-shell--has-photo > .header-glass,
.hero-shell--fullscreen.hero-shell--has-photo > .hero {
  position: relative;
  z-index: 1;
}

.hero-shell--centered {
  min-height: clamp(520px, 80vh, 720px);
}

.hero-shell--split_editorial {
  background: var(--fondo);
  color: var(--texto);
  min-height: auto;
}

.hero-shell--split_editorial::before { display: none; }

.header-glass--split_editorial {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
}

.header-glass--split_editorial .header-glass-inner {
  border-radius: 0;
  background: color-mix(in srgb, var(--fondo) 94%, #fff);
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--primario) 10%, transparent);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  min-height: 72px;
}

.header-glass--split_editorial .header-logo,
.header-glass--split_editorial .header-nav a {
  color: var(--texto);
}

.header-glass--split_editorial .header-nav a:hover,
.header-glass--split_editorial .header-nav a.active {
  color: var(--primario);
  background: color-mix(in srgb, var(--primario) 8%, transparent);
}

.header-glass--split_editorial .header-btn-ghost {
  color: var(--texto);
  border-color: color-mix(in srgb, var(--primario) 25%, transparent);
  background: transparent;
}

.hero--split-editorial {
  padding: 110px 0 72px;
}

.hero-shell--split_editorial .hero h1 {
  color: var(--texto);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 14ch;
}

.hero-sub--editorial {
  color: color-mix(in srgb, var(--texto) 68%, transparent);
  opacity: 1;
  max-width: 46ch;
}

.hero-eyebrow--editorial {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  color: var(--acento);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.btn-ghost--editorial {
  color: var(--texto);
  border-color: color-mix(in srgb, var(--texto) 18%, transparent);
  background: transparent;
}

.btn-ghost--editorial:hover {
  background: color-mix(in srgb, var(--primario) 6%, transparent);
  border-color: color-mix(in srgb, var(--primario) 30%, transparent);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid color-mix(in srgb, var(--texto) 12%, transparent);
  max-width: 520px;
}

.hero-stat-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--texto) 45%, transparent);
  margin-bottom: 6px;
}

.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 700;
  color: var(--texto);
  line-height: 1.2;
}

.hero-visual--editorial { justify-content: center; }

.hero-photo-frame--editorial {
  width: min(100%, 520px);
  aspect-ratio: auto;
  border: 1px solid color-mix(in srgb, var(--texto) 8%, transparent);
  box-shadow: 0 24px 64px color-mix(in srgb, var(--primario) 18%, rgba(0,0,0,0.12));
}

.hero-signature-card {
  position: absolute;
  left: -18px;
  bottom: 28px;
  z-index: 2;
  min-width: 190px;
  max-width: 240px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--texto) 8%, transparent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.hero-signature-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--texto) 45%, transparent);
  margin-bottom: 6px;
}

.hero-signature-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--texto);
  margin-bottom: 4px;
}

.hero-signature-sub {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--texto) 58%, transparent);
}

/* =====================================================
   HERO — SPLIT GALLERY (collage de fotos + tarjetas flotantes)
   ===================================================== */
.hero-shell--split_gallery {
  background: var(--fondo);
  color: var(--texto);
  min-height: auto;
}
.hero-shell--split_gallery::before { display: none; }

.header-glass--split_gallery {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
}
.header-glass--split_gallery .header-glass-inner {
  border-radius: 0;
  background: color-mix(in srgb, var(--fondo) 94%, #fff);
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--primario) 10%, transparent);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  min-height: 72px;
}
.header-glass--split_gallery .header-logo,
.header-glass--split_gallery .header-nav a {
  color: var(--texto);
}
.header-glass--split_gallery .header-nav a:hover,
.header-glass--split_gallery .header-nav a.active {
  color: var(--primario);
  background: color-mix(in srgb, var(--primario) 8%, transparent);
}
.header-glass--split_gallery .header-btn-ghost {
  color: var(--texto);
  border-color: color-mix(in srgb, var(--primario) 25%, transparent);
  background: transparent;
}

.hero--split-gallery {
  padding: 130px 0 80px;
}

.hero-split-grid--gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-6), 5vw, var(--sp-10));
  align-items: center;
}

.hero-eyebrow--gallery {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  color: var(--acento);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-bottom: var(--sp-2);
}
.hero-eyebrow--gallery::before {
  content: '★';
  font-size: 0.85em;
}

.hero-shell--split_gallery .hero h1 {
  color: var(--texto);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
}
.hero-shell--split_gallery .hero-sub {
  color: color-mix(in srgb, var(--texto) 65%, transparent);
  opacity: 1;
  margin-left: 0;
  max-width: 460px;
}

.hero-gallery-visual {
  position: relative;
}

.hero-gallery-grid {
  display: grid;
  gap: var(--sp-3);
  border-radius: var(--radius-xl);
}

/* 1 foto — imagen grande única */
.hero-gallery-grid--count-1 {
  grid-template-columns: 1fr;
}
.hero-gallery-grid--count-1 .hero-gallery-item {
  aspect-ratio: 4 / 5;
}

/* 2 fotos — apiladas, tamaños distintos */
.hero-gallery-grid--count-2 {
  grid-template-columns: 1fr;
}
.hero-gallery-grid--count-2 .hero-gallery-item:nth-child(1) { aspect-ratio: 16 / 11; }
.hero-gallery-grid--count-2 .hero-gallery-item:nth-child(2) {
  aspect-ratio: 16 / 9;
  width: 78%;
  margin-left: auto;
}

/* 3 fotos — una grande + dos apiladas */
.hero-gallery-grid--count-3 {
  grid-template-columns: 1.3fr 1fr;
}
.hero-gallery-grid--count-3 .hero-gallery-item:nth-child(1) {
  grid-row: 1 / 3;
  aspect-ratio: 3 / 4;
}
.hero-gallery-grid--count-3 .hero-gallery-item:nth-child(2),
.hero-gallery-grid--count-3 .hero-gallery-item:nth-child(3) {
  aspect-ratio: 4 / 3;
}

/* 4 fotos — collage asimétrico tipo mosaico */
.hero-gallery-grid--count-4 {
  grid-template-columns: 1fr 1fr;
}
.hero-gallery-grid--count-4 .hero-gallery-item:nth-child(1) { aspect-ratio: 4 / 3; }
.hero-gallery-grid--count-4 .hero-gallery-item:nth-child(2) { aspect-ratio: 3 / 4; }
.hero-gallery-grid--count-4 .hero-gallery-item:nth-child(3) { aspect-ratio: 3 / 4; grid-row: 2; }
.hero-gallery-grid--count-4 .hero-gallery-item:nth-child(4) { aspect-ratio: 4 / 3; grid-row: 2; }

.hero-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-gallery-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 210px;
}
.hero-gallery-badge-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primario-15);
  color: var(--primario);
}
.hero-gallery-badge-icon svg { width: 16px; height: 16px; }
.hero-gallery-badge-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--texto);
  line-height: 1.25;
}

.hero-gallery-badge--a {
  top: -18px;
  right: 12px;
}
.hero-gallery-badge--b {
  bottom: -18px;
  left: 12px;
}

@media (max-width: 900px) {
  .hero-split-grid--gallery { grid-template-columns: 1fr; text-align: center; }
  .hero-shell--split_gallery .hero-sub { margin: 0 auto; }
  .hero-actions-row { justify-content: center; }
  .hero-gallery-visual { margin-top: var(--sp-6); }
  .hero-gallery-badge { position: static; margin-top: var(--sp-2); max-width: none; }
}

.header-glass--band {
  top: 0;
  left: 0;
  transform: none;
  width: 100%;
}

.header-glass--band .header-glass-inner {
  border-radius: 0;
  background: color-mix(in srgb, var(--fondo) 92%, #fff);
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--primario) 10%, transparent);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  min-height: 72px;
}

.header-glass--band .header-logo,
.header-glass--band .header-nav a {
  color: var(--texto);
}

.header-glass--band .header-nav a:hover,
.header-glass--band .header-nav a.active {
  color: var(--primario);
  background: color-mix(in srgb, var(--primario) 8%, transparent);
}

.header-glass--band .header-btn-ghost {
  color: var(--texto);
  border-color: color-mix(in srgb, var(--primario) 25%, transparent);
  background: transparent;
}

.header-glass--fullscreen .header-glass-inner {
  background: rgba(8, 12, 24, 0.35);
}

.hero--fullscreen {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  min-height: clamp(560px, 88vh, 820px);
}

.hero-fullscreen-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--primario) 55%, rgba(0,0,0,0.2)) 0%,
    color-mix(in srgb, var(--primario) 75%, rgba(0,0,0,0.55)) 55%,
    color-mix(in srgb, var(--primario) 88%, rgba(0,0,0,0.75)) 100%
  );
}

/* Overlay lateral — foto visible a la derecha, texto legible a la izquierda (estilo inmobiliaria/lujo) */
.hero-fullscreen-overlay--side {
  background: linear-gradient(
    105deg,
    rgba(8, 12, 24, 0.9) 0%,
    rgba(8, 12, 24, 0.72) 36%,
    rgba(8, 12, 24, 0.28) 56%,
    transparent 68%
  );
}

.hero-eyebrow--pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acento);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 35%, transparent);
}

.hero-fullscreen-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-fullscreen-copy {
  max-width: min(640px, 52vw);
  text-align: left;
}

.hero-fullscreen-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-fullscreen-copy .hero-sub {
  max-width: 520px;
  color: rgba(255,255,255,0.88);
}

.hero--band {
  padding: 110px 0 0;
  text-align: center;
  color: var(--texto);
}

.hero-band-copy {
  max-width: 820px;
  margin: 0 auto var(--sp-5);
  padding-top: var(--sp-4);
}

.hero-band-copy h1 {
  color: var(--texto);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  margin-bottom: var(--sp-2);
}

.hero-eyebrow--dark {
  background: color-mix(in srgb, var(--primario) 8%, transparent);
  border-color: color-mix(in srgb, var(--primario) 18%, transparent);
  color: var(--primario);
}

.hero-sub--dark {
  color: color-mix(in srgb, var(--texto) 78%, transparent);
  margin-left: auto;
  margin-right: auto;
}

.hero-band-image {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-lg);
}

.hero-band-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-band-trust {
  padding: var(--sp-4) 0 var(--sp-6);
  display: flex;
  justify-content: center;
}

.hero-band-trust .hero-trust-item {
  color: var(--texto);
  background: color-mix(in srgb, var(--primario) 6%, transparent);
  border-color: color-mix(in srgb, var(--primario) 12%, transparent);
}

.hero-band-trust .hero-trust-item svg {
  color: var(--acento);
}

.hero--centered-stack {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 0 70px;
}

.hero-centered-photo {
  margin: var(--sp-5) auto 0;
  max-width: 640px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-lg);
}

.hero-centered-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-primary--dark {
  background: var(--primario);
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--primario) 30%, transparent);
}

.btn-outline-dark {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--primario) 35%, transparent);
  color: var(--primario);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.btn-outline-dark:hover {
  background: color-mix(in srgb, var(--primario) 8%, transparent);
}

@media (max-width: 900px) {
  .hero--band { padding-top: 96px; }
  .hero-band-image { aspect-ratio: 16 / 10; }
  .hero-fullscreen-copy { text-align: center; }
  .hero-fullscreen-copy .hero-actions-row { justify-content: center; }
  .hero-fullscreen-copy .hero-trust-row { justify-content: center; }
}

/* =====================================================
   BOTONES
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--acento);
  color: #fff;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--acento) 40%, transparent);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--acento) 50%, transparent);
}

/* CTA de WhatsApp fuera del header (hero, etc.) — mismo verde de marca fijo
   que .header-btn-whatsapp, por la misma razón: var(--acento) puede salir
   demasiado pálido para un botón que debe ser inconfundible. */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
}
.btn-whatsapp:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--primario);
  color: var(--primario);
}
.btn-outline:hover { background: var(--primario-10); }

.btn-full { width: 100%; justify-content: center; }

/* CTA compacto dentro de tarjetas (servicios/menú/portafolio/etc.) */
.btn-sm { padding: 8px 18px; font-size: 0.82rem; margin-top: var(--sp-2); }

.btn-wa-big {
  margin-top: var(--sp-4);
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.btn-wa-big:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}

/* =====================================================
   SECTIONS — ESTRUCTURA BASE
   ===================================================== */
.section {
  padding: var(--sp-12) 0;
}

.section-alt {
  background: #f8fafc;
}

.section-alt { background: #f1f3f5; }

.section-story {
  background: color-mix(in srgb, var(--primario) 4%, #fff);
}
.section-proceso {
  background: var(--primario);
  color: #fff;
}
.section-testimonios {
  background: var(--primario);
  color: #fff;
}

/* Header de sección */
.section-header {
  text-align: center;
  margin-bottom: var(--sp-10);
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: var(--sp-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acento);
}

.section h2, .section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: var(--font-weight-display);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--primario);
  margin-bottom: var(--sp-2);
}

.section-proceso h2,
.section-testimonios h2 {
  color: #fff;
}

.section-lead {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Badge tipo "FEATURED" sobre la imagen — reutilizado por catálogo,
   bienestar y portfolio (ver comparativa con tarjetas inmobiliarias). */
.service-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--acento);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* Pie de tarjeta: precio + CTA en la misma fila, separados por una línea —
   ninguna tarjeta de servicio queda sin una acción al final. */
.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid color-mix(in srgb, var(--texto) 10%, transparent);
}
.service-card-link {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primario);
  white-space: nowrap;
  transition: color 0.2s;
}
.service-card-link:hover { color: var(--acento); }

/* =====================================================
   SERVICIOS — CARDS
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--acento-15);
}

/* Imagen de servicio */
.service-card-img {
  height: 180px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

/* Número cuando no hay foto */
.service-card-num {
  height: 90px;
  background: linear-gradient(135deg, var(--primario), color-mix(in srgb, var(--primario) 70%, var(--secundario)));
  display: flex;
  align-items: flex-end;
  padding: 0 var(--sp-3) var(--sp-2);
}
.service-card-num span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.25);
  line-height: 1;
}

.service-card-body {
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
}

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primario);
  margin-bottom: var(--sp-1);
}

.service-card-body p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
}

.service-card-price {
  display: inline-block;
  margin-top: var(--sp-2);
  padding: 4px 12px;
  background: var(--acento-15);
  border: 1px solid color-mix(in srgb, var(--acento) 30%, transparent);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--acento-dark);
}

/* =====================================================
   HISTORIA / NOSOTROS
   ===================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.story-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(0,0,0,0.06);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; }

.story-copy .section-eyebrow { text-align: left; }
.story-copy h2 { text-align: left; margin-bottom: var(--sp-3); }
.story-text {
  font-size: 1rem;
  color: #475569;
  line-height: 1.75;
}

/* Diferenciadores ahora tiene 4 identidades propias (ver más abajo:
   Editorial/Taller/Bold/Salud) — el genérico compartido de antes (.diffs-grid/
   .diff-card) se retiró junto con section_diferenciadores.j2. Los sitios ya
   generados antes de este cambio tienen su propio css/style.css compilado y
   congelado en generated/{tarea_id}/ — esto no los afecta. */

/* =====================================================
   EQUIPO
   ===================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4);
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-1);
  padding: var(--sp-4);
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primario), color-mix(in srgb, var(--primario) 70%, var(--secundario)));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  box-shadow: 0 4px 14px var(--primario-20);
}
.team-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--sp-2);
}
.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--texto);
  margin: 0;
}
.team-role {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
}

/* =====================================================
   PROCESO
   ===================================================== */
.proceso-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
  position: relative;
}

.proceso-step {
  text-align: center;
  padding: var(--sp-4);
  position: relative;
}

.paso-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto var(--sp-3);
  transition: background 0.3s, border-color 0.3s;
}

.proceso-step:hover .paso-num {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
}

.paso-connector {
  display: none;
}

.proceso-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-1);
}

.proceso-step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* =====================================================
   GALERÍA
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;
  gap: var(--sp-3);
}

.gallery-item.glass-card {
  position: relative;
  margin: 0;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.gallery-item.glass-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-xl);
}

.gallery-media {
  position: absolute;
  inset: 0;
}
.gallery-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item.glass-card:hover .gallery-media img { transform: scale(1.08); }

.gallery-glass {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 28px 20px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--glass-border);
  transform: translateY(calc(100% - 3rem));
  transition: transform 0.5s var(--ease);
}
.gallery-item.glass-card:hover .gallery-glass { transform: translateY(0); }

.gallery-label {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease) 0.05s, transform 0.4s var(--ease) 0.05s;
}
.gallery-item.glass-card:hover .gallery-label { opacity: 1; transform: translateY(0); }

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  background: rgba(10,16,30,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox-img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  object-fit: contain;
}
.gallery-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* =====================================================
   TESTIMONIOS
   ===================================================== */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.testimonial {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.12);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--acento);
  margin-bottom: var(--sp-3);
}

.testimonial-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--sp-4);
  font-style: italic;
}

.testimonial-text::before { content: '"'; }
.testimonial-text::after  { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--acento);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* Autor genérico (sin nombre real del cliente) — ícono en vez de inicial
   suelta, que se leía como un placeholder roto (ver auditoría MoveFit Cali). */
.author-avatar--generic {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
}

/* Testimonios — layout quote (centrado editorial) */
.section-testimonios--quote {
  background: var(--fondo);
  color: var(--texto);
}
.section-testimonios--quote h2 { color: var(--texto); }
.testimonios-quote-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 720px;
  margin: 0 auto;
}
.testimonial-quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.35;
  font-style: italic;
  color: var(--texto);
  margin: 0 0 var(--sp-2);
  text-align: center;
}
.testimonial-quote-author {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--texto) 55%, transparent);
}

/* Testimonios — layout lista vertical */
.section-testimonios--lista .testimonios-lista {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 760px;
  margin: 0 auto;
}
.testimonial-list-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--texto) 8%, transparent);
  box-shadow: var(--shadow-sm);
}
.author-avatar--lg {
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}
/* Fondo claro en esta variante — el ícono genérico necesita contraste oscuro
   en vez del blanco translúcido pensado para el fondo de color de la grilla. */
.testimonial-list-item .author-avatar--generic {
  background: color-mix(in srgb, var(--texto) 8%, transparent);
  color: color-mix(in srgb, var(--texto) 55%, transparent);
}
.testimonial-list-text {
  margin: 0 0 8px;
  color: color-mix(in srgb, var(--texto) 78%, transparent);
  line-height: 1.55;
}
.testimonial-list-author {
  margin: 0;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primario);
}

/* =====================================================
   CONTACTO
   ===================================================== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.contacto-info .section-eyebrow { text-align: left; }
.contacto-info h2 { text-align: left; margin-bottom: var(--sp-5); }

.contacto-items { display: flex; flex-direction: column; gap: var(--sp-3); }

.contacto-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.contacto-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primario-15);
  border: 1px solid var(--primario-20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contacto-icon svg {
  width: 20px; height: 20px;
  stroke: var(--primario);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contacto-icon--wa { background: rgba(37,211,102,0.12); border-color: rgba(37,211,102,0.25); }
.contacto-icon--wa svg { stroke: none; fill: #25D366; }

.contacto-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 2px;
}
.contacto-item span,
.contacto-item a {
  font-size: 0.95rem;
  color: var(--texto);
  line-height: 1.5;
  transition: color 0.2s;
}
.contacto-item a:hover { color: var(--acento); }

/* Estado "abierto/cerrado ahora" — solo aparece cuando el horario pudo
   parsearse de forma inequívoca (ver strip_redundant_lead / parse_horario_estructura). */
.horario-estado {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 6px;
  margin-top: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
}
.horario-estado-punto {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.horario-estado--abierto {
  background: rgba(34,197,94,0.12);
  color: #16803c;
}
.horario-estado--abierto .horario-estado-punto { background: #22c55e; }
.horario-estado--cerrado {
  background: rgba(148,163,184,0.15);
  color: #64748b;
}
.horario-estado--cerrado .horario-estado-punto { background: #94a3b8; }

/* Formulario */
.contacto-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primario);
  margin-bottom: var(--sp-4);
}

.form-group { margin-bottom: var(--sp-2); }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--texto);
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primario);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primario-10);
}

.contact-form textarea { resize: vertical; }

.contact-form .contact-form-submit,
.contact-form .btn-full {
  width: auto;
  min-width: 0;
  max-width: 100%;
  display: flex;
  justify-content: center;
  margin: 8px auto 0;
}

.form-note {
  margin-top: var(--sp-2);
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
}

/* =====================================================
   WHATSAPP FLOTANTE
   ===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 2px 8px rgba(37,211,102,0.3);
  z-index: 200;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  animation: waPulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.6);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.3); }
  50%       { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 10px rgba(37,211,102,0); }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--primario);
  color: rgba(255,255,255,0.85);
  padding: var(--sp-8) 0 var(--sp-4);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--sp-4);
}

.footer-logo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: var(--font-weight-display);
  color: #fff;
  margin-bottom: var(--sp-2);
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer-bottom strong { color: rgba(255,255,255,0.6); }

.footer-rich {
  padding: var(--sp-10) 0 var(--sp-4);
}

.footer-rich-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: var(--sp-4);
}

.footer-rich-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 var(--sp-3);
}

.footer-brand-lead {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.65;
  max-width: 320px;
  margin: 0;
}

.footer-rich-links,
.footer-rich-contact,
.footer-trust-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-rich-links a,
.footer-rich-contact a {
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-rich-links a:hover,
.footer-rich-contact a:hover { color: #fff; }

.footer-rich-contact li,
.footer-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.footer-rich-contact svg,
.footer-trust-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.85;
}

.footer-trust-item span { flex: 1; }

/* =====================================================
   SECTORES UUPM — paquete visual por sector
   ===================================================== */

.sector-comercio .header-nav a,
.sector-restaurante .header-nav a,
.sector-salud_belleza .header-nav a,
.sector-taller_tecnico .header-nav a,
.sector-servicios_profesionales .header-nav a {
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.sector-comercio .header-nav a:focus-visible,
.sector-restaurante .header-nav a:focus-visible,
.sector-salud_belleza .header-nav a:focus-visible,
.sector-taller_tecnico .header-nav a:focus-visible,
.sector-servicios_profesionales .header-nav a:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 2px;
}

.sector-comercio .header-nav a:hover,
.sector-restaurante .header-nav a:hover,
.sector-salud_belleza .header-nav a:hover,
.sector-taller_tecnico .header-nav a:hover,
.sector-servicios_profesionales .header-nav a:hover {
  transform: translateY(-1px);
}

.sector-comercio .header-nav a.active,
.sector-restaurante .header-nav a.active,
.sector-salud_belleza .header-nav a.active,
.sector-taller_tecnico .header-nav a.active,
.sector-servicios_profesionales .header-nav a.active {
  transform: translateY(-1px);
  box-shadow:
    0 4px 16px color-mix(in srgb, var(--acento) 35%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--acento) 60%, transparent);
}

.sector-comercio .header-glass.scrolled .header-glass-inner,
.sector-restaurante .header-glass.scrolled .header-glass-inner,
.sector-salud_belleza .header-glass.scrolled .header-glass-inner,
.sector-taller_tecnico .header-glass.scrolled .header-glass-inner,
.sector-servicios_profesionales .header-glass.scrolled .header-glass-inner {
  background: color-mix(in srgb, var(--primario) 72%, rgba(8, 12, 24, 0.88));
  border-color: color-mix(in srgb, var(--acento) 32%, transparent);
}

.sector-comercio .header-btn-solid,
.sector-restaurante .header-btn-solid,
.sector-salud_belleza .header-btn-solid,
.sector-taller_tecnico .header-btn-solid,
.sector-servicios_profesionales .header-btn-solid {
  box-shadow: 0 4px 14px color-mix(in srgb, var(--acento) 45%, transparent);
}

.sector-comercio .header-btn-solid:hover,
.sector-restaurante .header-btn-solid:hover,
.sector-salud_belleza .header-btn-solid:hover,
.sector-taller_tecnico .header-btn-solid:hover,
.sector-servicios_profesionales .header-btn-solid:hover {
  box-shadow: 0 6px 20px color-mix(in srgb, var(--acento) 55%, transparent);
}

.sector-comercio .hero-shell {
  background: linear-gradient(
    135deg,
    var(--primario) 0%,
    color-mix(in srgb, var(--secundario) 70%, var(--primario)) 45%,
    color-mix(in srgb, var(--primario) 85%, #000) 100%
  );
}

.sector-restaurante .hero-shell {
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--primario) 90%, #1a0a00) 0%,
    color-mix(in srgb, var(--secundario) 55%, var(--primario)) 50%,
    color-mix(in srgb, var(--acento) 25%, #0d0806) 100%
  );
}

.sector-salud_belleza .hero-shell {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primario) 85%, #2a1520) 0%,
    color-mix(in srgb, var(--secundario) 60%, var(--primario)) 55%,
    color-mix(in srgb, var(--primario) 75%, #1a1018) 100%
  );
}

.sector-taller_tecnico .hero-shell {
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--primario) 95%, #000) 0%,
    color-mix(in srgb, var(--secundario) 40%, var(--primario)) 48%,
    color-mix(in srgb, var(--primario) 90%, #0a0f14) 100%
  );
}

.sector-servicios_profesionales .hero-shell {
  background: linear-gradient(
    135deg,
    var(--primario) 0%,
    color-mix(in srgb, var(--secundario) 50%, var(--primario)) 50%,
    color-mix(in srgb, var(--primario) 80%, #0a1628) 100%
  );
}

.sector-servicios_profesionales .hero-shell--fullscreen.hero-shell--has-photo {
  background: none;
}

.sector-restaurante .section-story {
  background: color-mix(in srgb, var(--fondo) 92%, var(--secundario));
}

.sector-salud_belleza .section-story {
  background: color-mix(in srgb, var(--fondo) 94%, var(--secundario));
}

.sector-taller_tecnico .section-proceso {
  background: color-mix(in srgb, var(--fondo) 90%, var(--primario));
}

.sector-servicios_profesionales .section-proceso .paso-num {
  background: var(--primario);
  color: #fff;
}

.sector-comercio .hero-eyebrow,
.sector-restaurante .hero-eyebrow,
.sector-salud_belleza .hero-eyebrow,
.sector-taller_tecnico .hero-eyebrow,
.sector-servicios_profesionales .hero-eyebrow {
  background: var(--acento-25);
  border-color: color-mix(in srgb, var(--acento) 42%, transparent);
  color: #fff;
}

.sector-comercio .hero-photo-frame,
.sector-restaurante .hero-photo-frame,
.sector-salud_belleza .hero-photo-frame,
.sector-taller_tecnico .hero-photo-frame,
.sector-servicios_profesionales .hero-photo-frame {
  isolation: isolate;
  overflow: visible;
}

.sector-comercio .hero-photo-frame img,
.sector-restaurante .hero-photo-frame img,
.sector-salud_belleza .hero-photo-frame img,
.sector-taller_tecnico .hero-photo-frame img,
.sector-servicios_profesionales .hero-photo-frame img {
  border-radius: var(--radius-xl);
}

.sector-comercio .hero-photo-frame::before,
.sector-restaurante .hero-photo-frame::before,
.sector-salud_belleza .hero-photo-frame::before,
.sector-taller_tecnico .hero-photo-frame::before,
.sector-servicios_profesionales .hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primario), var(--secundario));
  opacity: 0.38;
  z-index: -1;
  pointer-events: none;
}

.sector-comercio .hero-photo-frame:hover,
.sector-restaurante .hero-photo-frame:hover,
.sector-salud_belleza .hero-photo-frame:hover,
.sector-taller_tecnico .hero-photo-frame:hover,
.sector-servicios_profesionales .hero-photo-frame:hover {
  transform: translateY(-4px);
  transition: transform 0.35s var(--ease);
}

.sector-comercio .hero-photo-glass,
.sector-restaurante .hero-photo-glass,
.sector-salud_belleza .hero-photo-glass,
.sector-taller_tecnico .hero-photo-glass,
.sector-servicios_profesionales .hero-photo-glass {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--primario) 22%, rgba(255, 255, 255, 0.12));
  border-top-color: color-mix(in srgb, var(--acento) 35%, rgba(255, 255, 255, 0.28));
}

.sector-comercio .hero-trust-row,
.sector-restaurante .hero-trust-row,
.sector-salud_belleza .hero-trust-row,
.sector-taller_tecnico .hero-trust-row,
.sector-servicios_profesionales .hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: var(--sp-4);
}

.sector-comercio .hero--split .hero-trust-row,
.sector-restaurante .hero--split .hero-trust-row,
.sector-salud_belleza .hero--split .hero-trust-row,
.sector-taller_tecnico .hero--split .hero-trust-row,
.sector-servicios_profesionales .hero--split .hero-trust-row {
  justify-content: flex-start;
}

.sector-comercio .hero:not(.hero--split) .hero-trust-row,
.sector-restaurante .hero:not(.hero--split) .hero-trust-row,
.sector-salud_belleza .hero:not(.hero--split) .hero-trust-row,
.sector-taller_tecnico .hero:not(.hero--split) .hero-trust-row,
.sector-servicios_profesionales .hero:not(.hero--split) .hero-trust-row {
  justify-content: center;
}

.sector-comercio .hero-trust-item,
.sector-restaurante .hero-trust-item,
.sector-salud_belleza .hero-trust-item,
.sector-taller_tecnico .hero-trust-item,
.sector-servicios_profesionales .hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.sector-comercio .hero-trust-item svg,
.sector-restaurante .hero-trust-item svg,
.sector-salud_belleza .hero-trust-item svg,
.sector-taller_tecnico .hero-trust-item svg,
.sector-servicios_profesionales .hero-trust-item svg {
  flex-shrink: 0;
  opacity: 0.95;
  color: color-mix(in srgb, var(--acento) 80%, #fff);
}

.sector-comercio .hero-trust-item:hover,
.sector-restaurante .hero-trust-item:hover,
.sector-salud_belleza .hero-trust-item:hover,
.sector-taller_tecnico .hero-trust-item:hover,
.sector-servicios_profesionales .hero-trust-item:hover {
  background: var(--acento-25);
  border-color: color-mix(in srgb, var(--acento) 40%, transparent);
}

.sector-hospedaje .header-nav a {
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    background 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.sector-hospedaje .header-nav a:focus-visible {
  outline: 2px solid var(--acento);
  outline-offset: 2px;
}

.sector-hospedaje .header-nav a:hover,
.sector-hospedaje .header-nav a.active {
  transform: translateY(-1px);
}

.sector-hospedaje .header-nav a.active {
  box-shadow:
    0 4px 16px color-mix(in srgb, var(--acento) 35%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--acento) 60%, transparent);
}

.sector-hospedaje .header-glass.scrolled .header-glass-inner {
  background: color-mix(in srgb, var(--primario) 72%, rgba(8, 12, 24, 0.88));
  border-color: color-mix(in srgb, var(--acento) 32%, transparent);
}

.sector-hospedaje .header-btn-solid {
  box-shadow: 0 4px 14px color-mix(in srgb, var(--acento) 45%, transparent);
}

.sector-hospedaje .header-btn-solid:hover {
  box-shadow: 0 6px 20px color-mix(in srgb, var(--acento) 55%, transparent);
}

.sector-hospedaje .hero-shell {
  background: linear-gradient(
    140deg,
    color-mix(in srgb, var(--primario) 92%, #0a1628) 0%,
    color-mix(in srgb, var(--secundario) 45%, var(--primario)) 52%,
    color-mix(in srgb, var(--primario) 88%, #0d1b2a) 100%
  );
}

.sector-hospedaje .section-story {
  background: color-mix(in srgb, var(--fondo) 93%, var(--secundario));
}

.sector-hospedaje .hero-eyebrow {
  background: var(--acento-25);
  border-color: color-mix(in srgb, var(--acento) 42%, transparent);
  color: #fff;
}

.sector-hospedaje .hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: var(--sp-4);
}

.sector-hospedaje .hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.sector-hospedaje .hero-trust-item svg {
  flex-shrink: 0;
  opacity: 0.95;
  color: color-mix(in srgb, var(--acento) 80%, #fff);
}

/* =====================================================
   ACCESIBILIDAD
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .gallery-glass { transform: translateY(0); background: rgba(0,0,0,0.55); }
  .gallery-label { opacity: 1; transform: none; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .stagger-grid > * { opacity: 1; transform: none; }
}

/* =====================================================
   RESPONSIVE — TABLET (max 900px)
   ===================================================== */
@media (max-width: 900px) {
  .section { padding: var(--sp-10) 0; }

  /* Nav */
  .header-nav { display: none; }
  .nav-toggle { display: flex; }

  .header-glass-inner.menu-open .header-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    background: rgba(8,12,24,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1);
    padding: var(--sp-3);
    gap: var(--sp-1);
  }

  .header-glass-inner.menu-open .header-nav a {
    width: 100%;
    text-align: center;
  }

  .header-glass-inner.menu-open .nav-dropdown {
    width: 100%;
  }

  .header-glass-inner.menu-open .nav-dropdown-toggle {
    width: 100%;
    justify-content: center;
  }

  .header-glass-inner.menu-open .nav-dropdown-menu {
    position: static;
    transform: none;
    display: none;
    width: 100%;
    margin-top: 4px;
    background: rgba(255,255,255,0.06);
    border: none;
    box-shadow: none;
  }

  .header-glass-inner.menu-open .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
  }

  .header-glass--light-theme .header-glass-inner.menu-open .nav-dropdown-menu {
    background: rgba(15,15,15,0.04);
  }

  /* Tema claro: el dropdown móvil usa fondo oscuro fijo arriba — sin esto,
     el texto (color var(--texto), pensado para fondo claro) queda casi
     invisible sobre ese fondo oscuro. */
  .header-glass--light-theme .header-glass-inner.menu-open .header-nav {
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(15,15,15,0.08);
  }

  .header-nav {
    flex: 1 1 100%;
    justify-content: center;
    gap: 4px 8px;
  }

  .header-nav a {
    font-size: 0.78rem;
    padding: 6px 10px;
  }

  /* Hero split → stack */
  .hero-split-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy h1,
  .hero-copy .hero-sub { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-actions-row { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-photo-frame { width: min(100%, 320px); }

  .sector-comercio .hero-trust-row,
  .sector-restaurante .hero-trust-row,
  .sector-salud_belleza .hero-trust-row,
  .sector-taller_tecnico .hero-trust-row,
  .sector-servicios_profesionales .hero-trust-row {
    justify-content: center;
  }

  /* Story */
  .story-grid { grid-template-columns: 1fr; }
  .story-copy h2, .story-copy .section-eyebrow { text-align: center; }

  /* Contacto */
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-info h2, .contacto-info .section-eyebrow { text-align: center; }
  .contacto-items { align-items: center; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: var(--sp-5); }
  .footer-brand p { max-width: none; }
  .footer-links { justify-content: center; }
  .footer-bottom { justify-content: center; }
  .footer-rich-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .footer-rich-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand-lead { max-width: none; margin: 0 auto; }
}

/* =====================================================
   RESPONSIVE — MÓVIL (max 480px)
   ===================================================== */
@media (max-width: 480px) {
  :root { --sp-12: 64px; }

  .header-glass { top: 12px; width: calc(100% - 20px); }
  .header-structure--bar,
  .header-structure--line { top: 0; width: 100%; }
  .header-actions { display: none; }

  .hero { padding: 150px 0 60px; }
  .hero--split { padding: 130px 0 50px; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .proceso-steps { grid-template-columns: 1fr; }

  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}

/* =====================================================
   VARIANTES UUPM — layouts distintos
   ===================================================== */

.variant-catalogo .section-catalog {
  background: color-mix(in srgb, var(--texto) 4%, var(--fondo));
}

.variant-catalogo .catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 20px;
}

.variant-catalogo .catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 28px -12px color-mix(in srgb, var(--texto) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--texto) 8%, transparent);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.variant-catalogo .catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--texto) 28%, transparent);
}

.variant-catalogo .catalog-card-media,
.sector-comercio .catalog-card-media,
.catalog-card-media--product {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.variant-catalogo .catalog-card-media img,
.sector-comercio .catalog-card-media img,
.catalog-card-media--product img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.45s var(--ease);
}

.variant-catalogo .catalog-card:hover .catalog-card-media img,
.sector-comercio .catalog-card:hover .catalog-card-media img {
  transform: scale(1.02);
}

.variant-catalogo .catalog-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--texto) 6%, #fff),
    color-mix(in srgb, var(--texto) 12%, #fff)
  );
}

.variant-catalogo .catalog-card-body {
  padding: 0 2px 2px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.variant-catalogo .catalog-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
  min-width: 0;
}

.variant-catalogo .catalog-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--texto);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.variant-catalogo .catalog-price {
  font-weight: 700;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--texto) 82%, transparent);
  white-space: normal;
  overflow-wrap: anywhere;
}

.variant-catalogo .catalog-category {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.3;
  color: color-mix(in srgb, var(--texto) 48%, transparent);
  letter-spacing: 0.02em;
}

.variant-catalogo .catalog-features {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.variant-catalogo .catalog-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  line-height: 1.4;
  color: color-mix(in srgb, var(--texto) 72%, transparent);
}

.variant-catalogo .catalog-feature-icon {
  flex-shrink: 0;
  color: var(--texto);
  opacity: 0.55;
  margin-top: 2px;
}

/* Producto completo visible — sin recortar fotos verticales/cuadradas */
.variant-catalogo .hero-band-image,
.sector-comercio .hero-band-image {
  aspect-ratio: 4 / 3;
  max-height: 440px;
  background: #fff;
}

.variant-catalogo .hero-centered-photo,
.sector-comercio .hero-centered-photo {
  background: #fff;
}

.variant-catalogo .hero-photo-frame,
.sector-comercio .hero-photo-frame {
  background: #fff;
}

.variant-catalogo .hero-band-image img,
.sector-comercio .hero-band-image img,
.variant-catalogo .hero-centered-photo img,
.sector-comercio .hero-centered-photo img,
.variant-catalogo .hero-photo-frame img,
.sector-comercio .hero-photo-frame img {
  object-fit: contain;
  object-position: center;
}

/* Galería comercio — producto completo visible (misma lógica que catálogo) */
.variant-catalogo .gallery-item.glass-card,
.sector-comercio .gallery-item.glass-card {
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--texto) 8%, transparent);
  box-shadow: var(--shadow-md);
}

.variant-catalogo .gallery-media,
.sector-comercio .gallery-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.variant-catalogo .gallery-media img,
.sector-comercio .gallery-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.variant-catalogo .gallery-item.glass-card:hover .gallery-media img,
.sector-comercio .gallery-item.glass-card:hover .gallery-media img {
  transform: scale(1.02);
}

.variant-carta .section-favoritos {
  background: var(--fondo);
}

.variant-carta .favoritos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
  justify-content: center;
  gap: var(--sp-3);
}

.variant-carta .favorito-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in srgb, var(--texto) 10%, transparent);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.variant-carta .favorito-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.variant-carta .favorito-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--secundario) 20%, var(--fondo));
}

.variant-carta .favorito-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.variant-carta .favorito-card:hover img { transform: scale(1.05); }

.variant-carta .favorito-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--secundario) 35%, var(--fondo)),
    color-mix(in srgb, var(--primario) 12%, var(--fondo))
  );
}

.variant-carta .favorito-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--texto);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.variant-carta .favorito-card:nth-child(2) .favorito-badge {
  background: var(--acento);
}

.variant-carta .favorito-card-body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.variant-carta .favorito-card-body h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.variant-carta .favorito-desc {
  color: color-mix(in srgb, var(--texto) 62%, transparent);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}

.variant-carta .favorito-price {
  font-weight: 700;
  color: var(--acento);
  font-size: 1rem;
}

.variant-carta .favoritos-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-5);
}

.variant-carta .favoritos-cta-btn {
  width: auto;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-pill);
  padding: 16px 28px;
}

.variant-carta .menu-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 820px;
  margin: 0 auto;
}

.variant-carta .menu-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--sp-3);
  align-items: start;
  padding: var(--sp-3);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--fondo) 88%, var(--secundario));
  border: 1px solid color-mix(in srgb, var(--secundario) 30%, transparent);
}

.variant-carta .menu-item-photo {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.variant-carta .menu-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-carta .menu-item:not(:has(.menu-item-photo)) {
  grid-template-columns: 1fr;
}

.variant-carta .menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.variant-carta .menu-item-head h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.variant-carta .menu-item-dots {
  flex: 1;
  border-bottom: 2px dotted color-mix(in srgb, var(--texto) 22%, transparent);
  min-width: 24px;
  margin-bottom: 4px;
}

.variant-carta .menu-price {
  font-weight: 700;
  color: var(--acento);
  white-space: nowrap;
  font-size: 1.05rem;
}

.variant-carta .menu-desc {
  color: color-mix(in srgb, var(--texto) 72%, transparent);
  font-size: 0.95rem;
  line-height: 1.55;
}

.variant-carta .section-menu {
  background: color-mix(in srgb, var(--fondo) 92%, var(--secundario));
}

.variant-bienestar .wellness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-3);
}

.variant-bienestar .wellness-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--fondo);
  border: 1px solid color-mix(in srgb, var(--secundario) 35%, transparent);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.variant-bienestar .wellness-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.variant-bienestar .wellness-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.variant-bienestar .wellness-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.variant-bienestar .wellness-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  color: var(--acento);
}

.variant-bienestar .wellness-card-body { padding: var(--sp-3); }

.variant-bienestar .wellness-price {
  display: inline-block;
  font-weight: 600;
  color: var(--primario);
}

.variant-hospedaje .rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-3);
}

.variant-hospedaje .room-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--fondo);
  border: 1px solid color-mix(in srgb, var(--secundario) 30%, transparent);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.variant-hospedaje .room-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.variant-hospedaje .room-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.variant-hospedaje .room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-hospedaje .room-card-body { padding: var(--sp-3); }

.variant-hospedaje .room-price {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--primario);
}

.variant-hospedaje .section-hospedaje {
  background: color-mix(in srgb, var(--fondo) 94%, var(--secundario));
}

.variant-hospedaje .amenidades-grid,
.dna-luxury-hotel .amenidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--sp-3);
}

.variant-hospedaje .amenidad-card,
.dna-luxury-hotel .amenidad-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--fondo) 96%, var(--secundario));
  border: 1px solid color-mix(in srgb, var(--secundario) 35%, transparent);
}

.variant-hospedaje .amenidad-icon,
.dna-luxury-hotel .amenidad-icon {
  color: var(--acento);
}

.dna-restaurant .section-menu {
  background: color-mix(in srgb, var(--fondo) 90%, var(--secundario));
}

.dna-luxury-hotel .hero-shell {
  min-height: clamp(520px, 72vh, 760px);
}

.dna-restaurant .hero-shell--split_editorial {
  min-height: clamp(560px, 82vh, 780px);
}

.dna-restaurant .hero-shell {
  min-height: clamp(480px, 65vh, 680px);
}

.dna-restaurant .hero--fullscreen {
  align-items: center;
  justify-content: center;
}

.dna-restaurant .hero-fullscreen-copy {
  text-align: center;
  margin: 0 auto;
}

.dna-restaurant .hero-fullscreen-copy .hero-actions-row,
.dna-restaurant .hero-fullscreen-copy .hero-trust-row {
  justify-content: center;
}

.dna-luxury-hotel .hero--fullscreen {
  align-items: flex-end;
}

.dna-luxury .hero-band-copy h1 {
  letter-spacing: -0.03em;
}

.variant-profesional .pro-services-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  max-width: 980px;
  margin: 0 auto;
}

.variant-profesional .pro-service-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--primario) 12%, transparent);
  background: color-mix(in srgb, var(--fondo) 96%, var(--primario));
}

.variant-profesional .pro-service-media {
  position: relative;
}

.variant-profesional .pro-service-row--photo {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: stretch;
  gap: var(--sp-4);
}

.variant-profesional .pro-service-row--photo .pro-service-media {
  overflow: hidden;
  border-radius: var(--radius-md);
  min-height: 200px;
}

.variant-profesional .pro-service-row--photo .pro-service-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: none;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.variant-profesional .pro-service-row--photo .pro-service-body p {
  text-align: justify;
  hyphens: auto;
}

.variant-profesional .pro-service-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primario);
  color: #fff;
  font-weight: 700;
}

.variant-profesional .pro-service-row--photo .pro-service-num {
  display: none;
}

.variant-profesional .pro-service-head {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-bottom: 4px;
}

.variant-profesional .pro-service-price {
  font-weight: 700;
  color: var(--acento);
  white-space: nowrap;
}

.variant-profesional .service-wa-wrap,
.variant-catalogo .service-wa-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-3);
}

.variant-profesional .service-wa-btn,
.variant-catalogo .service-wa-btn {
  padding: 12px 26px;
}

@media (max-width: 720px) {
  .variant-profesional .pro-service-row--photo {
    grid-template-columns: 1fr;
  }
  .variant-profesional .pro-service-row--photo .pro-service-media,
  .variant-profesional .pro-service-row--photo .pro-service-media img {
    min-height: 200px;
    max-height: 240px;
  }
}

@media (max-width: 900px) {
  .variant-catalogo .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .variant-carta .favoritos-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 260px));
    justify-content: center;
  }
  .hero-stats-row { grid-template-columns: 1fr; max-width: none; }
  .hero-signature-card { left: 12px; bottom: 12px; }
  .variant-bienestar .wellness-grid { grid-template-columns: 1fr; }
  .variant-hospedaje .rooms-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .variant-catalogo .catalog-grid { grid-template-columns: 1fr; }
  .variant-carta .favoritos-grid { grid-template-columns: 1fr; }
  .footer-rich-grid { grid-template-columns: 1fr; }
  .variant-carta .menu-item {
    grid-template-columns: 1fr;
  }
  .variant-carta .menu-item-photo {
    width: 100%;
    height: 160px;
  }
}

/* =====================================================
   HERO IMAGE POSITION — anti-clonación split layouts
   ===================================================== */
.hero-split-grid--image-right .hero-copy { order: 1; }
.hero-split-grid--image-right .hero-visual { order: 2; justify-content: flex-end; }
.hero-split-grid--image-left .hero-copy { order: 2; }
.hero-split-grid--image-left .hero-visual { order: 1; justify-content: flex-start; }

/* =====================================================
   CORPORATE — split hero, portfolio, pricing, footer
   ===================================================== */
.hero-shell--split_corporate {
  background: var(--fondo);
  color: var(--texto);
  min-height: clamp(560px, 82vh, 780px);
}
.hero-shell--split_corporate::before { display: none; }
.header-glass--split_corporate { top: 0; left: 0; transform: none; width: 100%; }
.header-glass--split_corporate .header-glass-inner {
  border-radius: 0;
  background: color-mix(in srgb, var(--fondo) 94%, #fff);
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--primario) 10%, transparent);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.header-glass--split_corporate .header-logo,
.header-glass--split_corporate .header-nav a { color: var(--texto); }
.header-glass--split_corporate .header-nav a:hover,
.header-glass--split_corporate .header-nav a.active {
  color: var(--primario);
  background: color-mix(in srgb, var(--primario) 8%, transparent);
}
.header-glass--split_corporate .header-btn-ghost {
  color: var(--texto);
  border-color: color-mix(in srgb, var(--primario) 25%, transparent);
}
.hero--split-corporate { padding: 110px 0 72px; }
.hero-shell--split_corporate .hero h1 {
  color: var(--texto);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 16ch;
}
.hero-sub--corporate {
  color: color-mix(in srgb, var(--texto) 68%, transparent);
  opacity: 1;
  max-width: 48ch;
}
.hero-eyebrow--corporate {
  background: color-mix(in srgb, var(--primario) 8%, var(--fondo));
  border: 1px solid color-mix(in srgb, var(--primario) 18%, transparent);
  color: var(--primario);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  padding: 6px 12px;
}
.btn-ghost--corporate {
  color: var(--primario);
  border-color: color-mix(in srgb, var(--primario) 35%, transparent);
}
.hero-photo-frame--corporate {
  width: min(100%, 500px);
  aspect-ratio: auto;
  border: 1px solid color-mix(in srgb, var(--texto) 8%, transparent);
  box-shadow: 0 24px 64px color-mix(in srgb, var(--primario) 15%, rgba(0,0,0,0.1));
}
.hero-metric-badge {
  position: absolute;
  top: 20px;
  right: 12px;
  left: 12px;
  z-index: 2;
  min-width: 150px;
  max-width: calc(100% - 24px);
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: var(--primario);
  color: #fff;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--primario) 40%, rgba(0,0,0,0.2));
  margin-left: auto;
  width: fit-content;
}
.hero-metric-badge-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  overflow-wrap: break-word;
}
.hero-metric-badge-label {
  display: block;
  font-size: 0.78rem;
  opacity: 0.88;
  overflow-wrap: break-word;
}
.hero-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--texto) 10%, transparent);
  box-shadow: var(--shadow-sm);
}
.hero-stat-card-icon { color: var(--primario); flex-shrink: 0; }
.hero-stat-card strong { display: block; font-size: 1rem; color: var(--texto); }
.hero-stat-card span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--texto) 50%, transparent);
}
.section-portfolio .portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.portfolio-filter {
  background: none;
  border: none;
  padding: 0 0 6px;
  font: inherit;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--texto) 55%, transparent);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.portfolio-filter.is-active,
.portfolio-filter:hover {
  color: var(--primario);
  border-bottom-color: var(--primario);
}
.variant-profesional .portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--texto) 8%, transparent);
}
.portfolio-card.is-hidden { display: none; }
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.portfolio-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: color-mix(in srgb, var(--secundario) 15%, var(--fondo));
}
.portfolio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.portfolio-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primario) 12%, var(--fondo)), var(--fondo));
}
.portfolio-card-body { padding: var(--sp-3); }
.portfolio-card-body p {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--texto) 62%, transparent);
}
.portfolio-card-price {
  font-weight: 700;
  color: var(--primario);
  font-size: 1rem;
}
.variant-profesional .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--texto) 10%, transparent);
}
.pricing-card--popular {
  border-color: var(--primario);
  box-shadow: 0 20px 48px color-mix(in srgb, var(--primario) 18%, rgba(0,0,0,0.08));
}
.pricing-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primario);
}
.pricing-popular {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--primario);
  color: #fff;
  font-size: 0.65rem;
}
.pricing-desc {
  flex: 1;
  color: color-mix(in srgb, var(--texto) 62%, transparent);
  margin: 10px 0 var(--sp-3);
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.newsletter-band {
  background: color-mix(in srgb, var(--fondo) 88%, var(--secundario));
  padding: var(--sp-8) 0;
}
.newsletter-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.footer-corporate {
  background: #fff;
  color: var(--texto);
  padding: var(--sp-8) 0 var(--sp-4);
}
.footer-corp-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid color-mix(in srgb, var(--texto) 10%, transparent);
}
.footer-corporate .footer-logo { color: var(--texto); }
.footer-corp-links { list-style: none; padding: 0; margin: 0; }
.footer-corp-links a::before { content: "› "; color: var(--primario); }
.footer-bottom--corp { color: color-mix(in srgb, var(--texto) 45%, transparent); }

@media (max-width: 900px) {
  .hero-stat-cards { grid-template-columns: 1fr; }
  .variant-profesional .portfolio-grid,
  .variant-profesional .pricing-grid { grid-template-columns: 1fr; }
  .footer-corp-grid { grid-template-columns: 1fr 1fr; }
}

/* ── FAMILIAS DE SUPERFICIE (Fase 3) — radios, sombras y densidad por ADN ── */
body.surface-soft {
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 28px rgba(0,0,0,0.06);
  --shadow-lg: 0 18px 52px rgba(0,0,0,0.08);
  --sp-4: 36px;
  --sp-6: 56px;
  --sp-8: 72px;
}

body.surface-industrial {
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.14);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
  --sp-3: 20px;
  --sp-4: 28px;
}

body.surface-editorial {
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --shadow-sm: none;
  --shadow-md: 0 4px 20px rgba(0,0,0,0.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.07);
  --sp-6: 56px;
  --sp-8: 80px;
  --sp-10: 96px;
}

body.surface-luxury {
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 24px 56px rgba(0,0,0,0.10);
}

body.surface-retail {
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --shadow-md: 0 6px 18px rgba(0,0,0,0.10);
  --shadow-card-hover: 0 16px 36px rgba(0,0,0,0.12);
  --sp-3: 20px;
}

body.surface-tech {
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
}

/* =====================================================
   SECCIÓN AMBIENTE — 6 variantes por Design DNA
   Reemplazan el collage genérico de hero (split_gallery).
   Todas usan --primario/--acento/--fondo/--texto/--font-* del
   sitio, así que heredan la paleta y tipografía de cada ADN.
   ===================================================== */

/* ---------- A: Diagonal (taller, retail) ---------- */
.ambiente-diagonal { padding: 0; background: var(--texto); }
.ad-zigzag { display: flex; height: clamp(300px, 40vw, 440px); overflow: hidden; }
.ad-slice { flex: 1; position: relative; overflow: hidden; transform: skewX(-9deg); margin-left: -34px; }
.ad-slice:first-child { margin-left: 0; }
.ad-slice img {
  position: absolute; top: 0; left: -20%; width: 140%; height: 100%;
  object-fit: cover; transform: skewX(9deg) scale(1.15);
}
.ad-slice-stat { background: var(--acento); display: flex; align-items: center; justify-content: center; flex: 1.1; }
.ad-inner { transform: skewX(9deg); text-align: center; padding: 0 6px; }
.ad-inner b { display: block; font-family: var(--font-display); font-weight: var(--font-weight-display); font-size: clamp(38px, 5vw, 60px); color: var(--texto); line-height: .9; }
.ad-inner span { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--texto); }
.ad-below { padding: var(--sp-5) var(--sp-3); display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-3); flex-wrap: wrap; }
.ad-below h2 { font-family: var(--font-display); font-weight: var(--font-weight-display); font-size: clamp(22px, 3vw, 32px); color: #fff; margin: 0; max-width: 18ch; }
.ad-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 820px) { .ad-zigzag { height: 260px; } .ad-slice { margin-left: -18px; } }

/* ---------- B: Crossfade (restaurante) ---------- */
.ambiente-crossfade { padding: 0; }
.ac-hero { position: relative; height: clamp(420px, 56vw, 580px); overflow: hidden; color: #fff; }
.ac-layer { position: absolute; inset: 0; opacity: 0; background-size: cover; background-position: center; animation-name: ac-fade; animation-iteration-count: infinite; }
@keyframes ac-fade { 0% { opacity: 0; } 4% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
.ac-wash { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.3) 100%); }
.ac-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: var(--sp-6); }
.ac-kicker { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--acento); margin-bottom: var(--sp-2); }
.ac-head { font-family: var(--font-display); font-weight: var(--font-weight-display); font-size: clamp(32px, 6vw, 68px); line-height: 1; margin: 0 0 var(--sp-3); max-width: 14ch; }
.ac-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-3); flex-wrap: wrap; }
.ac-row p { font-size: 14px; max-width: 38ch; margin: 0; opacity: .88; }
.ac-cta { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .ac-layer { animation: none; opacity: 0; } .ac-layer:first-child { opacity: 1; } }

/* ---------- C: Contador a escala (corporate/corporativo/legal) ---------- */
.ambiente-contador { padding: 0; }
.acn-hero { position: relative; height: clamp(400px, 50vw, 520px); overflow: hidden; color: #fff; }
.acn-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acn-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.08) 100%); }
.acn-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; }
.acn-num-block { display: flex; align-items: baseline; gap: 14px; }
.acn-num { font-family: var(--font-display); font-weight: var(--font-weight-display); font-size: clamp(56px, 9vw, 128px); line-height: .85; color: var(--acento); overflow-wrap: anywhere; max-width: 8ch; }
.acn-num-label { font-family: var(--font-body); font-weight: 600; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: #E4E4E4; max-width: 9ch; line-height: 1.4; }
.acn-side { max-width: 34ch; }
.acn-kicker { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: var(--sp-2); }
.acn-side h2 { font-family: var(--font-display); font-weight: var(--font-weight-display); font-size: clamp(19px, 2.2vw, 26px); line-height: 1.4; margin: 0 0 var(--sp-3); color: #fff; }
.acn-link { font-family: var(--font-body); font-weight: 600; font-size: 13.5px; color: #fff; text-decoration: none; border-bottom: 1px solid var(--acento); padding-bottom: 3px; }
@media (max-width: 820px) { .acn-content { flex-direction: column; align-items: flex-start; padding: var(--sp-6) 0; } }

/* ---------- D: Un solo plano (salud_belleza) ---------- */
.ambiente-plano { position: relative; height: clamp(460px, 60vw, 600px); overflow: hidden; color: #fff;
  clip-path: polygon(0% 6%, 18% 1.5%, 38% 4.5%, 58% 0%, 80% 3.5%, 100% 0.5%, 100% 100%, 0% 100%); }
.ap-photo { position: absolute; inset: 0; }
.ap-layer { position: absolute; inset: 0; opacity: 0; background-size: cover; background-position: center; animation-name: ac-fade; animation-iteration-count: infinite; }
.ap-wash { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(100deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.32) 45%, rgba(0,0,0,0) 70%),
  linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 40%); }
.ap-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: var(--sp-6); }
.ap-kicker { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--acento); margin-bottom: var(--sp-2); }
.ambiente-plano h2 { font-family: var(--font-display); font-weight: var(--font-weight-display); font-size: clamp(28px, 4.2vw, 50px); margin: 0 0 var(--sp-3); max-width: 11ch; }
.ambiente-plano h2 em { font-style: italic; color: var(--acento); }
.ap-row { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-3); flex-wrap: wrap; }
.ap-row p { font-size: 14px; max-width: 32ch; margin: 0; opacity: .9; }
.ap-btn { border-color: #fff !important; color: #fff !important; }
.ap-btn:hover { background: #fff !important; color: var(--texto) !important; }
@media (prefers-reduced-motion: reduce) { .ap-layer { animation: none; opacity: 0; } .ap-layer:first-child { opacity: 1; } }

/* ---------- E: Scroll con panel fijo (hospedaje) ---------- */
.ambiente-scroll { padding: var(--sp-10) 0; }
.asc-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--sp-8); }
.asc-panel { position: sticky; top: 40px; align-self: start; }
.asc-kicker { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--acento); margin-bottom: var(--sp-2); }
.asc-head { font-family: var(--font-display); font-weight: var(--font-weight-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin: 0 0 var(--sp-2); color: var(--primario); }
.asc-index { font-family: var(--font-body); font-size: 12px; color: var(--secundario); margin-bottom: var(--sp-2); font-variant-numeric: tabular-nums; }
.asc-caption { font-size: 14px; line-height: 1.7; color: var(--texto); opacity: .75; max-width: 36ch; margin: 0 0 var(--sp-4); min-height: 48px; }
.asc-link { font-family: var(--font-body); font-weight: 600; font-size: 13.5px; color: var(--primario); text-decoration: none; border-bottom: 1px solid var(--acento); padding-bottom: 3px; }
.asc-photos { display: flex; flex-direction: column; gap: var(--sp-5); }
.asc-photo { position: relative; aspect-ratio: 16/10; border-radius: var(--radius-lg); overflow: hidden; margin: 0; }
.asc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .asc-grid { grid-template-columns: 1fr; } .asc-panel { position: static; padding-bottom: var(--sp-3); } }

/* ---------- F: Marquesina (deportivo/sports) ---------- */
.ambiente-marquesina { padding: var(--sp-8) 0; background: var(--texto); overflow: hidden; }
.am-kicker { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: var(--sp-3); }
.am-marquee-wrap { position: relative; }
.am-marquee { display: flex; width: max-content; animation: am-scroll 26s linear infinite; }
.am-marquee:hover { animation-play-state: paused; }
.am-frame { width: 240px; aspect-ratio: 4/3; margin-right: 12px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.am-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-headline { margin: var(--sp-5) 0; text-align: center; }
.am-headline span {
  display: inline-block; transform: rotate(-2.5deg); background: var(--acento); color: var(--texto);
  font-family: var(--font-display); font-weight: var(--font-weight-display);
  font-size: clamp(26px, 5.5vw, 56px); padding: 6px 26px; text-transform: uppercase;
}
.am-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-3); }
.am-foot p { font-size: 14px; color: #C7C7C7; max-width: 46ch; margin: 0; }
.am-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@keyframes am-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================
   TESTIMONIOS — 3 estructuras por sector
   bold (taller/corporativo/servicios prof./comercio confianza),
   editorial (restaurante/salud/hospedaje),
   cinta (comercio de volumen/impulso).
   Todas usan var(--font-display)/var(--font-body) del ADN activo —
   nunca una familia tipográfica nueva fuera del pool cargado.
   ===================================================== */

/* ---------- Bold verificado ---------- */
.section-testimonios-bold { padding: var(--sp-8) 0; }
.tmb { background: #141414; color: #f2f0ea; border-radius: var(--radius-lg); padding: 48px clamp(24px, 5vw, 56px); }
.tmb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.tmb-eyebrow { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); }
.tmb-counter { font-family: var(--font-body); font-size: 13px; letter-spacing: .04em; color: #f2f0ea; opacity: .65; display: flex; align-items: center; gap: 10px; }
.tmb-arrow { cursor: pointer; padding: 2px 6px; opacity: .5; transition: opacity .15s ease; }
.tmb-arrow:hover, .tmb-arrow:focus-visible { opacity: 1; color: var(--acento); }
.tmb-slide.is-hidden { display: none; }
.tmb-quote { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: clamp(22px, 2.8vw, 32px); line-height: 1.3; margin: 0 0 26px; max-width: 42ch; }
.tmb--single .tmb-quote { font-size: clamp(24px, 3vw, 34px); max-width: 46ch; }
.tmb-ticks { display: flex; align-items: flex-end; gap: 5px; height: 20px; margin-bottom: 20px; }
.tmb-tick { width: 2px; background: #f2f0ea; opacity: .25; }
.tmb-tick--minor { height: 8px; }
.tmb-tick--major { height: 18px; background: var(--acento); opacity: 1; }
.tmb-meta { font-family: var(--font-body); font-size: 13px; letter-spacing: .02em; color: #f2f0ea; opacity: .85; margin-bottom: 30px; }
.tmb-meta b { font-weight: 700; opacity: 1; }
.tmb-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(242,240,234,0.15); }
.tmb-cta-text { font-family: var(--font-display); font-weight: 700; font-size: 16px; max-width: 32ch; margin: 0; color: #f2f0ea; }

/* ---------- Editorial con trazo ---------- */
.section-testimonios-editorial { padding: var(--sp-8) 0; }
.tme { max-width: 780px; margin: 0 auto; }
.tme-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.tme-eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); }
.tme-counter { font-family: var(--font-body); font-size: 12px; letter-spacing: .06em; color: var(--texto); opacity: .5; cursor: pointer; user-select: none; }
.tme-counter:hover { opacity: .85; }
.tme-slide.is-hidden { display: none; }
.tme-quote { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(19px, 2.4vw, 26px); line-height: 1.45; margin: 0 0 28px; color: var(--texto); max-width: 46ch; }
.tme--single .tme-quote { font-size: clamp(21px, 2.6vw, 28px); max-width: 48ch; }
.tme-sign { display: flex; align-items: center; gap: 14px; }
.tme-sign svg path { stroke: var(--acento); }
.tme-who { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto); opacity: .7; }
.tme-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--primario-15); }
.tme-cta-text { font-family: var(--font-display); font-style: italic; font-size: 17px; max-width: 34ch; margin: 0; color: var(--texto); }

/* ---------- Cinta de confianza ---------- */
.section-testimonios-cinta { padding: 0; }
.tmc { background: #161816; color: #f0efea; overflow: hidden; }
.tmc-marquee { border-bottom: 1px solid rgba(240,239,234,0.15); overflow: hidden; padding: 16px 0; }
.tmc-track { display: flex; gap: 36px; white-space: nowrap; width: max-content; animation: tmc-scroll 28s linear infinite; }
.tmc-item { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: 19px; text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: center; gap: 12px; opacity: .55; }
.tmc-qm { color: var(--acento); opacity: 1; }
@keyframes tmc-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tmc-feature { padding: var(--sp-8) clamp(24px, 5vw, 44px); display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: end; }
.tmc-feature-quote { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: clamp(18px, 2.2vw, 26px); line-height: 1.35; margin: 0 0 16px; text-transform: none; max-width: 42ch; }
.tmc-feature-name { font-family: var(--font-body); font-size: 13px; color: var(--acento); margin: 0; }
.tmc-panel { background: #dde7de; color: #161816; border-radius: var(--radius-md); padding: 24px; }
.tmc-panel-label { font-family: var(--font-body); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #3e6b4f; margin-bottom: 12px; }
.tmc-panel-cta { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: 18px; margin: 0 0 16px; text-transform: uppercase; line-height: 1.2; }

@media (max-width: 760px) {
  .tmc-feature { grid-template-columns: 1fr; }
}

/* =====================================================
   HERO — 3 estructuras por sector (mismo sistema que testimonios)
   bold (taller/corporativo/servicios prof./comercio confianza),
   editorial (restaurante/salud/hospedaje), cinta (comercio volumen).
   Todas parten del fallback de .hero-shell (gradiente --primario) cuando
   el negocio no subió foto de portada (hoy es obligatoria, pero se cubre
   el caso igual para datos legacy).
   ===================================================== */

.hero-shell--bold, .hero-shell--editorial, .hero-shell--cinta { min-height: clamp(560px, 84vh, 780px); }

/* ---------- Bold ---------- */
.hb { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hb-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.55) contrast(1.15) brightness(.55); z-index: 0; }
.hb-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,8,8,.94) 0%, rgba(8,8,8,.62) 48%, rgba(8,8,8,.18) 100%); z-index: 0; }
.hb--no-photo .hb-scrim { display: none; }
.hb-inner { position: relative; z-index: 1; padding: 64px clamp(24px, 6vw, 72px) 56px; }
.hb-eyebrow { display: block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: 26px; }
.hb-headline { font-family: var(--font-display); font-weight: var(--font-weight-display, 800); font-size: clamp(32px, 5vw, 58px); line-height: 1.08; max-width: 17ch; margin: 0 0 28px; color: #fff; }
.hb-ticks { display: flex; align-items: flex-end; gap: 6px; height: 24px; margin-bottom: 24px; }
.hb-tick { width: 2px; background: #fff; opacity: .25; }
.hb-tick--minor { height: 9px; }
.hb-tick--major { height: 22px; background: var(--acento); opacity: 1; }
.hb-sub { font-size: 16px; color: #fff; opacity: .78; max-width: 46ch; margin: 0 0 30px; line-height: 1.55; }
.hb-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hb-meta { font-family: var(--font-body); font-size: 12.5px; color: #fff; opacity: .7; }
.hb-meta b { opacity: 1; font-weight: 700; }
.hb-link { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: #fff; opacity: .75; text-decoration: underline; text-underline-offset: 3px; }
.hb-link:hover { opacity: 1; }

/* ---------- Editorial ---------- */
.he { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.he-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.he-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 55%, transparent 78%); z-index: 0; }
.he--no-photo .he-scrim { background: linear-gradient(0deg, rgba(0,0,0,.35) 0%, transparent 60%); }
.he-content { position: relative; z-index: 1; padding: 56px clamp(24px, 6vw, 64px); }
.he-eyebrow { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: 18px; }
.he-headline { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(28px, 4.6vw, 50px); line-height: 1.16; max-width: 15ch; margin: 0 0 22px; color: #fff; }
.he-sub { font-size: 16px; color: #fff; opacity: .85; max-width: 44ch; margin: 0 0 30px; line-height: 1.55; }
.he-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.he-sign { display: flex; align-items: center; gap: 12px; }
.he-sign svg path { stroke: var(--acento); }
.he-link { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff; opacity: .75; }
.he-link:hover { opacity: 1; }

/* ---------- Cinta — duotono de marca (foto de fondo completa) ---------- */
.hc { display: flex; flex-direction: column; flex: 1; background: color-mix(in srgb, var(--primario) 88%, #000); color: #fff; overflow: hidden; }
.hc-marquee { position: relative; z-index: 2; border-bottom: 1px solid rgba(255,255,255,.15); overflow: hidden; padding: 104px 0 14px; flex-shrink: 0; background: color-mix(in srgb, var(--primario) 88%, #000); }
.hc-track { display: flex; gap: 32px; white-space: nowrap; width: max-content; animation: hc-scroll 24s linear infinite; }
.hc-item { font-family: var(--font-display); font-weight: var(--font-weight-display, 800); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; opacity: .55; display: flex; align-items: center; gap: 10px; }
.hc-item b { color: var(--acento); opacity: 1; }
@keyframes hc-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hc-hero { position: relative; flex: 1; display: flex; align-items: center; overflow: hidden; min-height: 420px; }
.hc-photo { position: absolute; inset: 0; background: linear-gradient(150deg, var(--primario) 0%, color-mix(in srgb, var(--primario) 70%, #000) 100%); }
.hc-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.15) brightness(.85); }
.hc-duotone { position: absolute; inset: 0;
  background: linear-gradient(120deg, color-mix(in srgb, var(--acento) 75%, transparent) 0%, color-mix(in srgb, var(--primario) 88%, #000) 82%);
  mix-blend-mode: multiply; }
.hc-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,12,.82) 0%, rgba(8,9,12,.4) 52%, rgba(8,9,12,.08) 100%); }
.hc--no-photo .hc-duotone, .hc--no-photo .hc-scrim { display: none; }

.hc-content { position: relative; z-index: 1; max-width: 620px; padding: 48px clamp(24px, 6vw, 64px); }
.hc-eyebrow { display: block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: 18px; }
.hc-headline { font-family: var(--font-display); font-weight: var(--font-weight-display, 800); text-transform: uppercase; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; margin: 0 0 22px; color: #fff; }
.hc-sub { font-size: 15.5px; opacity: .78; max-width: 38ch; margin: 0 0 28px; line-height: 1.55; color: #fff; }
.hc-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hc-link { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: #fff; opacity: .7; text-decoration: underline; text-underline-offset: 3px; }
.hc-link:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .am-marquee, .tmc-track, .hc-track { animation: none; } }

/* ---------- Hero Taller — retícula (propio, separado de Bold) ---------- */
.hero-shell--taller { min-height: clamp(560px, 84vh, 780px); }
.ht { position: relative; flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; }
.ht-photo { position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--primario) 0%, color-mix(in srgb, var(--primario) 70%, #000) 100%); }
.ht-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ht--no-photo .ht-photo { background: color-mix(in srgb, var(--primario) 88%, #000); }
.ht-panel { position: relative; background: color-mix(in srgb, var(--primario) 92%, #000); overflow: hidden; display: flex; align-items: center; }
.ht-grid { position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.ht-content { position: relative; z-index: 1; padding: 56px clamp(28px, 4vw, 48px); color: #fff; }
.ht-eyebrow { display: block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: 16px; }
.ht-headline { font-family: var(--font-display); font-weight: var(--font-weight-display, 800); text-transform: uppercase; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.02; margin: 0 0 18px; color: #fff; }
.ht-sub { font-size: 15px; opacity: .72; line-height: 1.6; margin: 0 0 26px; max-width: 36ch; color: #fff; }
.ht-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.ht-link { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; color: #fff; opacity: .7; text-decoration: underline; text-underline-offset: 3px; }
.ht-link:hover { opacity: 1; }
.ht-stats { display: flex; gap: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.ht-stat-value { display: block; font-family: var(--font-display); font-weight: var(--font-weight-display, 800); font-size: 26px; line-height: 1; color: var(--acento); }
.ht-stat-label { display: block; font-family: var(--font-body); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; margin-top: 5px; opacity: .65; }
.ht-trust { display: flex; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.ht-trust-icon { flex-shrink: 0; display: flex; }
.ht-trust-icon svg { stroke: var(--acento); }
.ht-trust-text { font-family: var(--font-body); font-size: 13px; line-height: 1.45; opacity: .78; max-width: 40ch; }
@media (max-width: 760px) {
  .ht { grid-template-columns: 1fr; }
  .ht-photo { min-height: 220px; }
  .ht-content { padding: 40px 24px 44px; }
}

/* ---------- Hero Salud — respiro (propio, separado de Editorial) ---------- */
.hero-shell--salud { min-height: clamp(560px, 84vh, 780px); background: var(--fondo); }
.hs { position: relative; flex: 1; display: flex; align-items: center; overflow: hidden; }
.hs-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(240px, 1fr); align-items: center; gap: clamp(24px, 5vw, 64px); width: 100%; padding: 56px 0; }
.hs--no-photo .hs-grid { grid-template-columns: 1fr; }
.hs-photo { position: relative; height: clamp(260px, 40vw, 440px); overflow: hidden;
  border-radius: 38% 62% 71% 29% / 46% 58% 42% 54%; }
.hs-photo-img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) brightness(1.03); }
.hs-content { position: relative; z-index: 1; color: var(--texto); }
.hs--no-photo .hs-content { max-width: 620px; margin: 0 auto; text-align: left; }
.hs-eyebrow { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); margin-bottom: 20px; }
.hs-headline { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(28px, 4vw, 42px); line-height: 1.25; margin: 0 0 22px; color: var(--texto); }
.hs-sub { font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.7; opacity: .85; margin: 0 0 32px; max-width: 38ch; color: var(--texto); }
.hs-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.hs-link { font-family: var(--font-body); font-size: 13px; color: var(--texto); opacity: .6; text-decoration: underline; text-underline-offset: 3px; }
.hs-link:hover { opacity: 1; }
.hs-note { font-family: var(--font-body); font-size: 13px; color: var(--texto); opacity: .55; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--texto) 15%, transparent); max-width: 36ch; margin: 0; }
@media (max-width: 760px) {
  .hs-grid { grid-template-columns: 1fr; gap: 28px; }
  .hs-photo { height: 260px; order: -1; }
}

/* ---------- Hero Hospedaje — horizonte (propio, separado de Editorial) ---------- */
.hero-shell--hospedaje { min-height: clamp(560px, 84vh, 780px); background: color-mix(in srgb, var(--primario) 70%, #000); }
.hh { flex: 1; display: flex; flex-direction: column; }
.hh-band { position: relative; aspect-ratio: 21 / 8; overflow: hidden; background: color-mix(in srgb, var(--primario) 55%, #000); }
.hh-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hh-band-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 75%, rgba(0,0,0,.85) 100%); }
.hh-band--no-photo { background: linear-gradient(160deg, color-mix(in srgb, var(--primario) 60%, #000) 0%, color-mix(in srgb, var(--primario) 85%, #000) 100%); }
.hh-body { padding: 40px clamp(24px, 6vw, 64px) 56px; color: #fff; }
.hh-eyebrow { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--acento); margin-bottom: 18px; }
.hh-headline { font-family: var(--font-display); font-weight: var(--font-weight-display, 600); font-size: clamp(26px, 4vw, 44px); line-height: 1.14; letter-spacing: -.01em; margin: 0; max-width: 16ch; color: #fff; }
.hh-rule { width: 100%; height: 1px; background: rgba(255,255,255,.18); margin: 26px 0; }
.hh-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hh-sub { font-family: var(--font-body); font-size: 15.5px; opacity: .75; line-height: 1.6; max-width: 42ch; margin: 0; color: #fff; }
.hh-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hh-link { font-family: var(--font-body); font-size: 12.5px; color: #fff; opacity: .65; text-decoration: underline; text-underline-offset: 3px; }
.hh-link:hover { opacity: 1; }
.hh-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.hh-stat-value { display: block; font-family: var(--font-display); font-weight: var(--font-weight-display, 600); font-size: 24px; color: #fff; }
.hh-stat-label { display: block; font-family: var(--font-body); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-top: 3px; color: #fff; }
@media (max-width: 700px) {
  .hh-band { aspect-ratio: 4 / 3; }
  .hh-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Hero Boutique — comercio de confianza (propio, separado de Bold) ---------- */
.hero-shell--boutique { min-height: clamp(560px, 84vh, 780px); }
.hbq { position: relative; flex: 1; display: flex; align-items: flex-end; overflow: hidden;
  background: linear-gradient(150deg, var(--primario) 0%, color-mix(in srgb, var(--primario) 60%, var(--secundario)) 100%); }
.hbq-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hbq-scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.05) 55%, transparent 75%); }
.hbq--no-photo .hbq-scrim { background: linear-gradient(0deg, rgba(0,0,0,.25) 0%, transparent 60%); }
.hbq-folio { position: absolute; top: 32px; left: clamp(24px, 5vw, 56px); display: flex; align-items: center; gap: 10px; z-index: 1; }
.hbq-folio-rule { width: 26px; height: 2px; background: #fff; opacity: .85; }
.hbq-folio-text { font-family: var(--font-body); font-weight: 600; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: .9; }
.hbq-content { position: relative; z-index: 1; padding: 64px clamp(24px, 5vw, 56px) 56px; max-width: 620px; color: #fff; }
.hbq-headline { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 22px; color: #fff; }
.hbq-sub { font-family: var(--font-body); font-size: 16px; line-height: 1.6; opacity: .92; margin: 0 0 30px; max-width: 38ch; color: #fff; }
.hbq-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hbq-btn { background: #fff; color: var(--texto); }
.hbq-link { font-family: var(--font-body); font-size: 13px; color: #fff; opacity: .8; text-decoration: underline; text-underline-offset: 3px; }
.hbq-link:hover { opacity: 1; }

/* ---------- Testimonios Boutique — comercio de confianza (propio, separado de Bold verificado) ---------- */
.section-testimonios-boutique { padding: var(--sp-8) 0; }
.tbq { max-width: 660px; margin: 0 auto; }
.tbq-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.tbq-eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); }
.tbq-counter { font-family: var(--font-body); font-size: 11.5px; letter-spacing: .04em; color: var(--texto); opacity: .55; cursor: pointer; user-select: none; }
.tbq-counter:hover { opacity: 1; }
.tbq-grid { display: grid; grid-template-columns: 3px 1fr; gap: 20px; }
.tbq-grid.is-hidden { display: none; }
.tbq-bar { background: var(--acento); border-radius: 2px; }
.tbq-quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; margin: 0 0 16px; color: var(--texto); }
.tbq-name { font-family: var(--font-body); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--texto); }
.tbq-context { font-family: var(--font-body); font-size: 13px; color: var(--texto); opacity: .55; }

/* ---------- Historia — 3 identidades (Restaurante/Salud/Hospedaje), heredadas del hero ---------- */

/* Editorial — Restaurante */
.section-historia-editorial { padding: var(--sp-8) 0; background: var(--fondo); }
.hie-grid { display: grid; grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.1fr); gap: clamp(24px, 5vw, 48px); align-items: center; }
.hie-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.hie-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hie-eyebrow { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); margin-bottom: 18px; }
.hie-text { font-family: var(--font-body); font-size: 16.5px; line-height: 1.75; color: var(--texto); max-width: 52ch; }
.hie-text p { margin: 0 0 14px; }
.hie-text p:first-of-type::first-letter { font-family: var(--font-display); font-style: italic; font-weight: var(--font-weight-display, 600); font-size: 52px; float: left; line-height: .78; margin: 4px 10px 0 0; color: var(--acento); }
.hie-sign { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.hie-sign svg path { stroke: var(--acento); }
.hie-sign span { font-family: var(--font-display); font-style: italic; font-size: 14.5px; color: var(--texto); }
@media (max-width: 720px) { .hie-grid { grid-template-columns: 1fr; } .hie-photo { aspect-ratio: 16 / 10; } }

/* Salud — Salud y bienestar */
.section-historia-salud { padding: var(--sp-8) 0; background: var(--fondo); }
.his-inner { max-width: 660px; margin: 0 auto; text-align: center; }
.his-eyebrow { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--acento); margin-bottom: 24px; }
.his-photo { width: 168px; height: 168px; margin: 0 auto 30px; border-radius: 50% 46% 54% 48% / 52% 48% 52% 46%; overflow: hidden; }
.his-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.his-text { font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.7; color: var(--texto); text-align: left; }
.his-text p { margin: 0 0 14px; }

/* Hospedaje */
.section-historia-hospedaje { background: color-mix(in srgb, var(--primario) 70%, #000); }
.hih-band { aspect-ratio: 21 / 7; overflow: hidden; }
.hih-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hih-body { padding: 44px clamp(24px, 5vw, 64px) 56px; }
.hih-eyebrow { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--acento); margin-bottom: 18px; }
.hih-text { font-family: var(--font-display); font-style: italic; font-size: 18px; line-height: 1.65; max-width: 62ch; color: #fff; }
.hih-text p { margin: 0 0 12px; }
@media (max-width: 700px) { .hih-band { aspect-ratio: 4 / 3; } }

/* ---------- Proceso — 4 identidades (Taller/Salud/Bold/Hospedaje), heredadas del hero ---------- */

/* Taller */
.section-proceso-taller { padding: var(--sp-8) 0; background: color-mix(in srgb, var(--primario) 85%, #000); }
.pt-kicker { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: 8px; }
.section-proceso-taller .pt-title { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: clamp(22px, 2.8vw, 30px); color: #fff; margin: 0 0 32px; }
.pt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.12); border-radius: var(--radius-md); overflow: hidden; }
.pt-step { background: color-mix(in srgb, var(--primario) 90%, #000); padding: 26px 22px; }
.pt-num { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: 40px; color: var(--acento); line-height: 1; margin-bottom: 14px; }
.pt-step h4 { font-family: var(--font-body); font-weight: 700; font-size: 17px; color: #fff; margin: 0 0 8px; }
.pt-step p { font-size: 13.5px; color: #fff; opacity: .75; line-height: 1.5; margin: 0; }
@media (max-width: 700px) { .pt-steps { grid-template-columns: 1fr; } }

/* Salud */
.section-proceso-salud { padding: var(--sp-8) 0; background: var(--fondo); }
.ps-kicker { display: block; text-align: center; font-family: var(--font-body); font-weight: 400; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--acento); margin-bottom: 10px; }
.section-proceso-salud .ps-title { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.6vw, 28px); color: var(--texto); margin: 0 0 44px; text-align: center; }
.ps-steps { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; }
.ps-step { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid color-mix(in srgb, var(--texto) 12%, transparent); }
.ps-step:first-child { border-top: none; padding-top: 0; }
.ps-num { font-family: var(--font-display); font-style: italic; font-size: 28px; color: var(--acento); line-height: 1; }
.ps-step h4 { font-family: var(--font-body); font-weight: 500; font-size: 16px; color: var(--texto); margin: 0 0 6px; }
.ps-step p { font-family: var(--font-body); font-weight: 300; font-size: 14.5px; color: var(--texto); opacity: .8; line-height: 1.6; margin: 0; }

/* Bold */
.section-proceso-bold { padding: var(--sp-8) 0; background: #141414; }
.pb-kicker { display: block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: 8px; }
.section-proceso-bold .pb-title { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: clamp(22px, 2.8vw, 30px); color: #f2f0ea; margin: 0 0 36px; }
.pb-steps { max-width: 640px; margin: 0 auto; }
.pb-step { display: grid; grid-template-columns: 40px 1fr; gap: 20px; padding-bottom: 30px; position: relative; }
.pb-step:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 38px; bottom: 0; width: 1px; background: rgba(255,255,255,.15); }
.pb-step:last-child { padding-bottom: 0; }
.pb-num { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: 16px; color: #141414; background: var(--acento); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.pb-step h4 { font-family: var(--font-body); font-weight: 700; font-size: 16px; color: #f2f0ea; margin: 0 0 6px; }
.pb-step p { font-family: var(--font-body); font-size: 14px; color: #f2f0ea; opacity: .72; line-height: 1.55; margin: 0; }

/* Hospedaje */
.section-proceso-hospedaje { padding: var(--sp-8) 0 var(--sp-9, 64px); background: color-mix(in srgb, var(--primario) 70%, #000); }
.ph-kicker { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--acento); margin-bottom: 36px; }
.ph-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.ph-steps::before { content: ""; position: absolute; top: 26px; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.18); }
.ph-num { font-family: var(--font-display); font-weight: var(--font-weight-display, 600); font-size: 40px; color: var(--acento); line-height: 1; margin-bottom: 18px; position: relative; background: color-mix(in srgb, var(--primario) 70%, #000); display: inline-block; padding-right: 14px; }
.ph-step h4 { font-family: var(--font-display); font-weight: var(--font-weight-display, 600); font-size: 18px; color: #fff; margin: 0 0 8px; }
.ph-step p { font-family: var(--font-body); font-size: 13.5px; color: #fff; opacity: .7; line-height: 1.55; margin: 0; }
@media (max-width: 700px) { .ph-steps { grid-template-columns: 1fr; } .ph-steps::before { display: none; } }

/* ---------- Servicios Taller — propio, separado de servicios_profesional.j2 ---------- */
.section-servicios-taller { padding: var(--sp-8) 0; background: color-mix(in srgb, var(--primario) 92%, #000); }
.svt-kicker { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: 8px; }
.section-servicios-taller .svt-title { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); text-transform: uppercase; font-size: clamp(24px, 3vw, 32px); color: #fff; margin: 0; }
.section-servicios-taller .section-lead { color: #fff; opacity: .7; }
.svt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.svt-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.svt-photo { aspect-ratio: 4 / 3; overflow: hidden; clip-path: polygon(0 0, 92% 0, 100% 14%, 100% 100%, 0 100%); }
.svt-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svt-num { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--acento) 12%, transparent); font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: 52px; color: var(--acento); }
.svt-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.svt-body h4 { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); text-transform: uppercase; font-size: 18px; color: #fff; margin: 0 0 6px; }
.svt-body p { font-family: var(--font-body); font-size: 13.5px; color: #fff; opacity: .7; line-height: 1.5; margin: 0 0 16px; flex: 1; }
.svt-right { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.svt-price { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: 17px; color: var(--acento); white-space: nowrap; }
@media (max-width: 820px) { .svt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svt-grid { grid-template-columns: 1fr; } }

/* =====================================================
   DIFERENCIADORES — 4 identidades por sector
   ===================================================== */

/* Editorial (restaurante) — tarjetas crema, ícono circular en acento suave */
.section-diferenciadores-editorial { padding: var(--sp-8) 0; background: var(--fondo); }
.dfe-eyebrow { display: block; font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--acento); margin-bottom: 10px; }
.section-diferenciadores-editorial .dfe-title { font-family: var(--font-display); font-style: italic; font-weight: var(--font-weight-display, 600); font-size: clamp(24px, 3vw, 32px); color: var(--texto); margin: 0; }
.dfe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-5); }
.dfe-card { padding: 28px 24px; background: color-mix(in srgb, var(--fondo) 92%, var(--texto) 4%); border-radius: var(--radius-md); }
.dfe-icon { width: 46px; height: 46px; border-radius: 50%; background: color-mix(in srgb, var(--acento) 14%, transparent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.dfe-icon svg { width: 20px; height: 20px; stroke: var(--acento); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dfe-card h4 { font-family: var(--font-display); font-weight: var(--font-weight-display, 600); font-size: 17px; color: var(--texto); margin: 0 0 8px; }
.dfe-card p { font-family: var(--font-body); font-size: 14px; color: var(--texto); opacity: .75; line-height: 1.6; margin: 0; }

/* Taller — grid oscuro compacto, ícono cuadrado plano en acento */
.section-diferenciadores-taller { padding: var(--sp-8) 0; background: color-mix(in srgb, var(--primario) 85%, #000); }
.dft-eyebrow { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: 8px; }
.section-diferenciadores-taller .dft-title { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); text-transform: uppercase; font-size: clamp(22px, 2.8vw, 30px); color: #fff; margin: 0; }
.dft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; background: rgba(255,255,255,.12); border-radius: var(--radius-md); overflow: hidden; margin-top: var(--sp-5); }
.dft-card { background: color-mix(in srgb, var(--primario) 90%, #000); padding: 26px 22px; }
.dft-icon { width: 40px; height: 40px; border-radius: 4px; background: color-mix(in srgb, var(--acento) 18%, transparent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.dft-icon svg { width: 19px; height: 19px; stroke: var(--acento); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dft-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 16px; color: #fff; margin: 0 0 8px; }
.dft-card p { font-family: var(--font-body); font-size: 13.5px; color: #fff; opacity: .72; line-height: 1.55; margin: 0; }

/* Bold (corporativo/servicios profesionales/taller-testimonios) — tarjetas negras, ícono circular relleno en acento + trayectoria */
.section-diferenciadores-bold { padding: var(--sp-8) 0; background: #141414; }
.dfb-eyebrow { display: block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acento); margin-bottom: 8px; }
.section-diferenciadores-bold .dfb-title { font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: clamp(22px, 2.8vw, 30px); color: #f2f0ea; margin: 0; }
.dfb-trayectoria { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #f2f0ea; border-radius: var(--radius-md); padding: 22px 28px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: var(--sp-5); }
.dfb-ticks { display: flex; align-items: flex-end; gap: 4px; height: 18px; flex-shrink: 0; }
.dfb-tick { width: 2px; background: #fff; opacity: .25; }
.dfb-tick--minor { height: 7px; } .dfb-tick--major { height: 16px; background: var(--acento); opacity: 1; }
.dfb-quote { font-family: var(--font-body); font-size: 14.5px; line-height: 1.55; margin: 0; flex: 1; min-width: 220px; opacity: .92; }
.dfb-stat { text-align: center; border-left: 1px solid rgba(255,255,255,.15); padding-left: 22px; flex-shrink: 0; }
.dfb-stat-value { display: block; font-family: var(--font-display); font-weight: var(--font-weight-display, 700); font-size: 28px; color: var(--acento); line-height: .9; }
.dfb-stat-label { display: block; font-family: var(--font-body); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; margin-top: 5px; opacity: .7; }
.dfb-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-5); }
.dfb-card { padding: 26px 22px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-md); }
.dfb-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--acento); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.dfb-icon svg { width: 19px; height: 19px; stroke: #141414; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dfb-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 16px; color: #f2f0ea; margin: 0 0 8px; }
.dfb-card p { font-family: var(--font-body); font-size: 14px; color: #f2f0ea; opacity: .72; line-height: 1.55; margin: 0; }

/* Salud — cards claras centradas, ícono en blob orgánico */
.section-diferenciadores-salud { padding: var(--sp-8) 0; background: var(--fondo); }
.dfs-eyebrow { display: block; text-align: center; font-family: var(--font-body); font-weight: 400; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--acento); margin-bottom: 10px; }
.section-diferenciadores-salud .dfs-title { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.6vw, 28px); color: var(--texto); margin: 0; text-align: center; }
.dfs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-5); margin-top: var(--sp-6); text-align: center; }
.dfs-card { display: flex; flex-direction: column; align-items: center; }
.dfs-icon { width: 60px; height: 60px; border-radius: 58% 42% 63% 37% / 41% 55% 45% 59%; background: color-mix(in srgb, var(--acento) 14%, transparent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.dfs-icon svg { width: 24px; height: 24px; stroke: var(--acento); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dfs-card h4 { font-family: var(--font-body); font-weight: 500; font-size: 16px; color: var(--texto); margin: 0 0 8px; }
.dfs-card p { font-family: var(--font-body); font-weight: 300; font-size: 14px; color: var(--texto); opacity: .8; line-height: 1.6; margin: 0; }

/* =====================================================
   MURO DE CONFIANZA (Fase 1) — reseñas cargadas por JS,
   la sección arranca oculta (atributo hidden) y solo se
   muestra si /resenas/{tarea_id} devuelve algo.
   ===================================================== */
.muro-confianza { padding: var(--sp-8) 0; background: var(--fondo); }
.muro-confianza-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-5); }
.muro-confianza-card { background: color-mix(in srgb, var(--texto) 4%, var(--fondo)); border-radius: var(--radius-md); padding: 22px 24px; }
.muro-confianza-stars { color: var(--acento); font-size: 14px; margin-bottom: 10px; letter-spacing: 1px; }
.muro-confianza-texto { font-family: var(--font-body); font-size: 14.5px; color: var(--texto); line-height: 1.6; margin: 0 0 14px; }
.muro-confianza-autor { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--texto); opacity: .75; }

/* =====================================================
   INSIGNIA FUNDADOR (Fase 1) — insertada en el HTML ya
   generado al momento de publicar (ver routers/generacion.py),
   reemplazando el comentario <!-- FUNDADOR_BADGE --> del footer.
   ===================================================== */
.footer-fundador-badge { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 12px; border-radius: 100px; background: color-mix(in srgb, var(--acento) 16%, transparent); color: var(--acento); font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }