/* Rx Science Academy — 2026 layout — palette: navy #0A1D44, white, pale #E6EAF3, accent #FFC107, periwinkle #B3C6E6 */

:root {
  --navy: #0a1d44;
  --navy-mid: #143471;
  --navy-deep: #050d1f;
  --white: #ffffff;
  --pale: #e6eaf3;
  --pale-2: #dce3f0;
  --accent: #ffc107;
  --accent-hover: #e6ac00;
  --accent-soft: #fff8e1;
  --periwinkle: #b3c6e6;
  --periwinkle-mid: #8fa8d4;

  --ink: #0a1d44;
  --ink-soft: #1e335f;
  --brand: var(--navy);
  --brand-mid: #1a4a8c;
  --muted: #5a6b85;
  --surface: var(--pale);
  --surface-2: var(--pale-2);
  --footer-bg: var(--navy-deep);
  --ring: rgba(255, 193, 7, 0.45);
  --shadow: 0 18px 50px rgba(10, 29, 68, 0.1);
  --shadow-sm: 0 8px 24px rgba(10, 29, 68, 0.07);
  --radius: 14px;
  --radius-lg: 22px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
  --container: min(1160px, 100% - 40px);
  --header-height: 76px;
  --section-scroll-margin: calc(var(--header-height) + 1.25rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(255, 193, 7, 0.35);
  color: var(--ink);
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  z-index: 200;
  transform: translateY(-140%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Top bar */
.top-bar {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar__inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.95;
}

.top-bar__link:hover {
  color: var(--accent);
}

.top-bar__icon {
  display: flex;
  opacity: 0.85;
}

.top-bar__sep {
  opacity: 0.35;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar__follow {
  opacity: 0.75;
  margin-right: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
}

.top-bar__social {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.2s, color 0.2s;
}

.top-bar__social:hover {
  background: var(--accent);
  color: var(--ink);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 29, 68, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 16px;
}

.logo {
  display: inline-flex;
  line-height: 0;
  margin-left: 10px;
}

.logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.logo__img {
  height: 62px;
  width: auto;
  max-width: min(360px, calc(100vw - 120px));
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--brand-mid);
  border-radius: 2px;
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 6px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  grid-column: 2;
  justify-self: center;
}

.site-nav__list a {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-mid);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.site-nav__list a:hover,
.site-nav__list a.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 12px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s, background 0.2s, color 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn__arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--nav {
  background: var(--accent);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.35);
  grid-column: 3;
  justify-self: end;
}

.btn--nav:hover {
  background: var(--accent-hover);
}

.btn--primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(255, 193, 7, 0.32);
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--brand-mid);
  border: 2px solid rgba(10, 29, 68, 0.2);
}

.btn--outline:hover {
  border-color: var(--brand-mid);
  background: rgba(10, 29, 68, 0.04);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 0.9rem;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 29, 68, 0.45);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .logo {
    margin-left: 4px;
  }

  .logo__img {
    height: 56px;
    max-width: min(300px, calc(100vw - 120px));
  }

  .top-bar {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: flex;
    position: fixed;
    inset: 0 0 0 auto;
    top: var(--header-height);
    width: min(320px, 100%);
    height: calc(100vh - var(--header-height));
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
    z-index: 95;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn--nav {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .btn:hover,
  .btn:active,
  .btn__arrow,
  .btn:hover .btn__arrow {
    transform: none;
    transition: none;
  }

}

/* Hero — admission banner (navy / diagonal / student + reference graphic structure) */
.hero--admission {
  --hero-navy: #001a4d;
  position: relative;
  padding: 0;
  overflow: hidden;
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--white);
  color: var(--white);
}

.hero-adm {
  position: relative;
}

.hero-adm__split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  min-height: clamp(380px, 58vh, 640px);
  align-items: stretch;
}

.hero-adm__left {
  position: relative;
  z-index: 2;
  background: transparent;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  margin-right: -10.5%;
  padding: clamp(1.85rem, 4.2vw, 3rem) clamp(1.35rem, 3.5vw, 2.75rem) clamp(1.6rem, 3vw, 2.35rem);
  display: flex;
  align-items: center;
  isolation: isolate;
}

