/* ==========================================================================
   Te Preparo - Design System & Modern Vertical One-Page Slider Styles
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-base: #060911;
  --bg-surface: #0b1120;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(59, 130, 246, 0.4);
  
  /* Brand & Accents */
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.35);
  
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.3);
  
  --emerald: #10b981;
  --amber: #f59e0b;
  --purple: #8b5cf6;
  
  /* Mercado Pago Palette */
  --mp-blue: #009ee3;
  --mp-dark: #007eb5;
  --mp-light: #e6f6fd;
  
  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout & Transitions */
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slider: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden; /* Main window doesn't scroll natively, slider handles it */
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul {
  list-style: none;
}

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

/* Custom Sleek Scrollbar for internal slide overflow */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.5);
}

/* ==========================================================================
   Utility Classes & Design Tokens
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-cyan { color: var(--cyan); }
.text-blue { color: var(--primary); }
.text-emerald { color: var(--emerald); }
.text-amber { color: var(--amber); }
.w-100 { width: 100%; }

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphic Container */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Glow Orbs & Background Effects */
.slide-bg-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.glow-top-left {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

.glow-bottom-right {
  bottom: -150px;
  right: -100px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.glow-top-right {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
}

.glow-bottom-left {
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--emerald) 0%, transparent 70%);
}

.glow-bottom-center {
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  background: radial-gradient(circle, var(--mp-blue) 0%, transparent 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.45);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-mp {
  background: var(--mp-blue);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 158, 227, 0.35);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.btn-mp:hover {
  background: var(--mp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 158, 227, 0.5);
}

.btn-success {
  background: var(--emerald);
  color: #ffffff;
  font-weight: 600;
}
.btn-success:hover {
  background: #059669;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(6, 9, 17, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.header-container {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 2px 10px rgba(6, 182, 212, 0.35));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  display: block;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 4px 16px rgba(6, 182, 212, 0.55));
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 15px var(--cyan-glow);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text .highlight {
  color: var(--cyan);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  background: rgba(11, 17, 32, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  transform: translateY(-150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  z-index: 99;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
}

/* ==========================================================================
   Fixed Slider Indicators (Right Dots)
   ========================================================================== */
.slider-dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 90;
}

.dot-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 4px;
  group: pointer;
}

.dot-core {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: var(--transition-smooth);
}

.dot-btn:hover .dot-core {
  background: var(--cyan);
  transform: scale(1.3);
}

.dot-btn.active .dot-core {
  background: var(--cyan);
  height: 24px;
  border-radius: 12px;
  box-shadow: 0 0 12px var(--cyan);
}

.dot-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.dot-btn:hover .dot-label,
.dot-btn.active .dot-label {
  opacity: 1;
  transform: translateX(0);
  color: var(--text-main);
}

/* ==========================================================================
   One-Page Slider Architecture
   ========================================================================== */
.slider-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slider-wrapper {
  width: 100%;
  height: 100%;
  transition: var(--transition-slider);
  will-change: transform;
}

.slide {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-content {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  padding-bottom: 30px;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Section Header Shared */
.section-header {
  max-width: 780px;
  margin: 0 auto 36px;
}

.section-header.compact {
  margin-bottom: 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

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

/* ==========================================================================
   Slide 1: Home (Hero Section)
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

.badge-tag {
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.pulse-glow {
  animation: pulseButton 2.5s infinite;
}

@keyframes pulseButton {
  0%, 100% {
    box-shadow: 0 4px 20px var(--primary-glow);
  }
  50% {
    box-shadow: 0 4px 30px rgba(6, 182, 212, 0.7);
  }
}

.hero-metrics-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 4px;
}

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

.metric-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* Hero Visual Box */
.hero-card-display {
  position: relative;
}

.display-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.hero-preview-box {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.preview-controls {
  display: flex;
  gap: 6px;
}

.preview-controls .ctrl {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ctrl.red { background: #ef4444; }
.ctrl.yellow { background: #f59e0b; }
.ctrl.green { background: #10b981; }

.preview-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.badge-live {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

.preview-pill-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.pill-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.preview-course-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.preview-course-item .p-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.preview-course-item .p-icon.purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple);
}

.preview-course-item .p-info {
  flex: 1;
}

.preview-course-item .p-info strong {
  display: block;
  font-size: 0.95rem;
}

.preview-course-item .p-info small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.p-tag {
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--cyan);
}

.preview-footer-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  cursor: pointer;
  color: var(--text-dim);
  transition: var(--transition-smooth);
}

.scroll-down-indicator:hover {
  color: var(--cyan);
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 12px;
  position: relative;
}

.mouse-icon .wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 12px); opacity: 0; }
}

/* ==========================================================================
   Slide 2: Nosotros (About Us)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.pillar-card {
  padding: 32px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pillar-card.featured {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 10px;
}

.pillar-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.cyan-gradient { background: linear-gradient(135deg, #0284c7, #06b6d4); }
.blue-gradient { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.emerald-gradient { background: linear-gradient(135deg, #047857, #10b981); }

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex: 1;
}

.pillar-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.pillar-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-main);
}

/* ==========================================================================
   Slide 3: Cursos (Course Catalog)
   ========================================================================== */
.course-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.filter-pill:hover, .filter-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* ==========================================================================
   Courses Carousel & Aligned Cards
   ========================================================================== */
.courses-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.courses-carousel-track-container {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px 4px 18px 4px;
  cursor: grab;
  user-select: none;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.courses-carousel-track-container:active {
  cursor: grabbing;
}

.courses-carousel-track-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.courses-carousel-track {
  display: flex;
  gap: 24px;
  width: 100%;
  min-width: 100%;
  padding: 0;
  margin: 0;
  transition: none;
  box-sizing: border-box;
}

/* Centrado automático si hay menos tarjetas que el ancho visible */
.courses-carousel-track.centered {
  justify-content: center;
}

/* Perfect alignment across all cards */
.course-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 290px;
  max-width: 380px;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  box-sizing: border-box;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.course-thumb-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  background: #0d1527;
}

.course-thumb-wrap img, .course-thumb-wrap svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  pointer-events: none;
  display: block;
}

.course-card:hover .course-thumb-wrap img,
.course-card:hover .course-thumb-wrap svg {
  transform: scale(1.06);
}

.course-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cyan);
}

.course-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-meta-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  flex-shrink: 0;
}

