* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Montserrat", Arial, sans-serif;
}

.whatsapp-float {
  --wa-green: #25d366;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1080;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--wa-green);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  isolation: isolate;
  transform-origin: 70% 100%;
  animation: waPorchKnock 5.2s cubic-bezier(0.34, 1.3, 0.64, 1) infinite;
}

.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, 0.45);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  animation: waDoorEcho 5.2s ease-out infinite;
}

.whatsapp-float::after {
  animation-delay: 0.42s;
}

.whatsapp-float i {
  display: inline-block;
  font-size: 1.35rem;
  line-height: 1;
  transform-origin: 50% 80%;
  animation: waHelloTilt 5.2s ease-in-out infinite;
}

.whatsapp-float span {
  letter-spacing: 0.02em;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #ffffff;
  animation-play-state: paused;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after,
.whatsapp-float:focus-visible::before,
.whatsapp-float:focus-visible::after,
.whatsapp-float:hover i,
.whatsapp-float:focus-visible i {
  animation-play-state: paused;
}

/* Classic double-knock on the house door â then a soft hello tilt. */
@keyframes waPorchKnock {
  0%,
  58%,
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  62% {
    transform: translateY(-10px) scale(1.045) rotate(-2deg);
  }

  66% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  70% {
    transform: translateY(-6px) scale(1.03) rotate(1.5deg);
  }

  74% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes waHelloTilt {
  0%,
  74%,
  100% {
    transform: rotate(0deg);
  }

  78% {
    transform: rotate(-18deg);
  }

  84% {
    transform: rotate(14deg);
  }

  90% {
    transform: rotate(-8deg);
  }

  96% {
    transform: rotate(0deg);
  }
}

@keyframes waDoorEcho {
  0%,
  60% {
    transform: scale(1);
    opacity: 0;
  }

  64% {
    opacity: 0.55;
  }

  86%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .whatsapp-float::before,
  .whatsapp-float::after,
  .whatsapp-float i {
    animation: none !important;
  }
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 1075;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: #243A8F;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #243A8F;
  color: #ffffff;
}

.scroll-top.is-waiting {
  transform: scale(0.92);
}

.scroll-top i {
  font-size: 1.25rem;
}

.consent-banner {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left));
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1090;
  width: min(40.5rem, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.15rem 1.2rem 1.2rem;
  background: #fffdf8;
  color: #243A8F;
  border: 1px solid rgba(36, 58, 143, 0.14);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(20, 28, 60, 0.22);
}

.consent-banner[hidden] {
  display: none !important;
}

.consent-banner::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #5B2D8B 0%, #c9a44a 50%, #243A8F 100%);
}

.consent-inner {
  display: grid;
  gap: 0.95rem;
}

.consent-kicker {
  margin: 0 0 0.28rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5B2D8B;
}

.consent-copy p:last-child {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(36, 58, 143, 0.82);
}

.consent-copy a {
  color: #243A8F;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.consent-btn {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  background: #243A8F;
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.consent-btn.ghost {
  background: transparent;
  border: 1px solid rgba(36, 58, 143, 0.28);
  color: #243A8F;
}

.consent-btn.solid {
  background: #5B2D8B;
}

body.is-consenting {
  --float-lift: 13.5rem;
}

body.is-consenting .whatsapp-float {
  bottom: calc(var(--float-lift) + 22px);
}

body.is-consenting .scroll-top {
  bottom: calc(var(--float-lift) + 86px);
}

@media (min-width: 720px) {
  .consent-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.15rem;
  }

  .consent-actions {
    justify-content: flex-end;
    max-width: 16.5rem;
  }

  body.is-consenting {
    --float-lift: 8.5rem;
  }
}

/* HOUSE CHROME */
.site-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  pointer-events: none;
}

.site-chrome > * {
  pointer-events: auto;
}

.scroll-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #5B2D8B, #ffffff);
  transition: width 0.12s linear;
}

.top-info-bar {
  position: relative;
  top: auto;
  left: auto;
  z-index: auto;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #1a2d73;
  color: #ffffff;
  padding: 0.42rem 1.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: none;
  pointer-events: auto;
}

.top-info-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  white-space: nowrap;
  color: #ffffff;
}

.top-info-left i {
  margin-right: 0.5rem;
  font-size: 1.1rem;
  color: #ffffff;
}

.top-info-center {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  min-width: 0;
  padding: 0 2rem;
}

.top-info-track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 18s linear infinite;
  color: #ffffff;
  font-weight: 600;
}

@keyframes marquee {
  from { transform: translateX(100%); }
  to   { transform: translateX(-100%); }
}

.top-info-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.top-info-right a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.top-info-right a:hover {
  color: #ffffff;
}

.house-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.62rem;
  font-weight: 700;
}

.house-pulse i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dce6a;
  box-shadow: 0 0 0 0 rgba(125, 206, 106, 0.55);
  animation: houseLamp 1.8s ease infinite;
}

.house-pulse.is-rest i {
  background: #c9b8a0;
  animation: none;
  box-shadow: none;
}

@keyframes houseLamp {
  70% { box-shadow: 0 0 0 8px rgba(125, 206, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 206, 106, 0); }
}

.house-clock {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

.nav-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.nav-wordmark strong {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.nav-wordmark small {
  margin-top: 0.18rem;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.navbar,
#mainNavbar.navbar {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  display: block;
  padding: 0;
  box-shadow: none;
  background: rgba(36, 58, 143, 0.22) !important;
  backdrop-filter: blur(16px);
  transform: none;
  pointer-events: auto;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

body.header-visible .top-info-bar,
body.header-visible #mainNavbar {
  transform: none;
  pointer-events: auto;
}

.navbar::after {
  display: none;
}

.navbar.scrolled,
body.is-scrolled #mainNavbar.navbar {
  background: #243A8F !important;
  box-shadow: 0 12px 32px rgba(16, 24, 64, 0.22);
}

.house-bar-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-toggler {
  display: none !important;
}

.house-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.32rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 16, 48, 0.18);
}

