/* ============ CRITICAL / INLINE CSS ============ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:root {
  --ink: #14212B;
  --pine: #2A7BAD;
  --pine-2: #4BA3D3;
  --sage: #6f8b9a;
  --cream: #EBF5FB;
  --paper: #FFFFFF;
  --gold: #B8272C;
  --gold-2: #DD8A8C;
  --line: rgba(20, 33, 43, .14);
  --shadow: 0 24px 60px -28px rgba(20, 33, 43, .45);
  --r: 20px;
}

html {
  scroll-behavior: smooth
}

/* ---- Anchor-scroll offset so sticky urgency bar never overlaps a jumped-to section,
   and the hero logo stays in view when jumping to the in-hero enquiry form ---- */
:root {
  --anchor-offset: 64px;
}

#form-midpage,
#form-footer {
  scroll-margin-top: var(--anchor-offset)
}

#enquire {
  scroll-margin-top: calc(var(--anchor-offset) + 96px)
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.01em
}

::selection {
  background: var(--gold);
  color: #fff
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px
}

.eyebrow {
  font-family: 'Poppins';
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 9px
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--gold)
}

.section {
  padding: 84px 0;
  position: relative
}

.lead {
  font-size: 17px;
  color: #3A4F5E;
  max-width: 640px
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Poppins';
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, background-color .35s, color .35s;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px
}

.btn-gold {
  background: var(--gold);
  color: #FFFFFF;
  box-shadow: 0 14px 30px -12px rgba(184, 39, 44, .75)
}

.btn-gold:hover {
  transform: translateY(-3px);
  background: var(--gold-2);
  box-shadow: 0 22px 40px -14px rgba(184, 39, 44, .85)
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55)
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-3px);
  border-color: #fff
}

.btn-ink {
  background: var(--pine);
  color: #fff
}

.btn-ink:hover {
  background: var(--pine-2);
  transform: translateY(-3px)
}

.btn-ghost {
  background: #fff;
  color: var(--pine);
  border: 1.5px solid var(--line)
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--pine);
  box-shadow: var(--shadow)
}

/* ---- Urgency top bar ---- */
.urgency {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #4BA3D3;
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.urgency .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px
}

.urgency-txt {
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #B8272C;
  flex: none;
  box-shadow: 0 0 0 0 rgba(221, 138, 140, .7);
  animation: pulse 2s infinite
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(221, 138, 140, .6)
  }

  70% {
    box-shadow: 0 0 0 10px rgba(221, 138, 140, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(221, 138, 140, 0)
  }
}

.urgency .mini-cta {
  font-family: 'Poppins';
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .02em;
  background: var(--gold);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 100px;
  flex: none;
  transition: transform .3s, background-color .3s
}

.urgency .mini-cta:hover {
  transform: translateY(-2px);
  background: var(--gold-2)
}

.urgency-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none
}

.urgency .seats {
  font-size: 12px;
  font-weight: 600;
  color: #B8272C;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(221, 138, 140, .12);
  border: #B8272C;
  padding: 6px 13px;
  border-radius: 100px;
  white-space: nowrap
}

.urgency .seats b {
  font-family: 'Lora';
  font-weight: 600;
  font-size: 14px;
  transition: opacity .3s
}

.seat-tick {
  animation: seatTick .5s ease
}

@keyframes seatTick {
  0% {
    opacity: 0;
    transform: translateY(-4px)
  }

  100% {
    opacity: 1;
    transform: none
  }
}

/* ---- Thank-you overlay ---- */
.ty-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(20, 33, 43, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s
}

.ty-overlay.show {
  opacity: 1;
  visibility: visible
}

.ty-card {
  background: var(--paper);
  border-radius: 26px;
  max-width: 460px;
  width: 100%;
  padding: 44px 34px;
  text-align: center;
  box-shadow: var(--shadow);
  transform: translateY(24px) scale(.96);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1)
}

.ty-overlay.show .ty-card {
  transform: none
}

