/* =========================================================
   <?= $domainTitle ?> — global stylesheet
   ========================================================= */

:root {
  --navy: #131a2d;
  --navy-deep: #0d1220;
  --navy-card: #232a40;
  --header-bg: #222222;
  --orange: #f59e0b;
  --orange-dark: #d97706;
  --orange-light: #fbbf24;
  --blue-border: #116fff;
  --white: #ffffff;
  --text-on-dark: #cbd5e1;
  --text-on-dark-muted: #94a3b8;
  --text-body: #4b5563;
  --text-heading: #0f172a;
  --border-light: #e5e7eb;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 30px rgba(13, 18, 32, 0.08);
  --shadow-card-dark: 0 10px 30px rgba(0, 0, 0, 0.35);
  --container: 1200px;
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}

p {
  margin: 0 0 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--orange);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-outline-dark {
  background: transparent;
  border-color: #d1d5db;
  color: var(--text-heading);
}
.btn-outline-dark:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-block {
  width: 100%;
}

/* ---------- header ---------- */

.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 500;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 32px;
  width: auto;
}
.brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
}

.main-nav ul {
  display: flex;
  gap: 34px;
}
.main-nav a {
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  color: var(--orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-toggle::before {
  top: 0;
}
.nav-toggle span {
  top: 11px;
}
.nav-toggle::after {
  top: 22px;
}
.nav-toggle.is-open::before {
  top: 11px;
  transform: rotate(45deg);
}
.nav-toggle.is-open::after {
  top: 11px;
  transform: rotate(-45deg);
}
.nav-toggle.is-open span {
  opacity: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open {
    max-height: 320px;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .main-nav li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-nav a {
    display: block;
    padding: 14px 0;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(
      100deg,
      rgba(11, 15, 26, 0.97) 0%,
      rgba(11, 15, 26, 0.86) 42%,
      rgba(11, 15, 26, 0.55) 100%
    ),
    url("../img/hero-bg.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 96px 0 72px;
}

.hero .container {
  position: relative;
}

.hero h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 22px;
  max-width: 900px;
}

.hero p {
  color: var(--text-on-dark);
  font-size: 17px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 28px 0 26px;
  flex-wrap: wrap;
}

.notice-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  color: var(--text-heading);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  max-width: 620px;
}
.notice-box img {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
}

.notice-box.on-dark {
  background: var(--navy-card);
  color: var(--text-on-dark);
  border: 1px solid var(--orange);
}
.notice-box .notice-title {
  display: block;
  color: var(--text-heading);
  margin-bottom: 2px;
}
.notice-box.on-dark .notice-title {
  color: var(--white);
}

@media (max-width: 768px) {
  .hero {
    padding: 56px 0 48px;
  }
  .hero h1 {
    font-size: 32px;
  }
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 96px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.info-card-first {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

.stat-card .icon-circle {
  width: 52px;
  height: 52px;
}
.stat-card strong {
  font-family: var(--font-heading);
  font-size: 30px;
  color: var(--text-heading);
  display: block;
  line-height: 1;
}
.stat-card span {
  font-size: 13px;
  color: var(--text-body);
}

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

/* ---------- icon circle ---------- */

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-circle img {
  width: 26px;
  height: 26px;
}

/* ---------- section heading ---------- */

.eyebrow {
  color: var(--orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-lead {
  max-width: 780px;
}
.section-lead h2 {
  font-size: 34px;
}
.section-lead p {
  font-size: 16px;
  color: var(--text-body);
}

.section-dark {
  background: var(--navy);
  color: var(--text-on-dark);
}
.section-dark h2 {
  color: var(--white);
}
.section-dark p {
  color: var(--text-on-dark);
}
.section-dark .section-lead p {
  color: var(--text-on-dark);
}

/* ---------- about numbered cards ---------- */

.numbered-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.numbered-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.numbered-card .num {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}
.numbered-card h4 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 10px;
}
.numbered-card p {
  color: var(--navy-card);
  font-size: 14.5px;
  margin: 0;
}

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

/* ---------- program / day cards ---------- */

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.program-card {
  background: var(--navy-card);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.program-card .range {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 46px;
  color: var(--orange);
  margin-bottom: 6px;
  display: block;
}
.program-card h4 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 10px;
}
.program-card p {
  color: var(--text-on-dark-muted);
  font-size: 14px;
}
.program-card ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.program-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-on-dark-muted);
}
.program-card li img {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  flex: none;
}

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

/* ---------- feature icon grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 48px;
  text-align: center;
}
.feature-grid .icon-circle {
  margin: 0 auto 18px;
}
.feature-grid h4 {
  color: var(--white);
  font-size: 17px;
}
.feature-grid p {
  color: var(--text-on-dark-muted);
  font-size: 14.5px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- CTA (white) ---------- */

.cta {
  text-align: center;
  padding: 96px 0;
}
.cta h2 {
  font-size: 36px;
  max-width: 760px;
  margin: 0 auto 18px;
}
.cta p {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 16px;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-card h4 {
  color: var(--text-heading);
  font-size: 16px;
  margin-bottom: 6px;
}
.contact-card a {
  color: var(--orange);
  font-weight: 600;
}
.contact-card .meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-body);
  margin-top: 6px;
}
.contact-card .meta img {
  width: 14px;
  height: 14px;
}
.contact-card p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-body);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--text-heading);
}
.contact-form-card h3 {
  font-size: 22px;
}
.contact-form-card > p {
  color: var(--text-body);
  font-size: 14.5px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-heading);
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-heading);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form-note {
  font-size: 12.5px;
  color: var(--text-body);
  margin-bottom: 20px;
}
.form-status {
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
  display: none;
}
.form-status.success {
  display: block;
  color: #16a34a;
}
.form-status.error {
  display: block;
  color: #dc2626;
}

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

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--text-on-dark-muted);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-brand .brand {
  margin-bottom: 16px;
}
.footer-brand .brand span {
  color: var(--white);
}
.footer-grid h5 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 18px;
}
.footer-grid ul li {
  margin-bottom: 12px;
}
.footer-grid a {
  font-size: 14.5px;
  transition: color 0.15s ease;
}
.footer-grid a:hover {
  color: var(--orange);
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 30px;
  text-align: center;
  font-size: 13px;
}
.footer-bottom strong {
  display: block;
  color: var(--text-on-dark);
  font-size: 13.5px;
  margin-bottom: 6px;
}
.footer-bottom .legal-block {
  max-width: 900px;
  margin: 0 auto 18px;
}
.footer-bottom .copy {
  margin-top: 20px;
  color: var(--text-on-dark-muted);
}

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

