/* ==========================================================================
   BUNDLE COMPLETO CSS — ÓPTICA MANZANO
   ========================================================================== */

/* --- base/variables.css --- */
/* ==========================================================================
   DESIGN TOKENS & VARIABLES - ÓPTICA MANZANO
   Paleta: Blanco, Negro y Morado/Fucsia (#A21B81)
   ========================================================================== */

:root {
  /* --- Paleta de Identidad Visual Óptica Manzano --- */
  --color-primary: #A21B81;
  /* Morado/Fucsia Oficial de Óptica Manzano */
  --color-primary-hover: #831367;
  /* Hover más profundo */
  --color-primary-light: #fdf2f8;
  /* Tono suave para fondos y badges */
  --color-primary-border: #fbcfe8;
  /* Borde suave morado */

  /* Neutros & Contrastes */
  --color-dark: #111827;
  /* Negro / Charcoal profundo */
  --color-dark-surface: #1f2937;
  /* Superficie oscura */
  --color-text-main: #374151;
  /* Texto de lectura */
  --color-text-muted: #6b7280;
  /* Texto secundario */
  --color-text-light: #9ca3af;
  /* Texto claro en fondos oscuros */
  --color-text-white: #ffffff;

  /* Fondos */
  --color-bg-main: #ffffff;
  /* Blanco puro */
  --color-bg-light: #f9fafb;
  /* Gris neutro muy suave */
  --color-bg-alt: #f3f4f6;
  /* Gris para tarjetas y bordes */
  --color-border: #e5e7eb;
  /* Borde limpio */

  /* Estados y WhatsApp */
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebc59;
  --color-promo-green: #6cae10;
  --color-promo-green-hover: #5d970e;

  /* --- Tipografía --- */
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* --- Espaciados --- */
  --space-xs: 0.25rem;
  /* 4px */
  --space-sm: 0.5rem;
  /* 8px */
  --space-md: 1rem;
  /* 16px */
  --space-lg: 1.5rem;
  /* 24px */
  --space-xl: 2rem;
  /* 32px */
  --space-2xl: 3.5rem;
  /* 56px */
  --space-3xl: 5rem;
  /* 80px */

  /* --- Bordes y Sombras --- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-purple: 0 10px 25px -5px rgba(162, 27, 129, 0.35);

  /* --- Transiciones --- */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease-in-out;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Contenedor Ancho Completo --- */
  --container-max-width: 100%;
  --container-padding: clamp(1.25rem, 4vw, 4.5rem);
}


/* --- base/reset.css --- */
/* ==========================================================================
   CSS RESET & NORMALIZE — ÓPTICA MANZANO
   CORRECCIÓN DEFINITIVA DE ANCHO COMPLETO
   ========================================================================== */

/* PASO 1: Box-sizing universal */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* PASO 2: html ocupa exactamente el viewport sin desborde */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Crítico: bloquea scroll horizontal */
  overflow-x: hidden;
  /* Crítico: no limitar el ancho */
  width: 100%;
  max-width: 100vw;
}

/* PASO 3: body ocupa el 100% — sin márgenes, sin padding, sin límite */
body {
  width: 100%;
  max-width: 100%;
  /* nunca más de 100% del viewport */
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-primary);
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
}

/* PASO 4: Imágenes y media nunca desbordan */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* PASO 5: Formularios heredan fuente */
input,
button,
textarea,
select {
  font: inherit;
  color: 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: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

/* PASO 6: iframes responsive (Google Maps) */
iframe {
  max-width: 100%;
  border: none;
}


/* --- components/buttons.css --- */
/* ==========================================================================
   BUTTONS COMPONENT - ÓPTICA MANZANO
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
  text-align: center;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

/* Botón Primario Morado (#A21B81) */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  box-shadow: 0 4px 14px rgba(162, 27, 129, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(162, 27, 129, 0.42);
  color: var(--color-text-white);
}

/* Botón Oscuro / Negro */
.btn-dark {
  background-color: var(--color-dark);
  color: var(--color-text-white);
  box-shadow: var(--shadow-md);
}

.btn-dark:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-text-white);
}

/* Botón Secundario / Contorno */
.btn-secondary {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn-secondary:hover {
  background-color: var(--color-dark);
  color: var(--color-text-white);
  transform: translateY(-2px);
}

.btn-outline-purple {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-purple:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary-hover);
  transform: translateY(-2px);
}