.nav-ink {
  position: absolute;
  top: 0.28rem;
  bottom: 0.28rem;
  left: 0.28rem;
  width: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
  transition: left 0.38s cubic-bezier(0.22, 1, 0.36, 1), width 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar .navbar-nav {
  align-items: center;
}

.navbar .nav-link,
.house-link,
.house-trigger {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 1.15rem;
  border: 0;
  background: transparent;
  color: #ffffff !important;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.house-link:hover,
.house-trigger:hover {
  color: #ffffff !important;
  transform: none;
}

.navbar .nav-link.is-current,
.house-link.is-current,
.house-trigger.is-current,
.navbar .nav-link.active {
  color: #ffffff !important;
  transform: none;
}

.house-link.is-current::after,
.house-trigger.is-current::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 4px;
  height: 2px;
  background: #f4d58d;
  pointer-events: none;
}

.nav-btn {
  background: #ffffff;
  color: #243A8F !important;
  transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 12px rgba(36, 58, 143, 0.25);
}
.nav-btn:hover {
  background: #5B2D8B;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.house-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.house-item,
.portal-dock {
  position: relative;
}

.house-panel,
.portal-panel {
  position: absolute;
  top: calc(100% + 14px);
  min-width: 280px;
  padding: 0.7rem;
  background: #fffdf8;
  border: 1px solid #e4dcc8;
  box-shadow: 0 22px 48px rgba(16, 24, 64, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  z-index: 20;
}

.house-panel {
  left: 50%;
  width: min(560px, 72vw);
  transform: translate(-50%, 8px);
}

.portal-panel {
  right: 0;
  min-width: 236px;
  display: grid;
  gap: 0.4rem;
}

.house-item.is-open .house-panel,
.house-item:hover .house-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.portal-dock.is-open .portal-panel,
.portal-dock:hover .portal-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.house-panel a,
.portal-panel a {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.9rem 0.95rem;
  color: #243A8F;
  text-decoration: none;
  border: 1px solid transparent;
}

.house-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.house-panel a:hover,
.portal-panel a:hover {
  background: rgba(36, 58, 143, 0.06);
  border-color: #e4dcc8;
}

.house-panel strong,
.portal-panel strong {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.house-panel span,
.portal-panel span {
  font-size: 0.72rem;
  color: #5b6573;
  letter-spacing: 0.04em;
}

.house-panel a:last-child {
  grid-column: 1 / -1;
}

.portal-trigger,
.house-apply {
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #ffffff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.house-apply {
  background: #ffffff;
  color: #243A8F !important;
  border-color: #ffffff;
}

.house-apply:hover,
.portal-trigger:hover {
  background: #5B2D8B;
  border-color: #5B2D8B;
  color: #ffffff !important;
}

.navbar-collapse {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
  z-index: 1300;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, top 0.35s ease;
}

.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }

.menu-toggle.is-open span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

.classic-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background:
    radial-gradient(circle at top right, rgba(91, 45, 139, 0.28), transparent 36%),
    linear-gradient(160deg, #243A8F 0%, #1a2d73 58%, #5B2D8B 100%);
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: max(92px, calc(env(safe-area-inset-top) + 76px)) 20px max(24px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.classic-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.classic-menu-inner {
  width: min(560px, 100%);
  margin: 0 auto;
  padding-bottom: 12px;
}

.classic-menu-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.64rem;
  font-weight: 700;
}

.classic-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.classic-menu-nav > a,
.classic-menu-house-trigger {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-family: inherit;
  font-size: clamp(1.15rem, 5.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: left;
  padding: 0.55rem 0.7rem 0.55rem 0.15rem;
  transform: translateY(12px);
  opacity: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid transparent;
  background: transparent;
  cursor: pointer;
}

.classic-menu-wing {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.classic-menu-house-trigger {
  align-items: center;
  border-bottom-color: transparent;
}

.classic-menu-house-trigger::after {
  content: "";
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: auto;
  margin-bottom: 0.2rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.classic-menu-wing.is-open .classic-menu-house-trigger::after {
  margin-bottom: 0;
  margin-top: 0.35rem;
  transform: rotate(-135deg);
}

.classic-menu-panel {
  display: grid;
  gap: 0.4rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 0.15rem;
  pointer-events: none;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.classic-menu-wing.is-open .classic-menu-panel {
  max-height: 32rem;
  opacity: 1;
  padding: 0.15rem 0.15rem 0.85rem;
  pointer-events: auto;
}

.classic-menu-panel a {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.75rem 0.85rem;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.classic-menu-panel a:hover,
.classic-menu-panel a.is-current {
  background: rgba(255, 255, 255, 0.14);
  border-color: #f4d58d;
}

.classic-menu-panel strong {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.classic-menu-panel span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.68);
}

.classic-menu.is-open .classic-menu-nav > a,
.classic-menu.is-open .classic-menu-house-trigger {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.classic-menu.is-open .classic-menu-nav > a:nth-of-type(1) { transition-delay: 0.04s; }
.classic-menu.is-open .classic-menu-nav > a:nth-of-type(2) { transition-delay: 0.08s; }
.classic-menu.is-open .classic-menu-nav > a:nth-of-type(3) { transition-delay: 0.12s; }
.classic-menu.is-open .classic-menu-house-trigger { transition-delay: 0.16s; }
.classic-menu.is-open .classic-menu-nav > a:nth-of-type(4) { transition-delay: 0.2s; }
.classic-menu.is-open .classic-menu-nav > a:nth-of-type(5) { transition-delay: 0.24s; }

.classic-menu-nav > a > span,
.classic-menu-house-trigger > span {
  flex: 0 0 1.7rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
}

.classic-menu-nav > a:hover,
.classic-menu-house-trigger:hover {
  color: #ffffff;
}

.classic-menu-nav > a.is-current,
.classic-menu-wing.is-current .classic-menu-house-trigger {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #f4d58d;
}

.classic-menu-nav > a.is-current > span,
.classic-menu-wing.is-current .classic-menu-house-trigger > span {
  color: #f4d58d;
}

.classic-menu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.classic-menu-foot a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
}

.classic-menu-foot .nav-btn {
  color: #243A8F !important;
}

.classic-menu-foot .nav-btn:hover {
  color: #ffffff !important;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-chrome {
  z-index: 1300;
}

body.menu-open #mainNavbar {
  z-index: 1300;
  background-color: transparent !important;
  box-shadow: none;
}

body.menu-open #mainNavbar::after {
  display: none;
}

body.menu-open .whatsapp-float,
body.menu-open .scroll-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1180px) {
  .nav-wordmark {
    display: none;
  }

  .house-link,
  .house-trigger {
    padding: 0 0.85rem;
    letter-spacing: 0.08em;
  }

  .house-nav {
    gap: 0.35rem;
  }
}

@media (max-width: 1099.98px) {
  .house-nav,
  .house-actions,
  .nav-wordmark,
  .top-info-right {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .house-bar-inner {
    min-height: 64px;
    width: min(1180px, calc(100% - 1.2rem));
  }

  .nav-logo img {
    height: 46px;
  }

  .house-link.is-current::after,
  .house-trigger.is-current::after {
    display: none;
  }
}

/* HERO SECTION */
.hero h1,
.hero p {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero {
  min-height: 100vh;
  padding-top: 0;
  isolation: isolate;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  max-width: 100%;
}

.hero-carousel .carousel-inner {
  height: 100%;
  position: relative;
}

.hero-carousel .carousel-item {
  display: block;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  margin-right: 0;
  float: none;
  overflow: hidden;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 1.2s ease-in-out;
}

.hero-carousel .carousel-item.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-carousel .carousel-item-next,
.hero-carousel .carousel-item-prev,
.hero-carousel .carousel-item-start,
.hero-carousel .carousel-item-end {
  transform: none;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
  will-change: transform, filter;
}

/* =========================================================
   HERO PAGE-LOAD ANIMATION
========================================================= */

/* Hero starts slightly hidden */
.hero {
  animation: heroReveal 1.2s ease-out both;
}


/* Background image slides/zooms into position */
.hero-carousel .carousel-item.active .hero-slide-image {
  animation: heroKenBurns 8.8s ease-out forwards;
}


/* Dark overlay fades in */
.hero-overlay {
  animation: heroOverlayReveal 1.2s ease-out both;
}


.hero-content h1,
.hero-content p,
.hero-content a {
  opacity: 0;
}

.carousel-item.active .hero-content h1 {
  animation: heroTextReveal 0.85s ease-out both;
}

.carousel-item.active .hero-content p {
  animation: heroTextReveal 0.85s ease-out 0.12s both;
}

.carousel-item.active .hero-content a {
  animation: heroTextReveal 0.85s ease-out 0.24s both;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroReveal {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}


@keyframes heroImageReveal {

  from {
    opacity: 0;
    transform: scale(1.08) translateX(35px);
  }

  to {
    opacity: 1;
    transform: scale(1.05) translateX(0);
  }

}


@keyframes heroOverlayReveal {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}


@keyframes heroContentReveal {

  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}


@keyframes heroTextReveal {

  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}
@keyframes heroKenBurns {
  0% {
    transform: scale(1.05);
    filter: saturate(102%);
  }

  100% {
    transform: scale(1.14);
    filter: saturate(108%);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 35, 58, 0.5) 0%, rgba(12, 35, 58, 0.72) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: none;
  padding: 40px 1.25rem 0;
  pointer-events: none;
}

.hero-content h1,
.hero-content p {
  max-width: 760px;
}

.hero-content a {
  pointer-events: auto;
}

.hero-indicators {
  display: none;
}

.hero-indicators [data-bs-target] {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
}

@media (max-width: 768px) {
  .hero {
    min-height: 88vh;
  }

  .hero-carousel .carousel-item.active .hero-slide-image {
    animation: heroKenBurnsMobile 8.8s ease-out forwards;
  }

  @keyframes heroKenBurnsMobile {
    0% {
      transform: scale(1.02);
      filter: saturate(102%);
    }

    100% {
      transform: scale(1.08);
      filter: saturate(106%);
    }
  }

  .hero-content img {
    width: 150px !important;
  }

  .hero-indicators {
    margin-bottom: 0.75rem;
  }
}

/* =========================================================
   SCHOOL VALUES SECTION
========================================================= */

.school-values {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(5, 1fr);

  background: #ffffff;

  border-top: 1px solid #e5e5e5;
}


/* ---------------------------------------------------------
   INDIVIDUAL CARD
--------------------------------------------------------- */

.value-card {
  position: relative;

  min-height: 390px;

  padding: 58px 30px 50px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  text-align: center;

  background: #ffffff;

  border-right: 2px solid #dedede;

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}


/* Remove border from final card */

.value-card:last-child {
  border-right: none;
}


/* ---------------------------------------------------------
   SMALL GOLD TOP ACCENT
--------------------------------------------------------- */

.value-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 50%;

  width: 0;
  height: 3px;

  background: #243A8F;

  transform: translateX(-50%);

  transition: width 0.35s ease;
}


/* ---------------------------------------------------------
   ICON
--------------------------------------------------------- */

.value-icon {
  position: relative;

  width: 82px;
  height: 82px;

  margin-bottom: 27px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #243A8F;

  font-size: 52px;

  line-height: 1;

  transition:
    transform 0.35s ease,
    color 0.35s ease;
}


/* Small gold detail beneath icon */

.value-icon::after {
  content: "";

  position: absolute;

  bottom: -10px;
  left: 50%;

  width: 32px;
  height: 3px;

  background: #243A8F;

  transform: translateX(-50%);

  border-radius: 10px;
}

.christ-icon {
  position: relative;
  color: #243A8F;
}

.christ-icon .cross-symbol {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -55%);

  color: #ffffff;

  font-size: 27px;
  font-weight: 900;

  line-height: 1;

  z-index: 2;
}

/* ---------------------------------------------------------
   HEADING
--------------------------------------------------------- */

.value-content h3 {
  margin: 0 0 19px;

  color: #243A8F;

  font-family: "Montserrat", Arial, sans-serif;

  font-size: 17px;

  font-weight: 700;

  line-height: 1.4;

  letter-spacing: 1px;
}


/* ---------------------------------------------------------
   DESCRIPTION
--------------------------------------------------------- */

.value-content p {
  max-width: 225px;

  margin: 0 auto;

  color: #555b63;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 14px;

  font-weight: 400;

  line-height: 1.85;
}


/* ---------------------------------------------------------
   HOVER EFFECT
--------------------------------------------------------- */

.value-card:hover {
  background: #fcfcfc;

  transform: translateY(-5px);

  box-shadow:
    0 15px 35px rgba(36, 58, 143, 0.10);

  z-index: 2;
}


.value-card:hover::before {
  width: 70px;
}


.value-card:hover .value-icon {
  color: rgb(23, 108, 254);

  transform:
    translateY(-5px)
    scale(1.05);
}


/* =========================================================
   IMPACT SECTION
========================================================= */

.impact-section {
  position: relative;

  min-height: 390px;

  display: flex;

  align-items: center;

  padding: 75px 9%;

  overflow: hidden;

  background-image:
    url("../Image/nur_pri.jpg");

  background-size: cover;

  background-position: center;
}


/* ---------------------------------------------------------
   BLUE OVERLAY
--------------------------------------------------------- */

.impact-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(7, 27, 53, 0.94) 0%,
      rgba(7, 27, 53, 0.86) 45%,
      rgba(7, 27, 53, 0.70) 100%
    );
}


/* ---------------------------------------------------------
   CONTENT
--------------------------------------------------------- */

.impact-content {
  position: relative;

  z-index: 2;

  max-width: 720px;

  color: #ffffff;
}


/* Small title */

.impact-small-title {
  display: inline-block;

  margin-bottom: 13px;

  color: #ffffff;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 3px;
}


/* Main heading */

.impact-content h2 {
  margin: 0 0 22px;

  color: #ffffff;

  font-family: "Montserrat", Arial, sans-serif;

  font-size: clamp(30px, 4vw, 46px);

  font-weight: 700;

  line-height: 1.15;

  letter-spacing: 1px;
}


/* Paragraph */

.impact-content p {
  max-width: 620px;

  margin: 0 0 28px;

  color: rgba(255, 255, 255, 0.88);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 15px;

  line-height: 1.85;
}


/* ---------------------------------------------------------
   IMPACT BUTTON
--------------------------------------------------------- */

.impact-btn {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 12px 23px;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #243A8F,
      #5B2D8B
    );

  border-radius: 50px;

  text-decoration: none;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 1px;

  box-shadow:
    0 5px 15px rgba(36, 58, 143, 0.25);

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}


.impact-btn i {
  font-size: 15px;

  transition: transform 0.3s ease;
}


.impact-btn:hover {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #5B2D8B,
      #243A8F
    );

  transform: translateY(-2px);

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.20);
}


.impact-btn:hover i {
  transform: translateX(4px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  .school-values {
    grid-template-columns: repeat(3, 1fr);
  }


  .value-card:nth-child(3) {
    border-right: none;
  }


  .value-card:nth-child(4),
  .value-card:nth-child(5) {
    border-top: 1px solid #dedede;
  }


  .value-card:nth-child(4) {
    border-right: 1px solid #dedede;
  }


  .value-card:nth-child(5) {
    border-right: none;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .school-values {
    grid-template-columns: 1fr;
  }


  .value-card {
    min-height: auto;

    padding:
      50px
      28px
      48px;

    border-right: none;

    border-bottom: 1px solid #dedede;
  }


  .value-card:nth-child(3),
  .value-card:nth-child(4) {
    border-right: none;
  }


  .value-card:nth-child(4),
  .value-card:nth-child(5) {
    border-top: none;
  }


  .value-card:last-child {
    border-bottom: none;
  }


  .value-icon {
    width: 75px;
    height: 75px;

    font-size: 48px;

    margin-bottom: 25px;
  }


  .value-content h3 {
    font-size: 16px;
  }


  .value-content p {
    max-width: 340px;

    font-size: 14px;
  }


  /* -----------------------------------------
     IMPACT SECTION
  ----------------------------------------- */

  .impact-section {
    min-height: 420px;

    padding:
      65px
      25px;
  }


  .impact-content {
    max-width: 100%;
  }


  .impact-small-title {
    font-size: 10px;

    letter-spacing: 2.5px;
  }


  .impact-content h2 {
    font-size: 31px;

    line-height: 1.2;
  }


  .impact-content p {
    font-size: 14px;

    line-height: 1.8;
  }


  .impact-btn {
    padding: 11px 20px;

    font-size: 11px;
  }

}

/* =========================================================
   EQUIPPING TODAY / IMPACTING TOMORROW
========================================================= */

.equipping-section {
  width: 100%;

  padding: 7px 1%;

  background: #ffffff;
}


/* ---------------------------------------------------------
   MAIN CONTAINER
--------------------------------------------------------- */
.equipping-container {
  position: relative;

  width: 100%;
  max-width: 1400px;

  min-height: 500px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: 48% 52%;

  background: linear-gradient(
    135deg,
    #102c55,
    #071a35
  );

  overflow: hidden;

  box-shadow:
    0 15px 40px rgba(7, 27, 53, 0.18);

  /* shallow curved bottom */
  border-radius:
    0 0 50% 50% /
    0 0 7% 7%;
}


/* =========================================================
   IMAGE
========================================================= */

.equipping-image {
  position: relative;

  min-height: 500px;
  height: 100%;
  align-self: stretch;

  overflow: hidden;

  background-image: url("../Image/ball_pics.jpg?v=20260821");
  background-size: cover;
  background-position: center;
}


.equipping-image::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(7, 27, 53, 0.05),
      rgba(7, 27, 53, 0.35)
    );
}


.equipping-image img {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
  min-height: 500px;

  display: block;

  object-fit: cover;
  object-position: center;

  z-index: 0;

  transition:
    transform 0.8s ease;
}


.equipping-container:hover
.equipping-image img {
  transform: scale(1.04);
}


/* =========================================================
   CONTENT
========================================================= */

.equipping-content {
  position: relative;

  padding: 65px 55px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  color: #ffffff;
}


/* Decorative gold line */

.equipping-content::before {
  content: "";

  position: absolute;

  top: 0;
  right: 0;

  width: 80px;
  height: 4px;

  background: #243A8F;
}


/* ---------------------------------------------------------
   SMALL LABEL
--------------------------------------------------------- */

.section-label {
  display: inline-block;

  margin-bottom: 15px;

  color: #ffffff;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 3px;
}


/* ---------------------------------------------------------
   HEADING
--------------------------------------------------------- */

.equipping-content h2 {
  margin: 0 0 20px;

  color: #ffffff;

  font-family: "Montserrat", Arial, sans-serif;

  font-size: clamp(30px, 3vw, 43px);

  font-weight: 700;

  line-height: 1.15;

  letter-spacing: 1px;
}


/* ---------------------------------------------------------
   DESCRIPTION
--------------------------------------------------------- */

.equipping-description {
  max-width: 560px;

  margin: 0 0 35px;

  color:
    rgba(255, 255, 255, 0.88);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 14px;

  line-height: 1.8;
}


/* =========================================================
   STATISTICS
========================================================= */

.school-stats {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  width: 100%;

  border-top:
    1px solid rgba(255, 255, 255, 0.25);

  border-bottom:
    1px solid rgba(255, 255, 255, 0.25);
}


/* Individual stat */

.school-stat {
  min-height: 100px;

  padding: 18px 12px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  border-right:
    1px solid rgba(255, 255, 255, 0.22);
}


.school-stat:last-child {
  border-right: none;
}


/* Number */

.school-stat strong {
  display: block;

  margin-bottom: 8px;

  color: #ffffff;

  font-family: "Montserrat", Arial, sans-serif;

  font-size: 20px;

  font-weight: 700;

  line-height: 1;
}


/* Label */

.school-stat span {
  color:
    rgba(255, 255, 255, 0.85);

  font-size: 9px;

  font-weight: 700;

  line-height: 1.4;

  letter-spacing: 0.8px;
}


/* =========================================================
   SCRIPTURE STRIP
========================================================= */

.scripture-strip {
  width: 100%;

  min-height: 130px;

  padding: 35px 20px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  background: #ffffff;
}


.scripture-strip p {
  margin: 0 0 7px;

  color: #182944;

  font-family: "Montserrat", Arial, sans-serif;

  font-size: clamp(17px, 2vw, 23px);

  font-style: italic;

  line-height: 1.5;
}


.scripture-strip span {
  color: #777777;

  font-family: "Montserrat", Arial, sans-serif;

  font-size: 13px;

  font-style: italic;
}


/* Gold decorative lines */

.scripture-line {
  width: 45px;

  height: 2px;

  margin: 7px 0;

  background: #243A8F;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .equipping-section {
    padding: 60px 4%;
  }


  .equipping-container {
    grid-template-columns:
      1fr 1fr;
  }


  .equipping-content {
    padding: 45px 35px;
  }


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


  .school-stat:nth-child(2) {
    border-right: none;
  }


  .school-stat:nth-child(1),
  .school-stat:nth-child(2) {
    border-bottom:
      1px solid rgba(255, 255, 255, 0.22);
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .equipping-section {
    padding: 40px 20px;
  }


  .equipping-container {
    display: flex;

    flex-direction: column;
  }


  .equipping-image {
    min-height: 280px;

    height: 280px;
  }


  .equipping-content {
    padding: 45px 25px;
  }


  .equipping-content h2 {
    font-size: 31px;
  }


  .equipping-description {
    font-size: 14px;

    margin-bottom: 30px;
  }


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


  .school-stat {
    min-height: 95px;
  }


  .school-stat:nth-child(2) {
    border-right: none;
  }


  .school-stat:nth-child(1),
  .school-stat:nth-child(2) {
    border-bottom:
      1px solid rgba(255, 255, 255, 0.22);
  }


  .school-stat strong {
    font-size: 18px;
  }


  .school-stat span {
    font-size: 8px;
  }


  .scripture-strip {
    padding: 30px 20px;

    min-height: 140px;
  }


  .scripture-strip p {
    font-size: 17px;
  }

}

/* =========================================================
   SCHOOL LIFE / FACILITIES SECTION
========================================================= */

.school-life-section {
  background: #f8f9fc;
  padding: 100px 0;
  position: relative;
}


/* =========================================================
   SECTION INTRO
========================================================= */

.school-section-heading {
  max-width: 760px;
  margin: 0 auto 70px;
}

.school-section-heading .section-label {
  display: inline-block;

  color: #243A8F;

  font-size: 0.8rem;

  font-weight: 800;

  letter-spacing: 3px;

  margin-bottom: 12px;
}

.school-section-heading h2 {
  color: #0d1b2a;

  font-size: clamp(2rem, 4vw, 3.2rem);

  font-weight: 800;

  margin-bottom: 18px;
}

.school-section-heading p {
  color: #667085;

  font-size: 1.05rem;

  line-height: 1.8;

  margin: 0;
}



/* =========================================================
   INFORMATION BLOCK
========================================================= */

.school-info-block {
  margin-bottom: 100px;
}


.school-info-title {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 35px;
}


.title-icon {
  width: 58px;

  height: 58px;

  border-radius: 16px;

  background:
    rgba(23, 108, 254, 0.1);

  color: rgb(23, 108, 254);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.6rem;

  flex-shrink: 0;
}


.school-info-title span {
  display: block;

  color: rgb(23, 108, 254);

  font-size: 0.72rem;

  font-weight: 800;

  letter-spacing: 2px;

  margin-bottom: 5px;
}


.school-info-title h3 {
  margin: 0;

  color: #0d1b2a;

  font-size: clamp(1.8rem, 3vw, 2.5rem);

  font-weight: 800;
}



/* =========================================================
   FACILITIES
========================================================= */

.facility-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}


