/* ============================================================
   Royal Star Driving School — style.css
   ============================================================ */

/* === Variables === */
:root {
  --navy-dark:    #071E40;
  --navy-primary: #0B2D5E;
  --navy-mid:     #1A4A8A;
  --gold:         #D4AF37;
  --gold-light:   rgba(212,175,55,0.15);
  --blue-muted:   #9AB5D9;
  --blue-light:   #C8D8EE;
  --white:        #FFFFFF;
  --surface:      #F4F7FB;
  --card-bg:      #FFFFFF;
  --text-primary: #1A202C;
  --text-muted:   #5A6A7E;
  --border:       #E2E8F0;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-card: 12px;
  --radius-btn:  6px;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
  --max-width:   1100px;
  --pad-v:       64px;
  --pad-h:       32px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: var(--font-body); }

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}
section { padding: var(--pad-v) 0; }
.section-white   { background: var(--white); }
.section-surface { background: var(--surface); }
.section-navy    { background: var(--navy-primary); }

/* === Typography === */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.3; }
h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 600; }
h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 500; }
h3 { font-size: clamp(17px, 2vw, 20px); font-weight: 500; }

.section-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy-mid);
  margin-bottom: 12px;
}
.section-label.gold  { color: var(--gold); }
.section-label.light { color: var(--blue-muted); }

.section-header          { margin-bottom: 48px; }
.section-header h2       { margin-bottom: 12px; }
.section-header p        { color: var(--text-muted); font-size: 16px; max-width: 560px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: filter 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover  { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--gold); color: var(--navy-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); filter: none; }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold-light); filter: none; }

/* === Navigation === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-primary);
  height: 64px;
}
.nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-text      { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-main      { font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--white); }
.nav-logo-sub       { font-size: 11px; font-weight: 400; color: var(--blue-muted); letter-spacing: 0.04em; }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--blue-light);
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  margin-left: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--navy-primary);
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: block;
  color: var(--blue-light);
  font-size: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.nav-mobile-menu a:last-of-type { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--white); }
.nav-mobile-menu a.active { color: var(--gold); }
.nav-mobile-menu .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* === Hero === */
.hero {
  background: var(--navy-primary);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Hero left */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero h1       { color: var(--white); margin-bottom: 20px; }
.hero h1 .gold { color: var(--gold); }
.hero-body     { color: var(--blue-muted); font-size: 16px; margin-bottom: 32px; line-height: 1.75; }
.hero-ctas     { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
}
.hero-stat {
  flex: 1;
  padding: 0 24px;
  border-right: 1px solid rgba(212,175,55,0.35);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child  { border-right: none; }
.hero-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  font-family: var(--font-heading);
  line-height: 1.1;
}
.hero-stat-label {
  display: block;
  font-size: 13px;
  color: var(--blue-muted);
  margin-top: 3px;
}

/* Hero right card */
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 32px;
}
.hero-card-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-muted);
  margin-bottom: 22px;
  font-weight: 500;
}
.hero-checklist     { display: flex; flex-direction: column; gap: 14px; }
.hero-check-item    { display: flex; align-items: flex-start; gap: 12px; color: var(--blue-light); font-size: 15px; }
.check-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(212,175,55,0.18);
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* === Feature Cards === */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy-mid);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.feature-card-icon {
  width: 44px; height: 44px;
  background: var(--gold-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card-icon svg {
  width: 22px; height: 22px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* === Ministry Badge === */
.ministry-section { text-align: center; }
.ministry-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  border: 2px solid rgba(212,175,55,0.25);
  border-radius: 16px;
  padding: 24px 36px;
  margin-bottom: 24px;
}
.ministry-badge-top  { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 500; }
.ministry-badge-main { font-family: var(--font-heading); font-size: 19px; font-weight: 500; color: var(--text-primary); }
.ministry-text {
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* === Reviews === */
.stars-row  { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.stars-large { font-size: 22px; color: var(--gold); letter-spacing: 2px; }
.stars-score { font-size: 22px; font-weight: 600; font-family: var(--font-heading); }

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.review-stars  { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text   { font-size: 15px; color: var(--text-muted); line-height: 1.7; font-style: italic; margin-bottom: 20px; flex: 1; }
.review-author { font-weight: 500; font-size: 14px; color: var(--text-primary); }
/* === Reviews Marquee === */
.reviews-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 -32px;
  padding: 8px 0 16px;
}

/* Fade edges */
.reviews-marquee::before,
.reviews-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.reviews-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 20%, transparent);
}
.reviews-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 20%, transparent);
}

.reviews-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-left 32s linear infinite;
  padding: 0 32px;
}

.reviews-track:hover { animation-play-state: paused; }

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reviews-track .review-card {
  width: 320px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .reviews-marquee { margin: 0 -20px; }
  .reviews-track .review-card { width: 280px; }
}