/* Botón WhatsApp */
.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

/* ==========================================================================
   BOTONES FLOTANTES AGRUPADOS (Scroll Top + WhatsApp)
   ========================================================================== */

/* Contenedor fijo en la esquina inferior derecha */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

/* Base compartida de cada botón flotante */
.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), opacity var(--transition-normal);
  text-decoration: none;
}

/* ---- Botón SUBIR ARRIBA ---- */
.floating-scroll-top {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-dark);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.35);
  /* Oculto al inicio — aparece al hacer scroll */
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.floating-scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-scroll-top:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(162, 27, 129, 0.4);
}

.floating-scroll-top svg {
  width: 22px;
  height: 22px;
}

/* ---- Botón WHATSAPP ---- */
.floating-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.9rem;
}

.floating-whatsapp:hover {
  background-color: #1ebc59;
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---- Responsive: móviles pequeños ---- */
@media (max-width: 640px) {
  .floating-actions {
    bottom: 18px;
    right: 18px;
    gap: 0.5rem;
  }

  .floating-whatsapp span {
    display: none;
    /* Solo icono en móvil */
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .floating-scroll-top {
    width: 42px;
    height: 42px;
  }
}


/* --- components/cards.css --- */
/* ==========================================================================
   CARDS & ACCORDION COMPONENT - ÓPTICA MANZANO
   ========================================================================== */

/* Base Card */
.card {
  background-color: var(--color-bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-border);
}

/* Benefit Cards */
.benefit-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  background: var(--color-bg-main);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.benefit-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Service Cards */
.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  transition: all var(--transition-normal);
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px -4px rgba(162, 27, 129, 0.12);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
}

.service-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Product Cards */
.product-card {
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-border);
}

.product-image-box {
  position: relative;
  background-color: var(--color-bg-light);
  height: 240px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image-box img {
  transform: scale(1.05);
}

.product-info {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex-grow: 1;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  flex-grow: 1;
}

/* ==================== BRAND CARDS ==================== */

/* Tarjeta base */
.brand-item {
  background: var(--color-bg-main);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--space-lg) var(--space-md);
  min-height: 110px;
  transition: all var(--transition-normal);
  cursor: default;
}

.brand-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px -4px rgba(162, 27, 129, 0.14);
  transform: translateY(-3px);
}

/* Tarjeta CON imagen */
.brand-item--img .brand-logo {
  width: 100%;
  max-width: 130px;
  height: 68px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter var(--transition-normal), opacity var(--transition-normal), transform var(--transition-normal);
}

.brand-item--img:hover .brand-logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* Tarjeta de SOLO TEXTO */
.brand-item--text {
  gap: 0.35rem;
}

.brand-placeholder-icon {
  font-size: 1.5rem;
  opacity: 0.4;
  transition: opacity var(--transition-fast);
}

.brand-item--text:hover .brand-placeholder-icon {
  opacity: 0.7;
}

/* Etiqueta de nombre debajo del logo */
.brand-name-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  transition: color var(--transition-fast);
}

.brand-item:hover .brand-name-label {
  color: var(--color-primary);
}

/* FAQ Accordion Item */
.faq-item {
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  background: none;
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-alt);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform var(--transition-normal), background-color var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 var(--space-lg) var(--space-lg);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-primary {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-border);
}

.badge-dark {
  background-color: var(--color-dark);
  color: var(--color-text-white);
}

.placeholder-tag {
  display: none !important;
}


/* --- components/modal.css --- */
/* ==========================================================================
   MODAL COMPONENT - ÓPTICA MANZANO
   Ventanas modales accesibles, responsivas y con diseño moderno
   ========================================================================== */

/* Bloqueo de scroll cuando el modal está abierto */
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Fondo oscuro optimizado para GPU (Backdrop) */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  transform: translateZ(0);
  will-change: opacity;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Contenedor principal de la ventana modal optimizado para GPU */
