:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-light: #EFF6FF;
  --secondary: #0F172A;
  --accent: #F59E0B;
  --accent-soft: #FEF3C7;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 18px 40px rgba(37, 99, 235, 0.12);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TOP BAR --- */
.topbar {
  background: var(--secondary);
  color: #94A3B8;
  font-size: 13px;
  padding: 8px 0;
}
.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-socials a {
  color: #94A3B8;
  margin-left: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.topbar-socials a:hover {
  color: #FFFFFF;
}

/* --- HEADER --- */
header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1D4ED8, #3B82F6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 22px;
  font-family: var(--font-heading);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.brand-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
}
.brand-text span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cart-btn {
  position: relative;
  background: var(--primary-light);
  border: none;
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
}
.cart-btn:hover {
  background: #DBEAFE;
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EF4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

/* --- HERO SECTION --- */
.hero {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border-color);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--secondary);
  margin-bottom: 24px;
  letter-spacing: -1.2px;
}
.hero-title span {
  background: linear-gradient(120deg, #2563EB, #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}
.btn-secondary {
  background: #FFFFFF;
  color: var(--secondary);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.hero-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-color);
  position: relative;
}
.video-mock {
  background: #0F172A;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.video-play-btn {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.25s, background 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.video-play-btn:hover {
  transform: scale(1.1);
  background: #FFFFFF;
}
.floating-badge {
  position: absolute;
  bottom: -18px;
  right: 20px;
  background: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-icon {
  background: #10B981;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-title {
  font-weight: 700;
  font-size: 14px;
}
.badge-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- STATS COUNTERS --- */
.stats-section {
  background: #FFFFFF;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- SECTION HEADERS --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 80px auto 48px;
}
.section-tag {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: inline-block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 16px;
}

/* --- COURSES CATALOG --- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 70px;
}
.course-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #BFDBFE;
}
.course-thumb {
  height: 190px;
  background: #1E293B;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-formula {
  color: white;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
}
.course-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.course-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.course-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.course-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 12px;
  line-height: 1.35;
}
.course-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}
.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}
.course-price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
}
.course-price span {
  font-size: 14px;
  text-decoration: line-through;
  color: #94A3B8;
  font-weight: 500;
  margin-left: 6px;
}

/* --- BOOKING / 1 ON 1 MENTORSHIP --- */
.booking-section {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 90px;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.booking-list {
  list-style: none;
  margin: 24px 0;
}
.booking-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--text-main);
}
.booking-list li i {
  color: #10B981;
}
.booking-form {
  background: var(--bg-page);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}
.form-heading {
  font-family: var(--font-heading);
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--secondary);
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: white;
}
.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

/* --- MODAL CARRITO --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.cart-drawer {
  background: white;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  max-height: 90vh;
  overflow-y: auto;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}
.cart-title {
  font-family: var(--font-heading);
}
.cart-close-btn {
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
}
.cart-empty-text {
  color: var(--text-muted);
  text-align: center;
  padding: 20px 0;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}
.cart-item-title {
  font-weight: 600;
  font-size: 14px;
}
.cart-item-price {
  color: var(--primary);
  font-weight: 700;
}
.cart-item-remove {
  border: none;
  background: none;
  color: #EF4444;
  cursor: pointer;
  padding: 4px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0;
  color: var(--secondary);
}
.checkout-btn {
  width: 100%;
  justify-content: center;
}

/* --- FOOTER --- */
footer {
  background: var(--secondary);
  color: #94A3B8;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 16px;
  margin-bottom: 20px;
}
.footer-brand {
  color: white;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: white;
}
.footer-payment-text {
  font-size: 13px;
  margin-bottom: 12px;
}
.payment-icons {
  font-size: 24px;
  display: flex;
  gap: 12px;
  color: #CBD5E1;
}
.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #334155;
  font-size: 13px;
}

/* --- RESPONSIVO --- */
@media (max-width: 992px) {
  .hero-grid, .booking-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .course-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 36px; }
}