/* Homogeneous title height: fixes card height discrepancies */
.course-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.3;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}

.course-excerpt {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.45;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-features-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
  min-height: 54px;
  min-width: 0;
  width: 100%;
}

.feature-mini-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  width: 100%;
}

.feature-mini-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.course-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.course-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.course-price-main {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.course-price-old {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.course-installments-tag {
  font-size: 0.7rem;
  color: var(--cyan);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex-shrink: 0;
  margin-top: auto;
}

/* Navigation Arrow Buttons */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.carousel-nav-btn.prev {
  left: -20px;
}

.carousel-nav-btn.next {
  right: -20px;
}

.carousel-nav-btn:hover:not(:disabled) {
  background: var(--bg-card-hover);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.carousel-nav-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav-btn:disabled,
.carousel-nav-btn.disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* Pagination Dots */
.courses-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.courses-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
  width: 26px;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.btn-card-details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.82rem;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-align: center;
  transition: var(--transition-smooth);
}

.btn-card-details:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-card-buy {
  background: var(--mp-blue);
  color: #fff;
  font-size: 0.82rem;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 158, 227, 0.3);
  transition: var(--transition-smooth);
}

.btn-card-buy:hover {
  background: var(--mp-dark);
  transform: translateY(-1px);
}

/* Mercado Pago Assurance Bar */
.mp-assurance-bar {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 158, 227, 0.08);
  border-color: rgba(0, 158, 227, 0.25);
}