.modal-container {
  background-color: var(--color-bg-main, #ffffff);
  border-radius: var(--radius-lg, 20px);
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border, #e5e7eb);
  transform: scale(0.96) translateZ(0);
  transition: transform 0.25s ease;
  overflow: hidden;
  will-change: transform;
  contain: layout style;
}

.modal-backdrop.active .modal-container {
  transform: scale(1) translateZ(0);
}

/* Cabecera del Modal */
.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(to right, #ffffff, var(--color-primary-light, #fdf2f8));
  flex-shrink: 0;
}

.modal-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(162, 27, 129, 0.1);
  color: var(--color-primary, #A21B81);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark, #111827);
  margin: 0;
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted, #6b7280);
  margin-top: 2px;
}

/* Botón Cerrar (X) */
.modal-close-btn {
  background: transparent;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-text-muted, #6b7280);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background-color: var(--color-bg-alt, #f3f4f6);
  color: var(--color-dark, #111827);
  transform: rotate(90deg);
}

.modal-close-btn:focus-visible {
  outline: 2px solid var(--color-primary, #A21B81);
  outline-offset: 2px;
}

/* Cuerpo con Scroll del Modal (Ultra Fluido y Acelerado por GPU) */
.modal-body {
  padding: 1.5rem 1.75rem;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-main, #374151);
  overscroll-behavior: contain;
  scroll-behavior: auto !important;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  transform: translateZ(0);
}

/* Scrollbar estilizada de alto rendimiento */
.modal-body::-webkit-scrollbar {
  width: 7px;
}

.modal-body::-webkit-scrollbar-track {
  background: var(--color-bg-light, #f9fafb);
}

.modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Estilos de contenido del Aviso de Privacidad */
.privacy-highlight-box {
  background-color: var(--color-primary-light, #fdf2f8);
  border-left: 4px solid var(--color-primary, #A21B81);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm, 8px) var(--radius-sm, 8px) 0;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  color: var(--color-dark, #111827);
}

.privacy-section {
  margin-bottom: 1.5rem;
}

.privacy-section-title {
  font-family: var(--font-heading, inherit);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark, #111827);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.privacy-section-title span.sec-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background-color: var(--color-primary, #A21B81);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.privacy-list {
  padding-left: 1.25rem;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
}

.privacy-list li {
  margin-bottom: 0.35rem;
}

.privacy-contact-card {
  background: var(--color-bg-light, #f9fafb);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius-md, 14px);
  padding: 1.25rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.privacy-contact-card a {
  color: var(--color-primary, #A21B81);
  font-weight: 600;
  text-decoration: underline;
}

/* Pie del Modal */
.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: var(--color-bg-light, #f9fafb);
}

.modal-footer-note {
  font-size: 0.8rem;
  color: var(--color-text-muted, #6b7280);
}

/* Botones de enlace en footer (estilo texto) */
.btn-link-legal {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.btn-link-legal:hover {
  color: var(--color-primary, #A21B81);
}

/* Responsivo */
@media (max-width: 640px) {
  .modal-container {
    max-height: 92vh;
    border-radius: var(--radius-md, 14px);
  }

  .modal-header {
    padding: 1rem 1.25rem;
  }

  .modal-body {
    padding: 1.25rem 1rem;
  }

  .modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 1rem 1.25rem;
  }

  .modal-footer .btn {
    width: 100%;
  }

  .modal-footer-note {
    text-align: center;
  }
}


/* --- components/cookie-banner.css --- */
/* ==========================================================================
   COOKIE CONSENT BANNER - ÓPTICA MANZANO
   Banner flotante discreto, moderno y accesible
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 440px;
  width: calc(100% - 3rem);
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md, 14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}

.cookie-banner.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading, inherit);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.cookie-banner-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #d1d5db;
  margin: 0;
}

.cookie-banner-text a {
  color: #fbcfe8;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-banner-text a:hover {
  color: #ffffff;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.btn-cookie-accept {
  background: linear-gradient(135deg, var(--color-primary, #A21B81), #831367);
  color: #ffffff;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(162, 27, 129, 0.3);
}

.btn-cookie-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(162, 27, 129, 0.45);
}

.btn-cookie-info {
  background: transparent;
  color: #9ca3af;
  border: none;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.4rem;
  transition: color 0.2s ease;
}

.btn-cookie-info:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 1rem;
    left: 1rem;
    width: calc(100% - 2rem);
    padding: 1rem 1.15rem;
  }
}


/* --- sections/navbar.css --- */
/* ==========================================================================
   SECTION: NAVBAR & HEADER - ÓPTICA MANZANO
   FIXES: ancho completo, logo compacto, responsive mejorado
   ========================================================================== */

/* Barra Superior de Información */
.top-bar {
  width: 100%;
  background-color: var(--color-dark);
  color: #d1d5db;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0.45rem var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.top-bar-item a {
  color: #f3f4f6;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.top-bar-item a:hover {
  color: #f472b6;
}

/* =========================================================
   HEADER STICKY - ANCHO COMPLETO Y SIEMPRE VISIBLE AL BAJAR
   ========================================================= */
.header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background-color: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--color-border);
  z-index: 900 !important;
  transition: box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 4px 25px -3px rgba(0, 0, 0, 0.12) !important;
  background-color: #ffffff !important;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0.6rem var(--space-lg);
  gap: var(--space-md);
}

/* =========================================================
   LOGOTIPO - Corregido para no romper el layout
   ========================================================= */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
  /* No se encoge */
  min-width: 0;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-slogan-small {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================
   MENÚ DE NAVEGACIÓN
   ========================================================= */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  transition: color var(--transition-fast);
  padding: 0.25rem 0;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-dark);
  padding: 0.25rem;
  cursor: pointer;
}

.nav-menu-close {
  display: none;
}

/* =========================================================
   RESPONSIVE — Tablet y Móvil
   ========================================================= */
@media (max-width: 1100px) {
  .nav-menu {
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .nav-actions .btn-secondary {
    display: none;
    /* ocultar tel en tablet */
  }
}

@media (max-width: 900px) {
  .top-bar-left {
    display: none;
  }

  .top-bar-container {
    justify-content: center;
  }

  .top-bar-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-main);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-2xl) var(--space-xl);
    gap: var(--space-lg);
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-slow);
    z-index: 300;
    overflow-y: auto;
  }

  .nav-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu .nav-link {
    font-size: 1.4rem;
    font-weight: 700;
  }

  /* Botón cerrar menú mobile */
  .nav-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--color-dark);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 310;
    line-height: 1;
    transition: background-color 0.2s ease;
  }

  .nav-menu-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }

  .nav-actions .btn-secondary {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-slogan-small {
    display: none;
    /* ocultar slogan en móviles muy pequeños */
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-logo-img {
    height: 36px;
  }
}


/* --- sections/hero.css --- */
/* ==========================================================================
   SECTION: HERO SLIDER (SPLIT FULL-WIDTH EDGE-TO-EDGE) - ÓPTICA MANZANO
   Diseño original, elegante y a pantalla completa (100% Edge-to-Edge).
   Identidad visual oficial: Morado/Fucsia (#A21B81), Carbón profundo y Blanco.
   ========================================================================== */

.hero {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background-color: var(--color-dark);
  user-select: none;
}

/* Contenedor del Carrusel */
.hero-slider-container {
  position: relative;
  width: 100%;
  min-height: 600px;
  height: clamp(560px, 78vh, 740px);
  overflow: hidden;
}

/* Pistas de Slides */
.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 45% 55%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* =========================================================
   LADO IZQUIERDO — Tarjeta Óptica Exclusiva Óptica Manzano
   ========================================================= */
.hero-panel-left {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

/* Capa de fondo sutil para dar luminosidad y elegancia */
.hero-panel-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.45) 0%, rgba(243, 244, 246, 0.75) 100%);
  pointer-events: none;
}

/* =========================================================
   LADO IZQUIERDO — Tarjeta de Promoción Destacada Óptica Manzano
   ========================================================= */
.hero-promo-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2.2rem 1.8rem 1.8rem;
  box-shadow: 0 22px 45px -12px rgba(17, 24, 39, 0.22), 0 0 0 1px rgba(162, 27, 129, 0.12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 350px;
  width: 92%;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--color-primary);
  animation: floatCard 6s ease-in-out infinite;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px -12px rgba(162, 27, 129, 0.3), 0 0 0 1px rgba(162, 27, 129, 0.25);
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.hero-promo-tag-top {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border: 1px solid var(--color-primary-border);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(162, 27, 129, 0.08);
}

.hero-promo-main-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-dark);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.hero-promo-highlight-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary) 0%, #831367 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.3rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 14px rgba(162, 27, 129, 0.35);
  text-transform: uppercase;
}

