/* ==========================================================================
   StarMedical SST - Design System & Stylesheet
   Paleta Celeste / Cyan Eléctrico Luminoso (de la palabra 'Medical' y gema central)
   ========================================================================== */

:root {
  /* Brand Palette: Tono Celeste / Sky Blue Luminoso */
  --color-cyan-600: #0284c7;
  --color-cyan-500: #00a8e8; /* Tono de 'Medical' */
  --color-cyan-400: #00c2ff;
  --color-cyan-300: #38bdf8;
  --color-cyan-200: #7dd3fc;
  --color-cyan-100: #e0f2fe;
  --color-cyan-50:  #f0f9ff;

  /* Deep Contrast Neutrals */
  --color-navy-950: #060e24;
  --color-navy-900: #0a184a;
  --color-navy-800: #0e2468;
  --color-navy-700: #14358a;

  /* Functional Accents */
  --color-amber-500: #f59e0b; /* Minería y Seguridad */
  --color-emerald-500: #10b981; /* Apto médico */
  --color-rose-500: #ef4444; /* Observado / Alerta */

  /* Neutrals */
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-400: #94a3b8;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50:  #f8fafc;
  --color-white:     #ffffff;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Elevations */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 168, 232, 0.12), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 20px 25px -5px rgba(2, 132, 199, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 30px rgba(0, 194, 255, 0.35);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-slate-700);
  background-color: var(--color-slate-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* ==================== TOP BAR ==================== */
.topbar {
  background: var(--color-navy-950);
  color: #cbd5e1;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(0, 168, 232, 0.2);
  position: relative;
  z-index: 50;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.info-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.info-item i {
  color: var(--color-cyan-400);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-btn {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.775rem;
  transition: all var(--transition-fast);
}

.topbar-btn:hover {
  transform: translateY(-1px);
}

.whatsapp-badge {
  background: #16a34a;
  color: #fff;
}

.whatsapp-badge:hover {
  background: #15803d;
}

.aula-badge {
  background: linear-gradient(135deg, #0284c7, #00c2ff);
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 2px 8px rgba(0, 194, 255, 0.3);
}

.topbar-admin-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 168, 232, 0.35);
  color: var(--color-cyan-200);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.775rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.topbar-admin-btn:hover {
  background: var(--color-cyan-500);
  color: #fff;
}

/* ==================== MAIN HEADER & EXPANDED MENU BAND ==================== */
.main-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 25px rgba(2, 44, 100, 0.08);
  border-bottom: 1px solid rgba(0, 168, 232, 0.2);
  transition: all var(--transition-normal);
}

.header-container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 32px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 88px;
  gap: 20px;
}

/* Modern Brand Lockup & Glow Effect */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-badge-glow {
  position: relative;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: radial-gradient(circle at 40% 40%, rgba(0, 194, 255, 0.16) 0%, rgba(2, 132, 199, 0.05) 70%, transparent 100%);
  border: 1px solid rgba(0, 194, 255, 0.25);
  box-shadow: 0 4px 18px rgba(0, 168, 232, 0.15);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .brand-badge-glow {
  transform: scale(1.06) translateY(-2px);
  border-color: rgba(0, 194, 255, 0.5);
  box-shadow: 0 8px 24px rgba(0, 168, 232, 0.3);
}

.brand-img-large {
  height: 48px;
  width: auto;
  max-width: 54px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 168, 232, 0.4));
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-img-large {
  transform: rotate(4deg) scale(1.04);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.brand-name-star {
  color: #071536;
  font-weight: 900;
}

.brand-name-medical {
  color: #00a8e8;
  font-weight: 800;
  margin-left: 2px;
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 4px;
  line-height: 1;
}

/* Desktop Navigation Ribbon */
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.main-nav .nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: #334155;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap !important;
  transition: all var(--transition-fast);
  position: relative;
  display: inline-block;
}

.nav-link:hover {
  color: var(--color-cyan-600);
  background: rgba(0, 168, 232, 0.08);
}

.nav-link.active {
  color: var(--color-cyan-700);
  background: rgba(0, 168, 232, 0.12);
  font-weight: 700;
}

.nav-link::after {
  display: none !important;
}

/* Header Action Group (Cotizar + Aula) */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-cotizar {
  background: linear-gradient(135deg, #0284c7 0%, #00a8e8 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 168, 232, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.btn-header-cotizar:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 232, 0.45);
  color: #fff !important;
}

.btn-aula-header {
  background: #071536;
  color: #38bdf8 !important;
  border: 1.5px solid rgba(0, 194, 255, 0.45);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgba(7, 21, 54, 0.2);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.btn-aula-header:hover {
  background: #0e2760;
  border-color: #00c2ff;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 194, 255, 0.35);
}

.btn-aula-header i {
  color: #00c2ff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-cyan-600);
  cursor: pointer;
  padding: 6px;
}

/* ==================== BUTTON SYSTEM ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.925rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #00c2ff 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 194, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 8px 24px rgba(0, 194, 255, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline-cyan {
  background: rgba(0, 168, 232, 0.08);
  color: var(--color-cyan-400);
  border: 1.5px solid var(--color-cyan-400);
}

.btn-outline-cyan:hover {
  background: var(--color-cyan-500);
  color: #fff;
  border-color: var(--color-cyan-500);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 168, 232, 0.35);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  transform: translateY(-2px);
}

.btn-success {
  background: #16a34a;
  color: #fff;
}

.btn-success:hover {
  background: #15803d;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-slate-700);
  border: 1px solid var(--color-slate-300);
}

.btn-outline-dark:hover {
  background: var(--color-slate-100);
}

/* ==================== HERO SECTION (Lighter Cyan Tone) ==================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #0284c7 0%, #0a184a 45%, var(--color-navy-950) 85%);
  color: #fff;
  padding: 75px 0 35px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(0, 194, 255, 0.15) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  opacity: 0.7;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 194, 255, 0.18);
  border: 1px solid rgba(0, 194, 255, 0.45);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-cyan-200);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-cyan-400);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-cyan-300);
  animation: pulseAnim 2s infinite;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #00c2ff 0%, #ffffff 85%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.825rem;
  color: #e2e8f0;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trust-item i {
  color: var(--color-cyan-400);
}

/* Hero Media Card */
.hero-media-card {
  background: rgba(14, 36, 104, 0.85);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(0, 194, 255, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.media-card-badge {
  background: linear-gradient(90deg, #0284c7, #00c2ff);
  color: #fff;
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-video-container {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.video-btn {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.video-btn:hover {
  background: var(--color-cyan-500);
}

.media-card-content {
  padding: 22px;
}

.media-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.media-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 800;
}

.media-card-sub {
  font-size: 0.825rem;
  color: var(--color-cyan-300);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
}

.status-indicator.online {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-indicator.online::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #34d399;
  border-radius: 50%;
  display: inline-block;
}

.media-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 14px;
}

.mini-stat {
  text-align: center;
}

.mini-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.mini-lbl {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.2;
}

.media-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

/* Hero Ticker */
.hero-ticker {
  background: rgba(6, 14, 36, 0.95);
  border-top: 1px solid rgba(0, 168, 232, 0.2);
  margin-top: 50px;
  padding: 22px 0;
}

.ticker-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ticker-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 12px;
  border-left: 2px solid var(--color-cyan-400);
}

.ticker-icon {
  font-size: 1.8rem;
  color: var(--color-cyan-400);
}

.ticker-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.ticker-box p {
  font-size: 0.775rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* ==================== GENERAL SECTION LAYOUT ==================== */
.section {
  padding: 85px 0;
  position: relative;
}

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

.section-header.text-center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-cyan-100);
  color: var(--color-cyan-600);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid rgba(0, 168, 232, 0.2);
}

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

.section-lead {
  font-size: 1.05rem;
  color: var(--color-slate-600);
  line-height: 1.6;
}

/* ==================== PRESENTATION & TECHNOLOGY ==================== */
.section-presentation {
  background-color: var(--color-white);
}

.presentation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.video-showcase {
  display: flex;
  flex-direction: column;
}

.video-player-wrapper {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.presentation-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-selector-tabs {
  display: flex;
  background: var(--color-navy-950);
}

.v-tab {
  flex: 1;
  background: none;
  border: none;
  color: #94a3b8;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.v-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.v-tab.active {
  color: #fff;
  background: rgba(0, 168, 232, 0.15);
  border-bottom-color: var(--color-cyan-400);
}

.video-caption-box {
  margin-top: 16px;
  background: var(--color-cyan-50);
  border: 1px solid rgba(0, 168, 232, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.85rem;
  color: var(--color-slate-600);
}

.caption-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: 4px;
}

/* Clinic Badge Card */
.clinic-badge-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.clinic-badge-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-slate-100);
  margin-bottom: 20px;
}

.clinic-avatar img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.clinic-badge-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-navy-900);
  font-weight: 800;
  line-height: 1.2;
}

.legal-name {
  font-size: 0.85rem;
  color: var(--color-cyan-600);
  font-weight: 700;
}

.clinic-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.cd-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cd-icon {
  width: 38px;
  height: 38px;
  background: var(--color-cyan-50);
  color: var(--color-cyan-600);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 168, 232, 0.2);
}

.cd-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-slate-800);
}

