/* --- reset.css --- */
/* reset.css — Promecity */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--carbon);
  background-color: var(--blanco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

input, button, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
}

p {
  line-height: var(--leading-relaxed);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Accesibilidad: mantener outline solo con teclado */
:focus-visible {
  outline: 2px solid var(--ambar);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Remover animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* --- variables.css --- */
/* variables.css — Identidad visual Promecity */

:root {
  /* === COLORES PROMECITY === */
  --carbon: #313132;
  --carbon-light: #3d3d3e;
  --carbon-dark: #1a1a1b;

  --amarillo-pastel: #F6EA8A;      /* fondos amplios, detalles suaves */
  --ambar: #E0C84A;                /* botones, enlaces, precios */
  --ambar-intenso: #C9AE32;        /* hover de botones, acentos fuertes */
  --ambar-dark: #A89228;           /* active states */

  --blanco: #FFFFFF;
  --gris-claro: #F5F5F7;
  --gris-medio: #E5E5E7;
  --gris-texto: #6B6B6D;

  --whatsapp: #25D366;
  --whatsapp-hover: #1DA851;

  --error: #E53E3E;
  --success: #38A169;

  /* === TIPOGRAFÍA === */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-primary);

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* === ESPACIADO === */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* === LAYOUT === */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --header-height: 72px;
  --header-height-mobile: 60px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --border-radius-full: 9999px;

  /* === SOMBRAS === */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 24px rgba(0,0,0,0.12);

  /* === TRANSICIONES === */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* === BREAKPOINTS (referencia, usar en @media)
     Mobile:  < 640px
     Tablet:  640px - 1024px
     Desktop: > 1024px
     Wide:    > 1280px
  === */

  /* === Z-INDEX === */
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-header: 50;
  --z-overlay: 100;
  --z-modal: 200;
  --z-toast: 300;
}

/* Dark sections (header, footer, CTA) */
[data-theme="dark"] {
  --bg: var(--carbon);
  --bg-alt: var(--carbon-light);
  --text: var(--blanco);
  --text-secondary: #A1A1A3;
  --accent: var(--ambar);
  --accent-hover: var(--amarillo-pastel);
}

/* Light sections (default) */
[data-theme="light"] {
  --bg: var(--blanco);
  --bg-alt: var(--gris-claro);
  --text: var(--carbon);
  --text-secondary: var(--gris-texto);
  --accent: var(--ambar-intenso);
  --accent-hover: var(--ambar);
}


/* --- global.css --- */
/* global.css — Header, footer, nav, utilidades */

/* ── CONTENEDOR ─────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 640px)  { .container { padding-inline: var(--space-6); } }
@media (min-width: 1024px) { .container { padding-inline: var(--space-8); } }

/* ── BARRA SOCIAL SUPERIOR ───────────────────── */
/* Franja discreta y no fija (se desplaza con el scroll) encima del header,
   para no competir por espacio con el WhatsApp del header ni con el
   selector de sede/idioma, que ya van justos en móvil. */
.topbar-social { background: var(--carbon-dark); }
.topbar-social__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-2);
  height: 30px;
}
.topbar-social__inner a {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.topbar-social__inner a svg { width: 13px; height: 13px; }
.topbar-social__inner a:hover { background: var(--ambar); color: var(--carbon); }

/* ── HEADER ─────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background-color: var(--carbon);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition-base);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: var(--header-height-mobile);
}
@media (min-width: 1024px) {
  .header-inner { height: var(--header-height); }
}

/* Logo */
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img { height: 40px; width: auto; object-fit: contain; }

/* Nav desktop */
.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
  margin-left: auto;
}
@media (min-width: 1024px) { .site-nav { display: flex; } }
.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ambar);
  transition: width var(--transition-base);
}
.nav-link:hover { color: var(--blanco); }
.nav-link:hover::after { width: 100%; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
@media (min-width: 1024px) { .header-actions { margin-left: 0; } }

/* Lang toggle */
.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: var(--border-radius-full);
  padding: 3px;
}
.lang-btn {
  padding: 4px 10px;
  border-radius: var(--border-radius-full);
  font-size: 11px;
  font-weight: var(--font-semibold);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}
.lang-btn.active { background: var(--ambar); color: var(--carbon); }

/* Sede chip (switch de sede siempre visible en el header) */
.sede-chip { position: relative; }
.sede-chip__btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.08); border-radius: var(--border-radius-full);
  padding: 6px 12px; color: var(--blanco); font-size: 12px; font-weight: var(--font-semibold);
  white-space: nowrap;
}
/* Móvil: el header (logo + hamburguesa + idioma + esta chip) no tiene
   espacio para el nombre completo de la sede sin desbordar la pantalla;
   se trunca con "…" y queda igual de funcional (el nombre completo se ve
   en el dropdown al tocarlo). */
