:root {
  /* ==========================================
     1. IDENTIDAD VISUAL - GIMNASIO MODERNO (DARK MODE PRIMARIO)
     ========================================== */

  /* Fondos y Superficies de Alta Claridad y Contraste */
  --bg-pure: #000000;           /* Fondo principal: Negro puro para máximo contraste y enfoque */
  --bg-light: #111111;          /* Fondo secundario: Gris muy oscuro para tarjetas o secciones */
  --bg-hover: #1A1A1A;          /* Fondo para estados de hover o interacción en modo oscuro */
  --bg-inverted: #FFFFFF;       /* Para elementos que requieran fondo blanco (ej: popups) */

  /* Colores Principales (La Base del Gimnasio) */
  --primary: #000000;           /* El Negro es la identidad principal (Fuerza, Elegancia) */
  --primary-rgb: 0, 0, 0;       /* Negro en formato RGB */
  --primary-accent: #0AFF00;    /* Verde Eléctrico Neón / Muy Brillante: Energía pura, destaca sobre negro */
  --primary-accent-rgb: 10, 255, 0; /* Verde Eléctrico en formato RGB */

  /* Colores Secundarios (El Toque de Salud y Modernidad) */
  --secondary: #14C236;         /* Verde Intermedio (Vivo pero no neón): Salud, actividad, equilibrio */
  --secondary-dark: #12A13D;    /* Verde Opaco / Oscuro: Sofisticación, madurez, enfoque */
  --secondary-light: #1A2E20;    /* Verde muy oscuro/opaco para fondos en dark mode */

  /* Colores de Urgencia y CTAs (Eléctricos e Impactantes) */
  --accent: #0AFF00;            /* El Verde Eléctrico para CTAs principales */
  --accent-dark: #07CC00;       /* Verde Eléctrico oscurecido para hover */
  --accent-rgb: 10, 255, 0;     /* Verde Eléctrico en formato RGB */
  --accent-alt: #FBFF00;        /* Amarillo Neón para CTAs secundarios */
  --whatsapp: #25D366;          /* Verde oficial WhatsApp */

  /* Tipografía Comercial y Textos */
  --text-primary: #FFFFFF;      /* Texto principal: Blanco puro sobre fondo negro */
  --text-dark: #FFFFFF;         /* Texto principal adaptado al dark mode */
  --text-muted: #A0AEC0;        /* Gris medio: Textos descriptivos o menos importantes */
  --text-accent: #0AFF00;       /* Texto destacado con el verde eléctrico */

  /* Tipografías Modernas y Geométricas (Actualizadas para Fitness) */
  --font-title: 'Montserrat', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Poppins', 'Open Sans', system-ui, -apple-system, sans-serif;

  /* Sombras y Transiciones */
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px 2px rgba(10, 255, 0, 0.4);
  --shadow-cta: 0 10px 20px -5px rgba(10, 255, 0, 0.6);
  --transition-cubic: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* ==========================================
     2. ESTRUCTURA PERMANENTE DEL SISTEMA (LAYOUT)
     ========================================== */
  /* Sistema de Espaciado Semántico (Escala 8px) */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;

  /* Bordes y Radios de Curvatura */
  --border-width: 1px;
  --border-color: #222222;       /* Borde oscuro para el modo negro */
  --border-color-dark: #333333;
  --border-accent: #0AFF00;     /* Borde neón para destacar */

  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;

  /* Estados de Feedback / Estado de Proyectos */
  --state-success: #10B981;
  --state-success-bg: rgba(16, 185, 129, 0.15);
  --state-warning: #F59E0B;
  --state-warning-bg: rgba(245, 158, 11, 0.15);
  --state-error: #EF4444;
  --state-error-bg: rgba(239, 68, 68, 0.15);
  --state-info: #0284C7;
  --state-info-bg: rgba(2, 132, 199, 0.15);

  /* Capas de Profundidad (Z-Index) */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-toast: 1060;

  /* Estructura de Maquetación */
  --content-max-width: 1280px;
  --header-height: 5rem;
}

/* ==========================================
   RESET MODERNO & CONFIGURACIÓN GLOBAL
   ========================================== */
*, *::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-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-pure);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-cubic);
}