.reviews-cta   { margin-top: 36px; text-align: center; }
.reviews-cta a {
  color: var(--navy-mid);
  font-weight: 500;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.reviews-cta a:hover { color: var(--gold); }

/* === Registration Form === */
.register-section .section-header h2 { color: var(--white); }
.register-section .section-header p  { color: var(--blue-muted); }

.form-wrapper { max-width: 720px; margin: 0 auto; }

.registration-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group             { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width  { grid-column: 1 / -1; }

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.55); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group input[type="date"] { color-scheme: light; cursor: pointer; }
.form-group input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffffff60' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-group select option { background: #0B2D5E; color: #fff; }

.form-submit { grid-column: 1 / -1; margin-top: 4px; }

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 13px 22px;
  font-size: 16px;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  font-weight: 500;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: filter 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-submit:hover    { filter: brightness(1.08); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; filter: none; }

.form-message {
  padding: 18px 22px;
  border-radius: 8px;
  font-size: 15px;
  text-align: center;
  line-height: 1.6;
}
.form-message.success {
  background: rgba(72,187,120,0.12);
  border: 1px solid rgba(72,187,120,0.4);
  color: #68D391;
}
.form-message.error {
  background: rgba(252,129,74,0.12);
  border: 1px solid rgba(252,129,74,0.4);
  color: #FC8D6A;
  margin-bottom: 16px;
}

#hours-group, #hours-group-2 { display: none; }

.btn-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(11,45,94,0.3);
  border-top-color: var(--navy-dark);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === FAQ === */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-primary);
  gap: 20px;
  transition: color 0.2s;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.faq-question:hover { color: var(--navy-mid); }
