:root {
  --brand-primary: #f31224;
  --brand-dark: #000000;
  --brand-muted: #d9d9d9;
  --text: #17171c;
  --white: #ffffff;
  --radius: 14px;
}

/* Dark preview variables */
body.theme-dark {
  --brand-dark: #f5f5f7;
  --brand-muted: #15161b;
  --text: #ececf2;
  --white: #101116;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("assets/logo-watermark.png") center center / min(88vw, 1320px) no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 1;
}

body.theme-dark::before {
  opacity: 0.24;
}

body.theme-dark {
  background: linear-gradient(180deg, #090a0f 0%, #0f1118 100%);
}

h1, h2, h3 {
  margin-top: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.5px;
}

p, li, a, label, input, textarea, button {
  font-size: 1rem;
  line-height: 1.6;
}

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ececf2;
  z-index: 10;
}

body.theme-dark .site-header {
  background: rgba(12, 13, 18, 0.92);
  border-bottom-color: #242634;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--brand-primary);
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dbdbe4;
}

.brand span {
  color: var(--brand-dark);
  font-size: 0.96rem;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  font-weight: 600;
}

.theme-toggle {
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

.btn {
  display: inline-block;
  border: 2px solid var(--brand-primary);
  background: var(--brand-primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
}

.btn-small {
  padding: 8px 14px;
}

.source-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

 .hero {
  padding: 72px 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

body.theme-dark .hero::before {
  background: rgba(9, 10, 15, 0.58);
}

.hero {
  position: relative;
}

.hero .container {
  position: relative;
  z-index: 1;
}

body.theme-dark .kicker {
  background: #1b1d27;
  color: #f4f5f8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: center;
}

.kicker {
  display: inline-block;
  background: var(--brand-dark);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #ebebf0;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.06);
}

body.theme-dark .hero-card,
body.theme-dark .card,
body.theme-dark form {
  border-color: #2a2c39;
  background: #141620;
  box-shadow: none;
}

.section {
  padding: 64px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid #e8e8ef;
  border-radius: var(--radius);
  padding: 20px;
}

.program-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.program-card-link p:last-child {
  color: var(--brand-primary);
  margin-bottom: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photo-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid #e8e8ef;
}

.section-accent {
  background: var(--brand-dark);
  color: var(--white);
}

body.theme-dark .section-accent {
  background: transparent;
  color: #ececf2;
}

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

.trust-banner {
  margin: 4px 0 22px;
  padding: 14px 18px;
  border: 0;
  border-left: 5px solid var(--brand-primary);
  border-radius: 12px;
  background: transparent;
}

body.theme-dark .trust-banner {
  background: transparent !important;
  box-shadow: none !important;
}

.trust-banner p {
  margin: 0;
  font-weight: 600;
  font-size: 1.08rem;
}

.steps > div {
  border: 1px solid #30303a;
  border-radius: var(--radius);
  padding: 20px;
  background: transparent;
}

body.theme-dark .steps > div {
  border-color: #2a2c39;
  background: transparent;
}

.steps span {
  display: inline-grid;
  place-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-primary);
  font-weight: 700;
}

.page-hero {
  padding: 60px 0 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  border-bottom: 1px solid #e6e6ee;
  padding: 12px 8px;
  text-align: left;
}

body.theme-dark .table th,
body.theme-dark .table td {
  border-bottom-color: #2a2c39;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid #dfe1ea;
  padding: 10px 8px;
  vertical-align: top;
  font-size: 0.95rem;
}

.schedule-table th {
  background: #f3f4f8;
  font-weight: 800;
}

body.theme-dark .schedule-table th,
body.theme-dark .schedule-table td {
  border-color: #2a2c39;
}

body.theme-dark .schedule-table th {
  background: #1a1c26;
}

.site-footer {
  background: #09090c;
  color: #f0f0f5;
  padding: 42px 0;
}

body.theme-dark .site-footer {
  background: #050609;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

form {
  background: var(--white);
  border: 1px solid #ececf2;
  padding: 20px;
  border-radius: var(--radius);
}

label {
  display: block;
  margin-top: 12px;
  font-weight: 700;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #d6d6e2;
  margin-top: 6px;
}

body.theme-dark input,
body.theme-dark textarea,
body.theme-dark select {
  background: #0f1016;
  color: #ececf2;
  border-color: #2a2c39;
}

textarea {
  min-height: 120px;
}

@media (max-width: 900px) {
  .hero-grid, .cards, .steps, .two-col, .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .photo-grid img {
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .brand span {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    border: 1px solid #d6d6e2;
    background: var(--white);
    color: var(--text);
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 12px;
  }

  .site-nav.open {
    display: flex;
  }
}

body.theme-dark .nav-toggle {
  background: #1a1c26;
  color: #f4f5f8;
  border-color: #6f7387;
}





main,
.site-footer,
.site-header {
  position: relative;
  z-index: 1;
}