@media (max-width: 768px) {
  .header-actions { gap: var(--space-1); }
  .sede-chip__btn {
    max-width: 60px; padding-inline: 6px;
    overflow: hidden; text-overflow: ellipsis;
  }
  .sede-chip__current { overflow: hidden; text-overflow: ellipsis; }
  .lang-toggle { padding: 2px; }
  .lang-btn { padding: 4px 7px; }
}
.sede-chip__current { display: flex; align-items: center; gap: 5px; }
.sede-chip__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--blanco); border-radius: var(--border-radius); box-shadow: var(--shadow-card);
  min-width: 180px; padding: 6px; opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity var(--transition-fast), transform var(--transition-fast); z-index: var(--z-dropdown, 50);
}
.sede-chip__dropdown.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.sede-chip__item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 8px 10px; border-radius: 8px; font-size: var(--text-sm); color: var(--carbon); text-align: left;
}
.sede-chip__item:hover { background: var(--gris-claro); }
.sede-chip__item img { border-radius: 2px; }

/* Popup de bienvenida: elegir sede en la primera visita */
.sede-modal {
  position: fixed; inset: 0; z-index: var(--z-modal, 9998);
  background: rgba(20,20,21,0.8); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: var(--space-4);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.sede-modal.open { opacity: 1; pointer-events: auto; }
.sede-modal__card {
  background: var(--blanco); border-radius: var(--border-radius-lg); padding: var(--space-6);
  max-width: 560px; width: 100%; text-align: center;
  transform: scale(.94); transition: transform .3s ease;
}
.sede-modal.open .sede-modal__card { transform: scale(1); }
.sede-modal__logo { display: block; margin: 0 auto var(--space-4); width: 140px; height: auto; max-width: 40%; }
@media (max-width: 480px) { .sede-modal__logo { width: 110px; } }
.sede-modal__title { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: var(--font-bold); color: var(--carbon); margin-bottom: var(--space-5); }
.sede-modal__options { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.sede-modal__option {
  position: relative; border-radius: var(--border-radius); overflow: hidden; aspect-ratio: 3/4;
  border: 2px solid var(--gris-medio); transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.sede-modal__option:hover { transform: translateY(-2px); }
.sede-modal__option.is-suggested { border-color: var(--ambar); }
.sede-modal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 769px) {
  .sede-modal__img--mx { object-position: 0% center; }
}
.sede-modal__option::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%); }
.sede-modal__label {
  position: absolute; bottom: var(--space-3); left: 0; right: 0; z-index: 1;
  color: var(--blanco); font-weight: var(--font-semibold); font-size: var(--text-sm);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.sede-modal__label img { border-radius: 2px; }

/* Móvil: apilar las tarjetas de sede en vertical en vez de lado a lado,
   y permitir scroll interno de la tarjeta (no de la página) si el
   contenido no cabe completo en la altura visible. */
@media (max-width: 768px) {
  .sede-modal { padding: var(--space-3); }
  .sede-modal__card {
    max-width: 400px;
    padding: var(--space-5) var(--space-4);
    max-height: 90vh;
    overflow-y: auto;
  }
  .sede-modal__options { grid-template-columns: 1fr; gap: var(--space-3); }
  .sede-modal__option { aspect-ratio: 16 / 9; }
}
@media (max-width: 480px) { .sede-chip__btn span:not(.sede-chip__current) { display: none; } }

/* Botón WhatsApp header */
.btn-wa--header {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--whatsapp);
  color: var(--blanco);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  padding: 8px 16px;
  border-radius: var(--border-radius-full);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.btn-wa--header:hover { background: var(--whatsapp-hover); transform: scale(1.02); }
.btn-wa--header:active { transform: scale(0.98); }
@media (min-width: 768px) { .btn-wa--header { display: flex; } }

/* Wrapper + dropdown sede del header */
.header-wa-wrap { position: relative; display: none; }
@media (min-width: 768px) { .header-wa-wrap { display: block; } }
.header-wa-chevron { transition: transform 0.2s; margin-left: 2px; }
.header-wa-wrap.open .header-wa-chevron { transform: rotate(180deg); }
.header-wa-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--carbon);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  min-width: 210px;
  overflow: hidden;
  z-index: 200;
  animation: dropFadeIn 0.15s ease;
}
@keyframes dropFadeIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
.header-wa-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s;
}
.header-wa-dropdown__item:hover { background: rgba(255,255,255,0.1); }
.header-wa-dropdown__item:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-wa-dropdown__item img { border-radius: 2px; flex-shrink: 0; }

