/* =========================================================
   Domla Driving School — stylesheet
   Design tokens: dark navy, road-line blue, white, light gray,
   safety-yellow accent used sparingly for CTAs and signage cues.
   Typography: Fraunces (display/serif) for headings, Manrope
   (sans) for body and UI text.
   ========================================================= */

:root {
  --navy: #0B1F3A;
  --navy-deep: #071426;
  --blue: #1E56A0;
  --blue-light: #4C7FCB;
  --white: #FFFFFF;
  --gray-50: #F4F6F8;
  --gray-100: #E7EBF0;
  --gray-400: #8B96A5;
  --gray-700: #3A4756;
  --yellow: #FFC107;
  --yellow-deep: #C98A00;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 6px 24px rgba(7, 20, 38, 0.10);
  --shadow-sm: 0 2px 8px rgba(7, 20, 38, 0.08);
  --container-w: 1180px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
p { max-width: 68ch; }
:focus-visible {
  outline: 3px solid var(--yellow-deep);
  outline-offset: 2px;
}
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--navy-deep); }
.btn-primary:hover { background: var(--yellow-deep); color: var(--white); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }
.btn-cta { background: var(--yellow); color: var(--navy-deep); padding: 10px 20px; }
.btn-cta:hover { background: var(--yellow-deep); color: var(--white); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  min-height: 92px;
  padding: 14px 0;
  max-width: 1500px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex-shrink: 0;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-deep);
  font-size: 1.05rem;
}
.brand-logo {
  height: 80px;
  width: auto;
  display: block;
  background: var(--white);
  border-radius: 12px;
  padding: 6px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18), 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.brand:hover .brand-logo {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,193,7,0.35), 0 0 0 1px rgba(255,255,255,0.1);
}
@media (max-width: 640px) {
  .brand-logo { height: 50px; padding: 4px 10px; }
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
}
.brand-text span { color: var(--yellow); font-weight: 600; }

.primary-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; row-gap: 10px; gap: 16px; }
.primary-nav ul { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; gap: 13px; }
.nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  padding: 8px 1px;
  border-bottom: 2px solid transparent;
}
.nav-link:hover, .nav-link.active { color: var(--white); border-bottom-color: var(--yellow); }
.nav-cta { white-space: nowrap; flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span { display: block; height: 2px; width: 20px; margin: 0 auto; background: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(7,20,38,0.92) 0%, rgba(11,31,58,0.80) 55%, rgba(11,31,58,0.55) 100%),
    var(--navy);
  color: var(--white);
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -30%;
  width: 640px;
  height: 640px;
  border: 90px solid rgba(255,193,7,0.08);
  border-radius: 50%;
}
.hero-inner { max-width: 640px; position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 12ch; }
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.12rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Section shells ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--gray-50); }
.section-header { max-width: 640px; margin-bottom: 44px; }
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-header p { color: var(--gray-700); }

/* ---------- Program cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.program-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.program-card .icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--gray-50);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.program-card h3 { font-size: 1.18rem; }
.program-card ul { margin: 12px 0 20px; }
.program-card ul li { position: relative; padding-left: 22px; margin-bottom: 6px; font-size: 0.95rem; color: var(--gray-700); }
.program-card ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--blue);
  position: absolute; left: 0; top: 2px;
  font-size: 0.78rem;
}
.program-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Pricing table ---------- */
.pricing-table-wrap { overflow-x: auto; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 640px;
}
.pricing-table thead th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 600;
}
.pricing-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.pricing-table tbody tr:last-child td { border-bottom: none; }
.price-regular { color: var(--gray-400); text-decoration: line-through; margin-right: 8px; }
.price-discounted { color: var(--blue); font-weight: 800; font-size: 1.08rem; }