.hero-promo-subtitle {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.hero-promo-features-list {
  list-style: none;
  padding: 0.75rem 0.9rem;
  margin: 0 0 1.1rem 0;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: rgba(249, 250, 251, 0.9);
  border-radius: var(--radius-md);
  border: 1px dashed rgba(162, 27, 129, 0.22);
}

.hero-promo-feature-item {
  font-size: 0.78rem;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.3;
}

.hero-promo-check-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  background-color: var(--color-primary);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 900;
}

.btn-hero-promo-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  background: linear-gradient(135deg, var(--color-dark) 0%, #1f2937 100%);
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.25);
}

.btn-hero-promo-action:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, #831367 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(162, 27, 129, 0.4);
  color: #ffffff;
}

.hero-promo-guarantee-note {
  margin-top: 0.6rem;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-weight: 600;
}

/* =========================================================
   LADO IZQUIERDO — Estilo Libre (Texto Gigante & Glass Pill)
   ========================================================= */
.hero-creative-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.45);
  /* Fondo más oscuro para contraste */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-massive-text {
  font-size: 5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 2px 10px rgba(0, 0, 0, 0.3);
  margin: 0;
  letter-spacing: -2px;
  font-family: var(--font-primary);
}

/* Botón flotante inferior izquierdo (Salud Visual / Examen) */
.hero-floating-eye-btn {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 18px rgba(162, 27, 129, 0.45);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.hero-floating-eye-btn:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--color-primary-hover);
  box-shadow: 0 8px 24px rgba(162, 27, 129, 0.65);
}