/* ==========================================
   TIPOGRAFÍA REUTILIZABLE & ENCABEZADOS
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

.text-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.text-accent { color: var(--accent); }
.text-secondary { color: var(--secondary); }

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
  padding-left: var(--space-md);
  border-left: 4px solid var(--accent);
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent);
}

.text-highlight {
  position: relative;
  color: var(--accent);
  background: linear-gradient(120deg, #FFFFFF 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl, 60px);
}

.text-highlight-sub {
  color: var(--accent);
  font-weight: 700;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  opacity: 0.9;
  font-weight: 400;
  line-height: 1.6;
}

/* DIVISOR DECORATIVO ARQUITECTÓNICO */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 24px;
}

.section-divider span {
  width: 50px;
  height: 1.5px;
  background: linear-gradient(
    90deg, 
    rgba(10, 255, 0, 0.1) 0%, 
    var(--accent) 50%, 
    rgba(10, 255, 0, 0.1) 100%
  );
  background-size: 200% 100%;
  opacity: 0.5;
  border-radius: 2px;
}

.architect-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent);
  border-radius: 1px;
  transform: rotate(45deg);
  display: inline-block;
  box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.6);
  transition: opacity 0.3s ease;
}

.section-divider.is-visible .architect-dot {
  animation: architectPulseRotate 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.section-divider.is-visible span {
  animation: lineShimmer 3s ease-in-out infinite alternate;
}

@keyframes architectPulseRotate {
  0% {
    transform: rotate(45deg) scale(1);
    box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.4);
  }
  35% {
    transform: rotate(225deg) scale(1.35);
    box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.8);
    background-color: var(--accent-alt);
  }
  50%, 100% {
    transform: rotate(225deg) scale(1);
    box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.4);
    background-color: var(--accent);
  }
}

@keyframes lineShimmer {
  0% {
    background-position: 0% 50%;
    opacity: 0.3;
  }
  100% {
    background-position: 100% 50%;
    opacity: 0.8;
  }
}

/* ==========================================
   MAQUETACIÓN & CONTENEDORES (LAYOUT)
   ========================================== */
.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container-sm { 
  max-width: 800px; 
  margin: 0 auto; 
  padding: 0 var(--space-md); 
}

.container-fluid { 
  width: 100%; 
  padding: 0 var(--space-md); 
}

.grid { 
  display: grid; 
  gap: var(--space-lg); 
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================
   SISTEMA DE BOTONES (.btn)
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius-md);
  border: var(--border-width) solid transparent;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: var(--transition-cubic);
}



.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background-color: var(--accent);
  color: #000000;
  font-weight: 700;
}
.btn-primary:hover {
  background-color: var(--accent-dark);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #FFFFFF;
}
.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-accent, .btn--accent {
  background-color: var(--accent);
  color: #000000;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
  border: none;
}
.btn-accent:hover, .btn--accent:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background-color: var(--accent);
  color: #000000;
  box-shadow: var(--shadow-glow);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #FFFFFF;
  font-weight: 700;
}
.btn-whatsapp:hover {
  filter: brightness(0.92);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }
.btn-block, .btn--full { width: 100%; display: flex; }

/* ==========================================
   COMPONENTES DE FORMULARIO Y TARJETAS
   ========================================== */
.card {
  background-color: var(--bg-light);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-cubic);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

.form-group {
  margin-bottom: var(--space-md);
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-group label, .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
  transition: transform 0.25s ease, color 0.25s ease;
}

.form-group:focus-within label {
  color: var(--accent);
  transform: translateX(3px);
}

.form-control,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-pure);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-cubic);
}

.form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
  transform: translateY(-1px);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-success { background-color: var(--state-success-bg); color: var(--state-success); }
.badge-warning { background-color: var(--state-warning-bg); color: var(--state-warning); }
.badge-info { background-color: var(--state-info-bg); color: var(--state-info); }