.ty-check {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  animation: tyPop .6s cubic-bezier(.16, 1, .3, 1) both .15s
}

.ty-check svg {
  width: 38px;
  height: 38px
}

@keyframes tyPop {
  0% {
    transform: scale(0);
    opacity: 0
  }

  60% {
    transform: scale(1.12)
  }

  100% {
    transform: scale(1);
    opacity: 1
  }
}

.ty-card h3 {
  font-size: 30px;
  color: var(--ink)
}

.ty-card p {
  font-size: 15.5px;
  color: #4A5C68;
  margin-top: 12px
}

.ty-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px
}

.ty-close {
  position: absolute;
  /* Offsets pulled in to compensate for the larger 44px hit area below,
     so the × glyph still sits where it did visually. */
  top: 6px;
  right: 10px;
  /* 44x44 is the minimum comfortable touch target — the glyph stays the
     same size, only the tappable area grows. */
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #7C92A1;
  cursor: pointer;
  transition: color .3s
}

.ty-close:hover {
  color: var(--ink)
}

/* Inline phone/email links sit at ~19px tall as bare text. Padding gives
   them a comfortable tap area without shifting the layout. */
.loc-line a {
  display: inline-block;
  padding: 11px 0;
  margin: -11px 0
}

/* ---- Brand row (NO nav links) ---- */
.brandbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding-top: 22px
}

.brandbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brandbar img {
  height: 90px;
  width: auto;
}

.brand-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 700;
  font-size: 15px
}

.brand-phone svg {
  width: 17px;
  height: 17px
}

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 112px
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  container-type: size;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  will-change: transform
}

.hero-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 16:9 cover trick: sized off the hero's OWN box (container query units),
     not the viewport — so it fills correctly even when the hero is taller
     than one screen on mobile (stacked logo/heading/form/CTA content). */
  width: 177.78cqh;
  height: 100cqh;
  min-width: 100cqw;
  min-height: 56.25cqw;
  transform: translate(-50%, -50%) scale(1.12);
  pointer-events: none;
  border: 0
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 33, 43, .72) 0%, rgba(20, 33, 43, .55) 40%, rgba(20, 33, 43, .94) 100%)
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 44px
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center
}

.hero h1 {
  font-size: clamp(33px, 4.3vw, 54px);
  font-weight: 600
}

.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em
}

.hero h1 .line>span {
  display: block;
  transform: translateY(115%);
  animation: lineUp .85s cubic-bezier(.16, 1, .3, 1) both
}

.hero h1 .line:nth-child(1)>span {
  animation-delay: .1s
}

.hero h1 .line:nth-child(2)>span {
  animation-delay: .22s
}

.hero h1 .line:nth-child(3)>span {
  animation-delay: .34s
}

@keyframes lineUp {
  from {
    transform: translateY(115%)
  }

  to {
    transform: translateY(0)
  }
}

.hero h1 em {
  font-style: italic;
  color: #B8272C;
}

.hero-sub {
  margin-top: 20px;
  font-size: 17px;
  max-width: 520px;
  color: rgba(255, 255, 255, .85)
}

.hero-ctas {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.trust {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 22px
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none
  }
}

.trust .num {
  font-family: 'Lora';
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  line-height: 1
}

.trust .lbl {
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .72);
  margin-top: 6px
}

/* hero form card */
.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .5)
}

.form-card h3 {
  font-size: 22px
}

.form-card p {
  font-size: 13.5px;
  color: #4A5C68;
  margin-top: 4px
}

.ls-embed {
  min-height: 400px;
  margin-top: 16px;
  background: linear-gradient(180deg, #F5FAFD, #EAF4FA);
  border: 1px dashed var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: #7C92A1;
  font-size: 13px
}

.ls-embed span {
  max-width: 240px
}

/* ---- Quick enquiry form (Web3Forms) ---- */
.quick-form {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.quick-form input,
.quick-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  /* 16px minimum: anything smaller makes iOS Safari auto-zoom the page
     when a field is focused, which breaks the layout mid-form-fill. */
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: var(--paper);
  appearance: none
}

/* appearance:none removes the native dropdown arrow — put one back so the
   grade field is visibly a dropdown and not mistaken for a text input. */
.quick-form select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314212b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px
}