.mp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.mp-perks {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Slide 4: Contacto & FAQs
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.contact-info-col .info-card,
.contact-form-col .form-card {
  padding: 28px;
  height: 100%;
}

.info-card h3, .form-card h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.info-card > p, .form-card-header > p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.channel-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.channel-item .c-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
}

.channel-item.schedule .c-icon {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
}

.channel-item.email .c-icon {
  background: rgba(59, 130, 246, 0.2);
  color: var(--primary);
}

.channel-item.location .c-icon {
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan);
}

.channel-item .c-text {
  flex: 1;
}

.channel-item .c-text strong {
  display: block;
  font-size: 0.95rem;
}

.channel-item .c-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-mini-section h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--cyan);
}

.faq-question i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Contact Form */
.styled-form .form-group {
  margin-bottom: 14px;
}

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

.styled-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-dim);
  font-size: 0.9rem;
  pointer-events: none;
}

.textarea-icon {
  top: 14px;
}

.styled-form input,
.styled-form select,
.styled-form textarea {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.styled-form select {
  cursor: pointer;
}

.styled-form select option {
  background: #0f172a;
  color: #fff;
}

.styled-form textarea {
  resize: vertical;
}

.styled-form input:focus,
.styled-form select:focus,
.styled-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
  background: rgba(15, 23, 42, 0.9);
}

.field-error {
  display: block;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
}

.form-status {
  margin-top: 12px;
  font-size: 0.88rem;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  display: block;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Slide Footer */
.slide-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-dim);
}

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

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

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.modal-open {
  overflow: hidden !important;
}