/* Gold accent layer — sits under navy, shifted toward photo / diagonal seam */
.hero-adm__left::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    155deg,
    #ffe082 0%,
    var(--accent) 38%,
    #e6a000 72%,
    #c88700 100%
  );
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  transform: translate3d(12px, 5px, 0) scale(1.02);
  transform-origin: 100% 0;
  animation: hero-adm-accent-drift 5.5s ease-in-out infinite;
  will-change: transform;
}

.hero-adm__left::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(165deg, var(--hero-navy) 0%, var(--navy) 55%, #00153d 100%);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

@keyframes hero-adm-accent-drift {
  0%,
  100% {
    transform: translate3d(10px, 4px, 0) scale(1.01);
  }
  50% {
    transform: translate3d(18px, 9px, 0) scale(1.035);
  }
}

.hero-adm__edge {
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  min-width: 72px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-adm__edge line {
  stroke: var(--accent);
  stroke-width: 2.8;
}

.hero-adm__left-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: min(52rem, 100%);
}

.hero-adm__stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1.2rem, 3vw, 1.85rem);
}

.hero-adm__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.8vw, 1rem);
}

.hero-adm__badge {
  margin: 0;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.2));
  transform: rotate(-2.5deg);
  transform-origin: left center;
}

.hero-adm__badge-text {
  display: inline-block;
  max-width: min(100%, 22rem);
  background: linear-gradient(180deg, #ffb800 0%, var(--accent) 100%);
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(0.68rem, 1.05vw, 0.82rem);
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: none;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 3px 14px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-adm__title {
  margin: 0;
  display: block;
}

.hero-adm__title-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08em;
  line-height: 1;
}

.hero-adm__title-line {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.hero-adm__title-line--white {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.hero-adm__title-line--yellow {
  color: #ffb800;
  text-shadow: 0 2px 28px rgba(255, 184, 0, 0.25);
}

.hero-adm__title-line--headline {
  font-size: clamp(1.85rem, 4.25vw, 3rem);
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-adm__title-line[data-hero-accent] {
  display: block;
  min-height: 1.12em;
  transition:
    opacity 0.48s ease,
    transform 0.48s ease;
  will-change: opacity, transform;
}

.hero-adm__title-line[data-hero-accent].is-fading {
  opacity: 0;
  transform: translateY(0.14em);
}

@media (prefers-reduced-motion: reduce) {
  .hero-adm__title-line[data-hero-accent] {
    transition: none;
    will-change: auto;
  }

  .hero-adm__title-line[data-hero-accent].is-fading {
    transform: none;
  }
}

.hero-adm__sub-block {
  margin: 0;
  max-width: 40rem;
  text-align: left;
}

.hero-adm__sub {
  margin: 0;
  font-size: clamp(0.9rem, 1.4vw, 1.06rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.01em;
}

/* Reference: one horizontal row, icon above label, thin vertical dividers */
.hero-adm__features {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-adm__feature {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem 0.45rem;
  border: none;
  background: transparent;
  border-radius: 0;
  transition: opacity 0.25s ease;
}

.hero-adm__feature:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(255, 255, 255, 0.32);
}

.hero-adm__feature:hover {
  opacity: 0.92;
}

.hero-adm__feature-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: transparent;
}

.hero-adm__feature-ic svg {
  opacity: 1;
}

.hero-adm__feature-txt {
  font-size: clamp(0.62rem, 0.85vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
}

.hero-adm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
  padding-top: 0.15rem;
}

.hero-adm__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(0.72rem, 0.95vw, 0.82rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.72rem 1.3rem;
  border-radius: 9px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s, background 0.2s, filter 0.2s;
}

.hero-adm__btn:hover {
  transform: translateY(-1px);
}

.hero-adm__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero-adm__btn--primary {
  background: var(--accent);
  color: var(--ink);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 16px rgba(255, 193, 7, 0.38);
}

.hero-adm__btn--primary:hover {
  filter: brightness(0.96);
}

.hero-adm__btn--outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.95);
}

.hero-adm__btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-adm__btn-arrow {
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1;
}

.hero-adm__right {
  position: relative;
  background: linear-gradient(180deg, #f5f7fb 0%, #eef2f8 100%);
  overflow: hidden;
  display: block;
  z-index: 1;
  min-height: 0;
  height: 100%;
  isolation: isolate;
}

.hero-adm__corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(160px, 42vw);
  height: auto;
  z-index: 3;
  pointer-events: none;
}

.hero-adm__doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  z-index: 2;
  background-image: linear-gradient(rgba(179, 198, 230, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179, 198, 230, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 95% 80% at 75% 50%, rgba(0, 0, 0, 0.45) 0%, transparent 72%);
}

.hero-adm__photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-adm__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 18%;
  display: block;
  /* Soft blend into navy split — feather left edge, no hard cut */
  mask-image: linear-gradient(
    108deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 6%,
    rgba(0, 0, 0, 0.85) 14%,
    #000 24%,
    #000 100%
  );
  -webkit-mask-image: linear-gradient(
    108deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 6%,
    rgba(0, 0, 0, 0.85) 14%,
    #000 24%,
    #000 100%
  );
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  transform: scale(1.02);
  transform-origin: center center;
}

.hero-adm__seal {
  --seal-navy: var(--navy);
  position: absolute;
  z-index: 5;
  right: clamp(10px, 2.5vw, 32px);
  bottom: clamp(14px, 3.5vw, 40px);
  width: auto;
  min-width: 168px;
  max-width: 200px;
  padding: 0.85rem 1rem 0.95rem;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.97) 0%, rgba(230, 234, 243, 0.92) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 4px 0 rgba(255, 193, 7, 0.35),
    0 18px 48px -12px rgba(10, 29, 68, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotate(-2.5deg);
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.32, 1), box-shadow 0.35s ease;
}

