/* ============================================
   AZURE DATA FUNDAMENTALS DP-900
   Landing Page Styles
   ============================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #060D1A;
  color: #E8F0FE;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== VARIABLES ===== */
:root {
  --primary: #0078D4;
  --primary-light: #50E6FF;
  --primary-hover: #1084DC;
  --accent: #FFB900;
  --green: #50E6A5;

  --dark:    #060D1A;
  --dark-2:  #0A1628;
  --dark-3:  #0F1F3A;
  --surface: #152540;
  --surface-2: #1A2E52;
  --surface-3: #1E3566;

  --text:        #E8F0FE;
  --text-muted:  #7A99BF;
  --text-light:  #A8C2DC;
  --border:      rgba(80, 230, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.06);

  --gradient-blue: linear-gradient(135deg, #0078D4 0%, #50E6FF 100%);
  --gradient-dark: linear-gradient(180deg, #060D1A 0%, #0F1F3A 100%);
  --shadow-blue:   0 20px 60px rgba(0, 120, 212, 0.25);
  --shadow-card:   0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.3);

  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn i { font-size: 0.85em; }

.btn-primary {
  background: var(--gradient-blue);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 120, 212, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 120, 212, 0.55);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(80, 230, 255, 0.3);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ===== SECTION BASE ===== */
.section {
  padding: 96px 0;
}

.section-dark {
  background: var(--dark-2);
}

.section-gradient-dark {
  background: linear-gradient(160deg, var(--dark-3) 0%, var(--dark-2) 50%, var(--dark) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header.light h2,
.section-header.light p {
  color: var(--text);
}

.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(0, 120, 212, 0.15);
  border: 1px solid rgba(0, 120, 212, 0.4);
  border-radius: var(--radius-pill);
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
}

.subsection-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 28px;
  text-align: center;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease var(--delay, 0s),
              transform 0.6s ease var(--delay, 0s);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 13, 26, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-brand-text {
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-brand-text span {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}

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

.nav-cta {
  padding: 9px 20px;
  background: rgba(0, 120, 212, 0.2);
  border: 1px solid rgba(0, 120, 212, 0.5);
  border-radius: var(--radius-pill);
  color: var(--primary-light) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: rgba(0, 120, 212, 0.35) !important;
  border-color: var(--primary-light);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.35) 0%, transparent 70%);
  top: -150px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(80, 230, 255, 0.2) 0%, transparent 70%);
  bottom: 0;
  left: -80px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(80, 230, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 230, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 120, 212, 0.12);
  border: 1px solid rgba(0, 120, 212, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 0.05em;
  width: fit-content;
}

.hero-badge i { font-size: 1em; }

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-cert-pill {
  display: inline-block;
  margin-left: 14px;
  padding: 4px 14px;
  background: var(--gradient-blue);
  border-radius: var(--radius-sm);
  font-size: 0.55em;
  font-weight: 700;
  color: #fff;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-light);
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: fit-content;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

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

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.35) 0%, transparent 65%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.08); opacity: 1; }
}

.hero-img {
  width: 340px;
  height: 340px;
  object-fit: contain;
  border-radius: var(--radius-xl);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(0, 120, 212, 0.4));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  animation: bounce-down 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ===== CARDS GRID ===== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(80, 230, 255, 0.25);
  box-shadow: var(--shadow-blue);
  background: var(--surface-2);
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.icon-blue  { background: rgba(0, 120, 212, 0.15); color: var(--primary-light); }
.icon-cyan  { background: rgba(80, 230, 255, 0.12); color: #50E6FF; }
.icon-gold  { background: rgba(255, 185, 0, 0.12);  color: var(--accent); }
.icon-green { background: rgba(80, 230, 165, 0.12); color: var(--green); }

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== SPEAKER ===== */
/* ===== SPEAKER (rediseño) ===== */
.speaker-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

/* --- Franja superior --- */
.speaker-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Columna izquierda: foto */
.speaker-photo-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: linear-gradient(135deg,
    rgba(0, 120, 212, 0.12) 0%,
    rgba(80, 230, 255, 0.05) 100%
  );
  border-right: 1px solid var(--border-soft);
}

/* Gradiente de fondo decorativo en la foto */
.speaker-photo-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(80, 230, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 230, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.speaker-photo-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  z-index: 1;
}

.speaker-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--primary);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(0, 120, 212, 0.12),
              0 20px 48px rgba(0, 0, 0, 0.5);
}

.speaker-photo-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(80, 230, 255, 0.3);
  animation: spin-slow 15s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Columna derecha: identidad */
.speaker-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 48px 48px 48px 40px;
}

.speaker-name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.speaker-role {
  font-size: 0.95rem;
  color: var(--primary-light);
  font-weight: 500;
}