/* ---------- legal / simple content pages ---------- */

.legal-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 40px;
  text-align: left;
}
.legal-hero h1 {
  color: var(--white);
  font-size: 30px;
  margin: 0;
}

.legal-body {
  background: var(--navy);
  color: var(--text-on-dark);
  padding-bottom: 88px;
}
.legal-body .container {
  max-width: 820px;
}
.legal-body h2 {
  color: var(--white);
  font-size: 19px;
  margin: 38px 0 12px;
}
.legal-body h2:first-child {
  margin-top: 0;
}
.legal-body p {
  color: var(--text-on-dark);
  font-size: 15px;
}
.legal-body a {
  color: var(--orange);
  font-weight: 600;
}

/* ---------- thank you page ---------- */

.thankyou-section {
  background: var(--navy);
  padding: 90px 0 100px;
  display: flex;
  justify-content: center;
}
.thankyou-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 56px 44px;
  text-align: center;
  box-shadow: var(--shadow-card-dark);
  margin: 0 auto;
}
.thankyou-card .icon-circle {
  margin: 0 auto 24px;
  width: 68px;
  height: 68px;
  background: #dcfce7;
}
.thankyou-card .icon-circle svg {
  color: #16a34a;
  width: 32px;
  height: 32px;
}
.thankyou-card h1 {
  font-size: 30px;
}
.thankyou-card p {
  color: var(--text-body);
  font-size: 15px;
}

/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  border-top: 4px solid var(--orange);
  padding: 22px 0;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-heading);
}
.cookie-banner p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-body);
  max-width: 720px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex: none;
}
.cookie-banner .btn {
  padding: 12px 22px;
  font-size: 14px;
}

@media (max-width: 700px) {
  .cookie-banner .container {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
  }
}

/* ---------- utility ---------- */

.text-center {
  text-align: center;
}
.mt-0 {
  margin-top: 0;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