.facility-card {
  background: #ffffff;

  border-radius: 18px;

  padding: 30px 25px;

  border:
    1px solid rgba(13, 27, 42, 0.06);

  box-shadow:
    0 8px 25px rgba(13, 27, 42, 0.05);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.facility-card:hover {
  transform: translateY(-7px);

  box-shadow:
    0 15px 35px rgba(13, 27, 42, 0.1);
}


.facility-icon {
  width: 50px;

  height: 50px;

  border-radius: 14px;

  background:
    rgba(255, 255, 255, 0.18);

  color: #d28a13;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.35rem;

  margin-bottom: 20px;
}


.facility-card h4 {
  color: #0d1b2a;

  font-size: 1.1rem;

  font-weight: 750;

  margin-bottom: 10px;
}


.facility-card p {
  color: #667085;

  font-size: 0.9rem;

  line-height: 1.7;

  margin: 0;
}



/* =========================================================
   EXTRACURRICULAR ACTIVITIES
========================================================= */

.extracurricular-block {
  background: #0d1b2a;

  border-radius: 30px;

  padding: 60px;

  color: #ffffff;
}


.extracurricular-block
.school-info-title h3 {
  color: #ffffff;
}


.extracurricular-block
.school-info-title span {
  color: #ffffff;
}


.extracurricular-block
.title-icon {
  background:
    rgba(255, 255, 255, 0.15);

  color: #ffffff;
}


.activity-wrapper {
  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 60px;

  align-items: center;
}


.activity-intro h4 {
  color: #ffffff;

  font-size: 1.8rem;

  margin-bottom: 18px;

  font-weight: 750;
}


.activity-intro p {
  color:
    rgba(255, 255, 255, 0.72);

  line-height: 1.8;

  margin: 0;
}


.activity-list {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 12px;
}


.activity-item {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 14px 15px;

  border:
    1px solid rgba(255, 255, 255, 0.1);

  border-radius: 10px;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}


.activity-item:hover {
  background:
    rgba(255, 255, 255, 0.06);

  transform: translateX(4px);
}


.activity-item i {
  color: #ffffff;

  font-size: 1rem;
}


.activity-item span {
  font-size: 0.9rem;

  color:
    rgba(255, 255, 255, 0.88);
}



/* =========================================================
   CLUBS & SOCIETIES
========================================================= */

.clubs-block {
  margin-top: 100px;

  margin-bottom: 0;
}


.clubs-grid {
  display: grid;

  grid-template-columns:
    repeat(5, 1fr);

  gap: 16px;
}


.club-card {
  background: #ffffff;

  min-height: 145px;

  padding: 25px 15px;

  border-radius: 18px;

  border:
    1px solid rgba(13, 27, 42, 0.06);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  gap: 13px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.club-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 12px 30px rgba(13, 27, 42, 0.1);
}


.club-card i {
  font-size: 1.7rem;

  color: rgb(23, 108, 254);
}


.club-card span {
  color: #0d1b2a;

  font-weight: 650;

  font-size: 0.9rem;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

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


  .clubs-grid {
    grid-template-columns:
      repeat(3, 1fr);
  }


  .activity-wrapper {
    grid-template-columns: 1fr;

    gap: 35px;
  }

}


@media (max-width: 767px) {

  .school-life-section {
    padding: 70px 0;
  }


  .school-section-heading {
    margin-bottom: 50px;
  }


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


  .extracurricular-block {
    padding: 35px 22px;

    border-radius: 22px;
  }


  .activity-list {
    grid-template-columns: 1fr;
  }


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


  .club-card {
    min-height: 125px;
  }

}


@media (max-width: 450px) {

  .school-info-title {
    align-items: flex-start;
  }


  .title-icon {
    width: 50px;

    height: 50px;
  }


  .clubs-grid {
    gap: 12px;
  }


  .club-card {
    padding: 20px 10px;
  }


  .club-card span {
    font-size: 0.82rem;
  }

}

/* =========================================================
   FOOTER
========================================================= */

.main-footer {
  background: #243A8F;
  color: #ffffff;
  padding: 80px 0 0;
  position: relative;
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {
  display: grid;

  grid-template-columns:
    1.6fr
    0.8fr
    0.9fr
    1.2fr;

  gap: 60px;

  padding-bottom: 60px;
}


/* =========================================================
   SCHOOL ABOUT
========================================================= */

.footer-about {
  max-width: 350px;
}


.footer-logo {
  display: inline-block;

  margin-bottom: 22px;
}


.footer-logo img {
  width: 180px;

  height: auto;

  display: block;
}


.footer-about p {
  color:
    rgba(255, 255, 255, 0.65);

  font-size: 0.9rem;

  line-height: 1.8;

  margin-bottom: 25px;
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.footer-socials {
  display: flex;

  gap: 10px;
}


.footer-socials a {
  width: 40px;

  height: 40px;

  border-radius: 50%;

  background:
    rgba(255, 255, 255, 0.08);

  color: #ffffff;

  display: flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}


.footer-socials a:hover {
  background: #ffffff;

  color: #243A8F;

  transform: translateY(-3px);
}



/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h4 {
  color: #ffffff;

  font-size: 1rem;

  font-weight: 750;

  margin-bottom: 24px;

  position: relative;

  padding-bottom: 12px;
}


.footer-column h4::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 35px;

  height: 2px;

  background:
    #ffffff;
}


.footer-column ul {
  list-style: none;

  padding: 0;

  margin: 0;
}


.footer-column li {
  margin-bottom: 12px;
}


.footer-column li a {
  color:
    rgba(255, 255, 255, 0.62);

  text-decoration: none;

  font-size: 0.88rem;

  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
}


.footer-column li a:hover {
  color: #ffffff;

  padding-left: 5px;
}



/* =========================================================
   CONTACT
========================================================= */

.footer-contact-item {
  display: flex;

  align-items: flex-start;

  gap: 13px;

  margin-bottom: 20px;
}


.footer-contact-item i {
  color: #ffffff;

  font-size: 1rem;

  margin-top: 3px;

  flex-shrink: 0;
}


.footer-contact-item span,
.footer-contact-item a {
  color:
    rgba(255, 255, 255, 0.65);

  font-size: 0.88rem;

  line-height: 1.7;

  text-decoration: none;

  transition: color 0.3s ease;
}


.footer-contact-item a:hover {
  color: #ffffff;
}



/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-top: 12px;
  margin-left: calc(50% - 50vw);
  padding: 22px max(1.25rem, calc((100vw - 1140px) / 2)) 18px;
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px 28px;
  border-top: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
    #1a2d73;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #5B2D8B 0%, #ffffff 50%, #243A8F 100%);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.footer-copy {
  justify-self: start;
}

.footer-motto {
  justify-self: center;
  text-align: center;
}

.footer-motto span,
.footer-bottom .footer-motto {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

.footer-maker {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  text-decoration: none;
}

.footer-maker i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  clip-path: polygon(12% 0, 88% 0, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0 88%, 0 12%);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-maker span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-maker strong {
  display: block;
  margin-top: 0.12rem;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}



/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 991px) {

  .footer-main {
    grid-template-columns:
      1.5fr
      1fr
      1fr;

    gap: 45px;
  }

  .footer-about {
    grid-column: span 3;

    max-width: 550px;
  }

}


@media (max-width: 767px) {

  .main-footer {
    padding-top: 60px;
  }


  .footer-main {
    grid-template-columns: 1fr 1fr;

    gap: 40px 30px;

    padding-bottom: 45px;
  }


  .footer-about {
    grid-column: span 2;
  }


  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 22px 12px 16px;
    gap: 12px;
  }

  .footer-copy,
  .footer-maker {
    justify-self: center;
  }

}


