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

:root {
  --blue-primary: #033372;
  --blue-light: #5a7aba;
  --yellow-accent: #ffed71;
  --slate: #3f4a59;
  --sand0: #fff;
  --sand1: #f5f2ef;
  --sand2: #ede8e2;
  --text: #3f4a59;
  --muted: rgba(63, 74, 89, 0.5);
  --border: rgba(63, 74, 89, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--sand1);
  color: var(--text);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: background .35s, box-shadow .35s, height .35s;
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(63, 74, 89, 0.1), 0 4px 24px rgba(63, 74, 89, 0.07);
  height: 64px;
}

/* Logo */
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color .35s;
  position: relative;
  z-index: 2;
}

.nav.scrolled .nav-logo {
  color: var(--slate);
}

.nav-mark {
  width: 36px;
  height: 36px;
  background: var(--blue-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 12px rgba(3, 51, 114, 0.35);
  flex-shrink: 0;
}

.nav-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.55;
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 3px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-text img {
  width: 180px !important;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Links */
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}

.nav-links>li>a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  position: relative;
}

.nav.scrolled .nav-links>li>a {
  color: var(--slate);
}

.nav-links>li>a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav.scrolled .nav-links>li>a:hover {
  background: var(--sand1);
  color: var(--blue-primary);
}

.nav-links>li>a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  opacity: 0.7;
  flex-shrink: 0;
}

/* Pill activa (hover underline) */
.nav-links>li>a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue-primary);
  border-radius: 2px;
  transition: width .25s;
}

.nav-links>li>a:hover::after {
  width: 20px;
}

/* Separador visual */
.nav-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 8px;
}

.nav.scrolled .nav-sep {
  background: var(--border);
}

/* Botón CTA */
.nav-cta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: var(--blue-primary) !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 14px rgba(3, 51, 114, 0.35) !important;
  transition: opacity .2s, transform .2s !important;
}

.nav-cta:hover {
  opacity: .9 !important;
  transform: translateY(-1px) !important;
}

.nav-cta svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.nav-cta::after {
  display: none !important;
}

/* Botón teléfono / contacto rápido */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  transition: all .2s;
}

.nav.scrolled .nav-phone {
  color: var(--slate);
  border-color: var(--border);
}

.nav-phone:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav.scrolled .nav-phone:hover {
  background: var(--sand1);
}

.nav-phone svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

/* Toggle mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  border: 0.5px solid rgba(255, 255, 255, 0.25);
  transition: background .2s;
  position: relative;
  z-index: 2;
}

.nav.scrolled .nav-toggle {
  border-color: var(--border);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle svg {
  stroke: #fff;
  transition: stroke .35s;
}

.nav.scrolled .nav-toggle svg {
  stroke: var(--slate);
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 15, 10, 0.55);
  backdrop-filter: blur(2px);
  z-index: 190;
}

.nav-drawer.open {
  display: block;
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  background: #fff;
  padding: 80px 0 32px;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(63, 74, 89, 0.15);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.nav-drawer.open .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer-links {
  list-style: none;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-drawer-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: background .2s;
}

.nav-drawer-links a:hover {
  background: var(--sand1);
  color: var(--blue-primary);
}

.nav-drawer-links a svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue-primary);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.nav-drawer-links .nav-drawer-label {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-top: 1px;
  font-weight: 300;
}

.nav-drawer-cta {
  margin: 20px 20px 0;
  background: var(--blue-primary);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  display: block;
}

.nav-drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--sand1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── HERO SLIDER ── */
.hero {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  background: #1a1410;
}

/* Slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.05);
  transition: transform 7s ease;
}

.slide.active img {
  transform: scale(1);
}

/* Overlay gradiente */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(20, 15, 10, 0.72) 0%,
      rgba(20, 15, 10, 0.45) 55%,
      rgba(20, 15, 10, 0.15) 100%);
  z-index: 1;
}

/* Contenido centrado */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
}