.pricing-cards { display: none; grid-template-columns: 1fr; gap: 16px; }
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pricing-card .hours { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }
.pricing-card .prices { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.pricing-card .prices .price-regular { margin-right: 0; font-size: 0.88rem; }
.pricing-card .prices .price-discounted { font-size: 1.15rem; }

/* ---------- MVA rental ---------- */
.mva-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
.location-options { display: flex; flex-direction: column; gap: 14px; }
.location-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.location-option:hover { border-color: var(--blue-light); }
.location-option input[type="radio"] { width: 20px; height: 20px; accent-color: var(--blue); }
.location-option .loc-name { font-weight: 700; color: var(--navy); }
.location-option .loc-price { font-weight: 800; color: var(--blue); }
.location-option.selected { border-color: var(--blue); background: #F1F6FC; }

.mva-summary {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.mva-summary h3 { color: var(--white); font-size: 1.1rem; }
.mva-summary .summary-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mva-summary .summary-total { font-size: 1.4rem; font-weight: 800; color: var(--yellow); }
#mvaError { color: var(--yellow); font-size: 0.9rem; margin-top: 10px; display: none; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-100);
  border-radius: 8px;
  background: var(--white);
  color: var(--gray-700);
}
input[type="date"] { min-height: 46px; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); }
textarea { resize: vertical; min-height: 130px; }
.field-error { color: #B3261E; font-size: 0.85rem; }
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}
.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 600;
}
.alert-success { background: #E7F5EC; color: #1E6B3C; border: 1px solid #BFE6CB; }
.alert-error { background: #FCEAEA; color: #B3261E; border: 1px solid #F3C6C6; }

/* ---------- Contact info blocks ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 44px; }
.info-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 22px;
  text-align: left;
}
.info-card i { color: var(--blue); font-size: 1.3rem; margin-bottom: 10px; }
.info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.info-card p { font-size: 0.92rem; color: var(--gray-700); margin: 0; }
.info-card p a:hover { text-decoration: underline; }

/* ---------- About page ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.stat-row { display: flex; gap: 34px; margin-top: 28px; flex-wrap: wrap; }
.stat-row .stat b { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); }
.stat-row .stat span { font-size: 0.88rem; color: var(--gray-700); }
.placeholder-media {
  background: repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 12px, var(--gray-50) 12px, var(--gray-50) 24px);
  border-radius: var(--radius);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-weight: 700;
  border: 1px dashed var(--gray-400);
  text-align: center;
  padding: 20px;
}
.program-image {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: block;
}

/* ---------- Payment page ---------- */
.payment-notice {
  background: #FFF7E0;
  border: 1px solid #F4D98E;
  color: #6B4E00;
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-bottom: 30px;
}
.summary-box {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.summary-box .summary-line { display: flex; justify-content: space-between; padding: 8px 0; }
.summary-box .summary-line.total { font-weight: 800; color: var(--navy); border-top: 1px solid var(--gray-100); margin-top: 6px; padding-top: 14px; }

/* ---------- Thank-you page ---------- */
.confirmation {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 80px 0;
}
.confirmation .check {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: #E7F5EC;
  color: #1E6B3C;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.88); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-text { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-top: 12px; }
.footer-nav h2, .footer-contact h2, .footer-legal h2 {
  color: var(--white); font-family: var(--font-body); font-size: 0.85rem;
  letter-spacing: 0.03em; margin-bottom: 14px;
}
.footer-nav ul li, .footer-legal ul li { margin-bottom: 10px; }
.footer-nav a, .footer-legal a { color: rgba(255,255,255,0.7); }
.footer-nav a:hover, .footer-legal a:hover { color: var(--yellow); }
.footer-contact ul li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.92rem; align-items: flex-start; }
.footer-contact i { color: var(--yellow); margin-top: 3px; width: 16px; text-align: center; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.75); word-break: break-word; }
.footer-contact a:hover { color: var(--yellow); }
.social-placeholders { display: flex; gap: 10px; margin-top: 18px; }
.social-placeholders a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom { padding: 22px 0; font-size: 0.85rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .mva-panel { grid-template-columns: 1fr; }
  .mva-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 1300px) {
  .header-inner { height: 72px; }
  .primary-nav {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 28px 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav ul { flex-direction: column; gap: 4px; }
  .nav-link { display: block; font-size: 1rem; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { margin-top: 18px; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .hero { padding: 64px 0 56px; }
  .hero::after { display: none; }
  .section { padding: 56px 0; }
}

@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pricing-table-wrap { display: none; }
  .pricing-cards { display: grid; }
  .cta-band { flex-direction: column; text-align: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 32px; }
  .site-footer { padding-top: 44px; }
  header .brand-text { font-size: 1.05rem; }
}

/* =========================================================
   Program color themes — one color per program, reused on the
   homepage cards, the Programs page bars, and each program page.
   ========================================================= */
.theme-blue   { --theme: #1E56A0; --theme-deep: #143C73; }
.theme-teal   { --theme: #0F6B6B; --theme-deep: #0A4B4B; }
.theme-green  { --theme: #1E6B3C; --theme-deep: #154D2B; }
.theme-orange { --theme: #B5470A; --theme-deep: #873407; }

/* Colored homepage cards (match the "Reserve your test-day vehicle" band) */
.program-card.themed {
  background: linear-gradient(160deg, var(--theme) 0%, var(--theme-deep) 100%);
  border: none;
  box-shadow: var(--shadow);
  color: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.program-card.themed:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(7,20,38,0.22); }
.program-card.themed .icon { background: rgba(255,255,255,0.16); color: var(--yellow); }
.program-card.themed h3 { color: var(--white); }
.program-card.themed ul li { color: rgba(255,255,255,0.92); }
.program-card.themed ul li::before { color: var(--yellow); }

/* Programs page: one colored bar per program */
.program-bars { display: grid; gap: 22px; }
.program-bar {
  background: linear-gradient(120deg, var(--theme) 0%, var(--theme-deep) 100%);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.program-bar-main { flex: 1 1 420px; min-width: 0; }
.program-bar .bar-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(255,255,255,0.16); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.program-bar h2 { color: var(--white); margin-bottom: 8px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.program-bar p { color: rgba(255,255,255,0.9); margin: 0 0 14px; }
.program-bar .bar-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.program-bar .bar-facts li {
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.88rem;
  font-weight: 600;
}
.program-bar .btn { flex-shrink: 0; }

/* Individual program pages: colored hero band + details */
.program-hero {
  background: linear-gradient(120deg, var(--theme) 0%, var(--theme-deep) 100%);
  color: var(--white);
  padding: 56px 0;
}
.program-hero h1 { color: var(--white); margin-bottom: 10px; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.program-hero p { color: rgba(255,255,255,0.9); font-size: 1.08rem; margin: 0; }
.program-hero .bar-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.program-hero .bar-facts li {
  background: rgba(255,255,255,0.16); border-radius: 999px;
  padding: 5px 14px; font-size: 0.9rem; font-weight: 600;
}
.program-detail-list li { margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.program-detail-list i { color: var(--theme); margin-top: 5px; }

@media (max-width: 640px) {
  .program-bar { padding: 28px 22px; }
  .program-hero { padding: 40px 0; }
}

.theme-navy { --theme: #1B3A6B; --theme-deep: #0B1F3A; }

/* Logo sizing by breakpoint (kept last so it wins over earlier rules) */
@media (max-width: 1300px) {
  .brand-logo { height: 62px; padding: 5px 12px; }
}
@media (max-width: 640px) {
  .brand-logo { height: 52px; padding: 4px 10px; }
}

/* =========================================================
   Program bars v2 — unique solid colors + high-contrast text.
   Solid background-color fallbacks so color always shows.
   ========================================================= */
.theme-purple { --theme: #6B2FA0; --theme-deep: #46206B; }

.program-bar.theme-blue,   .program-hero.theme-blue   { background-color: #1E56A0; background-image: linear-gradient(120deg, #2467BA 0%, #143C73 100%); }
.program-bar.theme-teal,   .program-hero.theme-teal   { background-color: #0F6B6B; background-image: linear-gradient(120deg, #138585 0%, #0A4B4B 100%); }
.program-bar.theme-green,  .program-hero.theme-green  { background-color: #1E6B3C; background-image: linear-gradient(120deg, #258248 0%, #154D2B 100%); }
.program-bar.theme-orange, .program-hero.theme-orange { background-color: #C4500C; background-image: linear-gradient(120deg, #D95F14 0%, #873407 100%); }
.program-bar.theme-purple, .program-hero.theme-purple { background-color: #6B2FA0; background-image: linear-gradient(120deg, #803BBD 0%, #46206B 100%); }
.program-bar.theme-navy,   .program-hero.theme-navy   { background-color: #1B3A6B; background-image: linear-gradient(120deg, #24498A 0%, #0B1F3A 100%); }

.program-card.themed.theme-blue   { background-color: #1E56A0; }
.program-card.themed.theme-teal   { background-color: #0F6B6B; }
.program-card.themed.theme-green  { background-color: #1E6B3C; }
.program-card.themed.theme-orange { background-color: #C4500C; }

.program-bar { color: #fff; padding: 36px 44px; }
.program-bar h2 { color: #fff !important; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.program-bar p { color: #fff !important; font-size: 1.1rem; line-height: 1.6; font-weight: 500; opacity: 1; }
.program-bar .bar-icon { width: 60px; height: 60px; font-size: 1.6rem; background: rgba(255,255,255,0.22); color: #FFD43B; }
.program-bar .bar-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.program-bar .bar-facts li { display: inline-block; background: rgba(255,255,255,0.22); color: #fff; font-size: 0.95rem; font-weight: 700; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); }
.program-bar .btn { margin: 0; padding: 14px 28px; font-size: 1rem; font-weight: 700; white-space: nowrap; align-self: center; }
.program-card.themed h3 { color: #fff; font-size: 1.3rem; }
.program-card.themed ul li { color: #fff; font-weight: 500; }
.program-hero h1, .program-hero p { color: #fff; }

/* =========================================================
   v3 — Program info bars (blue title + white description),
   silver square cards, social icons, checkout steps.
   ========================================================= */
.info-bars { display: grid; gap: 22px; }
.info-bar {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #D5DAE1;
  background: #fff;
}
.info-bar-head {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 32px;
  background-color: #1E56A0;
  background-image: linear-gradient(120deg, #2467BA 0%, #143C73 100%);
}
.info-bar-head .bar-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,0.22); color: #FFD43B;
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.info-bar-head h3 { color: #fff; margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 700; }
.info-bar-body {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 24px 32px;
  background: #fff;
}
.info-bar-text { flex: 1 1 420px; min-width: 0; }
.info-bar-text p { color: var(--gray-700); font-size: 1.05rem; line-height: 1.6; margin: 0 0 14px; }
.info-bar .bar-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.info-bar .bar-facts li {
  background: #EEF1F5; color: var(--navy); border: 1px solid #D5DAE1;
  border-radius: 999px; padding: 5px 14px; font-size: 0.9rem; font-weight: 700;
}
.info-bar-body .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 640px) {
  .info-bar-head { padding: 16px 20px; }
  .info-bar-body { padding: 20px; }
}

/* Square program cards: plain silver */
.program-card.silver { background: #EEF1F5; border: 1px solid #D5DAE1; }
.program-card.silver .icon { background: #fff; color: #1E56A0; }

/* Social icons (brand colors) */
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.social-links a:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.25); color: #fff; }
.social-links .social-facebook  { background: #1877F2; }
.social-links .social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-links .social-youtube   { background: #FF0000; }
.social-links .social-tiktok    { background: #000; box-shadow: inset 0 0 0 2px #25F4EE, inset 0 0 0 4px #FE2C55; }
.follow-us { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 28px; font-weight: 700; color: var(--navy); }
.follow-us .social-links { margin-top: 0; }

/* Checkout */
.checkout-step { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin: 26px 0 14px; }
.checkout-step span {
  width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.hint { color: var(--gray-700); font-size: 0.88rem; margin: -6px 0 12px; display: block; }
.card-box { border: 1px solid #D5DAE1; background: #F6F8FA; border-radius: 12px; padding: 18px; margin-bottom: 22px; }
.card-box-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--navy); margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.card-brands { font-size: 1.7rem; color: #5B6B7F; display: inline-flex; gap: 6px; }
.card-box input:disabled { background: #EDEFF2; cursor: not-allowed; }
.card-note { font-size: 0.88rem; color: var(--gray-700); margin: 0; }
.card-element { background: #fff; border: 1px solid #D5DAE1; border-radius: 8px; padding: 14px; min-height: 46px; }
select { width: 100%; }
