/* ==========================================================================
   VERGARA SAT - ESPECIALISTAS EN CALDERAS DE GAS EN SORIA
   Diseño Web Prémium, Responsive y Adaptado a la Identidad de Marca
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO (Adaptadas a la Llama y Logotipo de Vergara SAT)
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Corporativa Exacta (Logotipo Vergara SAT: Llama Azul / Magenta Rojizo) */
  --flame-red: #FF665E;          /* Nuevo color rojo de destacado solicitado por el usuario */
  --flame-red-hover: #e5524b;
  --flame-red-light: #fff3f2;
  --flame-red-glow: rgba(255, 102, 94, 0.28);

  --flame-blue: #1d63b8;         /* Azul royal de la llama izquierda */
  --flame-blue-dark: #134585;
  --flame-blue-light: #eff6ff;
  --flame-blue-glow: rgba(29, 99, 184, 0.2);

  --primary: var(--flame-red);
  --primary-hover: var(--flame-red-hover);
  --primary-light: var(--flame-red-light);
  --primary-glow: var(--flame-red-glow);

  --secondary: #0f172a;          /* Azul pizarra oscuro profundo */
  --secondary-light: #1e293b;
  --secondary-surface: #0b132b;

  --accent-gold: #f59e0b;
  --accent-whatsapp: #25d366;
  --accent-whatsapp-hover: #1eb956;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --bg-body: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --bg-card: #ffffff;

  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;

  /* Tipografías: Open Sans de Google Fonts */
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Open Sans', var(--font-sans);

  /* Sombras */
  --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 -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Radios */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transiciones */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1300px;
  --container-narrow: 860px;
}

/* Reset básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--flame-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--flame-red);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* --------------------------------------------------------------------------
   2. UTILIDADES Y CONTENEDORES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.text-center { text-align: center; }
.text-white { color: var(--text-white) !important; }
.text-accent { color: var(--flame-red) !important; }

.section {
  padding: 85px 0;
  position: relative;
}

.section--light { background-color: var(--bg-body); }
.section--gray { background-color: var(--bg-gray); }

.section-header {
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--flame-blue);
  background-color: var(--flame-blue-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(29, 99, 184, 0.15);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--secondary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   3. BOTONES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.btn .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--flame-red) 0%, #e5524b 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--flame-red-glow);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #f43f5e 0%, var(--flame-red) 100%);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--flame-red-glow);
}

.btn--secondary {
  background-color: var(--flame-blue);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--flame-blue-glow);
}

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

.btn--outline {
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--border-medium);
}

.btn--outline:hover {
  border-color: var(--flame-blue);
  color: var(--flame-blue);
  background-color: var(--flame-blue-light);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.btn--xl {
  padding: 18px 36px;
  font-size: 1.2rem;
  border-radius: var(--radius-md);
}

.btn--whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #1ea952 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  font-size: 1.05rem;
}

.btn--whatsapp:hover {
  background: linear-gradient(135deg, #2ae670 0%, #25d366 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn--call-direct {
  background: linear-gradient(135deg, var(--flame-blue) 0%, #134585 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--flame-blue-glow);
  font-size: 1.05rem;
}

.btn--call-direct:hover {
  background: linear-gradient(135deg, #2563eb 0%, var(--flame-blue) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--flame-blue-glow);
}

.hero-direct-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 18px 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-medium);
}

.form-divider:not(:empty)::before {
  margin-right: 12px;
}

.form-divider:not(:empty)::after {
  margin-left: 12px;
}

.btn--full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. TOP BAR & SITE HEADER
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--secondary);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar__link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-white);
  font-weight: 700;
}

.top-bar__link .icon {
  width: 14px;
  height: 14px;
  fill: var(--flame-red);
}

.top-bar__link--whatsapp {
  color: #86efac;
}

.top-bar__divider {
  color: rgba(255, 255, 255, 0.2);
}

.site-header {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--secondary);
  line-height: 1.1;
  white-space: nowrap;
}

.logo__title strong {
  color: var(--flame-red);
}

.logo__subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--flame-blue);
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 20px);
  flex-wrap: nowrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--secondary);
  transition: color var(--transition-fast);
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--flame-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--flame-blue), var(--flame-red));
  transition: width var(--transition-normal);
}

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

.nav-link--urgent {
  color: var(--flame-red) !important;
  background-color: var(--flame-red-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(230, 34, 76, 0.25);
  white-space: nowrap;
}

.nav-link--urgent:hover {
  background-color: var(--flame-red);
  color: #ffffff !important;
}

.nav-link--urgent::after {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 10px 18px;
  font-size: 0.96rem;
  white-space: nowrap;
}

.header-actions .btn .btn-text {
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--secondary);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f8 100%);
  padding: 36px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--flame-blue-light);
  color: var(--flame-blue);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(29, 99, 184, 0.2);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--flame-red);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero__title-sub {
  display: block;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--secondary);
  margin-top: 10px;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero__title-sub .text-accent {
  color: var(--flame-red);
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero__callout {
  background: #ffffff;
  border-left: 4px solid var(--flame-red);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
}

.hero__callout-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 4px;
}

.hero__callout-desc {
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 0;
  line-height: 1.6;
}

.hero__callout-link {
  color: var(--flame-red);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.hero__callout-link:hover {
  color: var(--flame-blue);
}

.hero__price-box {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
}

.hero__price-val {
  background: linear-gradient(135deg, var(--flame-red-light) 0%, #fff 100%);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  text-align: center;
  border: 1.5px dashed var(--flame-red);
}

.price-amount {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--flame-red);
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
}

.hero__features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero__features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.check-icon {
  width: 18px;
  height: 18px;
  fill: var(--flame-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  line-height: 0;
}

.hero-curve svg {
  width: 100%;
  height: 100%;
}

/* Tarjeta Formulario Hero */
.quick-form-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  position: relative;
}