.faq-toggle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--navy-mid);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.faq-item.open .faq-toggle {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--gold);
}
.faq-answer        { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner  { padding: 0 0 20px; color: var(--text-muted); font-size: 15px; line-height: 1.75; }

/* === Footer === */
.footer {
  background: var(--navy-dark);
  color: var(--blue-light);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo { margin-bottom: 14px; }
.footer-brand-text {
  font-size: 14px;
  color: var(--blue-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 240px;
}
.footer-socials     { display: flex; gap: 8px; flex-wrap: wrap; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.social-icon:hover {
  background: rgba(212,175,55,0.15);
  color: var(--gold);
  border-color: rgba(212,175,55,0.3);
}
.social-icon svg { width: 15px; height: 15px; fill: currentColor; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul    { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--blue-muted); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--blue-muted);
  margin-bottom: 10px;
  line-height: 1.55;
}
.footer-contact-item svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  fill: none;
  stroke: var(--blue-muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(154,181,217,0.5);
}

/* === Inner Page Hero === */
.page-hero {
  background: var(--navy-primary);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1         { color: var(--white); margin-bottom: 10px; }
.breadcrumb           { font-size: 14px; color: var(--blue-muted); display: flex; align-items: center; gap: 7px; }
.breadcrumb a         { color: var(--blue-muted); transition: color 0.2s; }
.breadcrumb a:hover   { color: var(--gold); }
.breadcrumb-sep       { color: rgba(154,181,217,0.35); }

/* === About Page === */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-story-text h2  { margin-bottom: 20px; }
.about-story-text p   { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.about-story-text p:last-child { margin-bottom: 0; }

.about-story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.star-decoration-wrap {
  position: relative;
  width: 280px; height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.star-decoration-wrap::before,
.star-decoration-wrap::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.star-decoration-wrap::before {
  inset: 0;
  background: var(--gold-light);
}
.star-decoration-wrap::after {
  inset: 20px;
  border: 1px solid rgba(212,175,55,0.2);
}

.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric-card {
  background: var(--navy-primary);
  border-radius: var(--radius-card);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 8px;
}
.metric-label { font-size: 14px; color: var(--blue-muted); }

.instructor-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}
.instructor-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--gold);
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.instructor-name  { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.instructor-title { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.instructor-bio   { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.instructor-quote {
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 13px 16px;
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.65;
}
.instructor-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 13px;
}

.contact-strip     { background: var(--navy-primary); text-align: center; padding: var(--pad-v) var(--pad-h); }
.contact-strip h2  { color: var(--white); margin-bottom: 10px; }
.contact-strip p   { color: var(--blue-muted); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }
.contact-strip-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* === Packages Page === */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  padding-top: 16px;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--navy-mid) 0%, var(--gold) 50%, var(--navy-mid) 100%);
  opacity: 0.35;
}
.step { text-align: center; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-mid);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid var(--gold);
  position: relative;
  z-index: 1;
}
.step h3  { font-size: 17px; margin-bottom: 8px; }
.step p   { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* Package cards */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }

.package-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.package-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.package-card.popular {
  border-color: var(--gold);
  border-width: 2px;
  transform: scale(1.02);
}
.package-card.popular:hover { transform: scale(1.02) translateY(-3px); }

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.package-name  { font-family: var(--font-heading); font-size: 22px; color: var(--text-primary); margin-bottom: 6px; }
.package-price { font-size: 30px; font-weight: 600; color: var(--navy-mid); font-family: var(--font-heading); line-height: 1.1; margin-bottom: 3px; }
.package-price span { font-size: 15px; font-weight: 400; color: var(--text-muted); }
.package-total { font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.package-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.package-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); }
.pkg-check {
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1.5px solid rgba(212,175,55,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.pkg-check svg {
  width: 8px; height: 8px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.package-card .btn { width: 100%; justify-content: center; }

/* Pricing tables */
.pricing-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pricing-table {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pricing-table-header { background: var(--navy-primary); padding: 20px 24px; }
.pricing-table-header h3 { font-family: var(--font-heading); font-size: 18px; color: var(--white); }
.pricing-table table { width: 100%; border-collapse: collapse; }
.pricing-table th {
  text-align: left;
  padding: 11px 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--surface);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
}
.pricing-table td {
  padding: 13px 20px;
  font-size: 14px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tbody tr:hover td { background: var(--surface); }
.pricing-table td:last-child { text-align: right; font-weight: 500; color: var(--navy-mid); }

/* Included grid */
.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.included-item { text-align: center; padding: 24px 12px; }
.included-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 2px solid rgba(212,175,55,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.included-icon svg {
  width: 23px; height: 23px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.included-item h4 { font-size: 15px; font-weight: 500; color: var(--text-primary); margin-bottom: 5px; font-family: var(--font-body); }
.included-item p  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Ontario licensing timeline */
.licensing-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  padding-top: 16px;
}
.licensing-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: var(--navy-mid);
  opacity: 0.25;
}
.lic-step { text-align: center; }
.lic-step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.lic-step h3 { font-size: 17px; margin-bottom: 8px; }
.lic-step p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.newcomer-note {
  background: var(--gold-light);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 10px;
  padding: 18px 22px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.newcomer-note strong { color: var(--text-primary); }

/* === Scroll Animations === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: 0.08s; }
.anim-delay-2 { transition-delay: 0.16s; }
.anim-delay-3 { transition-delay: 0.24s; }
.anim-delay-4 { transition-delay: 0.32s; }
.anim-delay-5 { transition-delay: 0.40s; }
.anim-delay-6 { transition-delay: 0.48s; }

/* === Responsive: Tablet === */
@media (max-width: 1024px) {
  .card-grid-3  { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: repeat(2, 1fr); }
  .package-card.popular { transform: none; }
  .package-card.popular:hover { transform: translateY(-3px); }
  .about-story { gap: 40px; }
}

/* === Responsive: Mobile === */
@media (max-width: 768px) {
  :root { --pad-v: 44px; --pad-h: 20px; }

  .nav { height: 56px; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 52px 0 48px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-stat { padding: 0 14px; }
  .hero-stat-value { font-size: 22px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: fit-content; }

  .card-grid-3    { grid-template-columns: 1fr; }
  .package-grid   { grid-template-columns: 1fr; }
  .package-card.popular { transform: none; }
  .pricing-tables { grid-template-columns: 1fr; }
  .metrics-grid   { grid-template-columns: repeat(2, 1fr); }
  .included-grid  { grid-template-columns: repeat(2, 1fr); }

  .about-story    { grid-template-columns: 1fr; }
  .about-story-visual { display: none; }
  .instructor-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 20px;
  }
  .instructor-avatar { margin: 0 auto; }
  .instructor-quote  { text-align: left; }

  .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .licensing-timeline { grid-template-columns: 1fr; }
  .licensing-timeline::before { display: none; }

  .registration-form  { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: 1; }
  .form-submit { grid-column: 1; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-strip-btns { flex-direction: column; align-items: center; }
  .contact-strip-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* === Stripe Trust Badges === */
.stripe-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}
.stripe-badge svg { color: var(--text-muted); flex-shrink: 0; }
.stripe-badge strong { color: #635BFF; font-weight: 600; }

.payment-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.payment-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.payment-trust-item svg {
  color: var(--navy-mid);
  flex-shrink: 0;
}
.payment-trust-item a {
  color: var(--navy-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.payment-trust-item a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .payment-trust { gap: 16px; }
  .payment-trust-item { font-size: 12px; }
}

/* === WhatsApp Floating Button === */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  filter: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  flex-shrink: 0;
}

/* Pulse ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid #25D366;
  animation: wa-pulse 2.2s ease-out infinite;
  opacity: 0;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.65; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip */
.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #1A202C;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Tooltip arrow */
.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1A202C;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .whatsapp-float-tooltip { display: none; }
}