.hero-adm__seal::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.9;
}

.hero-adm__seal:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow:
    0 4px 0 rgba(255, 193, 7, 0.45),
    0 24px 56px -14px rgba(10, 29, 68, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.hero-adm__seal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 0.45rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent) 0%, #e6ac00 100%);
  color: var(--seal-navy);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.45);
}

.hero-adm__seal-icon svg {
  width: 18px;
  height: 18px;
}

.hero-adm__seal-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--periwinkle-mid);
}

.hero-adm__seal-title {
  margin: 0;
  font-size: clamp(0.88rem, 1.35vw, 1.02rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--seal-navy);
}

.hero-adm__seal-sub {
  margin: 0.15rem 0 0;
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(10, 29, 68, 0.72);
}

.hero-adm__seal-line {
  display: block;
  width: 44px;
  height: 3px;
  margin: 0.65rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

@media (prefers-reduced-motion: reduce) {
  .hero-adm__seal,
  .hero-adm__seal:hover {
    transition: none;
  }

  .hero-adm__seal {
    transform: none;
  }

  @media (max-width: 900px) {
    .hero-adm__seal {
      transform: translateX(50%);
    }

    .hero-adm__seal:hover {
      transform: translateX(50%);
    }
  }
}

@media (max-width: 900px) {
  .hero-adm__split {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero-adm__left {
    clip-path: none;
    margin-right: 0;
    padding: clamp(1.75rem, 5vw, 2.5rem) clamp(1.25rem, 4vw, 1.75rem) clamp(2rem, 5vw, 2.75rem);
    text-align: center;
    justify-content: center;
  }

  .hero-adm__left::after {
    clip-path: none;
  }

  /* Full-bleed yellow would be fully covered by navy; use soft gold rim toward image below */
  .hero-adm__left::before {
    display: none;
  }

  .hero-adm__left {
    box-shadow: 0 20px 50px -24px rgba(255, 193, 7, 0.42);
  }

  .hero-adm__edge {
    display: none;
  }

  .hero-adm__left-inner {
    max-width: min(36rem, 100%);
    margin-inline: auto;
  }

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

  .hero-adm__badge {
    transform-origin: center center;
  }

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

  .hero-adm__title-visual {
    align-items: center;
  }

  .hero-adm__sub-block {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-adm__features {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .hero-adm__actions {
    justify-content: center;
  }

  .hero-adm__right {
    min-height: clamp(280px, 42vw, 380px);
    padding: 0;
  }

  .hero-adm__photo {
    object-position: center 18%;
    transform: scale(1.03);
    /* Softer vertical blend under stacked hero copy */
    mask-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.92) 0%,
      #000 18%,
      #000 100%
    );
    -webkit-mask-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.92) 0%,
      #000 18%,
      #000 100%
    );
  }

  .hero-adm__seal {
    right: 50%;
    transform: translateX(50%) rotate(-2deg);
    bottom: 16px;
  }

  .hero-adm__seal:hover {
    transform: translateX(50%) translateY(-5px) rotate(0deg);
  }
}

