:root {
  --bg: #f6efe8;
  --surface: rgba(255, 248, 242, 0.86);
  --surface-strong: #fffaf5;
  --brand: #982f3f;
  --brand-deep: #5f1824;
  --brand-soft: #c98d4b;
  --ink: #241815;
  --muted: #675550;
  --line: rgba(87, 36, 29, 0.14);
  --shadow: 0 24px 70px rgba(95, 24, 36, 0.16);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(201, 141, 75, 0.28), transparent 30%),
    radial-gradient(circle at right 20%, rgba(152, 47, 63, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf4ed 0%, #f4ece5 52%, #efe5de 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.page-shell {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(250, 242, 235, 0.78);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 248, 242, 0.95);
  border-color: var(--line);
  box-shadow: 0 12px 28px rgba(95, 24, 36, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand img {
  width: 190px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.outline-link,
.primary-btn,
.secondary-btn {
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.outline-link {
  padding: 12px 18px;
  border: 1px solid rgba(95, 24, 36, 0.16);
  color: var(--brand-deep);
  font-weight: 700;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  font-weight: 800;
}

.primary-btn {
  color: #fff6f1;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 16px 36px rgba(95, 24, 36, 0.26);
}

.secondary-btn {
  color: var(--brand-deep);
  border: 1px solid rgba(95, 24, 36, 0.16);
  background: rgba(255, 255, 255, 0.48);
}

.outline-link:hover,
.primary-btn:hover,
.secondary-btn:hover,
.program-card:hover {
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  padding: 44px 0 48px;
  background:
    linear-gradient(95deg, rgba(53, 18, 30, 0.82) 0%, rgba(89, 30, 43, 0.72) 44%, rgba(120, 57, 35, 0.54) 100%),
    url("images/programs.jpg") center center / cover no-repeat;
  box-shadow: inset 0 -52px 68px rgba(25, 10, 18, 0.3);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(31, 12, 20, 0), rgba(31, 12, 20, 0.26));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 420px);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(20, 8, 16, 0.54), rgba(20, 8, 16, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff8f2;
}

.eyebrow {
  margin: 0 0 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-soft);
}

.hero-copy h1,
.section-copy h2,
.section-heading h2,
.eligibility-wrap h2,
.hero-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.hero-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.9rem, 5.4vw, 4.8rem);
  line-height: 1;
  margin-top: 2px;
  text-shadow: 0 6px 16px rgba(20, 8, 16, 0.3);
}

.hero-text {
  max-width: 56ch;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(255, 246, 238, 0.92);
}

.hero-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.hero-points li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 247, 241, 0.9);
  line-height: 1.6;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0c274, #db8d4f);
}

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

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

.hero-metrics article {
  padding: 14px 14px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-metrics strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}

.hero-metrics span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 246, 238, 0.86);
  font-size: 0.85rem;
}

.hero-card,
.overview-panel,
.info-card,
.program-card,
.eligibility-wrap,
.enquire-form {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  align-self: end;
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 248, 243, 0.96);
  color: var(--ink);
}

.hero-form-card {
  backdrop-filter: blur(2px);
}

.hero-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(152, 47, 63, 0.11);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.chip-muted {
  background: rgba(201, 141, 75, 0.18);
  color: #8b5a22;
}

.hero-form-title,
.section-copy h2,
.section-heading h2,
.eligibility-wrap h2 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  color: var(--brand-deep);
}

.hero-form-title {
  font-size: clamp(2.05rem, 3.2vw, 2.7rem);
  line-height: 0.98;
}