/* ============================================================
   NAVBAR FLOTANTE INTEGRADO
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md) 0;
  transition: var(--transition-cubic);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

.navbar__brand-icon {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar__brand:hover .navbar__brand-icon {
  transform: translateY(-2px) scale(1.08);
}

.navbar__brand-accent {
  color: var(--accent);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.navbar__links a {
  position: relative;
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
  padding: var(--space-xs) 0;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-full);
}

.navbar__links a:hover {
  opacity: 1;
  color: var(--accent);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  z-index: calc(var(--z-fixed) + 10);
}

.navbar__toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: var(--radius-full);
  transition: var(--transition-cubic);
  transform-origin: center;
}

@media (max-width: 992px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar__toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: var(--z-fixed);
    list-style: none;
    margin: 0;
    padding: var(--space-2xl) var(--space-md);
  }

  .navbar__links.is-active {
    right: 0;
  }

  .navbar__links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .navbar__links.is-active li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar__links.is-active li:nth-child(1) { transition-delay: 0.1s; }
  .navbar__links.is-active li:nth-child(2) { transition-delay: 0.15s; }
  .navbar__links.is-active li:nth-child(3) { transition-delay: 0.2s; }
  .navbar__links.is-active li:nth-child(4) { transition-delay: 0.25s; }

  .navbar__links a {
    font-family: var(--font-title);
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--text-dark);
  }

  .navbar__links a::after {
    display: none;
  }

  .navbar__links a:hover {
    color: var(--accent);
  }
}

/* ============================================================
   SECCIÓN HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background-image: url('../img/background.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(0, 0, 0, 0.95) 0%,   
    rgba(0, 0, 0, 0.6) 35%,   
    rgba(0, 0, 0, 0.1) 60%      
  );
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: left;
  max-width: 580px;
  margin-left: 8%;
  z-index: 2;
}

.hero__title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  opacity: 0.9;
}

.hero__actions {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 1200px) {
  .hero__content {
    max-width: 500px;
    margin-left: 6%;
  }
}

@media (max-width: 992px) {
  .hero {
    background-position: 90% center; 
  }

  .hero__content {
    max-width: 450px;
    margin-left: 5%;
  }
}

@media (max-width: 768px) {
  .hero {
    background-position: right center;
    justify-content: center;
  }

  .hero__bg {
    background: linear-gradient(
      180deg, 
      rgba(0, 0, 0, 0.95) 0%,   
      rgba(0, 0, 0, 0.7) 50%,  
      rgba(0, 0, 0, 0.3) 100%  
    );
  }

  .hero__content {
    text-align: center;
    margin-top: 0;
    margin-left: 25px;
    margin-right: 25px;
    max-width: 100%;
    padding: 30px 20px;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-lg, 16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-card);
  }

  .hero__actions {
    justify-content: center;
  }
}

/* ============================================================
   SECCIÓN NOSOTROS
   ============================================================ */
.section-nosotros {
  background-color: var(--bg-pure);
  padding: var(--space-2xl, 120px) 0;
  position: relative;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl, 30px);
}

.about-card {
  background-color: var(--bg-light);
  padding: 45px 35px;
  border-radius: var(--radius-lg, 20px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover::before {
  opacity: 1;
}

.about-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: var(--shadow-glow);
}

.about-card__icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md, 14px);
  background-color: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background-color 0.3s ease, 
              color 0.3s ease, 
              box-shadow 0.3s ease;
}

.about-card__icon-wrap svg {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

.about-card:hover .about-card__icon-wrap {
  background-color: var(--accent);
  color: #000000;
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.4);
  transform: scale(1.08) rotate(-3deg);
}

.about-card:hover .about-card__icon-wrap svg {
  transform: scale(1.05);
}

.about-card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.about-card p {
  font-family: var(--font-body);
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-nosotros {
    padding: var(--space-xl, 80px) 0;
  }

  .about-card {
    padding: 32px 24px;
  }
}

/* ============================================================
   SECCIÓN SERVICIOS / PLANES (CORREGIDO)
   ============================================================ */
.section-servicios {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: var(--space-2xl, 100px) 20px;
  overflow: hidden;
}

.servicios-swiper {
  width: 100%;
  overflow: hidden;
  padding: 10px 10px 60px 10px;
}

.servicios-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