.quick-form input:focus,
.quick-form select:focus {
  outline: 2px solid var(--pine);
  outline-offset: 1px
}

.quick-form button[type="submit"] {
  margin-top: 4px;
  border: none;
  cursor: pointer;
  width: 100%
}

.quick-form button[type="submit"]:disabled {
  opacity: .6;
  cursor: default
}

.quick-form .qf-status {
  font-size: 12.5px;
  margin-top: 2px;
  min-height: 16px
}

.quick-form .qf-status.qf-error {
  color: var(--gold)
}

.quick-form .qf-status.qf-sending {
  color: #7C92A1
}

/* ---- Enquiry form extras: DOB label, +91 phone, honeypot ---- */
.qf-label {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--sage);
  text-align: left
}

.qf-dob {
  display: grid;
  gap: 6px
}

.qf-dob-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--sage);
  text-align: left;
  padding-left: 4px
}

.qf-dob-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 8px
}

.quick-form .qf-dob-row select {
  padding-left: 12px;
  padding-right: 30px;
  background-position: right 10px center;
  min-width: 0
}

.qf-phone {
  position: relative
}

.qf-phone .qf-cc {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  pointer-events: none
}

.quick-form .qf-phone input {
  padding-left: 54px
}

.qf-captcha {
  --rc-scale: 1;
  height: calc(78px * var(--rc-scale));
  display: flex;
  justify-content: center
}

.qf-captcha > div {
  transform: scale(var(--rc-scale));
  transform-origin: top center
}

.qf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.quick-form .btn:disabled {
  opacity: .65;
  cursor: wait
}

/* ---- Marquee ---- */
.marquee {
  background: var(--pine);
  color: var(--cream);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marq 34s linear infinite
}

.marquee-track span {
  font-family: 'Lora';
  font-style: italic;
  font-size: 24px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  color: rgba(235, 245, 251, .92)
}

.marquee-track span::after {
  content: "✦";
  color: var(--gold-2);
  font-style: normal;
  font-size: 14px
}

@keyframes marq {
  to {
    transform: translateX(-50%)
  }
}

/* ---- Reveal util ---- */
.ru {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1)
}

.ru.show {
  opacity: 1;
  transform: none
}

.ru-d1 {
  transition-delay: .08s
}

.ru-d2 {
  transition-delay: .16s
}

.ru-d3 {
  transition-delay: .24s
}

.ru-d4 {
  transition-delay: .32s
}

.ru-d5 {
  transition-delay: .4s
}

/* ---- Results block ---- */
.results {
  background: var(--paper)
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 34px
}

.results-img {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid #fff;
  position: relative
}

.results-img img {
  width: 100%;
  height: auto
}

.badge-float {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .05em;
  padding: 8px 14px;
  border-radius: 100px;
  text-transform: uppercase
}

.stat-callouts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 26px 0
}

.stat-callouts .c {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px
}

.stat-callouts .c .n {
  font-family: 'Lora';
  font-size: 32px;
  color: var(--pine)
}

.stat-callouts .c .t {
  font-size: 12.5px;
  color: #4A5C68;
  margin-top: 2px
}

/* ---- Curriculum cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s, border-color .4s
}

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

.card .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--pine);
  color: #B8272C
;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px
}

.card .ic svg {
  width: 23px;
  height: 23px
}

.card h4 {
  font-size: 18.5px;
  margin-bottom: 6px
}

.card p {
  font-size: 14px;
  color: #4A5C68
}

/* ---- Manifesto ---- */
.manifesto {
  background: #B8272C;
  color: var(--cream)
}

.manifesto .eyebrow,
.manifesto .eyebrow::before,
.manifesto .chapter .no {
  color: #FFFFFF;
  opacity: 1
}

.manifesto .eyebrow::before {
  background: #FFFFFF
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 56px;
  align-items: start
}