.hero-inner {
  max-width: 600px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--yellow-accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--blue-primary);
  display: block;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--yellow-accent);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
  max-width: 440px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-fill {
  background: var(--blue-primary);
  color: var(--yellow-accent);
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  letter-spacing: .02em;
  text-decoration: none;
  display: inline-block;
  transition: opacity .2s;
}

.btn-fill:hover {
  opacity: .88;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: background .2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Pills sobre la imagen */
.hero-pills {
  position: absolute;
  bottom: 40px;
  right: 2.5rem;
  z-index: 10;
  display: flex;
  gap: 12px;
}

.hero-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
  min-width: 96px;
}

.hero-pill strong {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1;
}

.hero-pill span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 3px;
  display: block;
}

/* Dots de navegación */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .3s;
}

.hero-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* Flechas */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-arrow svg {
  stroke: #fff;
}

.hero-arrow.prev {
  left: 2rem;
}

.hero-arrow.next {
  right: 2rem;
}

/* Slide caption */
.slide-caption {
  position: absolute;
  bottom: 40px;
  left: 2.5rem;
  z-index: 10;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* Barra de progreso */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--blue-primary);
  z-index: 10;
  animation: progress 5s linear infinite;
  transform-origin: left;
}

@keyframes progress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--blue-primary);
  padding: 18px 2.5rem;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  color: rgba(255, 255, 255, .92);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}

/* ── SECTION BASE ── */
.sec {
  padding: 72px 2.5rem;
}

.sec-white {
  background: var(--sand0);
}

.sec-light {
  background: var(--yellow-accent);
}

.sec-sand {
  background: var(--sand2);
}

.sec-hdr {
  margin-bottom: 44px;
}

.sec-hdr h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--slate);
  line-height: 1.2;
  margin-top: 10px;
}

.sec-hdr p {
  font-size: 17px;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 300;
}

/* ── COURSES ── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.course-card {
  background: var(--sand0);
  display: flex;
  flex-direction: column;
  transition: background .2s;
}

.course-card:hover {
  background: #faf9f7;
}

.course-thumb {
  height: 180px;
  overflow: hidden;
}

.course-thumb img {
  height: 100%;
  transition: transform .4s;
}

.course-card:hover .course-thumb img {
  transform: scale(1.04);
}

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

.course-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(3, 51, 114, .08);
  border: 0.5px solid rgba(3, 51, 114, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.course-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue-primary);
  fill: none;
  stroke-width: 1.5;
}

.course-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 6px;
}

.course-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
  line-height: 1.25;
}

.course-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
  font-weight: 300;
  margin-bottom: 20px;
}

.course-footer {
  border-top: 0.5px solid var(--border);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.course-price {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--slate);
}

.course-price small {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  display: block;
  margin-top: 1px;
}

.btn-xs {
  background: var(--blue-primary);
  color: var(--yellow-accent) !important;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: opacity .2s;
}

.btn-xs:hover {
  opacity: .88;
}

/* ── STATS ── */
.stats-row {
  background: var(--blue-primary);
  padding: 52px 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--yellow-accent) !important;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 15px;
  color: var(--yellow-accent) !important;
  letter-spacing: .04em;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  border-radius: 12px;
  overflow: hidden;
  height: 420px;
}

.about-img img {
  height: 100%;
  object-position: center top;
}

.about-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--slate);
  border-radius: 10px;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(63, 74, 89, .18);
}

.about-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.about-badge span {
  font-size: 13px;
  color: rgba(212, 202, 192, .7);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--slate);
  line-height: 1.2;
  margin-bottom: 20px;
}

/* Video embed */
.video-section {
  margin-top: 56px;
  text-align: center;
}

.video-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.video-label::before,
.video-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--blue-primary);
  opacity: .5;
}

.video-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 28px;
  line-height: 1.2;
}

.video-title em {
  font-style: italic;
  color: var(--blue-primary);
}