.speaker-quote {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(0, 120, 212, 0.08);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.speaker-quote i {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.speaker-quote span {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.55;
}

/* Links de contacto del ponente */
.speaker-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.speaker-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--text-light);
  transition: var(--transition);
  width: fit-content;
}

.speaker-contact:hover {
  background: rgba(0, 120, 212, 0.12);
  border-color: rgba(80, 230, 255, 0.35);
  color: var(--text);
}

/* --- Grid de logros --- */
.speaker-ach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-soft);
}

.ach-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 28px 28px;
  border-right: 1px solid var(--border-soft);
  transition: var(--transition);
}

.ach-card:last-child { border-right: none; }

.ach-card:hover {
  background: rgba(0, 120, 212, 0.07);
}

.ach-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 120, 212, 0.15);
  border: 1px solid rgba(0, 120, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1rem;
  margin-bottom: 4px;
}

.ach-card strong {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.ach-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== WHY ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}

.why-img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}

.why-content-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

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

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.why-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.audience-block {
  text-align: center;
}

.audience-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.audience-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.audience-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}

.audience-pill:hover {
  border-color: rgba(80, 230, 255, 0.3);
  background: var(--surface-2);
  color: var(--text);
}

.audience-pill i {
  color: var(--primary-light);
  width: 16px;
  text-align: center;
}

/* ===== EXAM ===== */
.exam-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.exam-stat-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.exam-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.exam-stat-highlight {
  background: linear-gradient(135deg, rgba(0,120,212,0.2) 0%, rgba(80,230,255,0.1) 100%);
  border-color: rgba(0, 120, 212, 0.4);
}

.exam-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 120, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.exam-stat-highlight .exam-stat-icon {
  background: rgba(0, 120, 212, 0.25);
}

.exam-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.exam-stat-highlight .exam-stat-num {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.exam-stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Exam blocks */
.exam-blocks {
  margin-bottom: 48px;
}

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

.block-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.block-card:hover {
  border-color: rgba(80, 230, 255, 0.2);
  background: var(--surface-2);
}

.block-num {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
}

.block-content h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.block-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Question types */
.question-types {
  margin-bottom: 40px;
}

.qtype-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.qtype-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(80, 230, 255, 0.08);
  border: 1px solid rgba(80, 230, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-light);
  transition: var(--transition);
}

.qtype-pill:hover {
  background: rgba(80, 230, 255, 0.14);
  border-color: rgba(80, 230, 255, 0.4);
}

/* Exam alert */
.exam-alert {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(255,185,0,0.06) 0%, rgba(255,185,0,0.02) 100%);
  border: 1px solid rgba(255, 185, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 40px;
}

.exam-alert-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 185, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.exam-alert-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.exam-alert-text strong { color: var(--accent); }
.exam-alert-text em { color: var(--primary-light); font-style: normal; font-weight: 600; }

/* ===== VS ROWS (Conceptos) ===== */
.vs-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
}

.vs-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.vs-card:hover {
  border-color: rgba(80, 230, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.vs-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.vs-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-pill {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(0, 120, 212, 0.15);
  border: 1px solid rgba(0, 120, 212, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-light);
  vertical-align: middle;
}

.tag-cyan  { background: rgba(80,230,255,0.1);   border-color: rgba(80,230,255,0.3);   color: #50E6FF; }
.tag-gold  { background: rgba(255,185,0,0.1);     border-color: rgba(255,185,0,0.3);    color: var(--accent); }
.tag-green { background: rgba(80,230,165,0.1);    border-color: rgba(80,230,165,0.3);   color: var(--green); }

.concept-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.concept-list li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.concept-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.step-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.concept-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.vs-separator {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-separator span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* Services Grid */
.azure-services-block {
  margin-top: 64px;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(80, 230, 255, 0.25);
  box-shadow: var(--shadow-blue);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 120, 212, 0.15);
  border: 1px solid rgba(0, 120, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.1rem;
}

.service-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.service-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.service-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0, 120, 212, 0.1);
  border: 1px solid rgba(0, 120, 212, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-light);
  width: fit-content;
}

/* ===== STRATEGY ===== */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strategy-card {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.strategy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(80, 230, 255, 0.2);
  box-shadow: var(--shadow-card);
}

.strategy-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 120, 212, 0.15);
  border: 1px solid rgba(0, 120, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.strategy-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.strategy-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strategy-card ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.strategy-card ul li i {
  color: var(--green);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ===== COMMUNITY CAROUSEL ===== */
.community-carousel-outer {
  position: relative;
  overflow: hidden;
  margin-bottom: 64px;
  padding: 24px 0;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);

  /* Desvanecimiento en bordes izquierdo y derecho */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 14%,
    black 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 14%,
    black 86%,
    transparent 100%
  );
}

.community-carousel-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: carousel-marquee 22s linear infinite;
}

.community-carousel-outer:hover .community-carousel-track {
  animation-play-state: paused;
}