.manifesto-img {
  position: sticky;
  top: 100px;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .16)
}

.manifesto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  display: block
}

.chapter {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, .14)
}

.chapter:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .14)
}

.chapter .no {
  font-family: 'Lora';
  font-size: 56px;
  color: var(--gold-2);
  opacity: .55;
  line-height: .8
}

.chapter h3 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 10px;
  max-width: 640px
}

.chapter p {
  font-size: 15.5px;
  color: rgba(235, 245, 251, .78);
  max-width: 640px
}

/* ---- Safety grid ---- */
.safety {
  background: var(--pine);
  color: var(--cream)
}

.safety .eyebrow {
  color: #FF8A73;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25)
}

.safety .eyebrow::before {
  background: #FF8A73
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px
}

.safety-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r);
  padding: 24px;
  transition: transform .4s, background-color .4s
}

.safety-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .09)
}

.safety-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: brightness(0) invert(1)
}

.safety-card .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px
}

.safety-card .ic svg {
  width: 26px;
  height: 26px;
  color: #fff
}

.safety-card h4 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 6px
}

.safety-card p {
  font-size: 13.5px;
  color: rgba(235, 245, 251, .72)
}

/* ---- Admissions ---- */
.adm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 36px
}

.elig {
  list-style: none
}

.elig li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px
}

.elig li b {
  font-family: 'Lora';
  color: var(--pine)
}

.steps {
  display: grid;
  gap: 14px
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px
}

.step .sn {
  font-family: 'Lora';
  font-size: 20px;
  color: #fff;
  background: var(--gold);
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none
}

.step h4 {
  font-size: 16px;
  margin-bottom: 2px
}

.step p {
  font-size: 13.5px;
  color: #4A5C68
}

/* ---- Gallery ---- */
.gallery {
  background: var(--paper)
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  margin-top: 38px
}

.gal-item {
  overflow: hidden;
  border-radius: 16px;
  position: relative
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1)
}

.gal-item:hover img {
  transform: scale(1.08)
}

.gal-item .cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
  opacity: 0;
  transform: translateY(8px);
  transition: all .4s
}

.gal-item:hover .cap {
  opacity: 1;
  transform: none
}

.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 33, 43, .55));
  opacity: 0;
  transition: opacity .4s
}

.gal-item:hover::after {
  opacity: 1
}

.gal-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px
}

.gal-split img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.gal-tall {
  grid-row: span 2
}

.gal-wide {
  grid-column: span 2
}

/* ---- Testimonials ---- */
.tst-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 38px
}

.tst {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  position: relative
}

.tst .q {
  font-family: 'Lora';
  font-size: 60px;
  color: var(--gold);
  opacity: .25;
  line-height: .5;
  position: absolute;
  top: 22px;
  right: 22px
}

.tst p {
  font-size: 16px;
  color: #1C2E3A;
  font-style: italic
}

.tst .who {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--pine)
}

.tst .ph {
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #A13A3F;
  font-weight: 700
}

/* ---- Location ---- */
.loc-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 0;
  margin-top: 36px;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line)
}

.loc-info {
  background: #4BA3D3;
  color: var(--cream);
  padding: 40px
}

.loc-info h3 {
  font-size: 24px;
  color: #fff
}

.loc-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  font-size: 12px
}

.loc-line svg {
  width: 20px;
  height: 20px;
  color: var(--gold-2);
  flex: none;
  margin-top: 2px
}

.loc-map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block
}