/* =========================================================
   LADO DERECHO — Banner Editorial Original Óptica Manzano
   ========================================================= */
.hero-panel-right {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem clamp(2.5rem, 6vw, 6rem);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay para contraste perfecto del texto */
.hero-panel-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(15, 23, 42, 0.85) 0%,
      rgba(15, 23, 42, 0.65) 55%,
      rgba(162, 27, 129, 0.28) 100%);
  pointer-events: none;
}

.hero-panel-right-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 600px;
}

.hero-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fbcfe8;
  background: rgba(162, 27, 129, 0.35);
  border: 1px solid rgba(251, 207, 232, 0.3);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.hero-promo-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-promo-headline .highlight-brand {
  color: #f472b6;
  position: relative;
  display: inline;
}

.hero-promo-paragraph {
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  color: #e2e8f0;
  line-height: 1.68;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Botón de Marca Primario (Morado Manzano Radiante) */
.btn-brand-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #A21B81 0%, #be185d 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(162, 27, 129, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 0.4rem;
}

.btn-brand-glow:hover {
  background: linear-gradient(135deg, #c0269e 0%, #db2777 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(162, 27, 129, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

/* =========================================================
   CONTROLES DE NAVEGACIÓN EN LOS BORDES ( < y > )
   ========================================================= */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 64px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.85);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-nav-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
}

.hero-nav-prev {
  left: 0;
  border-radius: 0 8px 8px 0;
}

.hero-nav-next {
  right: 0;
  border-radius: 8px 0 0 8px;
}

/* Indicadores / Dots del Slider */
.hero-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 9999px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.hero-dot.active {
  background: #ffffff;
  width: 26px;
  border-radius: 5px;
}



/* =========================================================
   RESPONSIVE HERO SLIDER
   ========================================================= */
@media (max-width: 1024px) {
  .hero-slide {
    grid-template-columns: 48% 52%;
  }

  .hero-promo-card {
    padding: 1.8rem 1.4rem 1.6rem;
    max-width: 320px;
  }

  .hero-promo-main-title {
    font-size: 1.15rem;
  }

  .hero-promo-highlight-badge {
    font-size: 0.95rem;
  }

  .hero-panel-right {
    padding: 2.5rem 2.5rem;
  }
}