@keyframes carousel-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.community-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  flex-shrink: 0;
  transition: var(--transition);
  cursor: pointer;
}

.community-logo-item:hover {
  background: rgba(80, 230, 255, 0.07);
  border-color: rgba(80, 230, 255, 0.2);
  transform: scale(1.06) translateY(-3px);
}

.community-logo-item img {
  height: 130px;   /* ~doble de los 64px originales */
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: brightness(0.88) saturate(0.9);
  transition: filter var(--transition);
  pointer-events: none; /* el click lo maneja el <a> */
}

.community-logo-item:hover img {
  filter: brightness(1.1) saturate(1.1);
}

.study-groups {}

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

.group-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.group-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(80, 230, 255, 0.2);
}

.group-img-wrap {
  height: 180px;
  overflow: hidden;
}

.group-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.group-card:hover .group-img-wrap img {
  transform: scale(1.05);
}

.group-info {
  padding: 20px;
}

.group-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.group-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== AZURE PATH ===== */
.azure-path-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-blue);
}

.azure-path-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--dark-3) 0%, var(--dark-2) 100%);
  border-top: 1px solid var(--border);
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(80, 230, 165, 0.1);
  border: 1px solid rgba(80, 230, 165, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.cta-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.cta-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-features span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
}

.cta-features span i {
  color: var(--green);
  font-size: 0.9em;
}

.cta-disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cta-disclaimer i { color: var(--accent); }

.cta-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* LinkedIn accent */
.speaker-linkedin {
  border-color: rgba(10, 102, 194, 0.4);
}
.speaker-linkedin:hover {
  background: rgba(10, 102, 194, 0.15) !important;
  border-color: rgba(10, 102, 194, 0.7) !important;
  color: #70B5F9 !important;
}
.speaker-linkedin i { color: #0A66C2; }

/* ===== CTA IMAGE BUTTON + LIGHTBOX ===== */
.cta-img-btn {
  position: relative;
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: zoom-in;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.cta-img-btn:hover .cta-img {
  transform: scale(1.03);
}

.cta-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
}

.cta-img-overlay i {
  font-size: 1.6rem;
}

.cta-img-btn:hover .cta-img-overlay {
  background: rgba(0, 0, 0, 0.38);
  opacity: 1;
}

/* Lightbox */
/* Oculto por defecto con display:none — más robusto que opacity/visibility */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
  animation: lightbox-in 0.28s ease forwards;
}

@keyframes lightbox-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 18, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
  z-index: 0;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 960px);
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  animation: lightbox-scale-in 0.32s cubic-bezier(0.34, 1.45, 0.64, 1) forwards;
}

@keyframes lightbox-scale-in {
  from { transform: scale(0.88); }
  to   { transform: scale(1); }
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 30, 50, 0.8);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border-soft);
  padding: 56px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

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

.footer-nav h4,
.footer-contact h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-nav ul li a:hover {
  color: var(--primary-light);
}

.footer-contact p {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-contact i { color: var(--primary-light); width: 14px; }

.footer-quote {
  margin-top: 16px;
  font-style: italic;
  font-size: 0.82rem !important;
  color: rgba(168, 194, 220, 0.5) !important;
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container {
    gap: 40px;
  }

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

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

  .why-grid {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--dark-2);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 80px 24px 32px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1000;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description { text-align: center; }
  .hero-visual { display: none; }

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

  /* speaker — tablet */
  .speaker-top {
    grid-template-columns: 1fr;
  }
  .speaker-photo-area {
    border-right: none;
    border-bottom: 1px solid var(--border-soft);
    padding: 36px 24px;
  }
  .speaker-identity {
    padding: 36px 32px;
  }
  .speaker-ach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ach-card:nth-child(2) { border-right: none; }
  .ach-card:nth-child(3),
  .ach-card:nth-child(4) { border-top: 1px solid var(--border-soft); }

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

  .vs-row {
    grid-template-columns: 1fr;
  }

  .vs-separator {
    justify-content: flex-start;
    padding-left: 12px;
  }

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

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

  .cta-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }

  .hero { padding: 100px 0 60px; }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .hero-stat-sep { width: 80%; height: 1px; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { justify-content: center; }

  .cards-grid-3 {
    grid-template-columns: 1fr;
  }

  /* speaker — mobile */
  .speaker-photo-wrapper { width: 180px; height: 180px; }
  .speaker-photo { width: 180px; height: 180px; }
  .speaker-name { font-size: 1.6rem; }
  .ach-card { padding: 20px 18px; }

  .exam-stats-row { grid-template-columns: 1fr 1fr; }
  .blocks-grid    { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .strategy-grid  { grid-template-columns: 1fr; }
  .groups-grid    { grid-template-columns: 1fr; }

  .community-logo-item img { height: 88px; max-width: 160px; }

  .cta-features { flex-direction: column; gap: 10px; }

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