@media (max-width: 560px) {
  .hero-adm__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: unset;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
  }

  .hero-adm__feature::after {
    display: none;
  }

  .hero-adm__feature {
    padding: 0.85rem 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-adm__feature:nth-child(2n) {
    border-right: none;
  }

  .hero-adm__feature:nth-child(n + 3) {
    border-bottom: none;
  }

  .hero-adm__feature:last-child:nth-child(3) {
    grid-column: 1 / -1;
    border-right: none;
  }

  .hero-adm__right {
    min-height: 260px;
  }

  .hero-adm__photo {
    object-position: center 15%;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-adm__badge {
    transform: none;
  }

  .hero-adm__left::before {
    animation: none;
    transform: translate3d(12px, 5px, 0) scale(1.02);
  }

  .hero-adm__feature,
  .hero-adm__feature:hover {
    transition: none;
    transform: none;
  }
}

/* Ribbon */
.ribbon {
  background: var(--surface);
  border-bottom: 1px solid var(--surface-2);
  padding: 14px 0;
}

.ribbon__track {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-mid);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(10, 29, 68, 0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ribbon__item:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.2);
}

.ribbon__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* In-page links land below sticky header */
#about,
#why-us,
#courses,
#contact {
  scroll-margin-top: var(--section-scroll-margin);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.25rem) 0;
}

.section__eyebrow {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.7rem;
  padding: 0.42rem 1.15rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.3;
  color: var(--accent);
  background: linear-gradient(165deg, #173a7a 0%, var(--navy-mid) 45%, var(--navy) 100%);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 3px 14px rgba(10, 29, 68, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.section__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

.section__sub {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2rem, 5vw, 2.75rem);
}

.section__head--left {
  text-align: left;
  margin-left: 0;
}

/* About — photo mosaic (left) + story & counters (right) */
.section--about {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
}

.about-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(1.75rem, 4.5vw, 3rem);
  align-items: center;
  width: 100%;
}

.about-showcase__visual {
  min-width: 0;
}

.about-showcase__mosaic {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  min-height: clamp(360px, 42vw, 520px);
  padding: 8px;
}

.about-showcase__frame {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 14px 36px rgba(10, 29, 68, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.65);
  position: relative;
  z-index: 1;
  background: var(--white);
}

.about-showcase__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.33, 1, 0.32, 1);
}

.about-showcase__frame:hover img {
  transform: scale(1.06);
}

.about-showcase__frame--1 {
  grid-column: 1;
  grid-row: 1 / 3;
  transform: rotate(-1.2deg);
}

.about-showcase__frame--2 {
  grid-column: 2;
  grid-row: 1;
  transform: rotate(1.5deg);
}

.about-showcase__frame--3 {
  grid-column: 2;
  grid-row: 2;
  transform: rotate(-0.8deg);
}

.about-showcase__blob {
  position: absolute;
  width: min(42%, 180px);
  aspect-ratio: 1;
  border-radius: 40% 60% 65% 35% / 45% 35% 65% 55%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  opacity: 0.85;
  right: -6%;
  top: 12%;
  z-index: 0;
}

.about-showcase__ring {
  position: absolute;
  width: 72px;
  height: 72px;
  border: 3px solid rgba(10, 29, 68, 0.35);
  border-radius: 50%;
  left: -4px;
  bottom: 22%;
  z-index: 2;
  pointer-events: none;
}

@media (hover: none) {
  .about-showcase__frame--1,
  .about-showcase__frame--2,
  .about-showcase__frame--3 {
    transform: none;
  }
}