.cd-item p {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  margin-top: 2px;
}

.consorcio-box {
  background: linear-gradient(135deg, var(--color-cyan-50) 0%, #e0f2fe 100%);
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: auto;
}

.consorcio-box h4 {
  font-size: 0.95rem;
  color: var(--color-navy-900);
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.consorcio-box p {
  font-size: 0.825rem;
  color: var(--color-slate-600);
  margin-bottom: 12px;
}

.consorcio-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.c-pill {
  background: #fff;
  border: 1px solid rgba(0, 168, 232, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--color-cyan-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.c-pill.active {
  background: var(--color-cyan-500);
  color: #fff;
  border-color: var(--color-cyan-500);
}

/* ==================== SERVICES SECTION ==================== */
.section-services {
  background-color: var(--color-slate-50);
}

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

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.service-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  background: var(--color-cyan-50);
  border: 1px solid rgba(0, 168, 232, 0.25);
  color: var(--color-cyan-600);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--color-cyan-500);
  color: #fff;
}

.service-badge {
  font-size: 0.725rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--color-cyan-50);
  color: var(--color-cyan-600);
  border: 1px solid rgba(0, 168, 232, 0.2);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-cyan-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.service-link:hover {
  color: var(--color-cyan-500);
  gap: 10px;
}

/* Levantamiento de Observaciones Banner */
.obs-feature-banner {
  background: linear-gradient(135deg, var(--color-navy-950) 0%, var(--color-navy-800) 100%);
  border: 1.5px solid rgba(0, 194, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-xl);
}

.obs-banner-icon {
  width: 76px;
  height: 76px;
  background: rgba(0, 194, 255, 0.15);
  border: 1px solid rgba(0, 194, 255, 0.4);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--color-cyan-400);
  flex-shrink: 0;
}

.obs-banner-content {
  flex-grow: 1;
}

.obs-badge {
  display: inline-block;
  background: var(--color-amber-500);
  color: var(--color-navy-950);
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.obs-banner-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.obs-banner-content p {
  font-size: 0.925rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.obs-banner-action {
  flex-shrink: 0;
}

/* ==================== VIGILANCIA TECNOLÓGICA (VIGIMED & CLOUDAPPER) ==================== */
.section-vigilancia {
  background: #ffffff;
}

.vigimed-portal-box {
  background: #0d1b3e;
  border: 1.5px solid rgba(0, 194, 255, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(10, 24, 74, 0.35);
  color: #fff;
}

.portal-toolbar {
  background: #07102a;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.portal-dot.red { background: #ef4444; }
.portal-dot.yellow { background: #f59e0b; }
.portal-dot.green { background: #10b981; }

.portal-title {
  color: #cbd5e1;
  font-weight: 600;
}

.portal-title i {
  color: var(--color-cyan-400);
  margin-right: 6px;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.portal-user {
  color: #e2e8f0;
  font-size: 0.8rem;
}

.portal-badge-live {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 600;
}

.portal-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.kpi-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-left: 4px solid #fff;
}

.kpi-card.green { border-color: #10b981; }
.kpi-card.yellow { border-color: #f59e0b; }
.kpi-card.orange { border-color: #fb923c; }
.kpi-card.blue { border-color: var(--color-cyan-400); }

.kpi-icon {
  font-size: 1.6rem;
  color: #94a3b8;
}

.kpi-card.green .kpi-icon { color: #10b981; }
.kpi-card.yellow .kpi-icon { color: #f59e0b; }
.kpi-card.orange .kpi-icon { color: #fb923c; }
.kpi-card.blue .kpi-icon { color: var(--color-cyan-400); }

.kpi-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}

.kpi-label {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Portal Table */
.portal-table-wrapper {
  padding: 20px;
}

.table-search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.search-input-group {
  position: relative;
  flex-grow: 1;
  max-width: 450px;
}

.search-input-group i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}

.search-input-group input {
  width: 100%;
  background: #142454;
  border: 1px solid #23397d;
  border-radius: var(--radius-md);
  padding: 9px 12px 9px 38px;
  color: #fff;
  font-size: 0.85rem;
}

.search-input-group input:focus {
  outline: none;
  border-color: var(--color-cyan-400);
}

.filter-group {
  display: flex;
  gap: 6px;
}

.filter-btn {
  background: #142454;
  border: 1px solid #23397d;
  color: #94a3b8;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-cyan-500);
  color: #fff;
  border-color: var(--color-cyan-500);
}

.table-responsive {
  overflow-x: auto;
}

.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.portal-table th {
  background: #0f1c42;
  color: #94a3b8;
  padding: 12px 14px;
  font-weight: 600;
  border-bottom: 1px solid #23397d;
  white-space: nowrap;
}

.portal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #142454;
  color: #e2e8f0;
  vertical-align: middle;
}

.portal-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.worker-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.worker-avatar-letter {
  width: 32px;
  height: 32px;
  background: #23397d;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge.apto {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.restriccion {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.observado {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-cert-camo {
  background: rgba(0, 168, 232, 0.15);
  color: var(--color-cyan-300);
  border: 1px solid rgba(0, 168, 232, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-cert-camo:hover {
  background: var(--color-cyan-500);
  color: #fff;
}

.portal-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  background: #07102a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-card {
  padding: 14px;
}

.pf-icon {
  font-size: 1.5rem;
  color: var(--color-cyan-400);
  margin-bottom: 10px;
}

.pf-card h4 {
  font-size: 0.925rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.pf-card p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ==================== MARCO NORMATIVO ==================== */
.section-normativa {
  background-color: var(--color-slate-50);
}

/* Normativa Dual Slider (Empresas Mineras vs Trabajadores) */
.normativa-slider-wrapper {
  position: relative;
  margin-bottom: 45px;
}

.normativa-slider-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px -12px rgba(10, 25, 60, 0.25);
  border: 1.5px solid rgba(0, 194, 255, 0.3);
  background: #071536;
}

.normativa-slide {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 460px;
  background: #071536;
  opacity: 0;
}

.normativa-slide.active {
  display: grid;
  opacity: 1;
  animation: slideFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.slide-media {
  position: relative;
  overflow: hidden;
  background: #020b1e;
  min-height: 420px;
}

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

.normativa-slide:hover .slide-media .slide-img {
  transform: scale(1.03);
}

.slide-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 21, 54, 0) 60%, rgba(7, 21, 54, 0.95) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(7, 21, 54, 0.5) 100%);
  pointer-events: none;
}

.slide-content-card {
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(circle at 90% 10%, rgba(0, 194, 255, 0.08) 0%, rgba(7, 21, 54, 0.98) 100%);
  color: #fff;
  position: relative;
  z-index: 2;
}

.slide-target-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.775rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  width: fit-content;
  margin-bottom: 14px;
}

.slide-target-badge.target-empresa {
  background: rgba(0, 168, 232, 0.16);
  color: var(--color-cyan-300);
  border: 1.5px solid rgba(0, 194, 255, 0.4);
}

.slide-target-badge.target-trabajador {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
}

.slide-desc {
  font-size: 0.925rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 22px;
}

.slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 26px;
}

.s-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.775rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: all var(--transition-fast);
}

.s-tag i {
  color: var(--color-cyan-400);
}

.s-tag:hover {
  background: rgba(0, 194, 255, 0.15);
  border-color: rgba(0, 194, 255, 0.4);
  color: #fff;
}

.slide-action .btn {
  font-size: 0.875rem;
  padding: 12px 24px;
}

/* Slider Controls & Tabs */
.normativa-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.slider-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-slate-300);
  background: #fff;
  color: var(--color-navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}

.slider-nav-btn:hover {
  background: var(--color-cyan-500);
  color: #fff;
  border-color: var(--color-cyan-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dots .dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  border: 1.5px solid var(--color-slate-300);
  background: #fff;
  color: var(--color-slate-600);
  font-size: 0.825rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.slider-dots .dot i {
  font-size: 0.9rem;
  color: var(--color-slate-400);
  transition: color 0.25s ease;
}

.slider-dots .dot:hover {
  border-color: var(--color-cyan-400);
  color: var(--color-navy-900);
}

.slider-dots .dot:hover i {
  color: var(--color-cyan-500);
}

.slider-dots .dot.active {
  background: linear-gradient(135deg, #0284c7 0%, #00a8e8 100%);
  color: #fff;
  border-color: #00a8e8;
  box-shadow: 0 4px 14px rgba(0, 168, 232, 0.35);
}

.slider-dots .dot.active i {
  color: #fff;
}

@media (max-width: 991px) {
  .normativa-slide {
    grid-template-columns: 1fr;
  }
  .slide-media {
    min-height: 280px;
    max-height: 340px;
  }
  .slide-overlay-gradient {
    background: linear-gradient(180deg, rgba(7, 21, 54, 0) 50%, rgba(7, 21, 54, 0.95) 100%);
  }
  .slide-content-card {
    padding: 28px 22px;
  }
  .slide-title {
    font-size: 1.3rem;
  }
  .slider-dots .dot {
    padding: 8px 14px;
    font-size: 0.775rem;
  }
}

@media (max-width: 540px) {
  .slide-media {
    min-height: 220px;
  }
  .slider-dots .dot span {
    font-size: 0.725rem;
  }
  .slider-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
}

.regulations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.regulation-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border-top: 4px solid var(--color-cyan-500);
}

.regulation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-cyan-400);
}

.reg-norm-pill {
  display: inline-block;
  background: var(--color-cyan-50);
  color: var(--color-cyan-600);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  border: 1px solid rgba(0, 168, 232, 0.2);
}

.regulation-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 6px;
}

.reg-focus {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-cyan-600);
  margin-bottom: 12px;
}

.reg-desc {
  font-size: 0.875rem;
  color: var(--color-slate-600);
  line-height: 1.6;
}

/* Audit Checklist Card */
.audit-checklist-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.checklist-header {
  margin-bottom: 24px;
}

.ch-badge {
  display: inline-block;
  background: var(--color-amber-500);
  color: var(--color-navy-950);
  font-size: 0.725rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.checklist-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-navy-900);
  font-weight: 800;
  margin-bottom: 6px;
}

.checklist-header p {
  font-size: 0.925rem;
  color: var(--color-slate-600);
}

.checklist-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.chk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.875rem;
  color: var(--color-slate-700);
}

.chk-item i {
  color: var(--color-emerald-500);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ==================== CAPACITACIÓN & AULA VIRTUAL ==================== */
.section-capacitacion {
  background: var(--color-white);
}

.training-cta-banner {
  background: radial-gradient(circle at 10% 20%, #0284c7 0%, var(--color-navy-950) 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-xl);
  margin-bottom: 40px;
  border: 1.5px solid rgba(0, 194, 255, 0.35);
}

.t-badge {
  display: inline-block;
  background: rgba(0, 194, 255, 0.18);
  color: var(--color-cyan-200);
  border: 1px solid rgba(0, 194, 255, 0.45);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.t-banner-left h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.t-banner-left p {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 22px;
}

.t-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.875rem;
  color: #e2e8f0;
}

.tf-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tf-item i {
  color: var(--color-cyan-400);
}

/* Giant Aula Virtual Button */
.aula-cta-box {
  margin-top: 10px;
}

.btn-aula-giant {
  background: linear-gradient(135deg, #0284c7 0%, #00c2ff 100%);
  border: 2px solid #fff;
  border-radius: var(--radius-xl);
  padding: 16px 26px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 10px 25px rgba(0, 194, 255, 0.45), 0 0 20px rgba(56, 189, 248, 0.3);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-aula-giant:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 15px 35px rgba(0, 194, 255, 0.6);
  color: #fff;
}

.btn-icon-circle {
  width: 52px;
  height: 52px;
  background: #fff;
  color: var(--color-cyan-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-text-block {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-top-lbl {
  font-size: 0.725rem;
  color: #bae6fd;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-main-lbl {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.btn-sub-lbl {
  font-size: 0.775rem;
  color: #e0f2fe;
  opacity: 0.9;
}

.btn-external-icon {
  font-size: 1.2rem;
  color: #bae6fd;
}

/* Mockup Card on the right */
.aula-mockup-card {
  background: #0f1c42;
  border: 1px solid rgba(0, 194, 255, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.m-card-header {
  background: #081129;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.m-dots {
  display: flex;
  gap: 5px;
}

.m-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #475569;
}

.m-title {
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: monospace;
}

.m-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.m-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.m-logo h4 {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
}

.m-course-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
}

.mc-tag {
  background: var(--color-cyan-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.mc-info {
  flex-grow: 1;
}

.mc-info strong {
  display: block;
  color: #fff;
}

.mc-info span {
  display: block;
  color: #94a3b8;
  font-size: 0.7rem;
}

.mc-status {
  color: #34d399;
  font-weight: 700;
  font-size: 0.7rem;
}

/* Courses Subgrid */
.courses-subgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course-card {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  background: var(--color-white);
  border-color: var(--color-cyan-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.course-code {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-cyan-600);
  color: #fff;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.course-hours {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  font-weight: 600;
}

.course-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.course-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-cyan-600);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.course-desc {
  font-size: 0.825rem;
  color: var(--color-slate-600);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.course-action {
  margin-top: auto;
}

.course-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-cyan-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-link:hover {
  color: var(--color-cyan-500);
}

/* ==================== CONTACT FORM & ACUSE DE RECIBO ==================== */
.section-contact {
  background: linear-gradient(180deg, var(--color-slate-50) 0%, #e6f6ff 100%);
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
}

.contact-info-panel h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-navy-900);
  line-height: 1.2;
  margin-bottom: 12px;
}

.contact-info-panel p {
  font-size: 0.95rem;
  color: var(--color-slate-600);
  margin-bottom: 28px;
  line-height: 1.6;
}

.c-perks-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

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

.cp-item i {
  font-size: 1.4rem;
  color: var(--color-cyan-500);
  background: #fff;
  padding: 12px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-slate-200);
  flex-shrink: 0;
}

.cp-item strong {
  display: block;
  font-size: 0.925rem;
  color: var(--color-navy-900);
}

.cp-item p {
  font-size: 0.85rem;
  color: var(--color-slate-600);
  margin-top: 2px;
  margin-bottom: 0;
}

.emergency-contact-box {
  background: linear-gradient(135deg, var(--color-navy-950) 0%, var(--color-navy-900) 100%);
  color: #fff;
  padding: 24px;
  border-radius: var(--radius-xl);
  margin-top: auto;
  border: 1px solid rgba(0, 194, 255, 0.35);
  box-shadow: var(--shadow-lg);
}

.emergency-contact-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.emergency-contact-box p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.direct-phone-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.phone-link {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-cyan-300);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.phone-link:hover {
  color: #fff;
}

.hours-tag {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: #e2e8f0;
}

/* Contact Form Panel */
.contact-form-panel {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
}

.form-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-slate-100);
}

.form-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: 4px;
}

.form-header p {
  font-size: 0.825rem;
  color: var(--color-slate-500);
}

.req-star {
  color: var(--color-rose-500);
  font-weight: 700;
}

.styled-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.col-half {
  flex: 1;
}

.col-full {
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-slate-800);
  margin-bottom: 6px;
}

.form-group label i {
  color: var(--color-cyan-500);
  margin-right: 4px;
}

.form-control {
  width: 100%;
  background: var(--color-slate-50);
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--color-slate-900);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--color-cyan-400);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.18);
}

.form-control.input-error {
  border-color: var(--color-rose-500);
  background: #fff1f2;
}

.field-error {
  display: block;
  font-size: 0.725rem;
  color: var(--color-rose-500);
  margin-top: 4px;
  min-height: 16px;
}

/* Captcha Box */
.captcha-box {
  background: #f0f9ff;
  border: 1px solid rgba(0, 168, 232, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.captcha-challenge {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.captcha-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-slate-500);
}

.captcha-badge i {
  color: var(--color-emerald-500);
}

.captcha-question-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-math-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-cyan-600);
  background: #e0f2fe;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

.btn-refresh-captcha {
  background: none;
  border: none;
  color: var(--color-slate-500);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: transform var(--transition-fast);
}

.btn-refresh-captcha:hover {
  color: var(--color-cyan-500);
  transform: rotate(90deg);
}

.captcha-input-wrap {
  min-width: 140px;
}

.captcha-input {
  text-align: center;
  font-weight: 700;
  letter-spacing: 1px;
}

.form-group-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.775rem;
  color: var(--color-slate-600);
  line-height: 1.5;
}

.form-group-checkbox input {
  margin-top: 3px;
  accent-color: var(--color-cyan-600);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Alert Boxes */
.form-alert-box {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-alert-box.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-alert-box.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ==================== MODALS ==================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 14, 36, 0.78);
  backdrop-filter: blur(8px);
  z-index: 1000;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 600px;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.25s ease-out;
}

.modal-dialog-lg {
  max-width: 800px;
}

.modal-dialog-xl {
  max-width: 1080px;
}

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

.modal-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-slate-200);
}