/* Modal video pantalla completa */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.video-modal.is-open { opacity: 1; }
.video-modal[hidden] { display: none; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
}
.video-modal__content {
  position: relative;
  width: 90vw;
  max-width: 1100px;
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.video-modal__video {
  width: 100%;
  max-height: 90vh;
  display: block;
  outline: none;
}
.video-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.video-modal__close:hover { background: rgba(0,0,0,0.9); }

@media (max-width: 480px) {
  .video-modal__content { width: 96vw; max-height: 80vh; border-radius: 8px; }
  .video-modal__video { max-height: 80vh; }
}

/* Modal galería (Corporativo / Áreas comunes, etc.) */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-modal.is-open { opacity: 1; }
.gallery-modal[hidden] { display: none; }
.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
}
.gallery-modal__content {
  position: relative;
  width: 90vw;
  max-width: 1100px;
  max-height: 90vh;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
}
.gallery-modal__tabs {
  display: flex;
  gap: 4px;
  padding: 12px 52px 0 16px;
  background: #000;
}
.gallery-modal__tab {
  padding: 8px 16px;
  border: none;
  border-radius: 8px 8px 0 0;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.gallery-modal__tab.active { background: var(--ambar); color: #1a1a1b; }
.gallery-modal__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.gallery-modal__video {
  width: 100%;
  max-height: 80vh;
  display: block;
  outline: none;
}
.gallery-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gallery-modal__close:hover { background: rgba(0,0,0,0.9); }

@media (max-width: 480px) {
  .gallery-modal__content { width: 96vw; max-height: 85vh; border-radius: 8px; }
  .gallery-modal__video { max-height: 70vh; }
  .gallery-modal__tabs { padding: 10px 44px 0 10px; }
  .gallery-modal__tab { padding: 6px 12px; font-size: 12px; }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  color: var(--blanco);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition-base);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* ── MOBILE MENU ─────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--carbon) 0%, var(--carbon-dark) 100%);
  z-index: 9999;
  display: none;
  flex-direction: column;
  padding: 80px 20px 72px;
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  animation: menuFadeIn 0.25s ease;
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo top-left */
.mobile-menu__logo {
  position: absolute;
  top: 20px;
  left: 20px;
}
.mobile-menu__logo img { height: 32px; width: auto; }

/* Close button circular */
.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  padding: 0;
}
.mobile-menu__close:hover { background: rgba(255,255,255,0.2); }

/* Nav list — iOS/Android card style */
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: background 0.15s;
}
.mobile-link:active { background: rgba(255,255,255,0.12); }
.mobile-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--ambar);
}

/* Divider */
.mobile-menu__divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 12px 0;
}

/* WhatsApp button */
.mobile-menu__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.mobile-menu__wa:active { background: #1db954; }
.mobile-menu__wa svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Lang toggle — fixed at bottom */
.mobile-menu__lang {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.mobile-menu__lang .lang-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu__lang .lang-btn.active {
  background: var(--ambar);
  border-color: var(--ambar);
  color: var(--carbon);
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--z-header) + 9);
}
.mobile-overlay.show { display: block; }
.mt-auto { margin-top: auto; }

/* ── BOTONES GLOBALES ────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--amber { background: var(--ambar); color: var(--carbon); }
.btn--amber:hover { background: var(--ambar-intenso); box-shadow: 0 4px 12px rgba(224,200,74,0.35); }
.btn--outline { background: transparent; border: 1.5px solid var(--gris-medio); color: var(--carbon); }
.btn--outline:hover { background: var(--gris-claro); border-color: var(--carbon); }
.btn--full { width: 100%; justify-content: center; }

/* WhatsApp buttons */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp);
  color: var(--blanco);
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  padding: 12px 20px;
  border-radius: 8px;
  transition: all var(--transition-fast);
  cursor: pointer;
}
.btn-wa:hover { background: var(--whatsapp-hover); transform: translateY(-1px); }
.btn-wa:active { transform: scale(0.98); }
.btn-wa--full { width: 100%; border-radius: 8px; }
.btn-wa--cta {
  padding: 16px 36px;
  font-size: var(--text-base);
  border-radius: var(--border-radius-full);
}

/* ── EYEBROW / TÍTULOS ───────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 11px;
  font-weight: var(--font-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ambar);
  margin-bottom: var(--space-4);
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ambar);
  flex-shrink: 0;
}
.eyebrow--left {
  border-left: 3px solid var(--ambar);
  padding-left: var(--space-3);
  color: var(--ambar);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--font-bold);
  color: var(--carbon);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
}
.section-subtitle {
  color: var(--gris-texto);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  max-width: 560px;
}
.section-header { margin-bottom: var(--space-10); }

/* ── FAB WHATSAPP ────────────────────────────── */
/* Shared WA sede dropdown/popup — hidden by default, shown via .active */
.wa-sede-dropdown {
  display: none;
  background: var(--carbon);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  overflow: hidden;
  min-width: 210px;
}
.wa-sede-dropdown.active {
  display: flex;
  flex-direction: column;
  animation: dropFadeIn 0.2s ease;
}
.wa-sede-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s;
}
.wa-sede-item:hover { background: rgba(255,255,255,0.1); }
.wa-sede-item:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.08); }
.wa-sede-item img { border-radius: 2px; flex-shrink: 0; }

