/* ==========================================================================
   ESCUCHA MEJOR - Estilos Globales y Diseño Sensorial
   Geo: Perú | Enfoque: Bienestar Auditivo y Armonía Natural
   Cumplimiento: Políticas de Google Ads y Estándares Web Modernos
   ========================================================================== */

:root {
  --primary: #1e4d3b;        /* Verde bosque amazónico profundo */
  --primary-light: #2d6a4f;  /* Verde follaje vibrante */
  --primary-dark: #112d22;   /* Bosque nocturno */
  --secondary: #d8833b;      /* Terracota andina / atardecer costeño */
  --secondary-hover: #b86b2b;
  --accent-cyan: #2a9d8f;    /* Turquesa aguas de Paracas */
  --sand-bg: #f9f7f2;        /* Arena cálida suave */
  --surface: #ffffff;
  --surface-alt: #f1eee7;
  --text-main: #1f2937;      /* Carbón suave para lectura óptima */
  --text-muted: #52606d;     /* Gris tenue para subtítulos */
  --border-color: #e5e0d8;
  --success: #2e7d32;
  --shadow-sm: 0 2px 8px rgba(30, 77, 59, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 77, 59, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 77, 59, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s ease-in-out;
}

/* Reset y caja */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--sand-bg);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

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

/* Contenedores */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 840px;
}

/* Navegación Superior */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(42, 157, 143, 0.3);
}

.brand-peru {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(216, 131, 59, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-btn {
  background: var(--secondary);
  color: white !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(216, 131, 59, 0.25);
}

.nav-btn:hover {
  background: var(--secondary-hover);
  transform: translateY(-1px);
}

/* Botón menú móvil */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary);
}

/* Botones genéricos */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(30, 77, 59, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(30, 77, 59, 0.35);
}