.hero-form-text {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-strip a {
  font-weight: 800;
  color: var(--brand);
}

.overview-section,
.highlights-section,
.specializations-section,
.eligibility-section,
.faq-section {
  padding: 88px 0;
}

.cta-banner {
  padding: 56px 0;
}

.cta-banner-light {
  background: linear-gradient(135deg, #fff5ee 0%, #fde8d8 100%);
  border-top: 1px solid rgba(152, 47, 63, 0.12);
  border-bottom: 1px solid rgba(152, 47, 63, 0.12);
}

.cta-banner-dark {
  background: linear-gradient(118deg, #3d1220 0%, #6b1f2e 54%, #8a3a22 100%);
}

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

.cta-banner-copy {
  flex: 1 1 320px;
  max-width: 640px;
}

.cta-banner-light .cta-banner-copy .eyebrow {
  color: var(--brand);
}

.cta-banner-dark .cta-banner-copy .eyebrow {
  color: #f0c274;
}

.cta-banner-copy h3 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.cta-banner-light .cta-banner-copy h3 {
  color: var(--brand-deep);
}

.cta-banner-dark .cta-banner-copy h3 {
  color: #fff7f1;
}

.cta-banner-copy p {
  margin: 0;
  line-height: 1.72;
}

.cta-banner-light .cta-banner-copy p {
  color: var(--muted);
}

.cta-banner-dark .cta-banner-copy p {
  color: rgba(255, 246, 238, 0.84);
}

.cta-banner-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-banner-dark .outline-link {
  border-color: rgba(255, 255, 255, 0.32);
  color: rgba(255, 247, 241, 0.9);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 34px;
  align-items: center;
}

.section-copy p,
.hero-form-text {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.overview-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.panel-image {
  min-height: 240px;
  background:
    linear-gradient(180deg, rgba(152, 47, 63, 0.08), rgba(95, 24, 36, 0.18)),
    url("images/overview.webp") center/cover no-repeat;
}

.panel-boxes {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.panel-boxes article {
  padding: 22px 24px;
  background: var(--surface-strong);
}

.panel-boxes h3,
.info-card h3,
.program-card h3,
.snapshot-grid h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.panel-boxes p,
.info-card p,
.program-card p,
.snapshot-grid p,
.disclaimer,
.form-message {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.highlights-grid,
.specializations-grid,
.snapshot-grid {
  display: grid;
  gap: 20px;
}

.highlights-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.specializations-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.program-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.info-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 800;
  color: var(--brand);
  background: rgba(152, 47, 63, 0.08);
}

.program-card {
  position: relative;
  overflow: hidden;
}

.program-card::after {
  content: "";
  position: absolute;
  inset: auto -35px -35px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 141, 75, 0.24), transparent 68%);
}

.eligibility-wrap {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(95, 24, 36, 0.95), rgba(133, 46, 62, 0.86));
  color: #fff7f1;
}

.eligibility-wrap .eyebrow,
.eligibility-wrap h2,
.eligibility-wrap h3,
.eligibility-wrap p {
  color: inherit;
}

.snapshot-grid {
  margin-top: 30px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.snapshot-grid article {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.enquire-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 245, 0.92);
}

.hero-enquire-form {
  margin-top: 16px;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

.crm-form {
  gap: 10px;
}

.crm-form .textinput,
.crm-form .selectinput {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(95, 24, 36, 0.16);
  background: linear-gradient(180deg, #fffdfb 0%, #fff8f3 100%);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.crm-form .textinput::placeholder {
  color: #8c7670;
}

.crm-form .textinput:focus,
.crm-form .selectinput:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(152, 47, 63, 0.08);
  background: #fff;
}

.crm-form .crm-label {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.crm-form .privacy-note {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  text-align: center;
  background: linear-gradient(135deg, #f3d675 0%, #e4be4a 100%);
  border: 1px solid rgba(145, 97, 22, 0.24);
}

.crm-form .privacy-note span {
  font-size: 0.77rem;
  font-weight: 700;
  color: #3f2b08;
}

.crm-form #leadform {
  margin-top: 6px;
  border: 0;
  cursor: pointer;
}

.hero-contact-strip {
  margin-top: 14px;
}

.enquire-form label {
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.enquire-form input,
.enquire-form select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(95, 24, 36, 0.16);
  border-radius: 16px;
  background: #fffdfb;
  color: var(--ink);
  outline: none;
}

.enquire-form input:focus,
.enquire-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(152, 47, 63, 0.08);
}

.form-btn {
  width: 100%;
  margin-top: 8px;
  border: 0;
  cursor: pointer;
}

.form-message {
  min-height: 24px;
  font-size: 0.95rem;
}

.form-message.is-success {
  color: #256c42;
}

.form-message.is-error {
  color: #a32838;
}

.faq-list {
  max-width: 980px;
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 245, 0.88);
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--brand-deep);
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  font-size: 1.1rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 12px 0 2px;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(62, 25, 22, 0.96);
}

.footer-inner {
  text-align: center;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 243, 233, 0.84);
  line-height: 1.8;
}