.quick-form-tag {
  display: inline-block;
  background-color: var(--flame-blue-light);
  color: var(--flame-blue);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.quick-form-card__header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 8px;
}

.quick-form-card__header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Formularios */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--flame-blue);
  box-shadow: 0 0 0 3px var(--flame-blue-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 85px;
  font-family: inherit;
}

/* Autocompletado Inteligente de Localidad / Código Postal */
.autocomplete-wrapper {
  position: relative;
}

.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  max-height: 220px;
  overflow-y: auto;
  z-index: 999;
  display: none;
}

.autocomplete-dropdown.show {
  display: block;
  animation: fadeInDown 0.15s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-main);
  transition: background-color 0.1s ease;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.autocomplete-item--active {
  background-color: var(--flame-blue-light);
  color: var(--flame-blue-dark);
}

.autocomplete-item__cp {
  font-weight: 800;
  color: var(--flame-blue);
  background: rgba(29, 99, 184, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.autocomplete-item__loc {
  font-weight: 600;
}

.autocomplete-item__zone {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-check input {
  margin-top: 3px;
  accent-color: var(--flame-red);
}

.legal-link {
  color: var(--flame-blue);
  text-decoration: underline;
}

.form-captcha-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f8fafc;
  border: 1px solid var(--border-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.form-captcha-badge .captcha-icon {
  width: 15px;
  height: 15px;
  fill: #10b981;
  flex-shrink: 0;
}

.form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.form-security .icon {
  width: 14px;
  height: 14px;
  fill: #10b981;
}

/* --------------------------------------------------------------------------
   6. SECCIÓN MANTENIMIENTO
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.story-card {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--flame-blue);
}

.story-card__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(29, 99, 184, 0.15);
  line-height: 1;
  margin-bottom: 12px;
}

.story-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.story-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.benefits-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefits-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.check-circle {
  width: 32px;
  height: 32px;
  background-color: var(--flame-red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-circle svg {
  width: 18px;
  height: 18px;
  fill: var(--flame-red);
}

.benefits-checklist strong {
  display: block;
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 2px;
}

.benefits-checklist p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-highlight {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-highlight h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.card-highlight p {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  line-height: 1.5;
}

.card-highlight__phone {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.card-highlight__phone svg {
  width: 28px;
  height: 28px;
  fill: var(--flame-red);
}

.card-highlight__phone span {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
}

.card-highlight__phone strong {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. SECCIÓN SERVICIOS
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--flame-blue);
  box-shadow: var(--shadow-lg);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  background-color: var(--flame-blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  fill: var(--flame-blue);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card__link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--flame-blue);
}

.service-card__link:hover {
  color: var(--flame-red);
}

/* --------------------------------------------------------------------------
   8. SECCIÓN PLANES
   -------------------------------------------------------------------------- */
.pricing-table-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-normal);
}

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

.pricing-card--featured {
  border: 2.5px solid var(--flame-red);
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--flame-red), #be123c);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px var(--flame-red-glow);
}

.pricing-card__header {
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.pricing-card__header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}

.pricing-card__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 38px;
}

.pricing-card__price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card__price .num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}

.pricing-card__price .num.text-sm {
  font-size: 1.8rem;
}