.modal-overlay.active {
  display: flex;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: modalPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

@keyframes modalPop {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 20;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
}

/* Course Modal Detail Elements */
.course-detail-header {
  margin-bottom: 24px;
}

.course-detail-tag {
  display: inline-block;
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.course-detail-header h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.course-detail-overview {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.course-syllabus-section {
  margin-bottom: 24px;
}

.course-syllabus-section h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.syllabus-module {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 8px;
}

.syllabus-module strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.syllabus-module p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.course-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

/* Mercado Pago Checkout Modal Styling */
.checkout-modal-card {
  max-width: 560px;
  background: #0d1424;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 158, 227, 0.3);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

.mp-checkout-header {
  background: linear-gradient(135deg, #009ee3, #007eb5);
  padding: 16px 22px;
  padding-right: 56px; /* Avoid overlapping close button */
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}

.mp-logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.mp-logo-badge strong {
  font-weight: 800;
}

.mp-security-badge {
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.checkout-modal-body {
  padding: 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
  overscroll-behavior: contain;
}

.order-summary-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.summary-course-info .summary-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
}

.summary-course-info h3 {
  font-size: 1.15rem;
  margin: 2px 0 4px;
}

.summary-badge {
  font-size: 0.72rem;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
}

.summary-pricing {
  text-align: right;
}

.price-orig {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-main {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-heading);
}

.price-installments {
  font-size: 0.72rem;
  color: var(--emerald);
  font-weight: 600;
}

.checkout-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.checkout-form .form-group {
  margin-bottom: 12px;
}

.checkout-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}

.checkout-form input:focus,
.checkout-form select:focus {
  border-color: var(--mp-blue);
  box-shadow: 0 0 8px rgba(0, 158, 227, 0.4);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.payment-option.selected, .payment-option:hover {
  border-color: var(--mp-blue);
  background: rgba(0, 158, 227, 0.1);
}

.payment-option input {
  margin-top: 3px;
  accent-color: var(--mp-blue);
}

.payment-option .opt-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.payment-option small {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: block;
}

.mp-btn-amount {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.95rem;
  margin-left: 6px;
}

.mp-guarantee-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 14px;
  line-height: 1.4;
}

/* Success State in Checkout */
.checkout-success {
  text-align: center;
  padding: 20px 0;
}

.success-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 18px;
}

.checkout-success h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

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

.success-details-card {
  padding: 16px;
  text-align: left;
  margin-bottom: 24px;
}

.sd-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sd-row:last-child {
  border-bottom: none;
}

.badge-status-approved {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}



/* ==========================================================================
   Animations
   ========================================================================== */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Responsive Architecture (Desktop, Tablet, Mobile)
   ========================================================================== */

/* 1. Large Tablets & Small Laptops (<= 1100px) */
@media (max-width: 1100px) {
  .course-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: none;
  }
  .carousel-nav-btn.prev {
    left: -12px;
  }
  .carousel-nav-btn.next {
    right: -12px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 2. Tablets & Mobile Layouts (<= 900px) -> Unlocks Native Smooth Scrolling */
@media (max-width: 900px) {
  html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100% !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .slider-container {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  .slider-wrapper {
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    transition: none !important;
  }

  .slide {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    padding-top: calc(var(--header-height) + 24px) !important;
    padding-bottom: 60px !important;
  }

  .slide-content {
    min-height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    justify-content: flex-start !important;
  }

  /* Desktop-only slider elements */
  .slider-dots {
    display: none !important;
  }

  .scroll-down-indicator {
    display: none !important;
  }

  /* Header & Navigation on Mobile */
  :root {
    --header-height: 64px;
  }

  .site-header {
    height: 64px;
  }

  .header-container {
    padding: 0 16px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions #headerCtaBtn {
    display: none;
  }

  /* Hero Section */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 6vw, 2.9rem);
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 1.02rem;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .hero-card-display {
    max-width: 100%;
  }

  /* Section Headers */
  .section-header {
    max-width: 100%;
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .section-title {
    font-size: clamp(1.7rem, 5vw, 2.2rem);
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* Nosotros */
  .pillar-card {
    padding: 26px 20px;
  }

  /* Contact Layout */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* 3. Mobile Screens (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  /* Horizontally scrollable category filter pills */
  .course-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 4px 2px 12px 2px;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .course-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px 15px;
    font-size: 0.82rem;
  }

  /* Courses Carousel Mobile & Samsung S23 Ultra Optimization */
  .courses-carousel-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .courses-carousel-track-container {
    width: 100%;
    max-width: 100%;
    padding: 6px 0 16px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .courses-carousel-track {
    display: flex;
    gap: 16px;
    width: 100%;
    min-width: 100%;
    box-sizing: border-box;
  }

  .course-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Proportional 16:9 thumbnail scaling for mobile devices */
  .course-thumb-wrap {
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    position: relative;
  }

  .course-thumb-wrap img,
  .course-thumb-wrap svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  .course-body {
    padding: 16px;
    box-sizing: border-box;
    width: 100%;
  }

  .feature-mini-item {
    white-space: normal;
    align-items: flex-start;
  }

  .feature-mini-item span {
    white-space: normal;
    line-height: 1.35;
  }

  .course-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-card-details,
  .btn-card-buy {
    min-width: 0 !important;
    width: 100% !important;
    padding: 10px 8px !important;
    font-size: 0.82rem !important;
    box-sizing: border-box !important;
  }

  .carousel-nav-btn {
    display: none !important;
  }

  /* Metrics Bar 3 Columns */
  .hero-metrics-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
    padding-top: 20px;
  }

  .metric-divider {
    display: none;
  }

  .metric-number {
    font-size: clamp(1.25rem, 3.8vw, 1.55rem);
  }

  .metric-caption {
    font-size: 0.72rem;
  }

  /* Mercado Pago Assurance Bar */
  .mp-assurance-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .mp-perks {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8rem;
  }

  /* Form inputs touch accessibility (prevent iOS auto-zoom) */
  .styled-form input,
  .styled-form select,
  .styled-form textarea,
  .checkout-form input,
  .checkout-form select {
    font-size: 16px !important;
    min-height: 46px;
  }

  .styled-form textarea {
    min-height: 90px;
  }

  /* Modals Optimization for Mobile & Samsung S23 Ultra */
  .modal-overlay {
    padding: 10px 8px;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: auto;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 25;
  }

  .modal-body {
    padding: 18px 14px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
  }

  .course-detail-header h2 {
    font-size: 1.3rem;
  }

  .course-detail-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    text-align: center;
    padding-top: 16px;
  }

  .course-detail-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* Checkout Modal: Specific Mobile Architecture */
  .checkout-modal-card {
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
  }

  .mp-checkout-header {
    padding: 12px 14px;
    padding-right: 48px; /* Guaranteed clearance for close button */
    flex-shrink: 0;
  }

  .mp-logo-badge {
    font-size: 1.05rem;
    gap: 8px;
  }

  .mp-security-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
    white-space: nowrap;
  }

  .checkout-modal-body {
    padding: 14px 12px;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex: 1;
    min-height: 0;
    max-height: calc(95vh - 52px);
    overscroll-behavior: contain;
  }

  /* Compact Order Summary Box: Horizontal Clean Layout */
  .order-summary-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    margin-bottom: 12px !important;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    gap: 10px;
  }

  .summary-course-info {
    min-width: 0;
    flex: 1;
  }

  .summary-course-info .summary-label {
    font-size: 0.68rem;
    color: var(--text-dim);
    margin-bottom: 2px;
  }

  .summary-course-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .summary-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    display: inline-block;
  }

  .summary-pricing {
    text-align: right !important;
    flex-shrink: 0;
  }

  .price-orig {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1;
    margin-bottom: 1px;
  }

  .price-main {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
  }

  .price-installments {
    font-size: 0.68rem;
    color: var(--emerald);
    line-height: 1.1;
  }

  /* Step Titles */
  .checkout-step-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
  }

  /* Checkout Form Rows & Inputs */
  .checkout-form .form-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Side-by-side for Phone and Country */
  .checkout-form .form-row:nth-of-type(2) {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 8px !important;
  }

  .checkout-form .form-group {
    margin-bottom: 8px !important;
  }

  .checkout-form label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--text-muted);
  }

  .checkout-form input,
  .checkout-form select {
    font-size: 16px !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
  }

  /* Payment Methods: Compact 2-column */
  .payment-methods-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .payment-option {
    padding: 8px 10px;
    gap: 6px;
    border-radius: var(--radius-sm);
    align-items: center;
  }

  .payment-option input {
    margin-top: 0;
  }

  .payment-option .opt-header {
    font-size: 0.76rem;
    gap: 5px;
    margin-bottom: 1px;
    line-height: 1.2;
  }

  .payment-option small {
    font-size: 0.65rem;
    line-height: 1.2;
  }

  /* Pay Button */
  .checkout-form .btn-mp {
    padding: 12px 14px;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 158, 227, 0.4);
  }

  .mp-btn-amount {
    font-size: 0.88rem;
    padding: 2px 6px;
    margin-left: 4px;
  }

  .mp-guarantee-note {
    font-size: 0.7rem;
    margin-top: 8px;
    line-height: 1.35;
    padding: 0 4px;
  }
}