.modal-header-success {
  background: linear-gradient(135deg, #0284c7 0%, #00c2ff 100%);
  color: #fff;
  border: none;
}

.modal-badge-icon {
  font-size: 1.8rem;
  color: #fff;
  margin-right: 12px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  flex-grow: 1;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: #0f172a;
}

.modal-header-success .modal-close-btn {
  color: rgba(255, 255, 255, 0.8);
}

.modal-header-success .modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
}

.modal-body.p-0 {
  padding: 0;
}

.modal-footer {
  padding: 16px 24px;
  background: var(--color-slate-50);
  border-top: 1px solid var(--color-slate-200);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Acuse Modal Specifics */
.acuse-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acuse-top {
  text-align: center;
  background: var(--color-cyan-50);
  border: 1.5px dashed var(--color-cyan-400);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.acuse-org {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--color-slate-600);
  text-transform: uppercase;
}

.acuse-ticket-code {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-cyan-600);
  letter-spacing: 2px;
  margin: 4px 0;
}

.acuse-ticket-lbl {
  font-size: 0.75rem;
  color: var(--color-slate-500);
  font-weight: 600;
}

.acuse-details {
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.acuse-details strong {
  color: var(--color-slate-800);
}

.acuse-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-cyan-50);
  border-left: 4px solid var(--color-cyan-400);
  padding: 12px 16px;
  font-size: 0.825rem;
  color: var(--color-navy-900);
}

