/* ============================================================
   COMPLIANCECO — Sitio Web Comercial
   Paleta: Azul Marino · Dorado · Blanco · Cielo
   ============================================================ */
/* Google Fonts — descomenta en producción con internet */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap'); */

/* ===== VARIABLES ===== */
:root {
  --navy:        #0a2463;
  --navy-dark:   #061539;
  --navy-med:    #153a82;
  --navy-light:  #e8eeff;
  --gold:        #d4a017;
  --gold-light:  #f0c040;
  --gold-pale:   #fff8e1;
  --sky:         #2196f3;
  --sky-light:   #e3f2fd;
  --teal:        #00897b;
  --teal-light:  #e0f2f1;
  --coral:       #e53935;
  --coral-light: #ffebee;
  --purple:      #5e35b1;
  --purple-light:#ede7f6;
  --green:       #2e7d32;
  --orange:      #e65100;
  --text-dark:   #0d1b3e;
  --text-body:   #475569;
  --text-muted:  #94a3b8;
  --bg:          #f7f9ff;
  --bg-white:    #ffffff;
  --border:      #e2e8f0;
  --shadow-sm:   0 2px 12px rgba(10,36,99,0.08);
  --shadow:      0 8px 32px rgba(10,36,99,0.12);
  --shadow-lg:   0 20px 60px rgba(10,36,99,0.18);
  --radius:      14px;
  --radius-sm:   8px;
  --radius-xl:   24px;
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: var(--text-body); background: var(--bg-white); line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; color: var(--text-dark); line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { color: var(--text-body); line-height: 1.75; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===== UTILITIES ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }
.d-none { display: none !important; }
.fw-700 { font-weight: 700; }
.text-navy { color: var(--navy); }
.text-gold { color: var(--gold); }

/* ===== LABELS/CHIPS ===== */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px;
  border-radius: 50px; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
}
.chip-navy  { background: var(--navy-light); color: var(--navy); }
.chip-gold  { background: var(--gold-pale); color: #8B6914; }
.chip-sky   { background: var(--sky-light); color: #1565c0; }
.chip-teal  { background: var(--teal-light); color: var(--teal); }

/* ===== SECTION HEADER ===== */
.sec-header { text-align: center; margin-bottom: 64px; }
.sec-header h2 { margin-bottom: 16px; }
.sec-header p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; color: var(--text-body); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 1rem; font-weight: 600;
  font-family: 'Poppins', sans-serif; transition: var(--transition); border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(10,36,99,0.35); }
.btn-gold { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(212,160,23,0.4); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: #fff; color: var(--navy); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-sky { background: var(--sky); color: #fff; border-color: var(--sky); }
.btn-sky:hover { background: #1565c0; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(33,150,243,0.35); }
.btn-lg { padding: 17px 42px; font-size: 1.05rem; }
.btn-sm { padding: 9px 22px; font-size: 0.875rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy-dark); color: rgba(255,255,255,0.8);
  padding: 9px 0; font-size: 0.82rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar a { color: rgba(255,255,255,0.8); transition: color 0.2s; }
.topbar a:hover { color: var(--gold-light); }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar .social-links { display: flex; gap: 12px; }
.topbar .social-links a { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; }
.topbar .social-links a:hover { background: var(--gold); color: var(--navy-dark); }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  padding: 0 28px; height: 72px; display: flex; align-items: center;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1240px; margin: 0 auto; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { width: 44px; height: 44px; background: linear-gradient(135deg,var(--navy),var(--navy-med)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; flex-shrink: 0; }
.nav-brand-text strong { display: block; font-family: 'Poppins',sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.nav-brand-text small { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px; font-size: 0.92rem; font-weight: 500;
  color: var(--text-body); transition: var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--navy-light); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); display: block; }

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - 72px); background: linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 45%,#1a5fa3 100%);
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 80px 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(212,160,23,0.12) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(33,150,243,0.1) 0%, transparent 50%);
}
.hero-geo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-geo span {
  position: absolute; border-radius: 50%; opacity: 0.06;
  background: linear-gradient(135deg,#fff,rgba(255,255,255,0));
}
.hero-geo span:nth-child(1) { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-geo span:nth-child(2) { width: 400px; height: 400px; bottom: -100px; left: -50px; }
.hero-geo span:nth-child(3) { width: 250px; height: 250px; top: 40%; right: 30%; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,160,23,0.18); border: 1px solid rgba(212,160,23,0.4); color: var(--gold-light); padding: 8px 18px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; margin-bottom: 28px; text-transform: uppercase; letter-spacing: 1px; }
.hero-text h1 { color: #fff; margin-bottom: 24px; }
.hero-text h1 em { color: var(--gold-light); font-style: normal; position: relative; }
.hero-text p { color: rgba(255,255,255,0.75); font-size: 1.15rem; margin-bottom: 40px; max-width: 500px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 28px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.12); }
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65); font-size: 0.82rem; }
.trust-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
/* Hero visual */
.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.hero-card-main {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-xl);
  padding: 32px; color: #fff;
}
.hcm-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hcm-icon { width: 52px; height: 52px; background: linear-gradient(135deg,var(--gold),var(--gold-light)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.hcm-header h3 { color: #fff; font-size: 1rem; margin-bottom: 2px; }
.hcm-header p { color: rgba(255,255,255,0.6); font-size: 0.78rem; margin: 0; }
.hcm-modules { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.hcm-mod { background: rgba(255,255,255,0.08); border-radius: 10px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; }
.hcm-mod span:first-child { display: flex; align-items: center; gap: 8px; }
.mod-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-light); }
.mod-done { background: rgba(46,125,50,0.3); }
.mod-done .mod-dot { background: #69f0ae; }
.hero-mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-mini { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 18px; color: #fff; text-align: center; }
.hero-mini .num { font-size: 1.8rem; font-weight: 800; color: var(--gold-light); font-family: 'Poppins',sans-serif; }
.hero-mini p { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin: 4px 0 0; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--navy); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item { text-align: center; padding: 16px 24px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Poppins',sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--gold-light); margin-bottom: 4px; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* ===== COURSES CARDS ===== */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 28px; }
.course-card {
  background: var(--bg-white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition); display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.course-thumb {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; overflow: hidden;
}
.course-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.35)); }
.thumb-navy   { background: linear-gradient(135deg, var(--navy) 0%, #1a5fa3 100%); }
.thumb-teal   { background: linear-gradient(135deg, #004d40 0%, #00897b 100%); }
.thumb-purple { background: linear-gradient(135deg, #3a1078 0%, var(--purple) 100%); }
.thumb-gold   { background: linear-gradient(135deg, #5d4037 0%, #e65100 100%); }
.thumb-sky    { background: linear-gradient(135deg, #01579b 0%, #0288d1 100%); }
.thumb-coral  { background: linear-gradient(135deg, #880e4f 0%, var(--coral) 100%); }
.thumb-green  { background: linear-gradient(135deg, #1b5e20 0%, var(--teal) 100%); }
.thumb-indigo { background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%); }
.course-thumb .thumb-icon { position: relative; z-index: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }
.course-level { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); color: #fff; padding: 4px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.3); }
.course-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.course-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--sky); margin-bottom: 8px; }
.course-body h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--text-dark); line-height: 1.4; }
.course-body p { font-size: 0.875rem; color: var(--text-body); margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-meta { display: flex; gap: 14px; margin-bottom: 16px; }
.course-meta span { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--text-muted); }
.course-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--border); }
.course-price { font-family: 'Poppins',sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.course-price small { font-size: 0.7rem; font-weight: 400; color: var(--text-muted); display: block; }
.course-rating { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: var(--gold); font-weight: 600; }

/* ===== FEATURES / WHY US ===== */
.features-bg { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.feature-item {
  background: var(--bg-white); border-radius: var(--radius); padding: 36px 28px;
  transition: var(--transition); border: 1px solid var(--border); text-align: center;
  position: relative; overflow: hidden;
}
.feature-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--navy),var(--sky)); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left; }
.feature-item:hover::before { transform: scaleX(1); }
.feature-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon { width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: 12px; }
.feature-item p { font-size: 0.9rem; color: var(--text-body); margin: 0; }

/* ===== STEPS ===== */
.steps-section { background: linear-gradient(135deg,var(--navy) 0%,#1a5fa3 100%); }
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.steps-grid::before { content: ''; position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: rgba(255,255,255,0.15); z-index: 0; }
.step-item { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.12);
  border: 3px solid rgba(255,255,255,0.3); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px; font-family: 'Poppins',sans-serif;
  font-size: 1.8rem; font-weight: 800; color: var(--gold-light);
  transition: var(--transition);
}
.step-item:hover .step-num { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: scale(1.1); }
.step-item h3 { color: #fff; margin-bottom: 10px; font-size: 1.05rem; }
.step-item p { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin: 0; }

/* ===== CERTIFICATE SECTION ===== */
.cert-section { background: linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 100%); position: relative; overflow: hidden; }
.cert-section::before { content: ''; position: absolute; right: -100px; top: -100px; width: 500px; height: 500px; border-radius: 50%; border: 60px solid rgba(255,255,255,0.04); }
.cert-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cert-text { color: #fff; }
.cert-text h2 { color: #fff; margin-bottom: 20px; }
.cert-text p { color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.cert-features { list-style: none; padding: 0; margin-bottom: 36px; }
.cert-features li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.cert-features li:last-child { border-bottom: none; }
.cf-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.cert-preview {
  background: #fff; border-radius: var(--radius-xl); padding: 40px 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4); position: relative; text-align: center;
}
.cert-preview::before { content: ''; position: absolute; inset: 10px; border: 2px solid var(--gold); border-radius: calc(var(--radius-xl) - 2px); opacity: 0.5; pointer-events: none; }
.cp-header { background: linear-gradient(135deg,var(--navy-dark),var(--navy)); padding: 20px; border-radius: 12px; margin-bottom: 24px; color: #fff; }
.cp-header .icon { font-size: 2rem; margin-bottom: 6px; }
.cp-header h4 { font-size: 0.8rem; letter-spacing: 2px; color: var(--gold-light); margin: 0; }
.cp-body { padding: 8px 0; }
.cp-subtitle { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 8px; }
.cp-name { font-family: 'Poppins',sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--navy); border-bottom: 3px solid var(--gold); padding-bottom: 10px; margin-bottom: 16px; }
.cp-course { font-size: 0.9rem; color: var(--text-body); margin-bottom: 6px; }
.cp-course strong { display: block; font-size: 1rem; color: var(--navy); }
.cp-score { display: inline-block; background: #e8f5e9; color: var(--green); padding: 6px 20px; border-radius: 50px; font-weight: 700; font-size: 0.9rem; margin: 12px 0; border: 1px solid #a5d6a7; }
.cp-footer { display: flex; justify-content: space-between; margin-top: 16px; font-size: 0.72rem; color: var(--text-muted); }

/* ===== TESTIMONIALS ===== */
.testimonials-bg { background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card {
  background: var(--bg-white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition);
  position: relative; overflow: hidden;
}
.testimonial-card::before { content: '"'; position: absolute; top: -10px; right: 20px; font-size: 8rem; color: var(--navy-light); font-family: Georgia,serif; line-height: 1; }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.test-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.test-text { font-size: 0.9rem; line-height: 1.8; color: var(--text-body); margin-bottom: 24px; font-style: italic; position: relative; z-index: 1; }
.test-author { display: flex; align-items: center; gap: 14px; }
.test-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; color: #fff; flex-shrink: 0; font-family: 'Poppins',sans-serif; }
.test-name { font-weight: 700; color: var(--text-dark); font-size: 0.9rem; }
.test-role { font-size: 0.78rem; color: var(--text-muted); }
.test-company { font-size: 0.72rem; color: var(--sky); font-weight: 600; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card {
  text-align: center; background: var(--bg-white); border-radius: var(--radius);
  padding: 32px 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; color: #fff; border: 4px solid var(--bg-white); box-shadow: 0 4px 20px rgba(10,36,99,0.2); font-family: 'Poppins',sans-serif; }
.team-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.team-role { font-size: 0.8rem; color: var(--sky); font-weight: 600; margin-bottom: 10px; }
.team-bio { font-size: 0.82rem; color: var(--text-body); margin-bottom: 16px; }
.team-expertise { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.expertise-tag { background: var(--navy-light); color: var(--navy); padding: 4px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card {
  background: var(--bg-white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-body { padding: 24px; }
.blog-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--sky); margin-bottom: 8px; }
.blog-body h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-body h3 a { color: var(--text-dark); transition: color 0.2s; }
.blog-body h3 a:hover { color: var(--navy); }
.blog-body p { font-size: 0.85rem; color: var(--text-body); margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--text-muted); padding-top: 14px; border-top: 1px solid var(--border); }
.blog-author-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 700; flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-bg { background: var(--bg); }
.faq-container { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--bg-white); border-radius: var(--radius-sm); margin-bottom: 12px; border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.faq-item.open { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; }
.faq-question h4 { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); margin: 0; }
.faq-toggle { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-light); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 300; flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-toggle { background: var(--navy); color: #fff; transform: rotate(45deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.4s ease; }
.faq-answer p { font-size: 0.9rem; color: var(--text-body); padding-bottom: 20px; margin: 0; line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg,#0a2463 0%,#1565c0 50%,#0a2463 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; top: -60%; left: 50%; transform: translateX(-50%); width: 800px; height: 400px; border-radius: 50%; background: rgba(255,255,255,0.04); }
.cta-banner h2 { color: #fff; margin-bottom: 16px; font-size: clamp(1.8rem,3vw,2.5rem); }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto 36px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== PARTNERS ===== */
.partners-bar { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-label { text-align: center; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); font-weight: 600; margin-bottom: 28px; }
.partners-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 36px; }
.partner-logo { display: flex; align-items: center; gap: 10px; opacity: 0.45; filter: grayscale(0.8); transition: var(--transition); padding: 10px 20px; border-radius: 10px; }
.partner-logo:hover { opacity: 0.9; filter: none; }
.partner-logo .p-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; color: #fff; }
.partner-logo span { font-weight: 700; font-size: 0.9rem; color: var(--text-dark); }

/* ===== ALERT/NOTIFICATION BAR ===== */
.alert-bar { background: linear-gradient(90deg,var(--gold),var(--gold-light)); padding: 12px 0; text-align: center; }
.alert-bar p { margin: 0; font-size: 0.88rem; color: var(--navy-dark); font-weight: 600; }
.alert-bar a { color: var(--navy); text-decoration: underline; margin-left: 8px; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-dark); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 56px; }
.footer-brand { }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo-icon { width: 48px; height: 48px; background: linear-gradient(135deg,var(--gold),var(--gold-light)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.footer-logo-text strong { color: #fff; font-family: 'Poppins',sans-serif; font-size: 1.15rem; display: block; }
.footer-logo-text small { color: var(--gold-light); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.75; max-width: 300px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: var(--transition); border: 1px solid rgba(255,255,255,0.1); }
.social-btn:hover { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); transform: translateY(-2px); }
.footer h5 { color: rgba(255,255,255,0.9); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-newsletter { }
.footer-newsletter p { color: rgba(255,255,255,0.55); font-size: 0.875rem; margin-bottom: 16px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-input { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); color: #fff; padding: 12px 16px; border-radius: 10px; font-size: 0.875rem; outline: none; transition: border-color 0.2s; }
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input:focus { border-color: var(--gold); }
.footer-certifs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.certif-badge { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 8px 14px; font-size: 0.72rem; color: rgba(255,255,255,0.55); text-align: center; display: flex; flex-direction: column; gap: 2px; }
.certif-badge strong { color: var(--gold-light); font-size: 0.75rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.5); font-size: 0.8rem; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-legal { display: flex; gap: 20px; }

/* ===== MODAL ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,36,99,0.6); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: var(--bg-white); border-radius: var(--radius-xl); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; transform: scale(0.9); transition: transform 0.3s; }
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-head { padding: 28px 32px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { margin: 0; color: var(--navy); }
.modal-close { width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover { background: var(--border); }
.modal-body { padding: 28px 32px; }
.modal-foot { padding: 20px 32px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.form-control { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.95rem; color: var(--text-dark); background: var(--bg-white); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,36,99,0.1); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 110px; }

/* ===== MOBILE MENU — eliminado bloque antiguo que causaba conflicto ===== */

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse-gold { 0%,100% { box-shadow: 0 0 0 0 rgba(212,160,23,0.4); } 50% { box-shadow: 0 0 0 12px rgba(212,160,23,0); } }
.animate-up { animation: fadeUp 0.7s ease both; }
.animate-up-2 { animation: fadeUp 0.7s 0.15s ease both; }
.animate-up-3 { animation: fadeUp 0.7s 0.3s ease both; }
.floating { animation: float 4s ease-in-out infinite; }
.pulse-gold { animation: pulse-gold 2.5s infinite; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; background: var(--navy); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: var(--transition); z-index: 500; border: none; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .cert-layout { grid-template-columns: 1fr; }
  .cert-preview { max-width: 440px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
  .nav-menu, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .topbar-right { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-trust { flex-direction: column; gap: 14px; }
  .courses-grid { grid-template-columns: 1fr; }
}
@media print { .topbar, .navbar, .alert-bar, .back-to-top, .mobile-menu { display: none; } }

/* ============================================================
   EXTENDED COMPONENTS — sitio.js pages
   ============================================================ */

/* ===== TOPBAR EXTENDED ===== */
.topbar-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; font-size: 0.82rem; color: rgba(255,255,255,0.75); }
.topbar-cta { background: var(--gold); color: var(--navy-dark) !important; padding: 4px 14px; border-radius: 50px; font-weight: 700; font-size: 0.78rem; transition: background 0.2s; }
.topbar-cta:hover { background: var(--gold-light) !important; }

/* ===== NAVBAR EXTENDED ===== */
.nav-container { max-width: 1240px; margin: 0 auto; padding: 0; display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon { font-size: 1.8rem; }
.brand-text { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.brand-accent { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { padding: 8px 15px; border-radius: 8px; font-size: 0.91rem; font-weight: 500; color: var(--text-body); transition: var(--transition); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: var(--navy-light); color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-outline-nav { padding: 9px 22px; border-radius: 50px; font-size: 0.88rem; font-weight: 600; border: 2px solid var(--navy); color: var(--navy); background: transparent; transition: var(--transition); white-space: nowrap; }
.btn-outline-nav:hover { background: var(--navy); color: #fff; }
.btn-primary-nav { padding: 9px 22px; border-radius: 50px; font-size: 0.88rem; font-weight: 600; background: var(--navy); color: #fff; border: 2px solid var(--navy); transition: var(--transition); white-space: nowrap; }
.btn-primary-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-btn span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; display: block; transition: var(--transition); }

/* ===== MOBILE MENU ===== */
.menu-overlay { position: fixed; inset: 0; background: rgba(10,36,99,0.6); z-index: 8999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.menu-overlay.open { opacity: 1; pointer-events: all; }
/* Estado base: menú oculto fuera de pantalla. Se controla desde JS vía inline style. */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: auto;
  width: 85vw; max-width: 320px;
  z-index: 9000;
  background: #fff;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-start;
  padding: 28px 32px; gap: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0.35s;
  box-shadow: -8px 0 40px rgba(10,36,99,0.18);
  overflow-y: auto;
  /* Oculto por defecto: fuera de pantalla + invisible + no interactuable */
  transform: translateX(calc(100% + 20px));
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0s linear 0s;
}
.menu-close { align-self: flex-end; background: var(--navy-light); color: var(--navy); border: none; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; }
.mobile-menu a { padding: 13px 0; font-size: 1rem; font-weight: 600; color: var(--text-dark); border-bottom: 1px solid var(--border); transition: color 0.2s; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--navy); }
.mobile-menu hr { border: none; border-top: 1px solid var(--border); margin: 8px 0; }
.mobile-cta { background: var(--navy) !important; color: #fff !important; text-align: center; border-radius: 50px; padding: 12px 20px !important; margin-top: 8px; border: none !important; }

/* ===== HERO REDESIGN ===== */
.hero { min-height: calc(100vh - 106px); background: linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 50%,#1565c0 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 80px 140px; position: relative; overflow: hidden; }
.hero-decoration { position: absolute; border-radius: 50%; pointer-events: none; }
.dec-1 { width: 600px; height: 600px; top: -200px; right: -150px; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); }
.dec-2 { width: 350px; height: 350px; bottom: -100px; left: -50px; background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 70%); }
.dec-3 { width: 200px; height: 200px; top: 40%; right: 42%; background: radial-gradient(circle, rgba(33,150,243,0.08) 0%, transparent 70%); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(212,160,23,0.18); border: 1px solid rgba(212,160,23,0.35); color: var(--gold-light); padding: 8px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.8px; }
.hero-title { color: #fff; font-size: clamp(2rem,4vw,3.2rem); font-weight: 800; margin-bottom: 20px; line-height: 1.18; }
.hero-highlight { color: var(--gold-light); }
.hero-subtitle { color: rgba(255,255,255,0.75); font-size: 1.08rem; margin-bottom: 36px; max-width: 520px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-hero-primary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; background: var(--gold); color: var(--navy-dark); border-radius: 50px; font-weight: 700; font-size: 1rem; font-family: 'Poppins',sans-serif; transition: var(--transition); box-shadow: 0 8px 24px rgba(212,160,23,0.35); white-space: nowrap; }
.btn-hero-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(212,160,23,0.45); }
.btn-hero-secondary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; background: rgba(255,255,255,0.12); color: #fff; border-radius: 50px; font-weight: 600; font-size: 1rem; border: 1.5px solid rgba(255,255,255,0.3); transition: var(--transition); }
.btn-hero-secondary:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.hero-trust { display: flex; align-items: center; gap: 24px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-trust .trust-item { text-align: center; }
.hero-trust .trust-item strong { display: block; font-family: 'Poppins',sans-serif; font-size: 1.6rem; font-weight: 800; color: var(--gold-light); }
.hero-trust .trust-item span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* Hero Visual */
.hero-visual { position: relative; }
.course-mockup { background: rgba(255,255,255,0.1); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.3); }
.mockup-header { background: rgba(255,255,255,0.08); padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }
.mockup-title { font-size: 0.8rem; color: rgba(255,255,255,0.6); font-weight: 500; }
.mockup-body { padding: 20px; }
.mockup-progress-bar { height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; margin-bottom: 20px; overflow: hidden; }
.mockup-progress { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 3px; transition: width 1s; }
.mockup-module { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; margin-bottom: 8px; }
.active-mod { background: rgba(46,125,50,0.2); }
.current-mod { background: rgba(33,150,243,0.2); border: 1px solid rgba(33,150,243,0.3); }
.mod-icon { font-size: 1rem; }
.mod-name { font-size: 0.82rem; color: rgba(255,255,255,0.9); font-weight: 600; }
.mod-status { font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.mockup-cert { text-align: center; padding: 14px; background: rgba(212,160,23,0.15); border-radius: 10px; color: rgba(255,255,255,0.8); font-size: 0.82rem; margin-top: 12px; }
.floating-badge { position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 30px rgba(10,36,99,0.2); font-size: 0.82rem; animation: float 4s ease-in-out infinite; }
.floating-badge span:first-child { font-size: 1.4rem; }
.floating-badge strong { display: block; color: var(--text-dark); font-size: 0.82rem; }
.floating-badge small { color: var(--text-muted); font-size: 0.72rem; }
.badge-law { bottom: -20px; left: -30px; animation-delay: 0s; }
.badge-cert { top: 20px; right: -30px; animation-delay: 1.5s; }

/* ===== STATS BAR REDESIGN ===== */
.stats-bar { background: var(--navy); padding: 28px 0; }
.stats-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px; }
.stats-inner .stat-item { text-align: center; padding: 8px 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.stats-inner .stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Poppins',sans-serif; font-size: 2rem; font-weight: 800; color: var(--gold-light); display: block; }
.stat-item span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ===== SECTION HEADER REDESIGN ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge { display: inline-block; background: var(--navy-light); color: var(--navy); padding: 6px 16px; border-radius: 50px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; color: var(--text-body); }
.highlight-text { color: var(--navy); position: relative; display: inline-block; }
.highlight-text::after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 3px; background: var(--gold); border-radius: 2px; }

/* ===== FEATURES SECTION REDESIGN ===== */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card { background: var(--bg-white); border-radius: var(--radius); padding: 32px 28px; border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--navy),var(--sky)); transform: scaleX(0); transition: transform 0.4s ease; transform-origin: left; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 18px; }
.feature-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.feature-card p { font-size: 0.88rem; margin: 0; }

/* ===== COURSES SECTION REDESIGN ===== */
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.course-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.course-thumb { height: 160px; display: flex; align-items: center; justify-content: center; position: relative; }
.course-thumb-icon { font-size: 3rem; z-index: 1; position: relative; }
.course-thumb-tag { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; border: 1px solid rgba(255,255,255,0.3); z-index: 2; }
.course-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.course-category { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--sky); margin-bottom: 6px; display: block; }
.course-title { font-size: 1rem; margin-bottom: 8px; color: var(--text-dark); line-height: 1.4; }
.course-desc { font-size: 0.85rem; color: var(--text-body); flex: 1; margin-bottom: 12px; }
.course-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.course-meta span { font-size: 0.76rem; color: var(--text-muted); }
.course-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.course-level { padding: 4px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; }
.level-basic { background: #e8f5e9; color: #2e7d32; }
.level-intermediate { background: #fff3e0; color: #e65100; }
.level-advanced { background: #fce4ec; color: #c62828; }
.btn-course { font-size: 0.85rem; font-weight: 600; color: var(--navy); transition: color 0.2s; }
.btn-course:hover { color: var(--gold); }
.courses-cta { text-align: center; margin-top: 48px; }
.courses-cta p { margin-top: 12px; color: var(--text-muted); font-size: 0.9rem; }
.btn-primary-lg { display: inline-flex; align-items: center; gap: 8px; padding: 16px 36px; background: var(--navy); color: #fff; border-radius: 50px; font-weight: 700; font-size: 1rem; font-family: 'Poppins',sans-serif; transition: var(--transition); white-space: nowrap; }
.btn-primary-lg:hover { background: var(--navy-dark); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10,36,99,0.3); }
.btn-outline-lg { display: inline-flex; align-items: center; gap: 8px; padding: 15px 34px; border: 2px solid var(--navy); color: var(--navy); border-radius: 50px; font-weight: 600; font-size: 1rem; font-family: 'Poppins',sans-serif; transition: var(--transition); }
.btn-outline-lg:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ===== STEPS SECTION REDESIGN ===== */
.steps-section { background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: start; gap: 0; }
.step-card { text-align: center; padding: 28px 20px; }
.step-number { font-family: 'Poppins',sans-serif; font-size: 3rem; font-weight: 900; color: var(--navy-light); line-height: 1; margin-bottom: 12px; }
.step-icon { font-size: 2.5rem; margin-bottom: 16px; }
.step-card h3 { margin-bottom: 10px; color: var(--text-dark); }
.step-card p { font-size: 0.88rem; color: var(--text-body); }
.step-arrow { align-self: center; font-size: 2rem; color: var(--navy-light); padding: 0 8px; padding-top: 60px; }
.steps-cta { text-align: center; margin-top: 48px; }

/* ===== CERT SECTION REDESIGN ===== */
.cert-section { background: linear-gradient(135deg, var(--navy-dark), #1a5fa3); padding: 96px 0; }
.cert-content { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cert-text { color: #fff; }
.cert-text .section-badge { background: rgba(212,160,23,0.2); color: var(--gold-light); border: 1px solid rgba(212,160,23,0.3); }
.cert-text h2 { color: #fff; margin-bottom: 20px; }
.cert-text p { color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.cert-features { padding: 0; margin: 0 0 16px; }
.cert-features li { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; font-size: 0.9rem; color: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(255,255,255,0.08); }
.cert-features li:last-child { border-bottom: none; }
.cert-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.cert-card-header { background: linear-gradient(135deg,var(--navy-dark),var(--navy)); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; }
.cert-logo { font-family: 'Poppins',sans-serif; font-weight: 800; color: #fff; font-size: 1rem; }
.cert-series { font-size: 0.72rem; color: var(--gold-light); }
.cert-card-body { padding: 24px; text-align: center; }
.cert-certifica { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 8px; }
.cert-name { font-family: 'Poppins',sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--navy); border-bottom: 3px solid var(--gold); padding-bottom: 10px; margin-bottom: 14px; }
.cert-desc { font-size: 0.88rem; color: var(--text-body); line-height: 1.6; margin-bottom: 14px; }
.cert-modules { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 16px; }
.cert-modules span { background: var(--navy-light); color: var(--navy); padding: 4px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; }
.cert-footer-row { display: flex; justify-content: space-between; align-items: flex-end; }
.cert-qr { text-align: center; }
.cert-qr small { display: block; font-size: 0.65rem; color: var(--text-muted); margin-top: 4px; }
.cert-sign { text-align: center; }
.sign-line { width: 100px; height: 2px; background: var(--navy); margin: 0 auto 6px; }
.cert-sign small { font-size: 0.68rem; color: var(--text-muted); line-height: 1.4; }

/* ===== PARTNERS BAR REDESIGN ===== */
.partners-bar { background: var(--bg); padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-label { text-align: center; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); font-weight: 600; margin-bottom: 28px; }
.partners-logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 28px; }
.partner-logo { display: flex; align-items: center; gap: 8px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 10px; padding: 10px 20px; font-size: 0.85rem; font-weight: 600; color: var(--text-body); opacity: 0.65; transition: var(--transition); cursor: default; }
.partner-logo:hover { opacity: 1; box-shadow: var(--shadow-sm); }

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials-slider { position: relative; }
.testimonials-track-wrapper { overflow: hidden; border-radius: var(--radius-xl); }
.testimonials-track { display: flex; gap: 32px; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.testimonial-card { min-width: calc(100% / 1); background: var(--bg-white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); flex-shrink: 0; }
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.95rem; line-height: 1.8; color: var(--text-body); font-style: italic; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; color: #fff; flex-shrink: 0; font-family: 'Poppins',sans-serif; }
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--text-dark); }
.testimonial-author small { font-size: 0.78rem; color: var(--text-muted); }
.testimonial-prev, .testimonial-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; border: none; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; z-index: 2; transition: var(--transition); }
.testimonial-prev { left: -22px; }
.testimonial-next { right: -22px; }
.testimonial-prev:hover, .testimonial-next:hover { background: var(--gold); color: var(--navy-dark); }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testimonial-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: var(--transition); padding: 0; }
.testimonial-dot.active { background: var(--navy); width: 24px; border-radius: 5px; }

/* ===== TEAM SECTION REDESIGN ===== */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-grid-full { grid-template-columns: repeat(3,1fr); }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-photo { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.team-info { padding: 20px; }
.team-info h4 { margin-bottom: 4px; font-size: 1rem; }
.team-role { font-size: 0.78rem; color: var(--sky); font-weight: 600; display: block; margin-bottom: 10px; }
.team-info p { font-size: 0.84rem; color: var(--text-body); margin-bottom: 12px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.team-tags span { background: var(--navy-light); color: var(--navy); padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; }
.team-cta { text-align: center; margin-top: 40px; }

/* ===== BLOG SECTION REDESIGN ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-thumb { height: 160px; display: flex; align-items: center; justify-content: center; position: relative; }
.blog-thumb-icon { font-size: 2.5rem; z-index: 1; position: relative; }
.blog-tag { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.2); color: #fff; padding: 4px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; z-index: 2; }
.blog-body { padding: 20px; }
.blog-date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; display: block; }
.blog-title { font-size: 0.98rem; margin-bottom: 10px; color: var(--text-dark); line-height: 1.4; }
.blog-excerpt { font-size: 0.85rem; color: var(--text-body); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-link { font-size: 0.85rem; font-weight: 600; color: var(--navy); transition: color 0.2s; }
.blog-link:hover { color: var(--gold); }
.blog-cta { text-align: center; margin-top: 40px; }

/* ===== FAQ REDESIGN ===== */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--bg-white); border-radius: var(--radius-sm); margin-bottom: 10px; border: 1px solid var(--border); overflow: hidden; transition: border-color 0.3s; }
.faq-item.open { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; cursor: pointer; }
.faq-question span:first-child { font-size: 0.95rem; font-weight: 600; color: var(--text-dark); flex: 1; padding-right: 16px; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--navy-light); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; transition: var(--transition); line-height: 1; }
.faq-item.open .faq-icon { background: var(--navy); color: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-answer p { padding: 0 24px 20px; font-size: 0.9rem; color: var(--text-body); line-height: 1.75; margin: 0; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ===== CTA BANNER REDESIGN ===== */
.cta-banner { background: linear-gradient(135deg, #0a2463, #1565c0); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-decoration-1 { position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,0.04); top: -200px; left: -100px; }
.cta-decoration-2 { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(212,160,23,0.08); bottom: -150px; right: -50px; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: #fff; font-size: clamp(1.8rem,3vw,2.5rem); margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.cta-btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 17px 36px; background: var(--gold); color: var(--navy-dark); border-radius: 50px; font-weight: 700; font-size: 1rem; font-family: 'Poppins',sans-serif; transition: var(--transition); }
.cta-btn-primary:hover { background: var(--gold-light); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(212,160,23,0.4); }
.cta-btn-secondary { display: inline-flex; align-items: center; padding: 17px 32px; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); border-radius: 50px; font-weight: 600; font-size: 1rem; transition: var(--transition); }
.cta-btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.cta-guarantee { color: rgba(255,255,255,0.6); font-size: 0.85rem; }

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section { background: var(--navy-dark); padding: 48px 0; }
.newsletter-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: rgba(255,255,255,0.06); border-radius: var(--radius-xl); padding: 36px 48px; border: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.newsletter-text h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.newsletter-text p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex: 1; min-width: 280px; }
.newsletter-form input { flex: 1; padding: 14px 20px; border: 1.5px solid rgba(255,255,255,0.2); border-radius: 50px; background: rgba(255,255,255,0.08); color: #fff; font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button { padding: 14px 28px; background: var(--gold); color: var(--navy-dark); border-radius: 50px; font-weight: 700; font-size: 0.9rem; font-family: 'Poppins',sans-serif; border: none; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.newsletter-form button:hover { background: var(--gold-light); }
.newsletter-success { display: flex; align-items: center; gap: 12px; color: #fff; }
.newsletter-success p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* ===== FOOTER REDESIGN ===== */
.footer { background: var(--navy-dark); }
.footer-top { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand-col a.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Poppins',sans-serif; font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-brand-col a.footer-brand span { font-size: 1.5rem; }
.footer-brand-col p { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.75; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: var(--transition); font-style: normal; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.footer-col h4 { color: rgba(255,255,255,0.9); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-contact li { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 10px; line-height: 1.5; }
.btn-footer-contact { display: inline-block; margin-top: 14px; padding: 10px 22px; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); border-radius: 50px; font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.btn-footer-contact:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; margin: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 0.8rem; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold-light); }

/* ===== BACK TO TOP REDESIGN ===== */
#backToTop { position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; background: var(--navy); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: var(--transition); z-index: 500; border: none; font-weight: 700; }
#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header { position: relative; background: linear-gradient(135deg, var(--navy-dark), #1565c0); padding: 80px 0 64px; color: #fff; overflow: hidden; margin-top: 72px; }
.page-header-bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 50%, rgba(212,160,23,0.08) 0%, transparent 60%), radial-gradient(circle at 20% 80%, rgba(33,150,243,0.08) 0%, transparent 60%); }
.page-header .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.page-header h1 { color: #fff; margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; }

/* ===== PROGRAM HIGHLIGHT (cursos.html) ===== */
.program-highlight { padding-top: 64px; }
.program-banner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; background: linear-gradient(135deg, var(--navy), #1565c0); border-radius: var(--radius-xl); padding: 52px 56px; box-shadow: var(--shadow-lg); }
.program-banner-badge { display: inline-block; background: var(--gold); color: var(--navy-dark); padding: 6px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; margin-bottom: 16px; }
.program-banner-content h2 { color: #fff; font-size: clamp(1.5rem,2.5vw,2rem); margin-bottom: 16px; }
.program-banner-content > p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 28px; }
.program-highlights { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.ph-item { text-align: center; background: rgba(255,255,255,0.1); border-radius: 12px; padding: 16px 8px; }
.ph-item span { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.ph-item strong { display: block; color: #fff; font-size: 0.95rem; margin-bottom: 2px; }
.ph-item small { color: rgba(255,255,255,0.6); font-size: 0.75rem; }
.program-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.price-old { font-size: 1rem; color: rgba(255,255,255,0.4); text-decoration: line-through; }
.price-current { font-family: 'Poppins',sans-serif; font-size: 2rem; font-weight: 800; color: var(--gold-light); }
.price-tag { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.modules-list { display: flex; flex-direction: column; gap: 8px; }
.mod-item { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.1); border-radius: 10px; padding: 12px 16px; color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 500; }
.mod-item span:first-child { width: 24px; height: 24px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; color: var(--gold-light); flex-shrink: 0; }
.mod-item.completed { background: rgba(46,125,50,0.25); border: 1px solid rgba(46,125,50,0.3); }
.cert-row { background: rgba(212,160,23,0.2); border: 1px solid rgba(212,160,23,0.3); font-weight: 700; color: var(--gold-light); }

/* ===== TABS GROUP ===== */
.tabs-group { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 40px; background: var(--bg-white); padding: 8px; border-radius: 50px; width: fit-content; margin-left: auto; margin-right: auto; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.tab-btn { padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; background: transparent; color: var(--text-body); border: none; cursor: pointer; transition: var(--transition); white-space: nowrap; }
.tab-btn:hover { background: var(--navy-light); color: var(--navy); }
.tab-btn.active { background: var(--navy); color: #fff; }

/* ===== COURSES FILTER GRID ===== */
.courses-filter-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.course-syllabus { margin: 12px 0; padding: 12px 16px; background: var(--bg); border-radius: 8px; }
.course-syllabus strong { font-size: 0.78rem; color: var(--text-dark); display: block; margin-bottom: 6px; }
.course-syllabus ul { padding-left: 16px; }
.course-syllabus ul li { font-size: 0.78rem; color: var(--text-body); padding: 2px 0; list-style: disc; }

/* ===== CORPORATE SECTION (cursos.html) ===== */
.corporate-section { }
.corporate-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; background: var(--bg-white); border-radius: var(--radius-xl); padding: 52px 56px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.corporate-text .section-badge { margin-bottom: 16px; display: inline-block; }
.corporate-text h2 { margin-bottom: 16px; }
.corporate-text p { margin-bottom: 20px; }
.corp-features { padding: 0; }
.corp-features li { padding: 8px 0; font-size: 0.9rem; color: var(--text-body); border-bottom: 1px solid var(--border); }
.corp-features li:last-child { border-bottom: none; }
.corp-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 28px; }
.corp-stat { text-align: center; background: var(--bg); border-radius: 12px; padding: 16px; }
.corp-stat strong { display: block; font-family: 'Poppins',sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--navy); }
.corp-stat span { font-size: 0.8rem; color: var(--text-muted); }
.corp-sectors h4 { margin-bottom: 12px; color: var(--text-dark); font-size: 0.9rem; }
.sector-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sector-tags span { background: var(--navy-light); color: var(--navy); padding: 5px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 600; }

/* ===== ABOUT INTRO (nosotros.html) ===== */
.about-intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.about-intro-text .section-badge { display: inline-block; margin-bottom: 16px; }
.about-intro-text h2 { margin-bottom: 20px; }
.about-intro-text p { margin-bottom: 16px; }
.about-intro-stats { }
.about-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-stat { background: var(--navy-light); border-radius: var(--radius); padding: 24px; text-align: center; }
.about-stat strong { display: block; font-family: 'Poppins',sans-serif; font-size: 2rem; font-weight: 800; color: var(--navy); }
.about-stat span { font-size: 0.82rem; color: var(--text-body); }

/* ===== MISSION/VISION/VALUES ===== */
.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 60px; }
.mvv-card { background: var(--bg-white); border-radius: var(--radius); padding: 36px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition); text-align: center; }
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mvv-mision { border-top: 4px solid var(--navy); }
.mvv-vision { border-top: 4px solid var(--gold); }
.mvv-propuesta { border-top: 4px solid var(--teal); }
.mvv-icon { font-size: 2.5rem; margin-bottom: 16px; }
.mvv-card h3 { margin-bottom: 14px; }
.mvv-card p { font-size: 0.9rem; color: var(--text-body); }
.values-title { font-family: 'Poppins',sans-serif; font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 32px; color: var(--text-dark); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-item { padding: 28px; background: var(--bg); border-radius: var(--radius); border: 1px solid var(--border); }
.value-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.value-item h4 { margin-bottom: 8px; }
.value-item p { font-size: 0.88rem; }

/* ===== TIMELINE ===== */
.timeline { position: relative; padding-left: 60px; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--navy), var(--navy-light)); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-year { position: absolute; left: -60px; top: 0; width: 40px; height: 40px; background: var(--navy); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Poppins',sans-serif; font-size: 0.65rem; font-weight: 800; z-index: 1; box-shadow: 0 0 0 4px var(--bg-white), 0 0 0 6px var(--navy-light); }
.timeline-content { background: var(--bg-white); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.timeline-content h4 { margin-bottom: 8px; color: var(--navy); }
.timeline-content p { font-size: 0.88rem; margin: 0; }

/* ===== ALLIANCES ===== */
.alliances-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.alliance-card { background: var(--bg-white); border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.alliance-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.alliance-icon { font-size: 2.5rem; margin-bottom: 14px; display: block; }
.alliance-card h4 { margin-bottom: 10px; }
.alliance-card p { font-size: 0.85rem; }

/* ===== CONTACT PAGE ===== */
.contact-section { }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.contact-form-col h2 { margin-bottom: 8px; }
.contact-intro { margin-bottom: 32px; color: var(--text-body); }
.contact-form { }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea { padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.95rem; color: var(--text-dark); background: var(--bg-white); outline: none; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,36,99,0.08); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check { flex-direction: row; align-items: flex-start; gap: 10px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-body); cursor: pointer; }
.checkbox-label input { margin-top: 2px; accent-color: var(--navy); width: 16px; height: 16px; flex-shrink: 0; }
.checkbox-label a { color: var(--navy); text-decoration: underline; }
.btn-submit { display: inline-flex; align-items: center; gap: 10px; width: 100%; justify-content: center; padding: 16px 32px; background: var(--navy); color: #fff; border-radius: 50px; font-weight: 700; font-size: 1rem; font-family: 'Poppins',sans-serif; border: none; cursor: pointer; transition: var(--transition); }
.btn-submit:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,36,99,0.3); }
.btn-submit:disabled { opacity: 0.6; transform: none; box-shadow: none; cursor: not-allowed; }
.form-success { text-align: center; padding: 40px; }
.form-success-icon { width: 64px; height: 64px; background: #e8f5e9; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #2e7d32; margin: 0 auto 16px; }
.form-success h3 { margin-bottom: 8px; color: var(--text-dark); }
.form-success p { color: var(--text-body); }

/* Contact Info Sidebar */
.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 32px; margin-bottom: 24px; }
.contact-info-card h3 { color: #fff; margin-bottom: 24px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item strong { display: block; color: #fff; font-size: 0.85rem; margin-bottom: 4px; }
.contact-info-item p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; line-height: 1.5; }
.contact-social { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); }
.contact-social h4 { color: rgba(255,255,255,0.9); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.social-links { display: flex; flex-direction: column; gap: 8px; }
.social-link { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 8px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); font-size: 0.85rem; transition: var(--transition); }
.social-link:hover { background: rgba(255,255,255,0.15); color: #fff; }
.social-link span { width: 24px; text-align: center; font-weight: 700; }
.contact-quick-links h4 { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); margin-bottom: 14px; }
.quick-link-item { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; transition: var(--transition); color: var(--text-dark); }
.quick-link-item:hover { border-color: var(--navy); background: var(--navy-light); }
.quick-link-item span:first-child { font-size: 1.3rem; }
.quick-link-item div { flex: 1; }
.quick-link-item strong { display: block; font-size: 0.88rem; color: var(--text-dark); }
.quick-link-item small { font-size: 0.78rem; color: var(--text-muted); }
.quick-link-item span:last-child { color: var(--text-muted); }

/* ===== MAP SECTION ===== */
.map-section { padding: 40px 0; }
.map-placeholder { background: linear-gradient(135deg, var(--navy-light), #e3f2fd); border-radius: var(--radius-xl); overflow: hidden; }
.map-placeholder-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px; text-align: center; gap: 12px; }
.map-pin { font-size: 3rem; }
.map-placeholder-inner h3 { margin: 0; }
.map-placeholder-inner p { color: var(--text-muted); margin: 0; }

/* ===== VIDEO MODAL ===== */
.video-modal { position: fixed; inset: 0; z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.video-modal.open { opacity: 1; pointer-events: all; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.video-modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.9); width: 90%; max-width: 860px; transition: transform 0.3s; }
.video-modal.open .video-modal-content { transform: translate(-50%,-50%) scale(1); }
.video-modal-close { position: absolute; top: -44px; right: 0; background: rgba(255,255,255,0.15); color: #fff; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.video-wrapper { position: relative; padding-bottom: 56.25%; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===== RESPONSIVE EXTENDED ===== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding: 60px 40px; min-height: auto; }
  .hero-visual { display: none; }
  .cert-content { grid-template-columns: 1fr; }
  .cert-preview { max-width: 440px; margin: 0 auto; }
  .program-banner { grid-template-columns: 1fr; }
  .program-banner-visual { display: none; }
  .corporate-box { grid-template-columns: 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .courses-grid { grid-template-columns: repeat(2,1fr); }
  .courses-filter-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid-full { grid-template-columns: repeat(2,1fr); }
  .mvv-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .alliances-grid { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .step-arrow { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .menu-btn { display: flex; }
  .topbar-right { display: none; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-box { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; }
}
@media (max-width: 600px) {
  .hero { padding: 48px 24px; }
  .hero-actions { flex-direction: column; }
  .hero-trust { flex-wrap: wrap; gap: 16px; }
  .trust-divider { display: none; }
  .courses-grid { grid-template-columns: 1fr; }
  .courses-filter-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid-full { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .alliances-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .program-highlights { grid-template-columns: repeat(2,1fr); }
  .about-stat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tabs-group { gap: 4px; padding: 4px; }
  .tab-btn { padding: 8px 12px; font-size: 0.78rem; }
  .newsletter-form { flex-direction: column; }
  .testimonial-prev { left: -10px; }
  .testimonial-next { right: -10px; }
}