@media (max-width: 450px) {

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


  .footer-about {
    grid-column: span 1;
  }


  .footer-logo img {
    width: 160px;
  }

}

.page-hero {
  min-height: 48vh;
  padding: 90px 1.25rem 80px;
  background:
    linear-gradient(135deg, #243A8F, #123a70);
  color: #ffffff;
  text-align: center;
}

.page-hero h1 {
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.page-wrap {
  padding: 80px 0;
}

.page-wrap h2 {
  color: #243A8F;
  font-weight: 800;
  margin: 2rem 0 1rem;
}

.page-wrap h2:first-child {
  margin-top: 0;
}

.page-wrap p,
.page-wrap li {
  color: #4a5568;
  line-height: 1.85;
  font-size: 1.02rem;
}

.page-wrap ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.page-wrap .page-cta {
  margin-top: 2rem;
}

body.inner-page .navbar {
  background-color: rgba(36, 58, 143, 0.94) !important;
}

.admission-intro {
  margin-bottom: 2.5rem;
}

.admission-form-shell {
  background: #f7f4ec;
  border: 1px solid #d7d0bf;
  box-shadow: 0 18px 40px rgba(36, 58, 143, 0.08);
  padding: 28px 28px 36px;
}

.admission-form-letterhead {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 20px;
  align-items: start;
  border-bottom: 3px double #243A8F;
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.admission-form-letterhead h2 {
  margin: 0 0 6px;
  color: #243A8F;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admission-form-letterhead p {
  margin: 0;
  color: #4a5568;
  font-size: 0.92rem;
  line-height: 1.6;
}

.admission-photo-box {
  width: 140px;
  height: 160px;
  border: 1px dashed #8b8373;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #6b7280;
  font-size: 0.78rem;
  padding: 10px;
}

.admission-photo-box i {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: #243A8F;
}

.admission-section {
  border: 1px solid #cfc6b2;
  background: #fffdf8;
  margin-bottom: 18px;
}

.admission-section h3 {
  margin: 0;
  padding: 10px 14px;
  background: #243A8F;
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

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

.admission-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #243A8F;
}

.admission-field input,
.admission-field select,
.admission-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #b7ae9b;
  background: transparent;
  border-radius: 0;
  padding: 8px 2px;
  color: #243A8F;
  outline: none;
}

.admission-field input:focus,
.admission-field select:focus,
.admission-field textarea:focus {
  border-bottom-color: rgb(23, 108, 254);
}

.admission-field textarea {
  min-height: 88px;
  resize: vertical;
  border: 1px solid #d7d0bf;
  padding: 10px;
  background: #ffffff;
}

.admission-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 16px 16px;
  color: #4a5568;
  font-size: 0.95rem;
}

.admission-check input {
  margin-top: 5px;
}

.admission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 8px;
}