.btn-secondary {
  background: var(--secondary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(216, 131, 59, 0.25);
}

.btn-secondary:hover {
  background: var(--secondary-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(42, 157, 143, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(216, 131, 59, 0.06) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 77, 59, 0.08);
  color: var(--primary);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-badge span {
  font-size: 1rem;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content h1 .text-highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-peru-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-peru-note strong {
  color: var(--primary-dark);
}

/* Tarjeta Gráfica Hero */
.hero-visual-card {
  background: linear-gradient(145deg, #ffffff, var(--surface-alt));
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.soundwave-box {
  background: var(--primary-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(17, 45, 34, 0.3);
}

.soundwave-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4ade80;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.wave-animation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  gap: 4px;
}

.wave-bar {
  width: 4px;
  background: linear-gradient(to top, var(--accent-cyan), #a7f3d0);
  border-radius: 2px;
  animation: waveMotion 1.4s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.25s; }
.wave-bar:nth-child(4) { animation-delay: 0.4s; }
.wave-bar:nth-child(5) { animation-delay: 0.15s; }
.wave-bar:nth-child(6) { animation-delay: 0.3s; }
.wave-bar:nth-child(7) { animation-delay: 0.5s; }
.wave-bar:nth-child(8) { animation-delay: 0.2s; }
.wave-bar:nth-child(9) { animation-delay: 0.35s; }
.wave-bar:nth-child(10) { animation-delay: 0.45s; }
.wave-bar:nth-child(11) { animation-delay: 0.05s; }
.wave-bar:nth-child(12) { animation-delay: 0.25s; }

@keyframes waveMotion {
  0% { height: 10px; }
  50% { height: 42px; }
  100% { height: 18px; }
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-item {
  background: white;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.stat-item .stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Secciones Generales */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.05rem;
}

/* INTERACTIVO 1: Generador de Paisajes Sonoros */
.soundscape-container {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.soundscape-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.soundscape-controls-master {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.master-toggle {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.master-toggle:hover {
  background: var(--primary-light);
}

.soundscape-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sound-card {
  background: var(--sand-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 2px solid transparent;
  transition: var(--transition);
}

.sound-card.active {
  border-color: var(--accent-cyan);
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(42, 157, 143, 0.12);
}

.sound-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

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

.sound-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(30, 77, 59, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.sound-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-dark);
}

.sound-region {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
}

.sound-slider-wrapper {
  margin-top: 1rem;
}

.sound-slider-wrapper label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.sound-slider {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.sound-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.15s;
}

.sound-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Switch toggle individual */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 24px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider-round {
  background-color: var(--accent-cyan);
}

input:checked + .slider-round:before {
  transform: translateX(20px);
}

.soundscape-tips {
  background: rgba(42, 157, 143, 0.08);
  border-left: 4px solid var(--accent-cyan);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  color: var(--primary-dark);
}

/* INTERACTIVO 2: Test de Armonía Acústica */
.quiz-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  max-width: 760px;
  margin: 0 auto;
}

.quiz-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--surface-alt);
  border-radius: 3px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--secondary));
  width: 25%;
  transition: width 0.4s ease;
}

.quiz-question-container {
  min-height: 280px;
}

.quiz-question-title {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quiz-option-btn {
  text-align: left;
  background: var(--sand-bg);
  border: 1.5px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz-option-btn:hover {
  border-color: var(--primary);
  background: white;
  transform: translateX(4px);
}

.quiz-option-btn.selected {
  border-color: var(--primary);
  background: rgba(30, 77, 59, 0.05);
  font-weight: 600;
  color: var(--primary);
}

.quiz-result-box {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.result-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(216, 131, 59, 0.15);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.result-score {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

.result-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Cuadrícula de Características / Beneficios */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--surface);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(30, 77, 59, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
}

/* Regiones del Perú */
.peru-regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.region-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.region-header-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.region-selva {
  background: linear-gradient(135deg, #1c4436, #2d6a4f);
}

.region-sierra {
  background: linear-gradient(135deg, #475569, #78716c);
}

.region-costa {
  background: linear-gradient(135deg, #1e3a5f, #2a9d8f);
}

.region-tag-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.region-icon-big {
  font-size: 3.5rem;
  opacity: 0.85;
}

.region-body {
  padding: 1.75rem;
  flex-grow: 1;
}

.region-body h3 {
  font-size: 1.25rem;
}

.region-sound-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-color);
}

/* Banner de Invitación / CTA a la Página de Lead */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-banner .btn-secondary {
  font-size: 1.1rem;
  padding: 1rem 2.25rem;
}

/* Preguntas Frecuentes */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  padding-bottom: 1.25rem;
}

/* PÁGINA DE FORMULARIO DE LEADS (guia.html / solicitud.html) */
.lead-form-section {
  padding: 4rem 0 5rem;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.lead-form-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: #ffffff;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 77, 59, 0.15);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.4;
  margin-top: 1rem;
}

.form-checkbox-label input {
  margin-top: 3px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem;
  font-size: 1.05rem;
}

.guide-perks-list {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.check-icon {
  color: var(--success);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
}

.guarantee-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  justify-content: center;
}

/* Modal de Éxito / Confirmación */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: modalFade 0.3s ease;
}

@keyframes modalFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon-success {
  width: 64px;
  height: 64px;
  background: rgba(46, 125, 50, 0.12);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

/* Pie de página y Descargo de Responsabilidad (Cumplimiento Google Ads) */
.site-footer {
  background: var(--primary-dark);
  color: #d1d5db;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col h5 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 0.875rem;
}

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

.footer-contact-info p {
  margin-bottom: 0.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Recuadro de Descargo de Responsabilidad Obligatorio (Google Ads Compliance) */
.compliance-disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.compliance-disclaimer-box h6 {
  color: #f3f4f6;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.compliance-disclaimer-box p {
  color: #9ca3af;
  font-size: 0.78rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #6b7280;
}

/* Banner de Cookies (Cumplimiento de Privacidad y Google) */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 600px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  z-index: 999;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Contenido de Páginas Legales */
.legal-page-header {
  padding: 3.5rem 0 2rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border-color);
}

.legal-content {
  padding: 3.5rem 0 5rem;
}

.legal-article {
  background: var(--surface);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.legal-article h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.legal-article p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-article ul {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-article li {
  margin-bottom: 0.4rem;
}

/* Responsividad */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .lead-form-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .soundscape-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
}