/* CTA section dropdown */
.cta-wa-wrap { position: relative; display: inline-block; }
.cta-wa-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
}

/* FAB wrapper (takes over fixed positioning) */
.fab-wa-wrap {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-4);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.fab-wa-popup { margin-bottom: 4px; }
.fab-wa-popup.active,
.cta-wa-dropdown.active {
  flex-direction: row;
  min-width: unset;
}
.fab-wa-popup .wa-sede-item,
.cta-wa-dropdown .wa-sede-item {
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  text-align: center;
  font-size: 0.72rem;
  white-space: nowrap;
}
.fab-wa-popup .wa-sede-item:not(:last-child),
.cta-wa-dropdown .wa-sede-item:not(:last-child) {
  border-bottom: none;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.wa-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--blanco);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  animation: pulse-wa 2.5s ease infinite;
  transition: transform var(--transition-spring), background var(--transition-fast);
}
.wa-fab:hover { background: var(--whatsapp-hover); transform: scale(1.1); animation: none; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.7); }
}

/* ── FOOTER ─────────────────────────────────── */
.site-footer {
  background: var(--carbon-dark);
  color: var(--blanco);
  padding-block: var(--space-12) var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-logo { height: 50px; width: auto; margin-bottom: var(--space-4); }
.footer-tagline {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}
.footer-socials { display: flex; gap: var(--space-3); }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--blanco);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.footer-socials a:hover { background: var(--ambar); color: var(--carbon); }

.footer-col__title {
  font-size: 11px;
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  color: var(--ambar);
  margin-bottom: var(--space-4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a, .footer-col span {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col a svg, .footer-col a img,
.footer-col span svg, .footer-col span img { flex-shrink: 0; }
.footer-col a:hover { color: var(--blanco); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  align-items: flex-start;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-credit a { color: rgba(255,255,255,0.35); transition: color var(--transition-fast); }
.footer-credit a:hover { color: var(--ambar); }

/* ── ACCESIBILIDAD ───────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--ambar); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }


/* --- home.css --- */
/* home.css — Estilos exclusivos del Home */

/* ══ S1 · HERO ══════════════════════════════ */
.hero {
  background: var(--carbon);
  color: var(--blanco);
  padding-block: 16px var(--space-6);
  overflow: hidden;
  max-height: calc(100vh - var(--header-height));
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}
@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: start;
    padding-block: 0;
  }
}
@media (min-width: 1024px) {
  .hero__video-wrap {
    aspect-ratio: 16/9;
    max-height: 280px;
  }
  .reserva-widget {
    padding: var(--space-2);
  }
  .reserva-widget__title {
    margin-bottom: var(--space-1);
    font-size: 12px;
  }
  .sede-btns {
    margin-bottom: var(--space-1);
  }
}
.hero .eyebrow { color: var(--ambar); font-size: 10px; letter-spacing: 0.15em; }

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--blanco);
  margin-bottom: var(--space-3);
}
.hero__title em { color: var(--ambar); font-style: normal; display: block; }

.hero__subtitle {
  color: rgba(255,255,255,0.72);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  max-width: 440px;
  margin-bottom: var(--space-3);
}

.hero__cta-line {
  color: var(--ambar);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-3);
}

.hero__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--border-radius-full);
  font-size: 11px; font-weight: var(--font-semibold);
}
.badge--check { background: rgba(56,161,105,0.18); color: #4ade80; border: 1px solid rgba(74,222,128,0.25); }
.badge--star  { background: rgba(224,200,74,0.15); color: var(--ambar); border: 1px solid rgba(224,200,74,0.25); }

.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); }
.hero__ctas .btn--outline { color: var(--blanco); border-color: rgba(255,255,255,0.25); }
.hero__ctas .btn--outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.hero__stats {
  display: flex; align-items: center; gap: var(--space-4);
  padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,0.1);
}
.stat { text-align: left; }
.stat__num {
  display: block; font-family: var(--font-heading);
  font-size: var(--text-xl); font-weight: 800;
  color: var(--ambar); line-height: 1; margin-bottom: 2px;
}
.stat__label { font-size: 10px; color: rgba(255,255,255,0.5); line-height: 1.3; }
.stat__divider { width: 1px; height: 30px; background: rgba(255,255,255,0.12); flex-shrink: 0; }