/* ---- FAQ ---- */
.faq {
  max-width: 820px;
  margin: 38px auto 0
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: 'Lora';
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary .pm {
  width: 26px;
  height: 26px;
  flex: none;
  position: relative;
  transition: transform .35s
}

.faq summary .pm::before,
.faq summary .pm::after {
  content: "";
  position: absolute;
  background: var(--gold);
  border-radius: 2px
}

.faq summary .pm::before {
  width: 14px;
  height: 2px;
  top: 12px;
  left: 6px
}

.faq summary .pm::after {
  width: 2px;
  height: 14px;
  top: 6px;
  left: 12px;
  transition: transform .35s
}

.faq details[open] summary .pm::after {
  transform: scaleY(0)
}

.faq .ans {
  padding: 0 24px 22px;
  font-size: 15px;
  color: #4A5C68
}

/* ---- Final CTA ---- */
.final {
  background: var(--pine);
  color: #fff;
  position: relative;
  overflow: hidden
}

.final h2 {
  font-size: clamp(30px, 4.6vw, 50px);
  color: #fff;
  max-width: 720px
}

.final .final-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 48px;
  align-items: center;
  margin-top: 34px
}

.final .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px
}

/* ---- Footer (no external links) ---- */
.foot {
  background: var(--ink);
  color: rgba(235, 245, 251, .75);
  padding: 44px 0 120px;
  text-align: center
}

.foot img {
  height: 85px;
  margin: 0 auto 18px;
}

.foot .aff {
  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0
}

.foot .aff img {
  height: 44px;
  margin: 0;
  filter: none;
  background: #fff;
  padding: 6px;
  border-radius: 8px
}

.foot p {
  font-size: 13px;
  max-width: 640px;
  margin: 0 auto
}

.foot .fp {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  margin-top: 14px
}

/* ---- Sticky mobile footer bar ---- */
.mobar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 10px;
  gap: 10px;
  box-shadow: 0 -14px 30px -18px rgba(0, 0, 0, .6)
}

.mobar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 4px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em
}

.mobar svg {
  width: 19px;
  height: 19px
}

.mobar .m-call {
  background: rgba(255, 255, 255, .08);
  color: #fff
}

.mobar .m-enq {
  background: var(--gold);
  color: #FFFFFF
}

/* ---- Responsive ---- */
@media(max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .results-grid,
  .adm-grid,
  .loc-grid,
  .final .final-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .cards,
  .safety-grid {
    grid-template-columns: 1fr 1fr
  }

  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px
  }

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

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

  .manifesto-img {
    position: static;
    order: -1
  }

  .manifesto-img img {
    aspect-ratio: 16/9
  }

  .chapter {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 26px 0
  }

  .chapter .no {
    font-size: 42px
  }

  .loc-map iframe {
    min-height: 280px
  }
}

@media(max-width:640px) {
  .section {
    padding: 60px 0
  }

  .brandbar img {
    height: 38px
  }

  .brand-phone span {
    display: none
  }

  /* With the number hidden, only the 17px icon is left — pad it out to a
     44px tap target. Padding only, so nothing changes visually. */
  .brand-phone {
    padding: 13px;
    margin: -13px
  }

  .hero {
    padding-top: 96px;
    min-height: auto
  }

  .hero-inner {
    padding-bottom: 36px
  }

  .trust {
    grid-template-columns: 1fr 1fr;
    gap: 18px
  }

  .cards,
  .safety-grid,
  .stat-callouts {
    grid-template-columns: 1fr
  }

  .stat-callouts {
    gap: 12px
  }

  .mobar {
    display: flex
  }

  .foot {
    padding-bottom: 110px
  }

  .urgency .mini-cta {
    padding: 7px 12px;
    font-size: 11px
  }

  .urgency .wrap {
    gap: 10px
  }

  .urgency-txt {
    display: none
  }

  .urgency-right {
    flex: 1;
    justify-content: space-between;
    gap: 10px
  }

  .urgency .seats {
    font-size: 11px;
    padding: 5px 11px
  }

  .urgency .seats b {
    font-size: 13px
  }

  :root {
    --anchor-offset: 52px;
  }

  #enquire {
    scroll-margin-top: calc(var(--anchor-offset) + 56px)
  }

  .marquee-track span {
    font-size: 19px
  }

  .hero-ctas .btn {
    flex: 1 1 100%
  }

  .ty-card {
    padding: 38px 24px
  }

  .ty-card h3 {
    font-size: 26px
  }
}