.about-video {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: min(42.75%, 427px);
  height: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(63, 74, 89, 0.18), 0 2px 8px rgba(63, 74, 89, 0.08);
  border: 0.5px solid var(--border);
}

.about-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.about-text>p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 24px;
  font-weight: 300;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: rgba(63, 74, 89, .8);
}

.check-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-primary);
  flex-shrink: 0;
}

/* ── PROGRAM GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 280px);
  gap: 6px;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-item {
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-item.span2 {
  grid-column: span 1;
}

.gallery-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(20, 12, 8, .72);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: .03em;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* ── TESTIMONIALS ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testi-card {
  background: var(--sand0);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testi-stars {
  color: var(--blue-primary);
  font-size: 17px;
  letter-spacing: 3px;
}

.testi-text {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  font-style: italic;
  font-weight: 300;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 0.5px solid var(--border);
  padding-top: 14px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--sand2);
}

.avatar img {
  height: 100%;
}

.testi-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--slate);
}

.testi-loc {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── GUARANTEE ── */
.g-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.g-item {
  background: var(--sand0);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.g-icon {
  width: 40px;
  height: 40px;
  background: rgba(3, 51, 114, .08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue-primary);
  fill: none;
  stroke-width: 1.5;
}

.g-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--slate);
  line-height: 1.3;
}

.g-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ── FORM ── */
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.form-hdr {
  text-align: center;
  margin-bottom: 36px;
}

.form-hdr h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 8px;
}

.form-hdr p {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
}

