#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px)
}

.header-inner {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.logo img {
  height: 80px;
  width: auto
}

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

.primary-nav a,
.nav-btn {
  border: 0;
  background: transparent;
  padding: 11px 13px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px
}

.primary-nav a:hover,
.nav-btn:hover,
.nav-current {
  background: var(--ice);
  color: var(--brand-700)
}

.has-menu {
  position: relative
}

.dropdown-menu-gsc {
  position: absolute;
  top: calc(100% + 12px);
  left: -100px;
  transform: translateX(-50%) translateY(8px);
  width: 840px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: #fff;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .2s
}

.dropdown-menu-gsc {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .3s ease;
}

.has-menu.open .dropdown-menu-gsc {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* .has-menu:hover .dropdown-menu-gsc,
.has-menu.open .dropdown-menu-gsc,
.has-menu:focus-within .dropdown-menu-gsc{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateX(-50%) translateY(0)
} */
.drop-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand);
  margin-bottom: 10px
}

.drop-col a {
  display: block;
  padding: 7px 0;
  background: none !important;
  transition: all .3s ease;
}

.drop-col a:hover {
  padding-left: 5px;
  color: var(--brand)
}

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

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--ice);
  color: var(--navy)
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(3, 24, 42, .55);
  opacity: 0;
  visibility: hidden;
  transition: .2s
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible
}

.mobile-panel {
  width: min(390px, 92vw);
  height: 100%;
  margin-left: auto;
  background: #fff;
  padding: 24px;
  transform: translateX(100%);
  transition: .25s;
  overflow: auto
}

.mobile-drawer.open .mobile-panel {
  transform: none
}

.mobile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px
}

.mobile-head img {
  height: 52px
}

.mobile-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--ice);
  font-size: 26px
}

.mobile-links {
  display: grid;
  gap: 5px;
  padding-top: 18px
}

.mobile-links a {
  padding: 12px;
  border-radius: 9px;
  font-weight: 700
}

.mobile-links a:hover,
.mobile-links .active {
  background: var(--ice);
  color: var(--brand)
}

.mobile-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  padding: 16px 12px 4px
}

.hero {
  padding: 86px 0 98px;
  background: linear-gradient(135deg, var(--navy), var(--brand-800));
  color: #fff
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center
}

.hero h1 {
  font-size: clamp(48px, 5vw, 67px);
  color: #fff
}

.hero p {
  font-size: 19px;
  color: rgba(255, 255, 255, .82);
  max-width: 720px
}

.hero .eyebrow {
  color: #a8d8f8
}

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

.hero-media {
  height: 470px;
  position: relative
}

.hero-media img {
  position: absolute;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .32);
  border: 5px solid rgba(255, 255, 255, .92)
}

.hero-media .a {
  width: 60%;
  height: 75%;
  right: 0;
  top: 0
}

.hero-media .b {
  width: 48%;
  height: 48%;
  left: 0;
  bottom: 0
}

.hero-media .c {
  width: 40%;
  height: 42%;
  right: 12%;
  bottom: 0
}

.page-hero {
  padding: 76px 0;
  background: linear-gradient(135deg, var(--navy), var(--brand-800));
  color: #fff
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
  gap: 68px;
  align-items: center
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 22px
}

.breadcrumbs a:hover {
  color: #fff
}

.page-hero .eyebrow {
  color: #a8d8f8
}

.page-hero h1 {
  font-size: clamp(42px, 4.4vw, 67px);
  color: #fff
}

.page-hero .lede {
  font-size: 19px;
  color: rgba(255, 255, 255, .82);
  max-width: 720px
}

.banner-image {
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .25)
}

.banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.section {
  padding: 92px 0
}

.section-white {
  background: #fff
}

.section-mist {
  background: var(--mist)
}

.section-blue {
  background: linear-gradient(135deg, #e6f2fa, #f5faff)
}

.section-dark {
  background: linear-gradient(135deg, var(--navy), var(--brand-800));
  color: #fff
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, .84)
}

.section-dark .eyebrow {
  color: #a8d8f8
}

.section-head {
  max-width: 820px;
  margin-bottom: 42px
}

.section-head h2 {
  font-size: clamp(34px, 3.3vw, 50px)
}

.section-head p {
  font-size: 18px;
  color: var(--muted)
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, .78)
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start
}

.section-title h2 {
  font-size: clamp(32px, 3vw, 46px)
}

.section-title:after {
  content: '';
  display: block;
  width: 70px;
  height: 5px;
  border-radius: 5px;
  background: var(--brand);
  margin-top: 22px
}

.content-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 40px;
  box-shadow: var(--shadow)
}