.pricing-card__price .unit {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

.old-price {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.pricing-card--featured .num {
  color: var(--flame-red);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.pricing-card__features li.disabled {
  color: var(--text-light);
  text-decoration: line-through;
}

.pricing-card__features svg.check {
  width: 18px;
  height: 18px;
  fill: #10b981;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card__features svg.cross {
  width: 18px;
  height: 18px;
  fill: #cbd5e1;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. SECCIÓN PREGUNTAS FRECUENTES (FAQ)
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-icon {
  width: 20px;
  height: 20px;
  fill: var(--flame-blue);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  fill: var(--flame-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. SECCIÓN MARCAS OFICIALES (8 Marcas Oficiales Equilibradas)
   -------------------------------------------------------------------------- */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 28px;
}

.brand-item {
  background-color: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-item:hover {
  border-color: var(--flame-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.brand-item span {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--secondary);
}

.brands-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. SECCIÓN URGENCIAS (Redirige a Teléfono, WhatsApp, Email)
   -------------------------------------------------------------------------- */
.section--urgent-block {
  background: linear-gradient(135deg, #0b132b 0%, #172554 100%);
  color: #ffffff;
  padding: 85px 0;
}

.urgent-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(225, 29, 72, 0.4);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: var(--shadow-xl);
}

.urgent-card__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.urgent-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--flame-red), #e5524b);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  box-shadow: 0 4px 15px var(--flame-red-glow);
}

.urgent-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 14px;
}

.urgent-lead {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.urgent-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.urgent-channel-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.urgent-channel-box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.urgent-channel-box--phone:hover {
  border-color: var(--flame-red);
  box-shadow: 0 8px 25px var(--flame-red-glow);
}

.urgent-channel-box--whatsapp:hover {
  border-color: var(--accent-whatsapp);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.urgent-channel-box--email:hover {
  border-color: var(--flame-blue);
  box-shadow: 0 8px 25px var(--flame-blue-glow);
}

.urgent-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.urgent-channel-box--phone .urgent-channel-icon {
  background-color: var(--flame-red);
}

.urgent-channel-box--whatsapp .urgent-channel-icon {
  background-color: var(--accent-whatsapp);
}

.urgent-channel-box--email .urgent-channel-icon {
  background-color: var(--flame-blue);
}

.urgent-channel-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.urgent-channel-info {
  flex-grow: 1;
  margin-bottom: 20px;
}

.channel-label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.channel-main {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.channel-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.channel-btn {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fbbf24;
}

.urgent-tips {
  background: rgba(225, 29, 72, 0.15);
  border-left: 4px solid var(--flame-red);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #fecdd3;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. SECCIÓN CONTACTO
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background-color: var(--flame-blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--flame-blue);
}

.contact-detail-item strong {
  display: block;
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 3px;
}

.contact-detail-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.phone-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--flame-red);
}

.form-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-xl);
}

.form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}

.form-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.radio-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  cursor: pointer;
}

.radio-option input {
  accent-color: var(--flame-red);
}

/* --------------------------------------------------------------------------
   13. SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0b132b;
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.logo--footer .logo__title {
  color: #ffffff;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 16px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links span {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-col p {
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-legal-links {
  margin-top: 16px;
  font-size: 0.8rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 0.8rem;
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-seo-note {
  color: #64748b;
}

/* --------------------------------------------------------------------------
   14. MODALES
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: all var(--transition-normal);
}

.modal.active {
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 36px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-normal);
  max-height: 90vh;
  overflow-y: auto;
}

.modal.active .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__dialog--lg {
  max-width: 780px;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.modal__close:hover {
  background-color: var(--border-medium);
}

.modal__close svg {
  width: 18px;
  height: 18px;
  fill: var(--secondary);
}

.modal__badge {
  display: inline-block;
  background-color: var(--flame-red-light);
  color: var(--flame-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 6px;
}

.modal__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--secondary);
  margin: 20px 0 8px;
}

.legal-content p, .legal-content li {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   15. BARRA FLOTANTE MÓVIL
   -------------------------------------------------------------------------- */
.mobile-bar {
  display: none !important;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 14px;
  z-index: 999;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.mobile-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}

.mobile-bar__btn svg {
  width: 16px;
  height: 16px;
}

.mobile-bar__btn--call {
  background-color: var(--flame-red);
  color: #ffffff;
}

.mobile-bar__btn--call svg {
  fill: #ffffff;
}

.mobile-bar__btn--whatsapp {
  background-color: var(--accent-whatsapp);
  color: #ffffff;
}

.mobile-bar__btn--whatsapp svg {
  fill: #ffffff;
}

.mobile-bar__btn--form {
  background-color: var(--flame-blue);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   16. POPUP MODAL DE COOKIES
   -------------------------------------------------------------------------- */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cookie-modal__dialog {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 560px;
  width: 92%;
  padding: clamp(24px, 4vw, 32px) clamp(20px, 4vw, 28px);
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.3s ease;
  border: 1px solid var(--border-light);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.cookie-modal.show .cookie-modal__dialog {
  transform: scale(1);
}

.cookie-modal__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.cookie-modal__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(29, 99, 184, 0.1);
  color: var(--flame-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.cookie-modal__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 0;
}

.cookie-modal__body {
  overflow-y: auto;
  padding-right: 4px;
}

.cookie-toggle-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 12px;
  margin-top: 4px;
  text-decoration: underline;
  transition: color 0.2s ease;
  align-self: center;
}

.cookie-toggle-btn:hover {
  color: var(--flame-blue);
  background: none;
}

.cookie-toggle-btn .icon-arrow {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.cookie-toggle-btn.active .icon-arrow {
  transform: rotate(180deg);
}

/* DESGLOSE DETALLADO DE COOKIES EN EL POPUP */
.cookie-types-list {
  text-align: left;
  background-color: #f8fafc;
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 12px 0 16px;
  border: 1px solid var(--border-light);
}

.cookie-type-item {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-light);
}

.cookie-type-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-type-header {
  margin-bottom: 6px;
}

.cookie-type-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--secondary);
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge--success {
  background-color: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.badge--warning {
  background-color: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.cookie-type-desc {
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 6px !important;
}

.cookie-details {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-left: 16px;
  margin: 0 !important;
}

.cookie-details li {
  font-size: 0.78rem;
  margin-bottom: 3px !important;
  line-height: 1.4;
}

.cookie-details code {
  background: rgba(15, 23, 42, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: monospace;
  color: var(--flame-blue);
  font-weight: 600;
}

.cookie-modal__legal-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px !important;
  text-align: left;
}

.cookie-modal__link {
  color: var(--flame-blue);
  font-weight: 700;
  text-decoration: underline;
}

.cookie-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  margin-top: 6px;
}

.cookie-modal__actions .btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE DESIGN (Media Queries - Blindado para iPhone y Android)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .benefits-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pricing-table-wrapper,
  .services-grid,
  .story-grid,
  .urgent-channels-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card--featured {
    transform: none;
  }

  .brands-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 760px;
    margin: 0 auto 24px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
  }

  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .top-bar {
    display: none !important;
  }

  .site-header {
    height: auto;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: visible !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
  }

  .site-header__inner {
    height: 64px;
    padding: 0 4px;
    gap: 8px;
    justify-content: space-between;
    position: relative !important;
    overflow: visible !important;
  }

  .logo {
    gap: 10px;
    min-width: 0;
    max-width: calc(100% - 50px);
  }

  .logo__img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .logo__text {
    min-width: 0;
    overflow: hidden;
  }

  .logo__title {
    font-size: 1.15rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  .logo__subtitle {
    font-size: 0.6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
    letter-spacing: 0.2px;
    max-width: 100%;
    display: block;
  }

  .header-actions {
    gap: 6px;
    flex-shrink: 0;
    position: relative !important;
    z-index: 100000 !important;
  }

  /* Ocultar botón duplicado en cabecera para dar espacio total al logo */
  .header-actions .btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    padding: 8px;
    margin-left: auto;
    position: relative !important;
    z-index: 100001 !important;
  }

  .site-nav {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #ffffff !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2) !important;
    padding: 12px 20px !important;
    display: none !important;
    border-top: 1px solid var(--border-light) !important;
    border-bottom: 3px solid var(--flame-red) !important;
    z-index: 999999 !important;
  }

  .site-nav.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .site-nav__list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  .site-nav__list li {
    display: block !important;
    width: 100% !important;
  }

  .nav-link {
    display: block !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--secondary) !important;
    padding: 12px 6px !important;
    width: 100% !important;
    border-bottom: 1px solid var(--border-light) !important;
    text-decoration: none !important;
  }

  .nav-link:hover,
  .nav-link:active {
    color: var(--flame-blue) !important;
    background-color: var(--flame-blue-light) !important;
  }

  .nav-link--urgent {
    color: var(--flame-red) !important;
    font-weight: 800 !important;
    border-bottom: none !important;
  }

  .hero {
    padding: 20px 0 40px;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .hero__grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 24px !important;
  }

  .hero__content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .hero__badge {
    white-space: normal !important;
    text-align: left;
    font-size: 0.72rem !important;
    padding: 6px 12px !important;
    line-height: 1.3 !important;
    max-width: 100% !important;
    display: inline-flex !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .hero__title {
    font-size: clamp(1.22rem, 4.6vw, 1.65rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 14px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
  }

  .hero__title-sub {
    font-size: clamp(0.9rem, 3.5vw, 1.15rem) !important;
    line-height: 1.35 !important;
    margin-top: 8px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
  }

  .hero__lead {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .hero__callout {
    padding: 16px 14px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .hero__callout-title {
    font-size: 0.98rem !important;
    line-height: 1.35 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
  }

  .hero__callout-desc {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .hero__actions {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero__actions .btn {
    width: 100% !important;
    font-size: 0.92rem;
    padding: 12px 16px;
    box-sizing: border-box !important;
  }

  .hero__form-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-top: 10px !important;
  }

  .quick-form-card {
    padding: 22px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .quick-form-card__header h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .hero-direct-actions {
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-card {
    padding: 22px 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .form-row {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  }

  .service-card {
    padding: 22px 16px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    max-width: 100% !important;
    margin: 0 auto 20px !important;
  }

  .brand-item {
    padding: 14px 8px !important;
  }

  .brand-item span {
    font-size: 0.88rem;
  }

  .urgent-card {
    padding: 24px 14px !important;
  }

  .urgent-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
  }

  .urgent-lead {
    font-size: 0.92rem !important;
  }

  .urgent-channels-grid {
    gap: 12px;
  }

  .urgent-channel-box {
    padding: 18px 14px !important;
  }

  .channel-main {
    font-size: 1.2rem;
  }

  /* La barra flotante móvil SOLO es visible en pantallas de smartphone (< 769px) */
  @media (max-width: 768px) {
    body {
      padding-bottom: 65px !important;
    }

    .mobile-bar {
      display: grid !important;
    }

    .footer-grid {
      grid-template-columns: 1fr !important;
      gap: 24px;
    }
  }

  @media (min-width: 769px) {
    body {
      padding-bottom: 0 !important;
    }

    .mobile-bar {
      display: none !important;
    }
  }

  .modal__dialog {
    padding: 20px 14px !important;
    margin: 10px !important;
    max-width: 95vw !important;
  }

  .cookie-banner {
    left: 8px !important;
    right: 8px !important;
    bottom: 70px !important;
    padding: 12px 14px !important;
  }

  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }



  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .logo__subtitle {
    font-size: 0.54rem;
  }
}

/* ESTILOS PARA PÁGINAS LEGALES INDEPENDIENTES */
.legal-page {
  padding: 50px 0 80px;
  background-color: var(--bg-light);
  min-height: calc(100vh - 350px);
}

.legal-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: clamp(24px, 5vw, 50px);
  box-shadow: var(--shadow-md);
  max-width: 920px;
  margin: 0 auto;
}

.legal-card h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 8px;
  border-bottom: 3px solid var(--flame-red);
  padding-bottom: 12px;
}

.legal-card .legal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-card h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 28px 0 12px;
}

.legal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--flame-blue);
  margin: 20px 0 10px;
}