.hero__visual { display: flex; flex-direction: column; gap: var(--space-2); }
.hero__img-wrap { border-radius: var(--border-radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero__img-wrap:hover .hero__img { transform: scale(1.03); }

.reserva-widget {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius); padding: var(--space-3); backdrop-filter: blur(8px);
}
.reserva-widget__title { font-size: var(--text-sm); font-weight: var(--font-semibold); color: rgba(255,255,255,0.8); margin-bottom: var(--space-2); }
.sede-btns { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-2); }
.sede-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.15);
  background: transparent; color: rgba(255,255,255,0.7);
  font-size: var(--text-sm); font-weight: var(--font-semibold); cursor: pointer;
  transition: all var(--transition-fast); white-space: nowrap;
}
.sede-btn img { width: 20px; height: auto; flex-shrink: 0; }
.sede-btn:hover { border-color: var(--ambar); color: var(--ambar); }
.sede-btn.active { background: var(--ambar); border-color: var(--ambar); color: var(--carbon); }


/* ══ S3b · EQUIPO ═══════════════════════════ */
.equipo { background: var(--blanco); padding-block: var(--space-16); }
.team-tabs { display: flex; gap: var(--space-3); margin-bottom: var(--space-8); flex-wrap: wrap; }
.team-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--border-radius-full);
  border: 2px solid var(--gris-claro);
  background: transparent; color: var(--gris-texto);
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: var(--font-semibold);
  cursor: pointer; transition: all var(--transition-fast); white-space: nowrap;
}
.team-tab:hover { border-color: var(--ambar); color: var(--ambar); }
.team-tab.active { background: var(--ambar); border-color: var(--ambar); color: var(--carbon); }
.team-panel { animation: teamFadeIn 0.3s ease; }
.team-panel--hidden { display: none !important; }
@keyframes teamFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.equipo-grid {
  display: flex; gap: var(--space-6);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-2); scrollbar-width: none;
}
.equipo-grid::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .equipo-grid { display: grid; grid-template-columns: repeat(5, 1fr); overflow-x: visible; }
  .equipo-grid--sm { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
}
.team-card { flex: 0 0 150px; text-align: center; }
.team-card__img-wrap {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; margin: 0 auto var(--space-3);
  background: var(--gris-claro);
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.team-card__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-card__initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #FFF3C4; color: var(--carbon);
  font-size: 1.2rem; font-weight: var(--font-bold); font-family: var(--font-heading);
}
.team-card__name { font-family: var(--font-heading); font-size: var(--text-sm); font-weight: var(--font-bold); color: var(--carbon); margin-bottom: 4px; }
.team-card__role { font-size: var(--text-xs); color: var(--gris-texto); line-height: var(--leading-relaxed); margin-bottom: var(--space-2); }
.team-card__social { display: flex; gap: 8px; justify-content: center; margin-top: 6px; }
.team-card__social a {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gris-claro); color: var(--carbon);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.team-card__social a:hover { background: var(--ambar); color: var(--carbon); }
.team-card__social a.linkedin { color: #0A66C2; }
.team-card__social a.linkedin:hover { background: #0A66C2; color: #fff; }

/* ══ S5b · CÓMO LLEGAR ══════════════════════ */
.llegar { background: var(--gris-claro); padding-block: var(--space-16); }
.llegar-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 768px) { .llegar-grid { grid-template-columns: 1fr 1fr; } }
.llegar-card {
  background: var(--blanco); border-radius: var(--border-radius-lg);
  padding: var(--space-5); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.llegar-card__header { display: flex; align-items: center; gap: var(--space-3); }
.llegar-card__city { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: var(--font-bold); color: var(--carbon); }
.llegar-card__addr { font-size: var(--text-sm); color: var(--gris-texto); line-height: var(--leading-relaxed); }
.llegar-card iframe { display: block; }

/* ══ S2 · SEDES ═════════════════════════════ */
.sedes { background: var(--gris-claro); padding-block: var(--space-16); }
.sedes-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 640px) { .sedes-grid { grid-template-columns: 1fr 1fr; } }

/* FIX: tarjetas carbón oscuro con texto blanco según propuesta */
.sede-card {
  background: var(--carbon); border-radius: var(--border-radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex; flex-direction: column;
}
.sede-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.sede-card__img-wrap { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.sede-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sede-card:hover .sede-card__img { transform: scale(1.04); }
.sede-card__flag {
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
  border-radius: 0;
  position: static;
  display: block;
}
.sede-card__flag img {
  width: 36px;
  height: auto;
  display: block;
}
.sede-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); background: var(--carbon); flex: 1; }
.sede-card__body .btn { margin-top: auto; }
.sede-card__city { font-family: var(--font-heading); font-size: var(--text-xl); font-weight: var(--font-bold); color: var(--blanco); }
.sede-card__zone { font-size: var(--text-sm); color: var(--ambar); font-weight: var(--font-medium); }
.sede-card__desc { font-size: var(--text-sm); color: rgba(255,255,255,0.6); line-height: var(--leading-relaxed); margin-bottom: var(--space-2); }


/* ══ S3 · TODO INCLUIDO ═════════════════════ */
.incluido { background: var(--blanco); padding-block: var(--space-16); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (min-width: 640px)  { .features-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .features-grid { gap: var(--space-6); } }

.feature-card {
  background: var(--gris-claro); border-radius: var(--border-radius);
  padding: var(--space-5); border: 1px solid var(--gris-medio);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}
.feature-card:hover { border-color: var(--ambar); box-shadow: 0 4px 16px rgba(224,200,74,0.15); transform: translateY(-2px); }
/* FIX: ícono uniforme — fondo amarillo pastel, SVG carbón */
.feature-card__icon {
  width: 52px; height: 52px;
  background: var(--amarillo-pastel);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--carbon);
  margin-bottom: var(--space-4);
  flex-shrink: 0;
}
.feature-card__icon svg { display: block; }
.feature-card__title { font-family: var(--font-heading); font-size: var(--text-base); font-weight: var(--font-semibold); color: var(--carbon); margin-bottom: var(--space-1); }
.feature-card__subtitle { font-size: var(--text-sm); font-weight: var(--font-semibold); color: var(--ambar-dark); margin-bottom: var(--space-2); }
.feature-card__desc { font-size: var(--text-sm); color: var(--gris-texto); line-height: var(--leading-relaxed); }


/* ══ S4 · PLANES ════════════════════════════ */
.planes { background: var(--gris-claro); padding-block: var(--space-16); }
.planes-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: var(--space-2); }
.planes-grid { display: grid; grid-template-columns: repeat(3, minmax(280px, 1fr)); gap: var(--space-5); }
@media (min-width: 1024px) { .planes-scroll { overflow-x: visible; } .planes-grid { grid-template-columns: repeat(3, 1fr); } }