.acuse-sla {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.825rem;
  color: #854d0e;
}

/* Video Modal */
.video-modal-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

/* ==================== AUTOGESTIONABLE ADMIN PANEL UX (CMS) ==================== */
.admin-modal-content {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.admin-modal-header {
  background: var(--color-navy-950);
  color: #fff;
  border-bottom: 1px solid rgba(0, 168, 232, 0.25);
}

.admin-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-brand-top i {
  font-size: 1.6rem;
}

.admin-sub {
  font-size: 0.775rem;
  color: var(--color-cyan-200);
  margin-top: 2px;
}

.admin-body-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  flex-grow: 1;
  overflow: hidden;
  height: 560px;
}

.admin-sidebar {
  background: var(--color-slate-100);
  border-right: 1px solid var(--color-slate-200);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.admin-tab-btn {
  background: none;
  border: none;
  text-align: left;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-slate-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.admin-tab-btn:hover {
  background: #e2e8f0;
  color: var(--color-cyan-600);
}

.admin-tab-btn.active {
  background: var(--color-cyan-500);
  color: #fff;
}

.admin-tab-content-area {
  padding: 24px;
  overflow-y: auto;
  background: #fff;
}

.admin-tab-panel {
  display: none;
}

.admin-tab-panel.active {
  display: block;
}

.admin-tab-panel h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-navy-900);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-field.full-w {
  grid-column: 1 / -1;
}

.admin-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-slate-700);
}