.about-showcase__panel {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(1.65rem, 3.5vw, 2.45rem);
  border: 1px solid rgba(10, 29, 68, 0.08);
  box-shadow:
    0 4px 6px -1px rgba(10, 29, 68, 0.05),
    0 20px 48px -14px rgba(10, 29, 68, 0.12);
  min-width: 0;
}

.about-showcase__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0.35rem 0 0;
}

.about-showcase__lead {
  margin: 1rem 0 0;
  font-size: 0.97rem;
  line-height: 1.72;
  color: var(--muted);
}

.about-showcase__bullets {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.about-showcase__bullets li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.45;
}

.about-showcase__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25);
}

.about-showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.35rem;
}

.why-compact {
  margin-top: clamp(2rem, 5vw, 3rem);
}

/* Why us — trust panel */
.why-trust {
  background: var(--white);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(10, 29, 68, 0.08);
  box-shadow:
    0 4px 6px -1px rgba(10, 29, 68, 0.05),
    0 22px 50px -18px rgba(10, 29, 68, 0.12);
}

.why-trust__intro {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.why-trust__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  letter-spacing: -0.02em;
}

.why-trust__sub {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.why-trust__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 1.15rem 0 0;
}

.why-trust__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-mid);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(179, 198, 230, 0.65);
  padding: 6px 12px;
  border-radius: 999px;
}

.why-trust__grid {
  list-style: none;
  margin: clamp(1.75rem, 4vw, 2.35rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 20px);
}

.why-trust__card {
  position: relative;
  margin: 0;
  padding: 1.25rem 1.15rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(165deg, var(--white) 0%, var(--surface) 100%);
  border: 1px solid rgba(179, 198, 230, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition:
    transform 0.35s cubic-bezier(0.33, 1, 0.32, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.why-trust__card::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #ffe082 50%, var(--periwinkle) 100%);
  opacity: 0.92;
}

.why-trust__card:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 29, 68, 0.14);
  box-shadow: 0 16px 36px -20px rgba(10, 29, 68, 0.35);
}

.why-trust__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.why-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--white);
  color: var(--brand-mid);
  border: 1px solid rgba(10, 29, 68, 0.12);
  box-shadow: 0 6px 18px -8px rgba(10, 29, 68, 0.28);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.35, 0.64, 1),
    box-shadow 0.4s ease,
    border-color 0.35s ease,
    background 0.4s ease,
    color 0.35s ease;
}

.why-trust__icon svg {
  width: 26px;
  height: 26px;
  transition: transform 0.55s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.why-trust__card:hover .why-trust__icon {
  transform: scale(1.06) rotate(-5deg);
  border-color: rgba(255, 193, 7, 0.55);
  background: linear-gradient(152deg, var(--white) 0%, rgba(255, 248, 225, 0.92) 100%);
  box-shadow:
    0 10px 28px -10px rgba(255, 193, 7, 0.45),
    0 4px 14px -6px rgba(10, 29, 68, 0.2);
  color: var(--navy);
}

.why-trust__card:hover .why-trust__icon svg {
  transform: translateY(-4px) scale(1.12);
}

.why-trust__index {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
  color: rgba(10, 29, 68, 0.18);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.35, 0.64, 1),
    color 0.4s ease,
    text-shadow 0.4s ease;
}

.why-trust__card:hover .why-trust__index {
  transform: scale(1.12) translateY(-2px);
  color: var(--accent);
  text-shadow: 0 2px 20px rgba(255, 193, 7, 0.35);
}

.why-trust__card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.why-trust__card-text {
  margin: 0.5rem 0 0;
  font-size: 0.86rem;
  line-height: 1.58;
  color: var(--muted);
}

.why-trust__foot {
  margin: 1.35rem 0 0;
  text-align: center;
}