.form-box {
  background: var(--sand0);
  border: 0.5px solid rgba(63, 74, 89, .12);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input, .field select, .field textarea {
  height: 38px;
  border-radius: 6px;
  border: 0.5px solid rgba(63, 74, 89, .18);
  background: var(--sand1);
  padding: 0 12px;
  font-size: 17px;
  color: var(--slate);
  font-family: 'Inter', sans-serif;
  width: 100%;
  transition: border-color .2s;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
}

.field textarea {
  height: 80px;
  padding: 10px 12px;
  resize: vertical;
}

.form-submit {
  background: var(--blue-primary);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  width: 100%;
  letter-spacing: .04em;
  transition: opacity .2s;
}

.form-submit:hover {
  opacity: .88;
}

.form-note {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 300;
}

.form-note svg {
  width: 13px;
  height: 13px;
  stroke: var(--blue-primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ── FOOTER ── */
footer {
  background: #0f0d0b;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer-top-bar {
  background: var(--blue-primary);
  padding: 20px 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-top-bar-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-style: italic;
}

.footer-top-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow-accent);
  color: #333;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity .2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-top-bar-cta:hover {
  opacity: .88;
}

.footer-top-bar-cta svg {
  width: 15px;
  height: 15px;
  stroke: #333;
  fill: none;
  stroke-width: 2.5;
}

.footer-body {
  padding: 64px 2.5rem 48px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 56px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

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

.footer-brand-logo img {
  width: 180px !important;
}

.footer-brand-mark {
  width: 40px;
  height: 40px;
  background: var(--blue-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.footer-brand-sub {
  font-size: 11px;
  color: rgba(212, 202, 192, .35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.footer-brand-desc {
  font-size: 14px;
  color: rgba(212, 202, 192, .45);
  line-height: 1.85;
  font-weight: 300;
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.fbadge {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0.5px solid rgba(3, 51, 114, 0.4);
  background: rgba(3, 51, 114, 0.08);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 11px;
  color: rgba(212, 202, 192, .65);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.fbadge svg {
  width: 13px;
  height: 13px;
  stroke: var(--blue-primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 0.5px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.footer-social a:hover {
  background: rgba(3, 51, 114, 0.25);
  border-color: rgba(3, 51, 114, 0.5);
}

.footer-social a svg {
  width: 16px;
  height: 16px;
  stroke: rgba(212, 202, 192, .6);
  fill: none;
  stroke-width: 1.8;
}

.footer-col h4,
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow-accent);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid rgba(255, 255, 255, .05);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(212, 202, 192, .5);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s, gap .2s;
}

.footer-col ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-primary);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity .2s;
}

.footer-col ul li a:hover {
  color: rgba(212, 202, 192, .9);
  gap: 10px;
}

.footer-col ul li a:hover::before {
  opacity: 1;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--yellow-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--blue-primary);
  fill: none;
  stroke-width: 1.8;
}

.footer-contact-data {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-contact-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(212, 202, 192, .28);
}

.footer-contact-value {
  font-size: 14px;
  color: rgba(212, 202, 192, .7);
  font-weight: 400;
  line-height: 1.5;
}

.footer-contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.footer-contact-value a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 20px 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-left {
  font-size: 12px;
  color: rgba(212, 202, 192, .22);
  font-weight: 300;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(212, 202, 192, .22);
  text-decoration: none;
  transition: color .2s;
}

.footer-bottom-links a:hover {
  color: rgba(212, 202, 192, .6);
}

.divider {
  height: 0.5px;
  background: var(--border);
  margin: 0 2.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    height: 70vh;
    min-height: 480px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-pills {
    bottom: 70px;
    right: 1.5rem;
    gap: 8px;
  }

  .hero-pill {
    min-width: 76px;
    padding: 10px 14px;
  }

  .hero-pill strong {
    font-size: 24px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    bottom: 20px;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .hero h1 {
    font-size: 40px;
  }

  .sec {
    padding: 48px 1.5rem;
  }

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

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

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

  .about-badge {
    right: 0;
    bottom: -14px;
  }

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

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

  .footer-body {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 1.5rem 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    padding: 16px 1.5rem;
  }

  .footer-top-bar {
    padding: 16px 1.5rem;
  }

  .footer-top-bar-text {
    font-size: 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item {
    height: 180px;
  }

  .trust-bar {
    gap: 16px;
    padding: 12px 1.5rem;
  }

  .nav {
    padding: 0 1.5rem;
  }
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15, 10, 8, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-panel {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(15, 10, 8, 0.3), 0 4px 16px rgba(15, 10, 8, 0.12);
  transform: translateY(24px) scale(0.98);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  scrollbar-width: thin;
}

.modal-overlay.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 32px 0;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  border-radius: 16px 16px 0 0;
}

.modal-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.modal-eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--blue-primary);
  display: block;
}

.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--slate);
  line-height: 1.15;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--sand1);
  border: 0.5px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  flex-shrink: 0;
  transition: background .2s;
  margin-top: 4px;
}

.modal-close:hover {
  background: var(--sand2);
}

.modal-divider {
  height: 0.5px;
  background: var(--border);
  margin: 20px 32px 0;
}

.modal-body {
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-body .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-body .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-body label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.modal-body input,
.modal-body select,
.modal-body textarea {
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(63, 74, 89, .18);
  background: var(--sand1);
  padding: 0 14px;
  font-size: 14px;
  color: var(--slate);
  font-family: 'Inter', sans-serif;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}

.modal-body input:focus,
.modal-body select:focus,
.modal-body textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(3, 51, 114, 0.1);
}

.modal-body textarea {
  height: 88px;
  padding: 12px 14px;
  resize: vertical;
}

.modal-body .form-submit {
  background: var(--blue-primary);
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  width: 100%;
  letter-spacing: .03em;
  transition: opacity .2s, transform .1s;
}

.modal-body .form-submit:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.modal-body .form-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 300;
}

.modal-body .form-note svg {
  width: 13px;
  height: 13px;
  stroke: var(--blue-primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .modal-panel {
    border-radius: 12px;
    max-height: 95vh;
  }

  .modal-header {
    padding: 24px 20px 0;
  }

  .modal-divider {
    margin: 16px 20px 0;
  }

  .modal-body {
    padding: 20px 20px 28px;
  }

  .modal-body .field-row {
    grid-template-columns: 1fr;
  }
}