/* —— North Global Institute — vanilla CSS —— */
:root {
  --navy: #0b1f3a;
  --gold: #c8a96b;
  --white: #ffffff;
  --mist: #f5f7fa;
  --navy-2: #132a4a;
  --text-muted: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 48px rgba(11, 31, 58, 0.12);
  --shadow-soft: 0 8px 32px rgba(11, 31, 58, 0.08);
  --radius-lg: 1.25rem;
  --radius-full: 9999px;
  --font-display: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  overscroll-behavior-x: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--navy);
  border-radius: 0.5rem;
}

.skip-link:focus {
  left: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(112rem, calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container {
    width: min(112rem, calc(100% - 3rem));
  }
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

#formats {
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.section--mist {
  background: var(--mist);
}

.section--dark {
  background: linear-gradient(160deg, var(--navy) 0%, #071326 100%);
  color: var(--white);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

.section-title--center {
  text-align: center;
}

.section-title--light {
  color: var(--white);
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 40rem;
  color: rgba(11, 31, 58, 0.72);
  font-size: 1.05rem;
}

.section-lead--tight {
  margin-bottom: 1.5rem;
}

.section-lead--center {
  margin-inline: auto;
  text-align: center;
  max-width: 36rem;
}

.section-lead--light {
  color: var(--text-muted);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 31, 58, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 31, 58, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(112rem, calc(100% - 2rem));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--white);
}

.logo span {
  color: var(--gold);
}

.logo--footer {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.nav--desktop {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.65rem, 1.2vw, 1.35rem);
  max-width: 52rem;
}

.nav--desktop a {
  font-size: clamp(0.72rem, 1vw, 0.8125rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.nav--desktop a:hover {
  color: var(--gold);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 1.35rem;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: rgba(11, 31, 58, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1rem 1.5rem;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1rem;
  }

  .nav--desktop {
    display: flex;
    justify-self: center;
  }

  .header-actions {
    display: flex;
    justify-self: end;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .header-actions .btn--ghost {
    display: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.8rem;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.btn--gold:hover {
  background: #d4b87d;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn--outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(11, 31, 58, 0.12);
  background: var(--white);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section--mist .icon-btn {
  background: var(--white);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 1rem);
  color: var(--white);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--navy)
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=2000&q=80")
    center / cover no-repeat;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--navy) 0%, rgba(11, 31, 58, 0.94) 42%, rgba(11, 31, 58, 0.55) 100%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 15%, rgba(200, 169, 107, 0.2), transparent 50%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero__stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1024px) {
  .hero__stats {
    max-width: 22rem;
    justify-self: end;
  }
}

.stat-card {
  padding: 1.25rem 1rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0;
}

.stat-card__label {
  margin: 0.35rem 0 0;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.58);
}

.hero__float {
  position: absolute;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem;
  animation: floatY 7s ease-in-out infinite;
}

.hero__float--1 {
  right: 6%;
  top: 22%;
  display: none;
  width: 15rem;
}

.hero__float--2 {
  left: 5%;
  bottom: 18%;
  display: none;
  align-items: center;
  gap: 0.75rem;
  width: 14rem;
  animation-duration: 8s;
}

@media (min-width: 1280px) {
  .hero__float--1,
  .hero__float--2 {
    display: block;
  }
  .hero__float--2 {
    display: flex;
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero__float-label {
  margin: 0;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.hero__float-title {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.hero__float-meta {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero__float-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: rgba(200, 169, 107, 0.2);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
}

.hero__float-small {
  margin: 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero__float-strong {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
}

/* —— Trust marquee —— */
.trust {
  padding-block: 2.5rem 2rem;
  border-bottom: 1px solid rgba(11, 31, 58, 0.06);
  overflow: hidden;
  max-width: 100%;
}

.trust__marquee {
  overflow: hidden;
  max-width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trust__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  width: 100%;
  max-width: 100%;
  padding-block: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 31, 58, 0.28);
  white-space: normal;
  text-align: center;
}

@media (min-width: 900px) {
  .trust__marquee {
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }

  .trust__track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    white-space: nowrap;
    animation: marquee 38s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust__track {
    animation: none !important;
    transform: none !important;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    row-gap: 0.75rem;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* —— Search —— */
.search-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(11, 31, 58, 0.06);
}

.search-card__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .search-card__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .search-card__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.field__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(11, 31, 58, 0.55);
  margin-bottom: 0.4rem;
}

.field__control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(11, 31, 58, 0.12);
  font: inherit;
  background: var(--mist);
  color: var(--navy);
}

.field__control:focus {
  border-color: var(--gold);
  outline: none;
}

.search-card__btn {
  margin-top: 1.5rem;
  width: 100%;
}

@media (min-width: 480px) {
  .search-card__btn {
    width: auto;
    min-width: 14rem;
  }
}

/* —— Categories —— */
.cat-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cat-card {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 31, 58, 0.08);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(200, 169, 107, 0.45);
}

.cat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(200, 169, 107, 0.35);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.cat-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.cat-card__text {
  margin: 0;
  color: rgba(11, 31, 58, 0.68);
  font-size: 0.95rem;
}

/* —— Carousel / courses —— */
.carousel {
  overflow: hidden;
  margin-inline: 0;
  padding-inline: 0;
  max-width: 100%;
}

.carousel__track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.course-card {
  flex: 0 0 min(100%, 340px);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 58, 0.08);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .course-card {
    flex-basis: 360px;
  }
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.course-card__body {
  padding: 1.35rem 1.35rem 1.5rem;
}

.course-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.course-card__meta {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: rgba(11, 31, 58, 0.62);
}

.course-card__price {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(11, 31, 58, 0.72);
}

.course-card__price strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.carousel--testimonials .carousel__track {
  gap: 1.5rem;
}

.carousel--testimonials .testimonial {
  flex: 0 0 min(100%, 100%);
}

@media (min-width: 768px) {
  .carousel--testimonials .testimonial {
    flex-basis: calc(50% - 0.75rem);
  }
}

@media (min-width: 1100px) {
  .carousel--testimonials .testimonial {
    flex-basis: calc(33.333% - 1rem);
  }
}

/* —— Split / why —— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.split__media {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 22rem;
}

.split__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(11, 31, 58, 0.88);
  color: var(--white);
  backdrop-filter: blur(8px);
  text-align: center;
}

.split__badge span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
}

.split__badge small {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-list li {
  padding-left: 1.25rem;
  border-left: 3px solid var(--gold);
  color: rgba(11, 31, 58, 0.78);
}

.why-list strong {
  color: var(--navy);
}

/* —— Global map —— */
.global {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .global {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.global__list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 1rem;
}

.global__list li + li {
  margin-top: 0.35rem;
}

.global__map {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.world-svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-hub__dot {
  fill: var(--gold);
}

.map-hub__ring {
  fill: none;
  stroke: rgba(200, 169, 107, 0.45);
  stroke-width: 2;
  animation: pulse 2.4s ease-out infinite;
}

.map-hub:nth-child(2) .map-hub__ring {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0% {
    r: 6;
    opacity: 1;
  }
  100% {
    r: 18;
    opacity: 0;
  }
}

.map-tooltip {
  position: absolute;
  pointer-events: none;
  padding: 0.35rem 0.65rem;
  border-radius: 0.35rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  transform: translate(-50%, -120%);
  white-space: nowrap;
}

/* —— Testimonials —— */
.testimonial {
  margin: 0;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11, 31, 58, 0.08);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.testimonial:hover {
  box-shadow: var(--shadow);
  border-color: rgba(200, 169, 107, 0.35);
}

.testimonial__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial__avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial__name {
  font-weight: 600;
  margin: 0;
}

.testimonial__role {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: rgba(11, 31, 58, 0.55);
}

.stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.testimonial__quote {
  margin: 0;
  font-size: 1rem;
  color: rgba(11, 31, 58, 0.78);
  line-height: 1.65;
}

/* —— Stats band —— */
.stats-row {
  display: grid;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 640px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-block__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.stat-block__label {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(11, 31, 58, 0.5);
}

/* —— Certs —— */
.cert-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.cert-badge {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(11, 31, 58, 0.12);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 31, 58, 0.75);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

/* —— CTA —— */
.cta {
  position: relative;
  text-align: center;
  color: var(--white);
  padding-block: clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--navy), #0a2848 40%, #152d52);
}

.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(200, 169, 107, 0.22), transparent 55%);
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin-inline: auto;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
}

.cta__lead {
  margin: 1.25rem 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* —— Footer —— */
.footer {
  background: #050d18;
  color: rgba(255, 255, 255, 0.78);
  padding-top: clamp(3rem, 6vw, 4rem);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1.2fr repeat(3, 1fr) 1.3fr;
  }
}

.footer__heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin: 0 0 1rem;
}

.footer__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer__links a:hover {
  color: var(--gold);
}

.social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social a {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
}

.social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.news-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.news-form__input {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font: inherit;
}

.news-form__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer__bar {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.25rem;
}

.footer__bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__bar-inner a:hover {
  color: var(--gold);
}

/* Floating WhatsApp (also on home — controlled via site-layout.js) */
.nc-float-wa {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 3.25rem;
  height: 3.25rem;
  background: linear-gradient(145deg, #25d366 0%, #128c7e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 300;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nc-float-wa:hover {
  transform: scale(1.08);
}

.nc-float-wa__icon {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
  fill: currentColor;
}

html[dir="rtl"] .nc-float-wa {
  left: auto;
  right: 1.25rem;
}