.why-trust__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-mid);
  text-decoration: underline;
  text-decoration-color: rgba(10, 29, 68, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.why-trust__link:hover {
  color: var(--accent-hover);
  text-decoration-color: rgba(255, 193, 7, 0.55);
}

@media (max-width: 900px) {
  .why-trust__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .why-trust__card {
    padding: 1.35rem 1.25rem 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-trust__card {
    transition: none;
  }

  .why-trust__card:hover {
    transform: none;
  }

  .why-trust__icon,
  .why-trust__icon svg,
  .why-trust__index {
    transition: none;
  }

  .why-trust__card:hover .why-trust__icon,
  .why-trust__card:hover .why-trust__icon svg,
  .why-trust__card:hover .why-trust__index {
    transform: none;
    text-shadow: none;
  }
}

@media (max-width: 960px) {
  .about-showcase {
    grid-template-columns: 1fr;
  }

  .about-showcase__visual {
    order: -1;
    max-width: 560px;
    margin-inline: auto;
  }

  .about-showcase__mosaic {
    min-height: 380px;
  }
}

@media (max-width: 480px) {
  .about-showcase__mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
  }

  .about-showcase__frame--1 {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 200px;
    transform: none;
  }

  .about-showcase__frame--2 {
    grid-column: 1;
    grid-row: 2;
    min-height: 140px;
    transform: none;
  }

  .about-showcase__frame--3 {
    grid-column: 2;
    grid-row: 2;
    min-height: 140px;
    transform: none;
  }

  .about-showcase__blob,
  .about-showcase__ring {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-showcase__frame img {
    transition: none;
  }

  .about-showcase__frame:hover img {
    transform: none;
  }
}

/* Courses — science lab layout */
.section--courses {
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, var(--periwinkle) 0%, var(--surface) 38%, var(--pale-2) 100%);
}

.section--courses::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 193, 7, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(255, 193, 7, 0.1) 0%, transparent 40%),
    radial-gradient(rgba(10, 29, 68, 0.055) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px;
  pointer-events: none;
}

.courses-lab {
  position: relative;
  z-index: 1;
}

.courses-lab__orbit {
  position: absolute;
  width: min(380px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(10, 29, 68, 0.1);
  border-radius: 50%;
  right: max(-8%, -48px);
  top: -6%;
  pointer-events: none;
}

.courses-lab__orbit::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px dashed rgba(10, 29, 68, 0.12);
  border-radius: 50%;
}

.courses-lab__head {
  position: relative;
  z-index: 1;
}

.courses-lab__title {
  letter-spacing: -0.02em;
}

.courses-lab__sub {
  max-width: 560px;
  margin-inline: auto;
}

.courses-lab__subjects {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.courses-lab__subjects li {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-mid);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 29, 68, 0.14);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.courses-lab__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 22px);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.course-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 26px 20px 22px;
  border: 1px solid rgba(10, 29, 68, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 36px -22px rgba(10, 29, 68, 0.35);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.33, 1, 0.32, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 29, 68, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 48px -18px rgba(10, 29, 68, 0.28);
}

.course-card__stripe {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
}

.course-card[data-science-track="foundation"] .course-card__stripe {
  background: linear-gradient(90deg, var(--periwinkle-mid), var(--navy));
}