/* 4. Small Mobile Phones (<= 580px) */
@media (max-width: 580px) {
  /* Hero buttons stack */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.3rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  /* Course Carousel: 1 full card per view */
  .course-card {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .carousel-nav-btn {
    display: none; /* Native touch swipe & pagination dots on mobile */
  }

  /* Contact form to 1 clean column */
  .styled-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .styled-form .form-group {
    margin-bottom: 12px;
  }

  /* Hero preview box inside small screens */
  .hero-preview-box {
    padding: 16px 12px;
  }

  .preview-header {
    padding-bottom: 12px;
    margin-bottom: 14px;
  }

  .preview-course-item {
    padding: 8px 10px;
    gap: 8px;
  }

  .p-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .p-info strong {
    font-size: 0.8rem;
  }

  .p-info small {
    font-size: 0.68rem;
  }

  .p-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  /* Slide Footer */
  .slide-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-top: 24px;
  }

  .footer-right {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
}

/* ==========================================================================
   Floating WhatsApp Button Widget (High-Conversion Marketing Element)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  animation: whatsappPulse 3s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
  color: #ffffff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(37, 211, 102, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  .whatsapp-tooltip {
    display: none; /* Hide tooltip on small mobile screens */
  }
}

/* ==========================================================================
   Relatores (Instructors) Carousel & Cards
   ========================================================================== */