.section-dark .content-panel {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  box-shadow: none
}

.content-panel h3 {
  font-size: 24px;
  margin-top: 28px
}

.content-panel h3:first-child {
  margin-top: 0
}

.content-panel p:last-child {
  margin-bottom: 0
}

.notice {
  padding: 20px 22px;
  border-left: 5px solid var(--brand);
  background: var(--ice);
  border-radius: 0 14px 14px 0;
  margin-top: 24px
}

.section-dark .notice {
  background: rgba(255, 255, 255, .1);
  border-color: #9ad7fb;
  color: #fff
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 245px;
  transition: .22s
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg)
}

.card.dark {
  background: var(--navy);
  color: #fff;
  border-color: transparent
}

.card.brand {
  background: var(--brand);
  color: #fff;
  border-color: transparent
}

.card.dark h3,
.card.brand h3 {
  color: #fff
}

.card.dark p,
.card.brand p {
  color: rgba(255, 255, 255, .84)
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ice);
  color: var(--brand-700);
  font-weight: 900;
  margin-bottom: 20px
}

.card.dark .card-icon,
.card.brand .card-icon,
.section-dark .card-icon {
  background: #fff;
  color: var(--brand-800)
}

.card-link {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 800;
  color: var(--brand)
}

.card.dark .card-link,
.card.brand .card-link {
  color: #fff
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 20px
}

.check-grid li {
  position: relative;
  padding: 15px 16px 15px 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  min-height: 56px;
  display: flex;
  align-items: center
}

.check-grid li:before {
  content: '✓';
  position: absolute;
  left: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 900
}

.section-dark .check-grid li {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
  color: #fff
}

.section-dark .check-grid li:before {
  background: #fff;
  color: var(--brand-800)
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px
}

.meta-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--ice);
  border: 1px solid var(--line)
}

.meta-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 5px
}

.section-dark .meta-card {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .17)
}

.section-dark .meta-card strong {
  color: #fff
}

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

.step-card {
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px
}

.cta-band {
  padding: 58px 0;
  background: var(--brand);
  color: #fff
}

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(30px, 3vw, 44px)
}

.cta-band p {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 0
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px
}

.contact-info {
  background: linear-gradient(145deg, var(--navy), var(--brand-800));
  color: #fff;
  border-radius: 24px;
  padding: 38px
}

.contact-info h2,
.contact-info h3 {
  color: #fff
}

.contact-info p {
  color: rgba(255, 255, 255, .8)
}

.contact-item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15)
}

.contact-item:last-child {
  border: 0
}

.contact-item strong {
  display: block;
  color: #fff
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px;
  box-shadow: var(--shadow)
}

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

.field-full {
  grid-column: 1/-1
}

.form-label {
  font-weight: 700;
  color: var(--navy)
}

.form-control {
  min-height: 52px;
  border-radius: 12px;
  border-color: var(--line)
}

textarea.form-control {
  min-height: 160px
}

.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(21, 101, 168, .15)
}

footer {
  background: #061f36;
  color: rgba(255, 255, 255, .78);
  padding: 70px 0 28px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.footer-logo {
  height: 82px;
  width: auto;
  margin-bottom: 18px
}

.footer-col h6 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em
}

.footer-col li {
  margin-bottom: 9px
}

.footer-col a:hover {
  color: #fff
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  z-index: 900
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible
}

.coming-soon {
  max-width: 720px;
  margin: auto;
  text-align: center;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow)
}