@media (max-width: 860px) {
  .hero-slider-container {
    height: auto;
    min-height: auto;
  }

  .hero-slide {
    position: relative;
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .hero-slide:not(.active) {
    display: none;
  }

  .hero-panel-left {
    padding: 3rem 1.5rem 2.5rem;
    min-height: 420px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-panel-right {
    padding: 3rem 1.75rem 4rem;
    min-height: 440px;
    text-align: center;
  }

  .hero-panel-right-content {
    align-items: center;
    text-align: center;
  }

  .hero-nav-arrow {
    width: 38px;
    height: 48px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-promo-card {
    width: 95%;
    padding: 1.6rem 1.1rem 1.4rem;
  }

  .hero-promo-main-title {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
  }

  .hero-promo-highlight-badge {
    font-size: 0.92rem;
  }

  .hero-promo-features-list {
    padding: 0.65rem 0.75rem;
    gap: 0.45rem;
  }

  .hero-promo-feature-item {
    font-size: 0.74rem;
  }

  .hero-promo-headline {
    font-size: 1.75rem;
  }

  .btn-hero-promo-action {
    font-size: 0.82rem;
    padding: 0.65rem 1rem;
  }

  .hero-massive-text {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }
}

/* =========================================================
   Soporte para Pantallas Muy Pequeñas
   ========================================================= */
@media (max-width: 380px) {
  .hero-massive-text {
    font-size: 2.3rem;
  }
}


/* --- sections/servicios.css --- */
/* ==========================================================================
   SECTION: BENEFICIOS Y SERVICIOS - ÓPTICA MANZANO
   FIXES: ancho completo, grids responsivos
   ========================================================================== */

/* Sección de Beneficios */
.benefits {
  width: 100%;
  padding: var(--space-3xl) var(--space-lg);
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}

.benefits-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Sección de Servicios */
.services {
  width: 100%;
  padding: var(--space-3xl) var(--space-lg);
  background-color: var(--color-bg-main);
  border-bottom: 1px solid var(--color-border);
}

.services-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Section Header Reutilizable */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.section-subtitle {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-description {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 600px;
}

/* Grid de Servicios */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


/* --- sections/catalogo.css --- */
/* ==========================================================================
   SECTION: MARCAS Y PRODUCTOS - ÓPTICA MANZANO
   FIXES: ancho completo, grids responsivos, filtros en mobile
   ========================================================================== */

/* Sección de Marcas */
.brands {
  width: 100%;
  padding: var(--space-3xl) var(--space-lg);
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}

.brands-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Sección de Catálogo de Productos */
.catalog {
  width: 100%;
  padding: var(--space-3xl) var(--space-lg);
  background-color: var(--color-bg-main);
  border-bottom: 1px solid var(--color-border);
}

.catalog-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

/* Filtros de Categoría */
.catalog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--color-primary-border);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(162, 27, 129, 0.25);
}

/* Grid de Productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (min-width: 1300px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    gap: 0.4rem;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
  }
}


/* --- sections/tecnologia.css --- */
/* ==========================================================================
   SECTION: ESTILO ("Tu visión. Tu estilo. Tu elección.") - ÓPTICA MANZANO
   FIXES: ancho completo, responsive
   ========================================================================== */

.style-section {
  width: 100%;
  padding: var(--space-3xl) var(--space-lg);
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: var(--color-text-white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.style-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(162, 27, 129, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.style-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.style-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.style-badge {
  align-self: flex-start;
  background-color: rgba(162, 27, 129, 0.2);
  border: 1px solid rgba(162, 27, 129, 0.5);
  color: #f472b6;
}

.style-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.style-title .highlight {
  color: #f472b6;
}

.style-description {
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.7;
}

.style-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: 0.5rem;
}

.style-feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

.style-feature-item strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.style-feature-item p {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.5;
}

/* Imagen */
.style-image-wrapper {
  position: relative;
}

.style-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  background-color: var(--color-dark);
}

.style-image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .style-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .style-badge {
    align-self: center;
  }

  .style-features {
    text-align: left;
  }

  .style-image-card img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .style-features {
    grid-template-columns: 1fr;
  }
}


/* --- sections/agendar-cita.css --- */
/* =========================================================
   ASESORÍA Y CONTACTO DESTACADO (BANNER ELEGANTE)
   ========================================================= */
.whatsapp-banner {
  width: 100%;
  padding: var(--space-3xl) var(--space-lg);
  background: linear-gradient(135deg, #111827 0%, #1e1b4b 45%, #701a75 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.whatsapp-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(162, 27, 129, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.whatsapp-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.whatsapp-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.whatsapp-subtext {
  font-size: 1.1rem;
  color: #fce7f3;
  max-width: 600px;
  line-height: 1.6;
}

.whatsapp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: 0.5rem;
}

/* =========================================================
   SECCIÓN DE CONTACTO + MAPA
   ========================================================= */
.contact-section {
  width: 100%;
  padding: var(--space-3xl) var(--space-lg);
  background-color: var(--color-bg-main);
  border-bottom: 1px solid var(--color-border);
}

.contact-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info .section-header {
  align-items: flex-start;
  text-align: left;
  margin-bottom: 0;
  max-width: 100%;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem var(--space-md);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.contact-detail-item:hover {
  border-color: var(--color-primary-border);
  background-color: var(--color-primary-light);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-main);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.contact-icon-whatsapp {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
}

.contact-icon-facebook {
  background-color: #eff6ff;
  border-color: #bfdbfe;
}

.contact-text strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.contact-text span,
.contact-text a {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--color-dark);
  transition: color var(--transition-fast);
}

.contact-text a:hover {
  color: var(--color-primary);
}

/* Contenedor del Mapa */
.map-card {
  background-color: var(--color-bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.map-header {
  padding: 0.75rem var(--space-lg);
  background-color: var(--color-dark);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.map-embed {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

.map-footer {
  padding: 0.85rem var(--space-lg);
  background-color: var(--color-bg-main);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.map-footer a {
  color: var(--color-primary);
  font-weight: 700;
  transition: color var(--transition-fast);
}

.map-footer a:hover {
  color: var(--color-primary-hover);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info .section-header {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .map-embed {
    height: 300px;
  }

  .map-header {
    font-size: 0.78rem;
  }
}


/* --- sections/testimonios.css --- */
/* ==========================================================================
   SECTION: PREGUNTAS FRECUENTES (FAQ) & CTA FINAL - ÓPTICA MANZANO
   FIXES: ancho completo, responsive
   ========================================================================== */

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
  width: 100%;
  padding: var(--space-3xl) var(--space-lg);
  background-color: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}

.faq-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.faq-accordion-list {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-contact-tip {
  margin-top: var(--space-xl);
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--color-bg-main);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.faq-contact-tip a {
  color: var(--color-primary);
  font-weight: 700;
  transition: color var(--transition-fast);
}

.faq-contact-tip a:hover {
  color: var(--color-primary-hover);
}

/* =========================================================
   CTA FINAL
   ========================================================= */
.final-cta {
  width: 100%;
  padding: var(--space-3xl) var(--space-lg);
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  color: var(--color-text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(162, 27, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.final-cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.final-cta-text {
  font-size: 1.1rem;
  color: #d1d5db;
  max-width: 640px;
  line-height: 1.65;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: 0.5rem;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .final-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .final-cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}


/* --- sections/footer.css --- */
/* ==========================================================================
   SECTION: FOOTER - ÓPTICA MANZANO
   FIXES: ancho completo, grid responsivo
   ========================================================================== */

.footer {
  width: 100%;
  background-color: var(--color-dark);
  color: #9ca3af;
  padding: var(--space-3xl) var(--space-lg) var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.footer-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background-color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 4px;
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-slogan {
  color: #f472b6;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #9ca3af;
  max-width: 340px;
}

.footer-col-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-link-item {
  color: #9ca3af;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-link-item:hover {
  color: #f472b6;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #d1d5db;
  flex-wrap: wrap;
}

.footer-contact-row a {
  color: #ffffff;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-contact-row a:hover {
  color: #f472b6;
}

/* Redes Sociales */
.footer-social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  font-size: 1.1rem;
}

.social-btn:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
  width: 100%;
  max-width: var(--container-max-width);
  margin: var(--space-xl) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.82rem;
  color: #6b7280;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: #6b7280;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: #d1d5db;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .footer-desc {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }
}


/* --- base/fullwidth-override.css --- */
/* ==========================================================================
   OVERRIDE NUCLEAR — ANCHO 100% GARANTIZADO
   Se aplica DESPUÉS de todos los estilos para forzar pantalla completa.
   Esto elimina CUALQUIER margen o padding blanco en los bordes laterales.
   ========================================================================== */

/* Garantías absolutas en html y body */
html {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: clip !important;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  width: 100% !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip !important;
  position: relative !important;
}

/* El main tampoco limita el ancho */
main {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Cada sección de primer nivel cubre el ancho completo del viewport */
.top-bar,
.header,
.hero,
.benefits,
.services,
.brands,
.catalog,
.style-section,
.whatsapp-banner,
.contact-section,
.faq-section,
.final-cta,
.footer {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* El header sticky no debe quedar más angosto que el viewport */
.header {
  left: 0 !important;
  right: 0 !important;
}