.plan-card {
  background: var(--blanco); border-radius: var(--border-radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.plan-card__img-wrap { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.plan-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.plan-card:hover .plan-card__img { transform: scale(1.05); }
.plan-card__badge {
  position: absolute; top: var(--space-3); left: var(--space-3);
  background: var(--ambar); color: var(--carbon);
  font-size: 11px; font-weight: var(--font-bold); padding: 4px 10px; border-radius: var(--border-radius-full);
}
.plan-card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex-grow: 1; }
.plan-card__name { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: var(--font-bold); color: var(--carbon); }
.plan-card__desc { font-size: var(--text-sm); color: var(--gris-texto); line-height: var(--leading-relaxed); flex-grow: 1; }
.plan-card__price {
  display: flex; align-items: baseline; gap: 4px;
  padding-block: var(--space-2);
  border-top: 1px solid var(--gris-medio); border-bottom: 1px solid var(--gris-medio);
  margin-block: var(--space-2);
}
.price__from { font-size: 11px; color: var(--gris-texto); }
/* FIX: precio en ámbar, prominente */
.price__num { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 800; color: var(--ambar); }
.price__period { font-size: var(--text-sm); color: var(--gris-texto); }


/* ══ S5 · PASOS ═════════════════════════════ */
.pasos { background: var(--carbon); color: var(--blanco); padding-block: var(--space-16); }
.pasos .section-title { color: var(--blanco); }
.pasos .eyebrow { color: var(--ambar); }
.pasos-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: center; }
@media (min-width: 768px) { .pasos-grid { grid-template-columns: 1fr auto 1fr auto 1fr; gap: var(--space-4); } }

.paso { text-align: center; }
.paso__num { display: inline-block; font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--ambar); opacity: 0.25; line-height: 1; margin-bottom: var(--space-2); }
.paso__title { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: var(--font-bold); color: var(--blanco); margin-bottom: var(--space-2); }
.paso__desc { font-size: var(--text-sm); color: rgba(255,255,255,0.55); line-height: var(--leading-relaxed); }
.paso__arrow { font-size: var(--text-2xl); color: var(--ambar); opacity: 0.4; display: none; }
@media (min-width: 768px) { .paso__arrow { display: block; } }


/* ══ S6 · CTA FINAL ═════════════════════════ */
.cta-final {
  background: #313132;
  padding-block: var(--space-16); text-align: center;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; top: -60px; left: 0; right: 0; height: 60px;
  background: #313132; clip-path: ellipse(55% 100% at 50% 0%);
}
.cta-final__title {
  font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800; color: #FFFFFF; line-height: var(--leading-tight); margin-bottom: var(--space-4);
}
.cta-final__subtitle { font-size: var(--text-base); color: #B0B0B0; line-height: var(--leading-relaxed); margin-bottom: var(--space-8); }
/* FIX: botón CTA verde WhatsApp (#25D366) — el más prominente de la página */
.cta-final .btn-wa--cta {
  background: var(--whatsapp);
  color: var(--blanco);
  font-size: var(--text-lg);
  padding: 18px 44px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}
.cta-final .btn-wa--cta:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.55);
}