.admission-note {
  font-size: 0.88rem;
  color: #6b7280;
  margin: 0;
}

.admission-success {
  display: none;
  border: 1px solid #b7e4c7;
  background: #ecfdf3;
  color: #166534;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.admission-success.show {
  display: block;
}

@media (max-width: 767px) {
  .admission-form-shell {
    padding: 18px 14px 24px;
  }

  .admission-form-letterhead,
  .admission-grid {
    grid-template-columns: 1fr;
  }

  .admission-photo-box {
    width: 100%;
    height: 130px;
  }
}

@media print {
  .top-info-bar,
  .navbar,
  .whatsapp-float,
  .scroll-top,
  .consent-banner,
  .main-footer,
  .admission-actions,
  .page-hero,
  .admission-intro {
    display: none !important;
  }

  body {
    background: #ffffff;
  }

  .admission-form-shell {
    box-shadow: none;
    border: none;
    padding: 0;
  }
}

.contact-page {
  background: #f4f0e6;
}

.contact-kicker {
  margin: 0 0 12px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #ffffff;
}

.contact-rule {
  width: 72px;
  height: 2px;
  margin: 22px auto 26px;
  background: #243A8F;
  box-shadow: 0 5px 0 #243A8F;
}

.contact-rule-left {
  margin-left: 0;
  margin-right: 0;
}