/* Tarjeta principal (Nombre corregido: .servicios-card) */
.servicios-card {
  background: var(--bg-light, #111111);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  box-shadow: var(--shadow-card, 0 10px 30px rgba(0,0,0,0.3));
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.servicios-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow, 0 12px 35px rgba(0, 255, 100, 0.15));
  border-color: var(--accent, #00ff66);
}

/* Imagen de la tarjeta */
.servicios-card__image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.servicios-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.servicios-card:hover .servicios-card__image img {
  transform: scale(1.08);
}

/* Badge Flotante sobre la imagen */
.servicios-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background-color: var(--accent, #00ff66);
  color: #000000;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* Contenido de la tarjeta */
.servicios-card__info {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.servicios-card__info h3 {
  font-family: var(--font-title, sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark, #ffffff);
  margin: 0 0 10px 0;
  transition: color 0.3s ease;
}

.servicios-card:hover .servicios-card__info h3 {
  color: var(--accent, #00ff66);
}

.servicios-card__info p {
  font-family: var(--font-body, sans-serif);
  font-size: 0.9rem;
  color: var(--text-muted, #aaaaaa);
  line-height: 1.5;
  margin: 0 0 20px 0;
}

/* Especificaciones Técnicas */
.servicios-card__specs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dark, #ffffff);
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 20px;
}

.servicios-card__specs strong {
  font-weight: 700;
  color: var(--accent, #00ff66);
}

.servicios-card__specs .dot-sep {
  opacity: 0.3;
}

/* Botón de acción */
.btn-card-action {
  margin-top: auto;
  text-align: center;
  padding: 10px 18px;
  border: 1px solid var(--accent, #00ff66);
  color: var(--accent, #00ff66);
  border-radius: var(--radius-sm, 8px);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.servicios-card:hover .btn-card-action {
  background-color: var(--accent, #00ff66);
  color: #000000;
}

.servicios-swiper .swiper-button-next,
.servicios-swiper .swiper-button-prev {
  color: var(--accent, #00ff66) !important;
  background: var(--bg-light, #111111);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
}

.servicios-swiper .swiper-button-next::after,
.servicios-swiper .swiper-button-prev::after {
  font-size: 1.5rem !important;
  font-weight: bold;
}

.servicios-swiper .swiper-button-next:hover,
.servicios-swiper .swiper-button-prev:hover {
  background-color: var(--accent, #00ff66);
  color: #000000 !important;
  border-color: var(--accent, #00ff66);
  transform: scale(1.08);
}


/* ============================================================
   ESTILOS MEJORADOS PARA LA PAGINACIÓN DE SWIPER
   ============================================================ */

/* Puntos inactivos: les damos color visible, mayor opacidad y tamaño */
.servicios-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4) !important; /* Blanco semi-transparente visible */
  opacity: 1 !important;                           /* Forzamos opacidad completa */
  width: 10px;
  height: 10px;
  margin: 0 6px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto al pasar el cursor sobre los puntos inactivos */
.servicios-swiper .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  transform: scale(1.2);
}

/* Punto activo (Slide actual): destacado con tu color de acento */
.servicios-swiper .swiper-pagination-bullet-active {
  background: var(--accent, #00ff66) !important;
  width: 28px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.5); /* Resplandor neón */
}

/* Ajuste opcional para separar la paginación del fondo de las tarjetas */
.servicios-swiper .swiper-pagination {
  position: relative;
  margin-top: 25px;
  bottom: 0 !important;
}


@media (max-width: 768px) {
  .section-servicios {
    padding: 60px 0 80px;
  }

  .servicios-swiper .swiper-button-next,
  .servicios-swiper .swiper-button-prev {
    display: none !important;
  }
}

/* ============================================================
   SECCIÓN GALERÍA / PORTAFOLIO
   ============================================================ */
.section-galeria {
  background-color: var(--bg-pure);
  padding: var(--space-2xl, 100px) 0;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.filter-btn {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.filter-btn.active {
  background-color: var(--accent);
  color: #000000;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.4);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  transition: opacity 0.3s ease;
}

.portfolio-item {
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.portfolio-item.hide {
  display: none;
}

.portfolio-item__image {
  position: relative;
  width: 100%;
  padding-top: 70%;
  overflow: hidden;
}

.portfolio-item__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item__zoom-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent);
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transform: scale(0.7);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item__zoom-icon svg {
  width: 22px;
  height: 22px;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

.portfolio-item:hover .portfolio-item__image img {
  transform: scale(1.08);
}

.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-item__zoom-icon {
  transform: scale(1);
}

.fancybox__backdrop {
  background: rgba(0, 0, 0, 0.95) !important;
}

.fancybox__caption {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  color: #FFFFFF !important;
}

/* ============================================================
   SECCIÓN TESTIMONIOS
   ============================================================ */
.reviews-section {
  padding: var(--space-2xl, 100px) 0;
  background-color: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: var(--space-xl, 30px);
}

.review-card {
  background-color: var(--bg-pure);
  padding: 35px 30px;
  border-radius: var(--radius-lg, 20px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.review-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(var(--accent-rgb), 0.4);
}

.review-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.review-stars {
  color: var(--accent-alt);
  font-size: 1.1rem;
  letter-spacing: 2px;
  display: flex;
  gap: 2px;
}

.review-stars span {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.review-card:hover .review-stars span {
  transform: scale(1.18);
}

.review-card:hover .review-stars span:nth-child(1) { transition-delay: 0.05s; }
.review-card:hover .review-stars span:nth-child(2) { transition-delay: 0.1s; }
.review-card:hover .review-stars span:nth-child(3) { transition-delay: 0.15s; }
.review-card:hover .review-stars span:nth-child(4) { transition-delay: 0.2s; }
.review-card:hover .review-stars span:nth-child(5) { transition-delay: 0.25s; }

.quote-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  opacity: 0.3;
  transition: transform 0.4s ease, opacity 0.4s ease, color 0.4s ease;
}

.review-card:hover .quote-icon {
  opacity: 0.9;
  color: var(--accent);
  transform: rotate(-10deg) scale(1.15);
}

.review-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 25px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  background-color: rgba(var(--accent-rgb), 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background-color 0.3s ease, 
              color 0.3s ease, 
              box-shadow 0.3s ease;
}

.review-card:hover .review-avatar {
  background-color: var(--accent);
  color: #000000;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.4);
}

.author-name {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 2px 0;
  transition: color 0.3s ease;
}

.review-card:hover .author-name {
  color: var(--accent);
}

.author-detail {
  font-family: var(--font-body);
  font-size: 0.825rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 60px 16px;
  }
}

/* ============================================================
   SECCIÓN PREGUNTAS FRECUENTES (FAQS)
   ============================================================ */
.faqs-section {
  width: 100%;
  padding: var(--space-2xl, 100px) 0;
  background-color: var(--bg-pure);
  overflow: hidden;
}

.faqs-section .container {
  max-width: 820px;
}

.faqs-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.faqs-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent);
  opacity: 0;
  transform: scaleY(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.faq-item:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.faq-item:hover::before {
  opacity: 0.5;
  transform: scaleY(0.5);
}

.faq-item.is-open {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(0);
}

.faq-item.is-open::before {
  opacity: 1;
  transform: scaleY(1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  gap: 20px;
}

.faq-title-text {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.faq-item.is-open .faq-title-text,
.faq-question:hover .faq-title-text {
  color: var(--accent);
}

.faq-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.35s ease, transform 0.35s ease;
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--text-dark);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.35s ease;
}

.faq-question:hover .faq-icon-wrapper {
  background-color: rgba(var(--accent-rgb), 0.2);
}

.faq-question:hover .faq-icon {
  color: var(--accent);
}

.faq-item.is-open .faq-icon-wrapper {
  background-color: var(--accent);
}

.faq-item.is-open .faq-icon {
  color: #000000;
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  overflow: hidden;
  padding: 0 28px;
  font-family: var(--font-body);
  font-size: 0.975rem;
  line-height: 1.7;
  color: var(--text-muted);
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer-content {
  padding-bottom: 26px;
}

@media (max-width: 768px) {
  .faqs-section {
    padding: 60px 16px;
  }
  .faq-question {
    padding: 20px;
  }
  .faq-answer-content {
    padding: 0 20px;
  }
  .faq-item.is-open .faq-answer-content {
    padding-bottom: 20px;
  }
}

/* ============================================================
   SECCIÓN CONTACTO Y MAPA DE GOOGLE
   ============================================================ */
.section-contacto {
  background-color: var(--bg-light);
  padding: var(--space-2xl, 100px) 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 35px;
  align-items: stretch;
}

.contact-card {
  background-color: var(--bg-pure);
  padding: 45px;
  border-radius: var(--radius-lg, 24px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-card:hover {
  box-shadow: var(--shadow-glow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--accent:hover .btn-arrow {
  transform: translateX(6px);
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: var(--state-error);
  background-color: var(--state-error-bg);
}

.form-error {
  font-size: 12px;
  color: var(--state-error);
  margin-top: 6px;
  font-weight: 500;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success-alert {
  margin-top: 20px;
  padding: 14px;
  border-radius: var(--radius-md, 12px);
  font-size: 14px;
  text-align: center;
  display: none;
  background-color: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  font-weight: 600;
  animation: fadeIn 0.4s ease forwards;
}

.info-card {
  background-color: var(--bg-pure);
  color: var(--text-dark);
  padding: 45px;
  border-radius: var(--radius-lg, 24px);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  overflow: hidden;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.info-item__icon {
  width: 46px;
  height: 46px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}

.info-item__icon svg {
  width: 22px;
  height: 22px;
}

.info-item:hover .info-item__icon {
  transform: scale(1.15) rotate(-8deg);
  background-color: var(--accent);
  color: #000000;
}

.info-item h4 {
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 2px;
  font-weight: 600;
}

.info-item p {
  font-size: 14px;
  color: var(--text-muted);
}

.map-container {
  flex-grow: 1;
  min-height: 260px;
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--border-color);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.map-container:hover {
  transform: scale(1.015);
  border-color: var(--accent);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-card, .info-card {
    padding: 30px 20px;
  }
  .map-container {
    height: 280px;
  }
}

/* ============================================================
   BOTONES FLOTANTES INTERACTIVOS
   ============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-dropdown);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background-color 0.3s ease;
}

.floating-btn svg {
  z-index: 2;
  transition: transform 0.3s ease;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.floating-btn:hover svg {
  transform: scale(1.1) rotate(-6deg);
}

.floating-btn:active {
  transform: translateY(-2px) scale(0.98);
}

.floating-btn--whatsapp {
  background-color: var(--whatsapp);
}

.btn-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--whatsapp);
  opacity: 0.6;
  z-index: 1;
  animation: whatsappPulse 2s infinite ease-out;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.floating-btn--call {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--accent);
}

.floating-btn--call:hover {
  background-color: var(--accent);
  color: #000000;
}

.btn-tooltip {
  position: absolute;
  right: 68px;
  background-color: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--bg-light);
}

.floating-btn:hover .btn-tooltip {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (max-width: 768px) {
  .floating-buttons {
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .btn-tooltip {
    display: none;
  }
}

/* ============================================================
   SECCIÓN FOOTER
   ============================================================ */
.site-footer {
  background-color: var(--bg-pure);
  color: var(--text-dark);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

.footer-top-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.8;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-color);
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.footer-logo span, .footer-logo .logo-dot {
  color: var(--accent);
}

.footer-logo:hover {
  transform: translateX(2px);
}

.footer-text {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 340px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent);
  color: #000000;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.4);
}

.footer-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 22px;
  position: relative;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.925rem;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-links a:hover::after {
  width: 100%;
}

.office-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 20px;
  width: fit-content;
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}

.status-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
}

.footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-info-list span {
  color: var(--text-dark);
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent);
}

.legal-separator { opacity: 0.3; }

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ============================================================
   ESTILOS DE LA PÁGINA DE CONTACTO / LANDING ADS
   ============================================================ */
.contact-page {
  padding: 120px 20px 80px;
  min-height: 100vh;
  background-color: var(--bg-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.contact-container {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-badge {
  display: inline-block;
  background-color: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact-title em {
  font-style: italic;
  color: var(--accent);
}

.contact-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.975rem;
  line-height: 1.5;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(6px);
}

.benefit-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.contact-form-wrapper {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.form-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--bg-pure), var(--accent), var(--bg-pure));
  background-size: 200% 100%;
  animation: glowMove 4s linear infinite;
}

@keyframes glowMove {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.lead-form h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.navbar__link-back {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.navbar__link-back:hover {
  color: var(--accent);
}

.navbar__link-back:hover .arrow-icon {
  transform: translateX(-4px);
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-page {
    padding-top: 100px;
  }
  .contact-form-wrapper {
    padding: 28px 20px;
  }
}

/* ============================================================
   ESTILOS DE LA PÁGINA DE GRACIAS
   ============================================================ */
.thanks-page {
  padding: 120px 20px 80px;
  min-height: 100vh;
  background-color: var(--bg-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.thanks-card {
  max-width: 650px;
  width: 100%;
  background-color: var(--bg-light);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  animation: cardFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thanks-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--bg-pure), var(--accent), var(--bg-pure));
  background-size: 200% 100%;
  animation: glowMove 4s linear infinite;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: iconPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes iconPop {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  70% {
    transform: scale(1.15) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

.thanks-badge {
  display: inline-block;
  background-color: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.thanks-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}

.thanks-title em {
  font-style: italic;
  color: var(--accent);
}

.thanks-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 35px;
}

.thanks-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn--whatsapp-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.975rem;
  text-decoration: none;
  background-color: transparent;
  color: var(--whatsapp);
  border: 2px solid var(--whatsapp);
}

.btn--whatsapp-outline:hover {
  background-color: var(--whatsapp);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp-outline svg {
  transition: transform 0.3s ease;
}

.btn--whatsapp-outline:hover svg {
  transform: scale(1.1) rotate(-8deg);
}

@media (max-width: 768px) {
  .thanks-card {
    padding: 35px 20px;
  }
  .thanks-actions {
    flex-direction: column;
    width: 100%;
  }
  .thanks-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   ANIMACIONES DE SCROLL
   ============================================================ */
.reveal-on-scroll,
.reveal-element {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible,
.reveal-element.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }