/* ==========================================================================
   SALUD-CLARA - Estilos Principales Dinámicos y Modernos
   Información clara para vivir mejor
   ========================================================================== */

:root {
  --color-navy: #0a4d68;
  --color-teal: #088395;
  --color-cyan: #05bfdb;
  --color-green: #00a884;
  --color-green-light: #e6f7f2;
  --color-red: #e63946;
  --color-red-light: #fdf0f0;
  --color-yellow: #f7b731;
  --color-yellow-light: #fef8eb;
  --color-purple: #6a1b9a;
  --color-orange: #f3722c;
  
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-alt: #f1f5f9;
  --color-text: #1e293b;
  --color-text-muted: #475569;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;

  --font-base: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-size-base: 16px;
  --line-height: 1.6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(10, 77, 104, 0.08);
  --shadow-lg: 0 12px 30px rgba(10, 77, 104, 0.12);

  --transition: all 0.25s ease-in-out;
}

body.font-lg { --font-size-base: 18px; }
body.font-xl { --font-size-base: 20px; }

body.high-contrast {
  --color-bg: #000000;
  --color-surface: #121212;
  --color-surface-alt: #1e1e1e;
  --color-text: #ffffff;
  --color-text-muted: #e0e0e0;
  --color-border: #444444;
  --color-navy: #4db5ff;
  --color-teal: #33ddff;
  --color-green: #2ecc71;
  --color-red: #ff5252;
}

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   Barra Superior de Emergencias y Accesibilidad
   ========================================================================== */
.top-emergency-bar {
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.emergency-quick-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.emergency-badge {
  background-color: #ffffff;
  color: #dc2626;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-emergency-call {
  background-color: #ffffff;
  color: #b91c1c;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255, 0.7); }
  50% { box-shadow: 0 0 0 6px rgba(255,255,255, 0); }
}

.btn-emergency-call:hover {
  background-color: #fef2f2;
  transform: translateY(-1px);
}

.accessibility-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.access-btn {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
  transition: var(--transition);
}

.access-btn:hover {
  background: rgba(255,255,255,0.4);
}

/* ==========================================================================
   Cabecera Principal y Navegación
   ========================================================================== */
.site-header {
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-border);
  position: sticky;
  top: 38px;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none !important;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(10, 77, 104, 0.2);
  border: 2px solid var(--color-teal);
  transition: transform 0.3s ease;
}

.brand-wrapper:hover .brand-logo {
  transform: scale(1.05);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-navy);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.82rem;
  color: var(--color-teal);
  font-weight: 700;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--color-text);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--color-surface-alt);
  color: var(--color-teal);
}

.nav-link.badge-highlight {
  background-color: var(--color-green-light);
  color: var(--color-green);
}

.nav-link.badge-emergency {
  background-color: var(--color-red-light);
  color: var(--color-red);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--color-navy);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Section Principal
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 45%, #f8fafc 100%);
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--color-teal);
  color: var(--color-teal);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero-title span {
  color: var(--color-teal);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--color-teal);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
}

.btn-start {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-navy) 100%);
  color: #ffffff !important;
  font-size: 1.15rem;
  padding: 0.95rem 2rem;
  box-shadow: 0 4px 15px rgba(8, 131, 149, 0.35);
}

.btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8, 131, 149, 0.45);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-navy) !important;
  border: 2px solid var(--color-navy);
}

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

.btn-red {
  background: var(--color-red);
  color: #ffffff !important;
}

.btn-red:hover {
  background: #c53030;
  transform: translateY(-2px);
}

.btn-green {
  background: var(--color-green);
  color: #ffffff !important;
}

.btn-green:hover {
  background: #008f70;
  transform: translateY(-2px);
}

/* Contenedor Visual Hero */
.hero-visual-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  transition: transform 0.4s ease;
  object-fit: cover;
}

.hero-illustration:hover {
  transform: scale(1.02);
}

.hero-logo-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.hero-logo-badge img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-teal);
}

.hero-logo-badge span {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--color-navy);
}

.hero-pills {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-pill {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
}

/* ==========================================================================
   COMPONENTES DINÁMICOS INTERACTIVOS (NUEVOS)
   ========================================================================== */

/* 1. Metrónomo RCP en vivo */
.rcp-metronome-box {
  background: linear-gradient(135deg, #0a4d68 0%, #088395 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  margin: 2rem 0;
}

.heart-beating-icon {
  font-size: 4rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: transform 0.1s ease;
}

.heart-beating-icon.pulse {
  transform: scale(1.35);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}

.bpm-display {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-cyan);
}

/* 2. Simulador DEA interactivo */
.dea-simulator {
  background: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
}

.dea-screen {
  background: #1e293b;
  color: #38bdf8;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: bold;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 1.5rem;
  border: 2px solid #334155;
}

.dea-controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.dea-step-btn {
  background: var(--color-surface-alt);
  border: 2px solid var(--color-border);
  padding: 1rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.dea-step-btn.active {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

.dea-step-btn.shock-ready {
  background: #fee2e2;
  border-color: #ef4444;
  color: #991b1b;
  animation: pulse-shock 1s infinite;
}

@keyframes pulse-shock {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* 3. Checklist Mochila 72h interactiva */
.checklist-progress-bar {
  width: 100%;
  height: 12px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 1rem 0;
}

.checklist-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-green) 100%);
  width: 0%;
  transition: width 0.3s ease;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.checklist-item:hover {
  background-color: var(--color-surface-alt);
}

.checklist-item.checked {
  background-color: var(--color-green-light);
  border-color: var(--color-green);
  text-decoration: line-through;
  opacity: 0.85;
}

/* ==========================================================================
   Tarjetas e Imágenes en Secciones
   ========================================================================== */
.section-image-banner {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 3px solid #ffffff;
  margin-bottom: 2rem;
}

.section-image-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.section-image-banner:hover img {
  transform: scale(1.02);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.area-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.area-card-border-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.border-salud { background-color: var(--color-teal); }
.border-65 { background-color: #0284c7; }
.border-svb { background-color: var(--color-yellow); }
.border-auxilios { background-color: var(--color-red); }
.border-catastrofes { background-color: var(--color-orange); }
.border-cursos { background-color: var(--color-green); }
.border-proyectos { background-color: var(--color-purple); }
.border-galeria { background-color: #ec4899; }

.area-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  background-color: var(--color-surface-alt);
}

.area-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.65rem;
}

.area-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.area-card-link {
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-teal);
}

/* ==========================================================================
   Protocolo de Emergencia Vital (112 / SVB)
   ========================================================================== */
.emergency-protocol-box {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  box-shadow: 0 10px 30px rgba(185, 28, 28, 0.25);
}

.protocol-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: center;
}

.protocol-cta h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.protocol-cta p {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.steps-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.step-num {
  display: inline-block;
  background: #ffffff;
  color: #991b1b;
  width: 34px;
  height: 34px;
  line-height: 34px;
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.step-desc {
  font-size: 0.88rem;
  opacity: 0.9;
  line-height: 1.4;
}

/* ==========================================================================
   Componentes Específicos: Qué Hacer vs Qué Evitar
   ========================================================================== */
.do-dont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.do-card {
  background: var(--color-green-light);
  border: 2px solid var(--color-green);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.dont-card {
  background: var(--color-red-light);
  border: 2px solid var(--color-red);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.do-card h4 {
  color: #065f46;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dont-card h4 {
  color: #991b1b;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.do-card ul, .dont-card ul {
  padding-left: 1.25rem;
}

.do-card li, .dont-card li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   Acordeones, Formularios y Pie
   ========================================================================== */
.accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--color-surface);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-navy);
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: var(--color-surface-alt);
}

.accordion-content {
  padding: 0 1.5rem 1.5rem;
  display: none;
  border-top: 1px solid var(--color-border);
  background-color: #fafbfc;
}

.accordion-content.open {
  display: block;
}

.disclaimer-banner {
  background-color: #f1f5f9;
  border-left: 5px solid var(--color-teal);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.disclaimer-icon {
  font-size: 1.5rem;
  color: var(--color-teal);
  flex-shrink: 0;
}

.disclaimer-banner p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.section {
  padding: 4rem 0;
}

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

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

.section-tag {
  color: var(--color-teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--color-text-muted);
}

.course-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.course-card h4 {
  color: var(--color-navy);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.course-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}
.badge-warning { background: var(--color-yellow-light); color: #b45309; }
.badge-danger { background: var(--color-red-light); color: var(--color-red); }
.badge-success { background: var(--color-green-light); color: var(--color-green); }

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

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--color-navy);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(8, 131, 149, 0.2);
}

.site-footer {
  background-color: #06283d;
  color: #ffffff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

.footer-brand h4 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--color-cyan);
}

.footer-brand p {
  opacity: 0.85;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col h5 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--color-cyan);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-cyan);
  padding-left: 4px;
}

.footer-disclaimer-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero-actions { justify-content: center; }
  .hero-pills { justify-content: center; }
  .protocol-grid { grid-template-columns: 1fr; }
  .steps-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .primary-nav { display: none; width: 100%; margin-top: 1rem; }
  .primary-nav.active { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; }
  .nav-link { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); }
  .hero-title { font-size: 2.1rem; }
  .do-dont-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-inner { flex-direction: column; text-align: center; }
}
