:root {
  --bg: #0a0e14;
  --bg-2: #0f141c;
  --bg-3: #151c28;
  --surface: #1a2230;
  --surface-2: #212b3c;
  --border: rgba(203, 213, 225, 0.1);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --kicker-mint: #34d399;
  --accent: #34d399;
  --accent-mid: #2dd4bf;
  --accent-2: #4ade80;
  --accent-secondary: #6ee7b7;
  --gold: #e8c06a;
  --btn-bg: #34d399;
  --btn-bg-hover: #6ee7b7;
  --btn-text: #0B0E14;
  --brand-mark-start: #86efac;
  --brand-mark-mid: #6ee7b7;
  --brand-mark-end: #e8c06a;
  --gradient-btn: linear-gradient(135deg, #4ade80 0%, #34d399 52%, #2dd4bf 100%);
  --gradient-btn-hover: linear-gradient(135deg, #6ee7b7 0%, #4ade80 50%, #5eead4 100%);
  --gradient-brand-mark: linear-gradient(135deg, var(--brand-mark-start) 0%, var(--brand-mark-mid) 38%, #fde68a 72%, var(--brand-mark-end) 100%);
  --btn-glow: 0 8px 24px rgba(52, 211, 153, 0.38), 0 4px 14px rgba(45, 212, 191, 0.22);
  --overlay: rgba(8, 12, 18, 0.72);
  --overlay-strong: rgba(8, 12, 18, 0.86);
  --max: 1180px;
  --radius: 18px;
  --btn-radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { margin: 0 0 16px; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); }
p { margin: 0 0 14px; color: var(--muted); }
.lead { font-size: 1.125rem; max-width: 760px; color: var(--soft); }
.eyebrow,
.montage-eyebrow,
.section-kicker,
.hero-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #34d399;
  margin-bottom: 14px;
}
.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-tight { padding: 64px 0; }
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--border); }

.btn, .btnPrimary, .btnHero, .btnGhost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.btn:hover, .btnPrimary:hover, .btnHero:hover { transform: translateY(-1px); }
.btn-primary, .btnPrimary, .btnHero {
  background: var(--gradient-btn);
  color: var(--btn-text);
  box-shadow: 0 2px 12px rgba(52, 211, 153, 0.22);
}
.btn-primary:hover, .btnPrimary:hover, .btnHero:hover {
  background: var(--gradient-btn-hover);
  box-shadow: var(--btn-glow);
}
.btn-secondary, .btnGhost {
  background: #0B0E14;
  border: 1.5px solid rgba(52, 211, 153, 0.45);
  color: var(--soft);
}
.btn-secondary:hover, .btnGhost:hover {
  background: rgba(52, 211, 153, 0.14);
  border-color: #6ee7b7;
  color: #6ee7b7;
  box-shadow: 0 4px 18px rgba(52, 211, 153, 0.2);
}
button.btn, button.btnPrimary, button.btn-primary {
  background: var(--gradient-btn);
  color: var(--btn-text);
}
button.btn:hover, button.btnPrimary:hover, button.btn-primary:hover {
  background: var(--gradient-btn-hover);
  box-shadow: var(--btn-glow);
}
.cta-row, .ctaRow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.site-header, .topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 20, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner, .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.logo-block, .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo, .mark, .brand-mark {
  width: 48px; height: 48px;
  border-radius: var(--btn-radius);
  display: grid; place-items: center;
  background: var(--gradient-brand-mark);
  color: #0a0a0a;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.logo-text strong { display: block; font-size: 1.1rem; color: var(--text); }
.logo-text small, .brand small { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.navlinks, .nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.navlinks a, .nav a:not(.brand):not(.btn) {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.navlinks a:hover, .nav a:hover, .navlinks a.active { color: var(--text); background: rgba(255,255,255,0.04); }
.header-cta, .nav-cta { margin-left: auto; }
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--border); padding: 16px 0 20px; }
.mobile-nav.open { display: grid; gap: 12px; }
.mobile-nav a { color: var(--soft); font-weight: 600; }

.langToggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  background: var(--surface);
}
.langToggle button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
}
.langToggle button.active {
  background: var(--gradient-btn);
  color: var(--btn-text);
  box-shadow: 0 2px 10px rgba(52, 211, 153, 0.28);
}
.lang-en { display: none; }
body.lang-en-active .lang-es { display: none; }
body.lang-en-active .lang-en { display: inline; }
body.lang-en-active div.lang-en, body.lang-en-active p.lang-en, body.lang-en-active section.lang-en, body.lang-en-active article.lang-en { display: block; }

.hero-video {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-video .bg-video,
.video-panel video,
.video-card video,
.video-strip-mini video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video .video-overlay,
.video-panel .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,18,0.35) 0%, rgba(8,12,18,0.82) 72%, rgba(8,12,18,0.95) 100%);
}
.hero-logo-overlay {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.55));
  pointer-events: auto;
}
.hero-logo-overlay .hero-logo-img {
  display: block;
  height: clamp(72px, 12vw, 120px);
  width: auto;
  max-width: min(220px, 40vw);
}
.hero-content { position: relative; z-index: 2; padding: 120px 0 72px; max-width: 860px; }
.hero-compact { min-height: 52vh; }
.hero-compact .hero-content { padding: 88px 0 56px; }
.owner-line { font-size: 0.88rem; color: var(--muted); margin-top: 18px; }

.hero, .heroGrid {
  position: relative;
}
.heroGrid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.card, .heroCard, .courseCard, .note {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  color: var(--text);
}
.card h2, .card h3, .heroCard h2, .courseCard h3 { color: var(--text); }
.card p, .heroCard p, .courseCard p, .card li, .note p { color: var(--muted); }
.card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.card li { margin-bottom: 8px; }
.card.accent { border-top: 3px solid var(--accent-mid); }