.slide-relatores {
  position: relative;
  overflow: hidden;
}

.relatores-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.relatores-track-container {
  overflow: hidden;
  width: 100%;
  padding: 16px 6px 24px 6px;
  cursor: grab;
  outline: none;
}

.relatores-track-container.dragging {
  cursor: grabbing;
  user-select: none;
}

.relatores-track {
  display: flex;
  gap: 24px;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Relator Card */
.relator-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 320px;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  box-sizing: border-box;
}

.relator-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 16px 36px rgba(6, 182, 212, 0.18), 0 0 0 1px rgba(6, 182, 212, 0.25);
}

.relator-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.relator-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--primary), var(--emerald));
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
}

.relator-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--bg-surface);
  display: block;
}

.relator-verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  color: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  border: 2px solid var(--bg-surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.relator-header-info {
  overflow: hidden;
}

.relator-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.relator-role {
  font-size: 0.83rem;
  color: var(--cyan);
  font-weight: 500;
  margin: 0;
  line-height: 1.35;
}

/* Certifications badges */
.relator-certs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  min-height: 48px;
  align-content: flex-start;
}

.relator-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #a5f3fc;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
}

.relator-cert-badge i {
  color: var(--cyan);
  font-size: 0.68rem;
}

.relator-cert-badge:hover {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--cyan);
}

/* Bio Text */
.relator-body {
  flex: 1 1 auto;
  margin-bottom: 18px;
}

.relator-bio {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Relator Footer */
.relator-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: auto;
}

.relator-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #38bdf8;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.2s ease;
}

.relator-linkedin-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.relator-tag-pill {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Nav Buttons */
.relatores-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.relatores-nav-btn.prev {
  left: -22px;
}

.relatores-nav-btn.next {
  right: -22px;
}

.relatores-nav-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.45);
  transform: translateY(-50%) scale(1.08);
}

.relatores-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Carousel Dots */
.relatores-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.relator-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.relator-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.relator-dot.active {
  width: 26px;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* Responsive Breakpoints */
@media (max-width: 1150px) {
  .relator-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: 300px;
  }
}

@media (max-width: 900px) {
  .slide-relatores {
    height: auto !important;
    min-height: auto !important;
    padding: 85px 0 60px;
  }

  .relatores-nav-btn {
    display: none !important;
  }

  .relatores-track-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 10px 20px 10px;
  }

  .relatores-track-container::-webkit-scrollbar {
    display: none;
  }

  .relatores-track {
    transform: none !important;
    gap: 16px;
  }

  .relator-card {
    flex: 0 0 85% !important;
    min-width: 85% !important;
    max-width: 85% !important;
    scroll-snap-align: center;
  }
}

@media (max-width: 576px) {
  .relator-card {
    flex: 0 0 92% !important;
    min-width: 92% !important;
    max-width: 92% !important;
    padding: 20px 16px;
  }

  .relator-avatar-wrap {
    width: 60px;
    height: 60px;
  }

  .relator-name {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   Custom Modal Dialog (Sustituto de alerts y confirms en la web principal)
   ========================================================================== */
.modal-dialog-card {
  max-width: 440px !important;
  text-align: center;
  padding: 32px 28px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

.modal-dialog-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.modal-dialog-icon-wrapper.danger {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.4);
  box-shadow: 0 0 25px rgba(244, 63, 94, 0.25);
}

.modal-dialog-icon-wrapper.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
}

.modal-dialog-icon-wrapper.info {
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
}

.modal-dialog-icon-wrapper.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

.modal-dialog-title {
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 10px;
  line-height: 1.3;
}

.modal-dialog-message {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 24px;
}

.modal-dialog-actions {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.modal-dialog-actions .btn {
  flex: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}