.legal-card p, .legal-card li {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-card ul {
  padding-left: 24px;
  margin-bottom: 18px;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--flame-blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.legal-back-btn:hover {
  color: var(--flame-red);
}

/* Botón sutil "Volver al inicio" en cada sección */
.back-to-top-wrapper {
  margin-top: 36px;
  padding-top: 16px;
}

.back-to-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background-color: #ffffff;
  border: 1px solid var(--border-medium);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.back-to-top-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.back-to-top-link:hover {
  color: var(--flame-blue);
  background-color: var(--flame-blue-light);
  border-color: rgba(29, 99, 184, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(29, 99, 184, 0.15);
}

.back-to-top-link:hover svg {
  transform: translateY(-2px);
}

/* Tarjeta Destacada de Reseñas de Google */
.google-review-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(66, 133, 244, 0.22);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 28px;
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.08);
  position: relative;
  overflow: hidden;
}

.google-review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%);
}

.google-review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.google-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.star-icon {
  width: 20px;
  height: 20px;
  fill: #f59e0b;
}

.google-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  background-color: #f1f5f9;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.google-g-icon {
  width: 16px;
  height: 16px;
}

.google-review-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}

.google-review-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.btn--google-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  color: #1e293b;
  border: 2px solid #cbd5e1;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
  width: 100%;
}

.btn--google-review svg {
  width: 18px;
  height: 18px;
  fill: #f59e0b;
}

.btn--google-review:hover {
  background-color: #4285f4;
  color: #ffffff;
  border-color: #4285f4;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.3);
}

.btn--google-review:hover svg {
  fill: #ffffff;
}