.course-card[data-science-track="engineering"] .course-card__stripe {
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

.course-card[data-science-track="medical"] .course-card__stripe {
  background: linear-gradient(90deg, #ffe082, var(--accent));
}

.course-card[data-science-track="defence"] .course-card__stripe {
  background: linear-gradient(90deg, var(--accent-hover), #c49000);
}

.course-card[data-science-track="state"] .course-card__stripe {
  background: linear-gradient(90deg, var(--periwinkle), var(--navy-mid));
}

.course-card[data-science-track="talent"] .course-card__stripe {
  background: linear-gradient(90deg, var(--accent-hover), #c49000);
}

.course-card__label {
  display: block;
  margin: 0 0 12px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

.course-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: linear-gradient(145deg, rgba(179, 198, 230, 0.35), rgba(255, 193, 7, 0.12));
  color: var(--brand-mid);
  border: 1px solid rgba(10, 29, 68, 0.1);
}

.course-card[data-science-track="medical"] .course-card__icon {
  background: linear-gradient(145deg, rgba(255, 193, 7, 0.28), rgba(255, 193, 7, 0.1));
  color: #7a6200;
  border-color: rgba(255, 193, 7, 0.35);
}

.course-card[data-science-track="talent"] .course-card__icon {
  background: linear-gradient(145deg, rgba(255, 193, 7, 0.22), rgba(230, 172, 0, 0.1));
  color: #7a6200;
  border-color: rgba(230, 172, 0, 0.3);
}

.course-card__title {
  margin: 0 0 8px;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.course-card__desc {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--muted);
  flex-grow: 1;
  line-height: 1.58;
}

.course-card__cta {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--brand-mid);
  text-decoration: underline;
  text-decoration-color: rgba(10, 29, 68, 0.35);
  text-underline-offset: 3px;
  margin-top: auto;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.course-card__cta:hover {
  color: var(--accent-hover);
  text-decoration-color: rgba(255, 193, 7, 0.55);
}

@media (max-width: 960px) {
  .courses-lab__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-lab__orbit {
    opacity: 0.45;
  }
}

@media (max-width: 560px) {
  .courses-lab__grid {
    grid-template-columns: 1fr;
  }

  .courses-lab__subjects {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-card {
    transition: none;
  }

  .course-card:hover {
    transform: none;
  }
}

/* Stats */
.stats {
  background: var(--brand);
  color: var(--white);
  padding: 3rem 0 1.25rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats__value {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--accent);
}

.stats__label {
  margin: 6px 0 0;
  font-size: 0.9rem;
  opacity: 0.88;
}

.stats__note {
  margin: 1.25rem auto 0;
  font-size: 0.72rem;
  opacity: 0.55;
  text-align: center;
}

@media (max-width: 700px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Testimonials */
.section--testimonials {
  background: var(--surface);
}

.testimonials__viewport {
  overflow: hidden;
  margin: 0 -8px;
}

.testimonials__track {
  display: flex;
  transition: transform 0.4s ease;
}

.t-card {
  box-sizing: border-box;
  flex: 0 0 100%;
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(10, 29, 68, 0.07);
  box-shadow: var(--shadow-sm);
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.t-card__text {
  margin: 0 0 auto;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.t-card__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--surface-2);
}

.t-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(10, 29, 68, 0.15);
  color: var(--brand-mid);
}

.t-card__avatar--b {
  background: rgba(255, 193, 7, 0.28);
  color: #6b5200;
}

.t-card__avatar--c {
  background: rgba(10, 29, 68, 0.16);
  color: var(--brand-mid);
}

.t-card__name {
  margin: 0;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
}

.t-card__role {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 29, 68, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.dot.is-active {
  background: var(--accent);
  transform: scale(1.12);
}

@media (min-width: 900px) {
  .testimonials__track {
    gap: 20px;
    transform: none !important;
  }

  .t-card {
    flex: 1 1 0;
    min-width: 0;
  }

  .testimonials__dots {
    display: none;
  }
}

/* CTA */
.cta-band {
  padding: 0 20px 3.5rem;
}

.cta-band__inner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
  color: var(--white);
}

.cta-band__title {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
}

.cta-band__text {
  margin: 0;
  opacity: 0.9;
  max-width: 460px;
}

/* Contact */
.section--contact {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(2.75rem, 6.5vw, 4rem);
  background:
    linear-gradient(175deg, var(--surface) 0%, var(--white) 42%, var(--pale-2) 100%);
}

.section--contact::before {
  content: "";
  position: absolute;
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  right: -18%;
  top: -22%;
  background: radial-gradient(circle, rgba(10, 29, 68, 0.07) 0%, transparent 68%);
  pointer-events: none;
}

.section--contact::after {
  content: "";
  position: absolute;
  width: min(420px, 75vw);
  height: min(420px, 75vw);
  left: -14%;
  bottom: -28%;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.09) 0%, transparent 65%);
  pointer-events: none;
}

.contact__intro {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: clamp(1.75rem, 4.5vw, 2.75rem);
  margin-inline: auto;
  text-align: center;
}

.contact__heading {
  margin: 0.35rem 0 0;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  font-family: var(--font-display);
}

.contact__sub {
  margin: 0.85rem 0 0;
  font-size: clamp(0.92rem, 1.5vw, 1rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
}

.contact__trust {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}

.contact__trust-item {
  margin: 0;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-mid);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(10, 29, 68, 0.1);
  border-radius: 999px;
  box-shadow: 0 4px 14px -8px rgba(10, 29, 68, 0.2);
}

.contact__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(1.35rem, 3.5vw, 2.25rem);
  align-items: stretch;
}

.contact__form-panel {
  min-width: 0;
}

.contact__form-shell {
  position: relative;
  height: 100%;
  background: var(--white);
  border-radius: 24px;
  padding: clamp(1.5rem, 3.2vw, 2.1rem);
  border: 1px solid rgba(10, 29, 68, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 24px 56px -32px rgba(10, 29, 68, 0.38);
}

.contact__form-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 55%, rgba(255, 193, 7, 0.45) 100%);
  pointer-events: none;
}

.contact__form-head {
  margin-bottom: clamp(1.15rem, 2.5vw, 1.5rem);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(10, 29, 68, 0.08);
}

.contact__form-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-mid);
}