.courseGrid, .grid.cards, .grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.tag {
  display: inline-block;
  background: rgba(52, 211, 153, 0.12);
  color: var(--kicker-mint);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.price {
  background: rgba(52, 211, 153, 0.08);
  border-left: 3px solid var(--kicker-mint);
  border-radius: 8px;
  padding: 12px;
  color: var(--soft) !important;
  font-weight: 600;
}

.imageBand {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
  margin: 34px 0;
}
.imageBand img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.imageBand img:first-child { height: 360px; }
.heroPhoto {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.lead-grid, .lead, .split {
  display: grid;
  gap: 24px;
  align-items: start;
}
@media (min-width: 860px) {
  .lead-grid, .lead, .split { grid-template-columns: 0.9fr 1.1fr; }
  .heroGrid { grid-template-columns: 1.05fr 0.95fr; }
}

form {
  display: grid;
  gap: 14px;
}
label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--text); }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
.fine { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }
.disclaimer { border-left: 3px solid var(--accent-mid); background: rgba(255,255,255,0.03); padding: 16px; border-radius: 0 12px 12px 0; }

.video-panel, .video-card, .video-strip-mini {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.video-strip-mini { min-height: 200px; margin-bottom: 32px; }
.video-panel { min-height: 360px; }
.video-panel .panel-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.montage-showcase { padding: 88px 0; }
.montage-showcase-header { max-width: 820px; margin-bottom: 48px; }
.montage-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
}
.montage-lead { font-size: 1.1rem; color: rgba(248,250,252,0.76); max-width: 640px; }

.video-slider { position: relative; }
.video-slider-viewport {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.video-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  scrollbar-width: none;
}
.video-slider-track::-webkit-scrollbar { display: none; }
.video-slide { flex: 0 0 86%; scroll-snap-align: start; }
.video-slide-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #000;
  aspect-ratio: 9/16;
  max-height: 480px;
  box-shadow: var(--shadow);
}
.video-slide-media video { width: 100%; height: 100%; object-fit: cover; position: relative; }
.video-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #0a0a0a 0%, rgba(10,10,10,0.08) 40%, transparent 55%);
  pointer-events: none;
}
.video-slide-label {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  margin: 0; font-size: 0.78rem; color: rgba(248,250,252,0.9);
}
.slider-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10,10,10,0.35);
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.slider-dot {
  width: 28px; height: 2px;
  border-radius: 1px;
  border: 0; padding: 0;
  background: rgba(255,255,255,0.14);
  cursor: pointer;
}
.slider-dot.active { background: rgba(248,250,252,0.88); }

.cta-band {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.1), rgba(45, 212, 191, 0.06));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 48px;
  text-align: center;
}
.prose { max-width: 820px; }
.prose h2 { margin-top: 36px; }
.note-box {
  padding: 18px 20px;
  border-left: 3px solid var(--kicker-mint);
  background: rgba(255,255,255,0.03);
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
}

.site-footer, .footer {
  padding: 56px 0 36px;
  background: #060910;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.footer-grid { display: grid; gap: 24px; }
.footer-links, .footerLinks { display: flex; flex-wrap: wrap; gap: 14px 20px; font-size: 0.88rem; font-weight: 600; }
.footer-links a, .footerLinks a, .footer a { color: var(--muted); }
.footer-links a:hover, .footerLinks a:hover { color: var(--kicker-mint); }
.footer-ownership, .footer strong { color: var(--text); font-weight: 700; }
.disclaimer, .network-note { font-size: 0.82rem; color: var(--muted); line-height: 1.6; max-width: 900px; }
.network-note { margin: 24px auto; padding: 0 24px; max-width: var(--max); }
.network-note a { color: var(--kicker-mint); font-weight: 600; }

.thanks-panel { min-height: 60vh; display: grid; place-items: center; }
.thanks-card { max-width: 720px; text-align: center; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.small { font-size: 0.85rem; color: var(--muted); margin-top: 20px; }

.list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.list-grid div {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--soft);
  font-size: 0.95rem;
}

.article-card { display: grid; gap: 12px; min-height: 100%; }
.link-arrow { color: var(--kicker-mint); font-weight: 700; font-size: 0.92rem; }

@media (min-width: 640px) { .video-slide { flex-basis: calc(50% - 10px); } }
@media (min-width: 1024px) { .video-slide { flex: 0 0 calc(33.333% - 14px); } }
@media (max-width: 960px) {
  .navlinks > a:not(.langToggle), .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .imageBand { grid-template-columns: 1fr; }
  .imageBand img, .imageBand img:first-child { height: auto; aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero-content { padding-top: 96px; }
  .heroGrid, .courseGrid, .grid.cards { grid-template-columns: 1fr; }
  .btn, .btnPrimary, .btnHero, .btnGhost { width: 100%; }
  .slider-btn { display: none; }
  .video-slider-viewport { grid-template-columns: 1fr; }
}

/* Develop University brand logo */
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(160px, 42vw);
  flex-shrink: 0;
}
.logo-block.brand {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.brand-tagline,
.logo-block.brand .brand-tagline {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0;
  line-height: 1.2;
  font-weight: 400;
}
.logo-block.brand .logo,
.logo-block.brand .logo-text,
.logo-block.brand .brand-mark,
.logo-block.brand .mark {
  display: none !important;
}
@media (max-width: 480px) {
  .brand-logo { height: 44px; max-width: 38vw; }
}