.contact-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
}

.contact-hero-media,
.contact-hero-shade {
  position: absolute;
  inset: 0;
}

.contact-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.contact-hero-shade {
  background:
    linear-gradient(180deg, rgba(36, 58, 143, 0.28) 0%, rgba(36, 58, 143, 0.72) 48%, rgba(36, 58, 143, 0.94) 100%);
}

.contact-hero-copy {
  position: relative;
  z-index: 2;
  width: min(780px, calc(100% - 48px));
  margin: 0 auto 88px;
  text-align: center;
}

.contact-hero h1 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(3.4rem, 9vw, 7rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 0.92;
}

.contact-lede {
  margin: 0 auto;
  max-width: 540px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: -58px auto 0;
  position: relative;
  z-index: 3;
  padding: 0 20px;
}

.contact-card {
  background: #fffdf8;
  border: 1px solid #e4dcc8;
  padding: 34px 28px 30px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 18px 40px rgba(36, 58, 143, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(36, 58, 143, 0.12);
  color: inherit;
}

.contact-card + .contact-card {
  border-left: 0;
}

.contact-card-num {
  display: block;
  margin-bottom: 18px;
  font-family: "Montserrat", Arial, sans-serif;
  font-style: italic;
  letter-spacing: 0.18em;
  color: #5B2D8B;
}

.contact-card i {
  font-size: 1.4rem;
  color: #243A8F;
}

.contact-card h2 {
  margin: 12px 0 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2rem;
  color: #243A8F;
}

.contact-card p {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #5b6573;
}

.contact-atelier {
  padding: 90px 20px 40px;
}

.contact-atelier-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-dossier,
.contact-letter {
  background: #fffdf8;
  border: 1px solid #e4dcc8;
}

.contact-dossier {
  padding: 46px 40px;
}

.contact-dossier h2,
.contact-letter h2,
.contact-map-caption h2,
.contact-close h2 {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: #243A8F;
  line-height: 1.1;
}

.contact-dossier-intro,
.contact-letter-note {
  font-family: "Montserrat", Arial, sans-serif;
  color: #5b6573;
  line-height: 1.8;
  margin: 0 0 28px;
}

.contact-meta {
  margin: 0;
  display: grid;
  gap: 22px;
}

.contact-meta div {
  padding-top: 16px;
  border-top: 1px solid #e4dcc8;
}

.contact-meta dt {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #243A8F;
  margin-bottom: 6px;
}

.contact-meta dd {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.55;
  color: #243044;
}

.contact-meta a {
  color: #243A8F;
  text-decoration: none;
}

.contact-letter {
  position: relative;
  padding: 46px 42px 42px;
}

.contact-letter-mark {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.18em;
  color: rgba(36, 58, 143, 0.08);
}

.contact-letter form,
.contact-letter label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-letter form {
  gap: 18px;
}

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

.contact-letter label {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #243A8F;
}

.contact-letter input,
.contact-letter select,
.contact-letter textarea {
  border: none;
  border-bottom: 1px solid #cfc6b2;
  background: transparent;
  border-radius: 0;
  padding: 10px 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.2rem;
  color: #243A8F;
  outline: none;
}

.contact-letter textarea {
  border: 1px solid #e4dcc8;
  padding: 12px;
  min-height: 140px;
  resize: vertical;
}

.contact-letter input:focus,
.contact-letter select:focus,
.contact-letter textarea:focus {
  border-color: #243A8F;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 8px;
  border: 1px solid #243A8F;
  background: #243A8F;
  color: #ffffff;
  padding: 14px 28px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: "Montserrat", Arial, sans-serif;
  cursor: pointer;
}

.contact-submit:hover {
  background: transparent;
  color: #243A8F;
}

.contact-success {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #cde7d4;
  background: #f3fbf6;
  color: #1b5e3b;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.9rem;
}

.contact-success.show {
  display: block;
}

.contact-map-block {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 420px;
}

.contact-map-caption {
  background: #243A8F;
  color: #ffffff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-map-caption h2,
.contact-close h2 {
  color: #ffffff;
}

.contact-map-caption p {
  font-family: "Montserrat", Arial, sans-serif;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.contact-map-link {
  margin-top: 18px;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: "Montserrat", Arial, sans-serif;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.contact-close {
  margin: 40px 20px 80px;
  padding: 72px 28px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(36, 58, 143, 0.55), rgba(36, 58, 143, 0.88)),
    url("../Image/founders.jpg") center / cover no-repeat;
  color: #ffffff;
}

.contact-close h2 {
  max-width: 640px;
  margin: 0 auto 28px;
}

.contact-close-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-close-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: "Montserrat", Arial, sans-serif;
}

.contact-close-actions a:first-child {
  background: #ffffff;
  color: #243A8F;
}

@media (max-width: 991px) {
  .contact-cards,
  .contact-atelier-grid,
  .contact-map-block,
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-card + .contact-card {
    border-left: 1px solid #e4dcc8;
  }

  .contact-hero {
    min-height: 68vh;
  }

  .contact-dossier,
  .contact-letter,
  .contact-map-caption {
    padding: 32px 24px;
  }
}

.classic-menu-doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 18px;
}

.classic-menu-doors a {
  padding: 0.62rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.classic-menu-doors a.is-current {
  background: rgba(255, 255, 255, 0.12);
  border-color: #f4d58d;
  color: #ffffff;
}

.classic-menu-foot {
  margin-top: 20px;
  padding-top: 16px;
}

@media (max-width: 480px) {
  .classic-menu {
    padding-left: 16px;
    padding-right: 16px;
  }

  .classic-menu-nav > a,
  .classic-menu-house-trigger {
    gap: 10px;
  }

  .classic-menu-doors {
    gap: 0.4rem;
  }
}

.page-hero {
  padding-top: 168px;
}

.hero-content {
  padding-top: 118px;
}

.grow-compass,
.house-path,
.join-path {
  padding: 72px 20px;
}

.grow-compass {
  background: #fffdf8;
}

.house-path {
  background: #f4f0e6;
}

.join-path {
  background: #f4f0e6;
  color: #ffffff;
  padding: 36px 16px 48px;
}

.grow-compass-inner,
.house-path-inner,
.join-path-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.grow-grid,
.house-path-grid,
.join-steps {
  display: grid;
  gap: 0;
}

.grow-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border: 1px solid #e4dcc8;
}

.grow-grid article {
  padding: 28px 22px;
  background: #fffdf8;
}

.grow-grid article + article {
  border-left: 1px solid #e4dcc8;
}

.grow-grid span,
.house-path-card em,
.join-steps em {
  display: block;
  margin-bottom: 10px;
  font-style: italic;
  letter-spacing: 0.18em;
  color: #5B2D8B;
  font-size: 0.78rem;
}

.grow-grid h3,
.house-path-card h3,
.join-steps h3 {
  margin: 0 0 8px;
  color: #243A8F;
  font-size: 1.45rem;
}

.grow-grid p,
.house-path-card p,
.join-steps p {
  margin: 0;
  color: #5b6573;
  line-height: 1.65;
}

.house-path-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  gap: 18px;
}