@media(max-width:1100px) {
  .primary-nav {
    display: none
  }

  .mobile-menu-btn {
    display: block
  }

  .page-hero .wrap,
  .hero .wrap {
    grid-template-columns: 1fr
  }

  .banner-image {
    height: 310px
  }

  .hero-media {
    height: 390px
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .contact-layout {
    grid-template-columns: 1fr
  }

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

@media(max-width:700px) {

  .wrap,
  .header-inner {
    width: min(100% - 34px, var(--container))
  }

  .header-inner {
    min-height: 74px
  }

  .logo img {
    height: 52px
  }

  .header-actions .btn {
    display: none
  }

  .hero,
  .page-hero {
    padding: 58px 0
  }

  .hero h1,
  .page-hero h1 {
    font-size: 40px
  }

  .hero-media {
    height: 330px
  }

  .banner-image {
    height: 230px
  }

  .section {
    padding: 64px 0
  }

  .card-grid,
  .check-grid,
  .meta-grid,
  .steps-grid,
  .form-grid {
    grid-template-columns: 1fr
  }

  .content-panel,
  .contact-info,
  .contact-form {
    padding: 26px
  }

  .cta-band .wrap {
    flex-direction: column;
    align-items: flex-start
  }

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

/* ===== Final contrast and layout corrections ===== */
/* White or light cards inside dark sections must always use dark copy. */
.section-dark .card:not(.dark):not(.brand),
.section-dark .content-panel.light-panel,
.section-dark .meta-card.light-card,
.section-dark .step-card,
.section-dark .coming-soon {
  background: #fff;
  color: var(--text);
  border-color: rgba(11, 42, 71, .12);
}

.section-dark .card:not(.dark):not(.brand) h2,
.section-dark .card:not(.dark):not(.brand) h3,
.section-dark .card:not(.dark):not(.brand) h4,
.section-dark .card:not(.dark):not(.brand) strong,
.section-dark .content-panel.light-panel h2,
.section-dark .content-panel.light-panel h3,
.section-dark .content-panel.light-panel h4,
.section-dark .meta-card.light-card strong,
.section-dark .step-card h3,
.section-dark .step-card h4,
.section-dark .coming-soon h2,
.section-dark .coming-soon h3 {
  color: var(--navy);
}

.section-dark .card:not(.dark):not(.brand) p,
.section-dark .card:not(.dark):not(.brand) li,
.section-dark .content-panel.light-panel p,
.section-dark .content-panel.light-panel li,
.section-dark .meta-card.light-card,
.section-dark .step-card p,
.section-dark .coming-soon p {
  color: var(--muted);
}

/* Transparent panels on dark sections retain light copy. */
.section-dark .content-panel:not(.light-panel) {
  background: rgba(255, 255, 255, .09);
  color: #fff;
}

.section-dark .content-panel:not(.light-panel) h2,
.section-dark .content-panel:not(.light-panel) h3,
.section-dark .content-panel:not(.light-panel) h4,
.section-dark .content-panel:not(.light-panel) strong {
  color: #fff
}

.section-dark .content-panel:not(.light-panel) p,
.section-dark .content-panel:not(.light-panel) li {
  color: rgba(255, 255, 255, .86)
}

/* Card grids adapt to the actual card count and avoid stranded cards. */
.card-grid {
  align-items: stretch;
  grid-auto-rows: 1fr
}

.card-grid>.card {
  height: 100%;
  min-height: 0
}

.card-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 760px);
  justify-content: center
}

.card-grid:has(> :nth-child(2):last-child),
.card-grid:has(> :nth-child(4):last-child) {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.card-grid:has(> :nth-child(2):last-child) {
  max-width: 980px
}

/* Stronger hierarchy and predictable text measure on inner pages. */
.content-panel {
  max-width: 100%
}

.content-panel>p,
.content-panel>ul,
.content-panel>ol {
  max-width: 78ch
}

.section-title {
  max-width: 520px
}

.section-title .eyebrow {
  display: block;
  margin-bottom: 12px
}

.section-title h2 {
  line-height: 1.12
}

.card h3,
.step-card h3,
.meta-card strong {
  line-height: 1.28
}

.card p {
  max-width: 58ch
}

/* Icon contrast safety on every card background. */
.card.dark .card-icon,
.card.brand .card-icon,
.section-dark .card.dark .card-icon,
.section-dark .card.brand .card-icon {
  background: rgba(255, 255, 255, .96);
  color: var(--brand-800);
}

.section-dark .card:not(.dark):not(.brand) .card-icon {
  background: var(--ice);
  color: var(--brand-700);
}

/* Open Days */
.open-day-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px;
  text-align: center;
  border-radius: 26px;
  background: linear-gradient(145deg, var(--mist), #fff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.open-day-panel h2 {
  font-size: clamp(34px, 4vw, 52px);
  margin-top: 12px
}

.open-day-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px
}

@media(max-width:700px) {

  .card-grid:has(> :nth-child(2):last-child),
  .card-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: 1fr
  }

  .open-day-panel {
    padding: 34px 24px
  }

  .open-day-actions .btn {
    width: 100%;
    justify-content: center
  }
}

.cat-footer-social {
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cat-footer-social li {
  list-style: none;
}

.cat-footer-social a {
  width: 30px;
  height: 30px;
  display: inline-block;
  text-align: center;
  background: #fff;
  color: #303030;
  line-height: 30px;
  border-radius: 50%;
}

.partnership-inner {
  width: 200px;
}

@media (max-width: 768px) {
  .partnership-inner {
    margin: auto;
    margin-top: 20px;
  }
}

.supporter-logo img {
  width: 188px;
  height: 78px;
  object-fit: contain;
}

@media only screen and (max-width:575px) {
  .supporter-logo img {
    margin: 0 auto;
  }
}
.mx-100 {
  max-width: 100% !important;
}
.sec-privavy ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 18px;
}