.disclaimer {
  margin-top: 8px;
  font-size: 0.92rem;
  color: rgba(255, 243, 233, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .highlights-grid,
  .specializations-grid,
  .snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    font-size: clamp(2.5rem, 5.4vw, 4rem);
  }
}

@media (max-width: 940px) {
  .hero-section {
    padding: 62px 0 70px;
    background-position: 58% center;
  }

  .hero-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
    padding: 22px;
  }

  .hero-copy h1,
  .hero-text {
    max-width: 100%;
  }

  .hero-card {
    width: min(560px, 100%);
    justify-self: end;
  }
}

@media (max-width: 760px) {
  .cta-banner {
    padding: 40px 0;
  }

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner-actions {
    width: 100%;
  }

  .cta-banner-actions .primary-btn,
  .cta-banner-actions .outline-link,
  .cta-banner-actions .secondary-btn {
    flex: 1 1 0;
    text-align: center;
  }

  .header-inner {
    gap: 10px;
    padding: 12px 0;
  }

  .brand img {
    width: 170px;
  }

  .header-actions {
    width: 100%;
    gap: 10px;
  }

  .header-actions a {
    flex: 1 1 0;
    text-align: center;
  }

  .outline-link,
  .primary-btn,
  .secondary-btn {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .hero-section {
    padding: 36px 0 50px;
    background-position: 62% center;
  }

  .hero-copy {
    padding: 16px;
    border-radius: 16px;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 9.1vw, 3.2rem);
  }

  .hero-text {
    font-size: 0.95rem;
    line-height: 1.63;
  }

  .hero-grid,
  .highlights-grid,
  .specializations-grid,
  .snapshot-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    gap: 10px;
  }

  .hero-card {
    width: 100%;
    justify-self: stretch;
    padding: 20px;
  }

  .hero-form-title {
    font-size: clamp(1.9rem, 8.1vw, 2.35rem);
  }

  .overview-section,
  .highlights-section,
  .specializations-section,
  .eligibility-section,
  .faq-section {
    padding: 72px 0;
  }

  .eligibility-wrap,
  .enquire-form {
    padding: 20px;
  }

  .contact-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .enquire-form input,
  .enquire-form select {
    min-height: 46px;
  }

  .crm-form .textinput,
  .crm-form .selectinput {
    min-height: 44px;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1120px, calc(100% - 24px));
  }

  .hero-section {
    padding: 24px 0 40px;
    background-position: 68% center;
  }

  .header-actions .outline-link {
    display: none;
  }

  .header-actions .primary-btn {
    width: 100%;
  }

  .hero-copy {
    padding: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 10.2vw, 2.4rem);
  }

  .hero-text {
    font-size: 0.9rem;
    line-height: 1.58;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .primary-btn,
  .hero-actions .secondary-btn {
    width: 100%;
  }

  .hero-points {
    gap: 7px;
  }

  .hero-points li {
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .hero-card {
    padding: 16px;
  }

  .enquire-form label {
    font-size: 0.82rem;
  }

  .enquire-form input,
  .enquire-form select {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
  }

  .crm-form .crm-label {
    font-size: 0.8rem;
  }

  .crm-form .privacy-note span {
    font-size: 0.73rem;
  }

  .form-btn {
    min-height: 44px;
  }
}