.tab-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.admin-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-item-card {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.admin-media-manager {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.media-previews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.preview-box {
  background: var(--color-slate-50);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.preview-box strong {
  font-size: 0.775rem;
  color: var(--color-slate-700);
}

.preview-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.preview-path {
  font-size: 0.675rem;
  color: var(--color-slate-400);
  word-break: break-all;
}

.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-cyan-600);
  color: #fff;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  margin-top: 10px;
}

.admin-consultas-table-wrap {
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  max-height: 400px;
  overflow-y: auto;
}

.admin-modal-footer {
  background: var(--color-slate-100);
  border-top: 1px solid var(--color-slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
}

.admin-footer-left {
  display: flex;
  gap: 10px;
}

.admin-footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.save-status-indicator {
  font-size: 0.825rem;
  font-weight: 600;
  color: #15803d;
}

/* ==================== FOOTER ==================== */
.main-footer {
  background: var(--color-navy-950);
  color: #94a3b8;
  padding-top: 70px;
  border-top: 1px solid rgba(0, 168, 232, 0.2);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.col-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.f-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.f-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--color-cyan-400);
  font-weight: 700;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-cert-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cert-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 168, 232, 0.25);
  color: var(--color-cyan-200);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-cyan-400);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

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

.footer-links a.highlight-link {
  color: var(--color-cyan-300);
  font-weight: 700;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact-list i {
  color: var(--color-cyan-400);
  margin-top: 3px;
}

.footer-admin-box {
  margin-top: 10px;
}

.footer-bottom {
  background: #04091a;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.775rem;
}

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

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

.footer-bottom-links a:hover {
  color: #fff;
}

/* ==================== FLOATING CTAS ==================== */
.floating-cta-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.float-btn:hover {
  transform: translateX(-4px) scale(1.03);
  color: #fff;
}

.float-whatsapp {
  background: #16a34a;
}

.float-whatsapp:hover {
  background: #15803d;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.float-aula {
  background: linear-gradient(135deg, #0284c7 0%, #00c2ff 100%);
  border: 1px solid #38bdf8;
}

.float-aula:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(0, 194, 255, 0.4);
}

/* ==================== MOBILE DRAWER ==================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: #fff;
  z-index: 1050;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-normal);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-slate-200);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-navy-900);
}

.drawer-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--color-slate-600);
  cursor: pointer;
}

.drawer-nav {
  list-style: none;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  flex-grow: 1;
}

.drawer-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-slate-700);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
}

.drawer-link:hover {
  background: var(--color-slate-100);
  color: var(--color-cyan-600);
}

.drawer-link.highlight {
  background: var(--color-cyan-50);
  color: var(--color-cyan-600);
  font-weight: 700;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--color-slate-200);
  background: var(--color-slate-50);
}

.drawer-clinic-info {
  margin-top: 14px;
  font-size: 0.775rem;
  color: var(--color-slate-500);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .ticker-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .presentation-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portal-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .regulations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-subgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .training-cta-banner {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-body-layout {
    grid-template-columns: 1fr;
    height: auto;
  }

  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
  }
}

@media (max-width: 1280px) {
  .header-container {
    padding: 0 20px;
  }
  .nav-link {
    font-size: 0.86rem;
    padding: 7px 10px;
  }
  .brand-title {
    font-size: 1.3rem;
  }
  .btn-header-cotizar, .btn-aula-header {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .btn-header-cotizar span,
  .btn-aula-header span {
    display: none;
  }

  .btn-header-cotizar,
  .btn-aula-header {
    padding: 8px 12px;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .services-grid, 
  .regulations-grid, 
  .courses-subgrid, 
  .ticker-container {
    grid-template-columns: 1fr;
  }

  .portal-features-grid {
    grid-template-columns: 1fr;
  }

  .checklist-items-grid {
    grid-template-columns: 1fr;
  }

  .obs-feature-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .form-row {
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .topbar-info {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }

  .media-card-grid {
    grid-template-columns: 1fr;
  }

  .media-previews-grid {
    grid-template-columns: 1fr;
  }
}