.contact__form-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.contact__form-lead {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 42ch;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.contact-form__field {
  display: grid;
  gap: 7px;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.contact-form__optional {
  font-weight: 600;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  border: 1px solid rgba(10, 29, 68, 0.14);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  padding: 11px 14px;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form textarea {
  resize: vertical;
  min-height: 112px;
  line-height: 1.5;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6b85' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: rgba(10, 29, 68, 0.22);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--ring);
}

.contact-form__submit {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  margin-top: 6px;
  padding-top: 13px;
  padding-bottom: 13px;
  border-radius: 12px;
  font-size: 0.92rem;
}

.contact__sidebar {
  min-width: 0;
}

.contact__direct {
  position: relative;
  height: 100%;
  padding: clamp(1.35rem, 2.8vw, 1.85rem);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(165deg, #0d2558 0%, var(--navy) 48%, #050d22 100%);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 0 rgba(255, 193, 7, 0.35),
    0 28px 60px -24px rgba(10, 29, 68, 0.55);
  display: flex;
  flex-direction: column;
}

.contact__direct-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  right: -60px;
  top: -80px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.22) 0%, transparent 70%);
  pointer-events: none;
  animation: contact-glow-drift 10s ease-in-out infinite;
}

@keyframes contact-glow-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-12px, 18px) scale(1.08);
    opacity: 0.85;
  }
}

.contact__direct-eyebrow {
  position: relative;
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 193, 7, 0.95);
}

.contact__direct-title {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.contact__direct-tag {
  position: relative;
  margin: 0.35rem 0 1.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.contact__channels {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact__channel {
  display: flex;
  gap: 12px;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.contact__channel:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact__channel-ic {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact__channel-body {
  min-width: 0;
}

.contact__channel-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(179, 198, 230, 0.95);
}

.contact__channel-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.contact__channel-text a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact__channel-text a:hover {
  color: var(--accent);
  border-bottom-color: rgba(255, 193, 7, 0.55);
}

.contact__channel-sep {
  opacity: 0.45;
  font-weight: 500;
}

.contact__channel-link {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact__channel-link:hover {
  opacity: 0.88;
}

.contact__wa {
  position: relative;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.22) 0%, rgba(10, 29, 68, 0.5) 100%);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.45);
}

.contact__wa:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.75);
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.35);
}

.contact__wa:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.contact__wa-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
}

.contact__wa-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact__wa-line {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact__wa-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.contact__wa-arrow {
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 700;
  opacity: 0.85;
}

@media (max-width: 960px) {
  .contact__shell {
    grid-template-columns: 1fr;
  }

  .contact__direct {
    min-height: 0;
  }
}

@media (max-width: 800px) {
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact__trust {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-inline: auto;
  }

  .contact__trust-item {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact__direct-glow {
    animation: none;
  }

  .contact__wa:hover {
    transform: none;
  }
}

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3rem;
}

.logo--footer .logo__img--footer {
  max-height: 64px;
  width: auto;
  max-width: min(320px, 92vw);
  object-fit: contain;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 2.5rem;
}

.footer-brand__text {
  margin: 14px 0 0;
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.82;
  max-width: 36ch;
}

.footer__h {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer__links a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  opacity: 0.65;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__legal a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