/* --- animations.css --- */
/* animations.css — Scroll reveal + microinteractions */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.18s; }
.reveal[data-delay="3"] { transition-delay: 0.28s; }
.reveal[data-delay="4"] { transition-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* --- mobile.css --- */
/* ============================================================
   PROMECITY — Mobile App-like Experience
   ============================================================ */

/* Base app feel */
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { overscroll-behavior-y: contain; overflow-x: hidden; }

/* Touch feedback */
.btn:active, .btn-wa:active, .plan-card:active,
.sede-card:active, .hosp-card:active, .blog-card:active {
  transform: scale(0.97);
  transition: transform 0.1s;
}

/* iOS font-size zoom prevention */
input, select, textarea { font-size: 16px !important; }

/* Page content slide-in */
.page-content, main, body > section:first-of-type {
  animation: appSlideIn 0.3s ease;
}
@keyframes appSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Amber/Consultar button (non-WhatsApp inquiry) ─────────────── */
.btn--amber {
  background: var(--ambar, #E0C84A);
  color: var(--carbon, #313132);
  font-weight: 600;
}
.btn--amber:hover { background: #c9b33f; color: var(--carbon, #313132); }

/* Plan card "Consultar" — amber, not green */
.plan-card .btn-consultar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--ambar, #E0C84A);
  color: var(--carbon, #313132);
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.plan-card .btn-consultar:hover { background: #c9b33f; }
.plan-card .btn-consultar:active { transform: scale(0.97); }

/* ── Bottom navigation (mobile only) ───────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #1a1a1b;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav__list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0; padding: 0;
}
.bottom-nav__item {
  flex: 1;
  position: relative;
}

/* ── Bottom nav WA picker ───── */
.bottom-nav__wa-picker {
  position: fixed;
  bottom: 75px;
  right: 12px;
  background: var(--carbon);
  border-radius: 12px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  z-index: 200;
}
.bottom-nav__wa-picker.active { display: flex; }
.bottom-nav__wa-picker a {
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.bottom-nav__wa-picker a:active { background: rgba(255,255,255,0.1); }
.bottom-nav__wa-picker img { border-radius: 2px; }
/* Botón WA del bottom nav — igual que los .bottom-nav__link */
button.bottom-nav__link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  width: 100%;
}
.bottom-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.15s;
  min-height: 56px;
}
.bottom-nav__link:active { transform: scale(0.92); }
.bottom-nav__link.active { color: var(--ambar, #E0C84A); }
.bottom-nav__link--wa { color: #25D366; }
.bottom-nav__link--wa.active { color: #25D366; }
.bottom-nav__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.bottom-nav__label { font-size: 10px; }

@media (max-width: 767px) {
  .bottom-nav { display: block; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .wa-fab { display: none !important; }
  .hero { height: auto !important; max-height: none !important; overflow: visible !important; }
  /* Swap inline video for static poster on mobile */
  .hero__video-wrap { display: none !important; }
  .hero__gallery-btn { display: none !important; }
  .hero__video-mobile { display: block; }
}

/* ── Team section ───────────────────────────────────────────────── */
.equipo {
  background: #fff;
  padding: 5rem 0;
}
.equipo-scroll {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-left: 1rem;
  padding-right: 1rem;
}
.equipo-scroll::-webkit-scrollbar { display: none; }
.team-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}
.team-card__img-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--carbon, #313132);
  margin: 0;
}
.team-card__role {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.3;
}

@media (min-width: 900px) {
  .equipo-scroll {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
    padding: 1.5rem 0;
  }
  .team-card { flex: none; }
}
@media (max-width: 768px) {
  .equipo-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
    overflow: visible !important;
    padding: 0 16px !important;
  }
  .team-card {
    text-align: center;
    flex: none !important;
    min-width: unset !important;
  }
  .team-card__img-wrap {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
  }
  .team-card__img {
    object-fit: cover;
    object-position: center top;
  }
  .team-card__name { font-size: 14px !important; margin-top: 8px; }
  .team-card__role { font-size: 11px !important; }
  .team-card__social a { width: 26px !important; height: 26px !important; }
}

/* ── Footer contact icons (mobile-only, hidden by default) ────────── */
.footer-contact-icons { display: none; }
.footer-phones-mobile { display: none; }

/* ── Hero mobile poster (reemplaza video inline en móvil) ───────── */
.hero__video-mobile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1b;
  flex-shrink: 0;
}
.hero__poster {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.hero__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 0;
  line-height: 0;
}
.hero__play-btn:active { transform: translate(-50%, -50%) scale(0.92); }

/* ── Hero: botón "Ver más fotos y videos" ─────────────────────────── */
.hero__gallery-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.hero__gallery-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

/* ── Hero video player ───────────────────────────────────────────── */
.hero__video-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  background: #1a1a1b;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  display: block;
}
.hero__video-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero__video-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.hero__video-btn:hover { background: rgba(0,0,0,0.75); }
.hero__video-btn:active { transform: scale(0.92); }

/* Desktop only: show inline video, hide mobile poster */
@media (min-width: 768px) {
  .hero__video-mobile { display: none; }
  .hero__video-wrap {
    aspect-ratio: 16/9;
    max-height: 280px;
  }
}

/* ── Google Reviews badge enhancement ──────────────────────────── */
.badge--reviews {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.badge--reviews:hover { background: rgba(255,255,255,0.2); }
.badge--reviews__stars { color: #fbbf24; font-size: 0.9rem; letter-spacing: -1px; }

/* ── Mobile responsive fixes ────────────────────────────────────── */
@media (max-width: 639px) {
  /* Header compact */
  .site-header { min-height: 56px; }
  .header-inner { height: 56px; }
  .header-logo img { height: 40px !important; width: auto !important; }

  /* Hero — texto */
  .hero { padding-top: 12px !important; padding-bottom: 24px !important; overflow: visible !important; }
  .hero__inner { gap: 16px !important; }
  .hero .eyebrow { display: none; }
  .hero__title { font-size: clamp(1.6rem, 6.5vw, 2.2rem) !important; line-height: 1.1 !important; margin-bottom: 10px !important; }
  .hero__subtitle { display: none; }
  .hero__badges { margin-bottom: 10px; gap: 6px; flex-wrap: wrap; }
  .badge { font-size: 10px !important; padding: 4px 8px !important; }
  .hero__ctas { display: none; }
  .hero__stats { gap: 0; padding-top: 10px; justify-content: space-between; }
  .hero__stats .stat__divider { display: none; }
  .stat { flex: 1; min-width: 0; text-align: center; }
  .hero__stats .stat__num { font-size: 18px; }
  .stat__label { font-size: 9px; }

  /* Hero — visual (poster móvil + widget) */
  .hero__visual { gap: 10px; }
  .hero__video-mobile { border-radius: 10px; }
  .hero__poster { height: 190px; object-position: center 20%; }

  /* Widget compacto */
  .reserva-widget { padding: 12px !important; }
  .reserva-widget__title { display: none; }
  .sede-btns { gap: 6px; margin-bottom: 4px; }
  .sede-btn { padding: 6px 10px; font-size: 12px; }
  .sede-btn img { width: 16px; }
  .btn--full { padding: 8px 16px; font-size: 13px; }
  /* Compact touch targets inside reservation widget */
  .reserva-widget .sede-btn { min-height: 36px; }
  .reserva-widget .btn--full { min-height: 38px; }

  /* Sections */
  .sedes-grid { grid-template-columns: 1fr !important; }
  .features-grid, .feature-cards { grid-template-columns: 1fr 1fr !important; }
  .planes-grid { grid-template-columns: 1fr !important; }
  .pasos-grid { grid-template-columns: 1fr !important; }

  /* Gallery */
  .foto-grid { grid-template-columns: 1fr 1fr !important; }
  .foto-grid .tall { grid-row: span 1 !important; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr !important; }

  /* Touch targets */
  .btn, .btn-wa, .filtro-btn, .blog-filtro, .sede-btn, .sede-tab,
  .nav-link, .mobile-link { min-height: 44px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-links { align-items: center; }

  /* Lightbox */
  .lightbox__content, #lightbox { padding: 0 !important; }

  /* Sections padding */
  section { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  /* padding-top:0 — sticky header already provides top offset */
  .container { padding-left: 1rem !important; padding-right: 1rem !important; }
}

/* ── Footer mobile (< 768px) ────────────────────────────────────── */
@media (max-width: 767px) {
  .site-footer .footer-col { display: none !important; }
  .footer-credit { display: none !important; }
  .footer-phones-mobile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    margin: 8px 0 4px;
  }
  .footer-phones-mobile a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
  }
  .footer-phones-mobile a:active { color: #fff; }
  .footer-phones-mobile img { border-radius: 2px; flex-shrink: 0; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 0; text-align: center; }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-block: 4px;
  }
  .footer-logo { height: 36px !important; width: auto !important; }
  .footer-tagline {
    font-size: 11px;
    line-height: 1.4;
    opacity: 0.7;
    margin: 0;
  }
  .footer-tagline br { display: none; }
  .footer-socials { gap: 14px; justify-content: center; }
  .site-footer .container { padding-block: 14px 10px; }
  .footer-bottom {
    padding-top: 8px;
    margin-top: 6px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 11px;
    text-align: center;
  }
}