.house-path-card {
  display: block;
  background: #fffdf8;
  border: 1px solid #e4dcc8;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.house-path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(36, 58, 143, 0.12);
  color: inherit;
}

.house-path-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.house-path-card div {
  padding: 22px 22px 26px;
}

.join-path-clip {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 620px;
  padding: 88px 36px 72px;
  background: #243A8F;
  color: #ffffff;
  clip-path: polygon(8% 0, 92% 0, 100% 10%, 100% 88%, 50% 100%, 0 88%, 0 10%);
}

.join-path-media,
.join-path-draw {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.join-path-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.18;
  filter: grayscale(0.35) contrast(1.05);
}

.join-path-draw {
  z-index: 1;
  padding: 4% 6% 10%;
}

.join-path-draw path,
.join-path-draw circle {
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 1.35;
  stroke-linecap: square;
  stroke-linejoin: miter;
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.join-draw-roof { animation: joinStroke 2.1s ease forwards 0.1s; }
.join-draw-pediment { animation: joinStroke 1.6s ease forwards 0.45s; }
.join-draw-house { animation: joinStroke 2.2s ease forwards 0.75s; }
.join-draw-door { animation: joinStroke 1.4s ease forwards 1.35s; }
.join-draw-windows { animation: joinStroke 1.5s ease forwards 1.55s; }
.join-draw-path { animation: joinStroke 2.4s ease forwards 1.85s; }
.join-draw-node { animation: joinStroke 0.9s ease forwards 2.5s; }

@keyframes joinStroke {
  to { stroke-dashoffset: 0; }
}

.join-path-inner {
  position: relative;
  z-index: 2;
}

.join-path .section-label,
.join-path h2 {
  color: #ffffff;
}

.join-path .school-section-heading {
  margin-bottom: 36px;
}

.join-steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
}

.join-steps article {
  padding: 28px 22px 26px;
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  clip-path: polygon(12% 0, 88% 0, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0 88%, 0 12%);
}

.join-steps em {
  color: rgba(255, 255, 255, 0.72);
}

.join-steps h3,
.join-steps p {
  color: #ffffff;
}

.join-path-actions {
  margin-top: 36px;
}

.join-path-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 28px;
  background: #ffffff;
  color: #243A8F !important;
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
}

@media (max-width: 991px) {
  .grow-grid,
  .house-path-grid,
  .join-steps {
    grid-template-columns: 1fr;
  }

  .grow-grid article + article {
    border-left: 0;
    border-top: 1px solid #e4dcc8;
  }

  .join-path-clip {
    padding: 56px 20px 48px;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  }

  .join-steps article {
    padding: 22px 20px 20px;
  }
}

.home-journal {
  background: #fffdf8;
  padding: 72px 20px 64px;
  color: #5b6573;
}

.home-journal-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.home-journal .school-section-heading {
  margin-bottom: 36px;
}

.home-journal-feature,
.home-journal-panel {
  background: #ffffff;
  border: 1px solid #e4dcc8;
}

.home-journal-feature {
  margin: 0 0 24px;
  padding: 28px 26px 30px;
}

.home-journal-label {
  margin: 0 0 10px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5B2D8B;
}

.home-journal-feature h3,
.home-journal-panel h3 {
  margin: 0 0 10px;
  color: #243A8F;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-journal-feature p {
  margin: 0;
  max-width: 46rem;
  line-height: 1.7;
  color: #5b6573;
}

.home-journal-feature a,
.home-journal-panel a,
.home-journal-cta a {
  color: #243A8F;
  text-decoration: none;
}

.home-journal-feature a:hover,
.home-journal-panel a:hover,
.home-journal-cta a:hover {
  color: #5B2D8B;
  text-decoration: underline;
}

.home-journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  margin-top: 8px;
  border: 1px solid #e4dcc8;
  background: #ffffff;
}

.home-journal-panel {
  border: 0;
  border-right: 1px solid #e4dcc8;
  padding: 28px 22px 26px;
  background: transparent;
}

.home-journal-panel:last-child {
  border-right: 0;
}

.home-journal-panel ul {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.home-journal-panel li + li {
  border-top: 1px solid #efe9db;
}

.home-journal-panel li a {
  display: block;
  padding: 12px 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: #0d1b2a;
}

.home-journal-more {
  margin: 0;
}

.home-journal-more a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #243A8F;
}

.home-journal-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  margin: 36px 0 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8a8270;
}

.home-journal-cta span {
  color: #c4bba6;
}

@media (max-width: 991px) {
  .home-journal-grid {
    grid-template-columns: 1fr;
  }

  .home-journal-panel {
    border-right: 0;
    border-bottom: 1px solid #e4dcc8;
  }

  .home-journal-panel:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .join-path-draw path,
  .join-path-draw circle {
    stroke-dashoffset: 0;
    animation: none;
  }
}
.home-events-empty,
.events-empty {
  margin: 0;
  color: rgba(13, 27, 42, 0.6);
  line-height: 1.55;
}

.events-empty {
  text-align: center;
  padding: 1.5rem 0 0;
}

.home-events {
  background:
    radial-gradient(circle at 88% 12%, rgba(36, 58, 143, 0.08), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f7f4ee 100%);
  padding: 72px 20px;
}

.home-events-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.home-events-intro h2 {
  margin: 0.55rem 0 0.85rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #0d1b2a;
  max-width: 12ch;
}

.home-events-intro p {
  margin: 0 0 1.25rem;
  max-width: 34ch;
  color: rgba(13, 27, 42, 0.7);
  line-height: 1.65;
}

.home-events-all {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  background: #243a8f;
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.home-events-all:hover {
  background: #1a2d73;
  color: #fff;
}

.home-events-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(36, 58, 143, 0.16);
}

.home-events-list li {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(36, 58, 143, 0.16);
}

.home-events-list time {
  display: grid;
  color: #243a8f;
}

.home-events-list time span {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.home-events-list time small {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-events-list p {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(36, 58, 143, 0.72);
}

.home-events-list h3 {
  margin: 0 0 0.35rem;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d1b2a;
}

.home-events-list div > span:last-child {
  font-size: 0.82rem;
  color: rgba(13, 27, 42, 0.55);
}

@media (max-width: 860px) {
  .home-events-inner {
    grid-template-columns: 1fr;
  }
}
