/* ============================================================
   SOTC – Security Officer Training Center
   Main Stylesheet | Clean & Modern Design
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary:       #1e3a5f;
  --primary-dark:  #0f2340;
  --blue:          #2563eb;
  --blue-hover:    #1d4ed8;
  --blue-light:    #eff6ff;
  --red:           #dc2626;
  --red-light:     #fef2f2;
  --green:         #16a34a;
  --green-light:   #f0fdf4;
  --gold:          #d97706;
  --gold-light:    #fffbeb;
  --text:          #0f172a;
  --text-muted:    #475569;
  --text-light:    #94a3b8;
  --bg:            #ffffff;
  --bg-alt:        #f8fafc;
  --bg-alt2:       #f1f5f9;
  --border:        #e2e8f0;
  --border-dark:   #cbd5e1;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-md:     0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-lg:     0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size:     16px;
  --line-height:   1.65;
  --max-w:         1200px;
  --header-h:      72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--font-size); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: var(--line-height);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }

.text-center { text-align: center; }
.text-white { color: #fff !important; }
.text-white p, .text-white h1, .text-white h2, .text-white h3 { color: #fff !important; }
.text-muted { color: var(--text-muted) !important; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ---------- Section Headers ---------- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .label {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: .35rem .85rem;
  border-radius: 100px;
  margin-bottom: .875rem;
}
.section-header h2 { margin-bottom: .875rem; }
.section-header p { max-width: 640px; margin: 0 auto; font-size: 1.0625rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8125rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1.25;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--blue-light);
  color: var(--blue);
  text-decoration: none;
}
.btn-red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-red:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .875rem; }
.btn-full { width: 100%; }

/* ---------- Header / Nav ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  box-shadow: var(--shadow-sm);
}
#site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.header-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.header-logo img { width: 44px; height: 44px; border-radius: 8px; }
.header-logo-text { display: flex; flex-direction: column; }
.header-logo-name { font-size: .9375rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.header-logo-sub { font-size: .6875rem; color: var(--text-muted); font-weight: 500; }

nav { display: flex; align-items: center; gap: .25rem; }
nav a {
  padding: .5rem .7rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background .15s, color .15s;
  text-decoration: none;
}
nav a:hover { background: var(--bg-alt); color: var(--blue); text-decoration: none; }
nav a.active { color: var(--blue); background: var(--blue-light); }

.header-cta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: .4rem; font-size: .9375rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.header-phone:hover { color: var(--blue); text-decoration: none; }
.header-phone svg { width: 18px; height: 18px; color: var(--blue); }

/* Hamburger — navy fill, white lines, clearly visible on all backgrounds */
.nav-toggle { display: none; width: 44px; height: 44px; border: none; background: var(--primary-dark); border-radius: 10px; align-items: center; justify-content: center; flex-shrink: 0; transition: background .18s; }
.nav-toggle:hover { background: var(--primary); }
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: #fff; border-radius: 3px; transition: all .25s; position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; width: 20px; height: 2.5px; background: #fff; border-radius: 3px; transition: all .25s; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open { background: var(--primary); }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.open span::after { transform: rotate(-45deg); top: 0; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;          /* flush — no gap so hover is never lost */
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: .5rem;
  padding-top: 10px;  /* visual breathing room at top */
  z-index: 100;
}
/* Invisible bridge: extends hover area from nav link down into the menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  display: none;
}
.nav-dropdown:hover::after { display: block; }
.nav-dropdown-menu a { display: block; border-radius: var(--radius-sm); }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .7em; opacity: .6; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1e4080 100%);
  color: #fff;
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://sotcnow.com/wp-content/uploads/2025/07/Security-Guard-SOTC.jpg') center/cover no-repeat;
  opacity: .15;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: .35rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 .accent { color: #93c5fd; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.125rem; margin-bottom: 1.75rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.25rem; }
.hero-trust-item { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.9); font-size: .875rem; font-weight: 500; }
.hero-trust-item svg { color: #fbbf24; width: 18px; height: 18px; }
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--primary); margin-bottom: 1.25rem; }
.hero-card p { font-size: .9375rem; }

/* ---------- Urgency / Alert Bars ---------- */
.alert-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: .7rem 1.25rem;
  font-size: .9375rem;
  font-weight: 600;
}
.alert-bar a { color: #fef2f2; text-decoration: underline; }
.info-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: .65rem 1.25rem;
  font-size: .875rem;
}
.info-bar a { color: #93c5fd; }

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--blue);
  color: #fff;
  padding: 2rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-item .number { font-size: 2.25rem; font-weight: 800; line-height: 1; margin-bottom: .3rem; }
.stat-item .label { font-size: .875rem; opacity: .85; font-weight: 500; }

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-img { aspect-ratio: 16/9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-body { padding: 1.5rem; }
.card-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; flex-wrap: wrap; }
.badge {
  display: inline-block;
  padding: .2rem .65rem;
  font-size: .75rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-red { background: var(--red-light); color: var(--red); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-gold { background: var(--gold-light); color: var(--gold); }
.card-price { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.card-price .original { font-size: .875rem; color: var(--text-muted); text-decoration: line-through; margin-right: .25rem; font-weight: 400; }
.card .card-body h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.card .card-body p { font-size: .9375rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); background: var(--bg-alt); display: flex; align-items: center; justify-content: space-between; }

/* ---------- Feature List ---------- */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .625rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9375rem;
  color: var(--text-muted);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  margin-top: .1rem;
}
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: .4rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: .9375rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---------- FOMO Section ---------- */
.fomo-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.fomo-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.2) 0%, transparent 70%);
  pointer-events: none;
}
.fomo-section h2 { color: #fff; }
.fomo-section p { color: rgba(255,255,255,.8); }
.fomo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.fomo-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.fomo-card .icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(239,68,68,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.fomo-card.safe .icon-wrap { background: rgba(22,163,74,.15); }
.fomo-card h4 { color: #fff; margin-bottom: .5rem; }
.fomo-card p { color: rgba(255,255,255,.7); font-size: .9375rem; margin: 0; }
.fomo-list { display: flex; flex-direction: column; gap: 1rem; }
.job-at-risk {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: var(--radius);
  color: #fca5a5;
  font-size: .9375rem;
  font-weight: 500;
}
.job-safe {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  background: rgba(22,163,74,.1);
  border: 1px solid rgba(22,163,74,.25);
  border-radius: var(--radius);
  color: #86efac;
  font-size: .9375rem;
  font-weight: 500;
}

/* ---------- Steps / Process ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 36px);
  right: calc(16.67% + 36px);
  height: 2px;
  background: var(--border-dark);
  z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 6px var(--blue-light);
}
.step-item h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.step-item p { font-size: .9375rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #fbbf24; font-size: 1.1rem; letter-spacing: .1em; margin-bottom: .875rem; }
.testimonial-text { font-size: .9375rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: .9375rem; color: var(--text); }
.testimonial-role { font-size: .8125rem; color: var(--text-muted); }

/* ---------- FAQ Accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: .75rem; max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background .15s;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-q.open { background: var(--blue-light); color: var(--blue); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--bg-alt2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .2s, background .15s; font-size: .875rem; }
.faq-q.open .faq-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { display: none; padding: 1.25rem 1.5rem; background: var(--bg-alt); border-top: 1px solid var(--border); font-size: .9375rem; color: var(--text-muted); line-height: 1.7; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a.open { display: block; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .9375rem; font-weight: 600; color: var(--text); margin-bottom: .5rem; }
.form-label .required { color: var(--red); margin-left: .2rem; }
.form-control {
  width: 100%;
  padding: .8125rem 1rem;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .8125rem; color: var(--text-muted); margin-top: .375rem; }
.form-error { font-size: .8125rem; color: var(--red); margin-top: .375rem; display: none; }
.form-success {
  background: var(--green-light);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #15803d;
  font-weight: 500;
  display: none;
  margin-top: 1rem;
}

/* ---------- CAPTCHA ---------- */
.captcha-wrap {
  background: var(--bg-alt);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.captcha-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.captcha-label span { background: var(--blue); color: #fff; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; flex-shrink: 0; }
.captcha-options { display: flex; gap: .875rem; }
.captcha-option {
  flex: 1;
  aspect-ratio: 1;
  border: 2.5px solid var(--border-dark);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  cursor: pointer;
  transition: all .2s;
  padding: .75rem .5rem;
  position: relative;
}
.captcha-option:hover { border-color: var(--blue); background: var(--blue-light); transform: translateY(-2px); }
.captcha-option.selected-correct { border-color: var(--green); background: var(--green-light); }
.captcha-option.selected-wrong { border-color: var(--red); background: var(--red-light); animation: shake .3s ease; }
.captcha-option .icon { font-size: 2.25rem; line-height: 1; }
.captcha-option .cap-label { font-size: .7rem; font-weight: 600; color: var(--text-muted); text-align: center; }
.captcha-result { font-size: .875rem; font-weight: 600; margin-top: .75rem; display: none; }
.captcha-result.ok { color: var(--green); }
.captcha-result.fail { color: var(--red); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.0625rem; margin-bottom: 2rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-section .cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---------- Calendar ---------- */
.cal-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cal-month { margin-bottom: 3rem; }
.cal-month-header {
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cal-month-header h3 { color: #fff; margin: 0; font-size: 1.25rem; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  min-width: 560px;
}
.cal-day-name {
  background: var(--bg-alt2);
  text-align: center;
  padding: .625rem .25rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--border);
}
.cal-cell {
  min-height: 96px;
  padding: .5rem .4rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.empty { background: var(--bg-alt); }
.cal-cell.today .cal-date { background: var(--blue); color: #fff; }
.cal-date {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .3rem;
}
.cal-event {
  font-size: .7rem;
  font-weight: 600;
  padding: .18rem .4rem;
  border-radius: 4px;
  margin-bottom: .2rem;
  line-height: 1.3;
  cursor: default;
  display: block;
}
.cal-event-blue { background: var(--blue-light); color: var(--blue); }
.cal-event-red { background: var(--red-light); color: var(--red); }
.cal-event-green { background: var(--green-light); color: var(--green); }
.cal-event-gold { background: var(--gold-light); color: var(--gold); }
.cal-event-gray { background: #f1f5f9; color: #64748b; border: 1px dashed #cbd5e1; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
.cal-legend-item { display: flex; align-items: center; gap: .4rem; font-size: .8125rem; font-weight: 500; color: var(--text-muted); }
.cal-legend-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.cal-note { background: var(--gold-light); border: 1px solid #fde68a; border-radius: var(--radius); padding: 1rem 1.25rem; margin-top: 1.5rem; font-size: .9375rem; color: #92400e; }

/* ---------- Info Boxes ---------- */
.info-box {
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
}
.info-box.warning { border-color: var(--gold); background: var(--gold-light); }
.info-box.success { border-color: var(--green); background: var(--green-light); }
.info-box.danger { border-color: var(--red); background: var(--red-light); }
.info-box h4 { color: var(--primary); margin-bottom: .5rem; font-size: 1rem; }
.info-box p { font-size: .9375rem; margin: 0; }

/* ---------- Comparison Table ---------- */
.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th { background: var(--primary); color: #fff; padding: 1rem 1.25rem; font-size: .9375rem; text-align: left; }
.compare-table th:not(:first-child) { text-align: center; }
.compare-table td { padding: .875rem 1.25rem; border-bottom: 1px solid var(--border); font-size: .9375rem; }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg-alt); }
.compare-table .check { color: var(--green); font-weight: 700; font-size: 1.1rem; }
.compare-table .cross { color: var(--red); font-weight: 700; font-size: 1.1rem; }
.compare-table .highlight td { background: var(--blue-light) !important; font-weight: 600; color: var(--blue); }

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
  font-size: .875rem;
  color: var(--text-muted);
  padding: 1rem 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue); text-decoration: none; }
.breadcrumb-sep { opacity: .5; }
.breadcrumb-current { color: var(--text); font-weight: 500; }

/* ---------- Page Header ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.0625rem; max-width: 620px; margin: 0; }
.page-hero .breadcrumb { opacity: 1; margin-bottom: .75rem; }
.page-hero .breadcrumb { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb a:last-of-type { color: #fff; font-weight: 600; background: rgba(255,255,255,.14); padding: .2rem .65rem; border-radius: 999px; }
.page-hero .breadcrumb-sep { color: rgba(255,255,255,.4); }

/* ---------- Sticky Side CTA ---------- */
.sticky-cta {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}
.sticky-cta h4 { color: var(--primary); margin-bottom: .75rem; font-size: 1.1rem; }
.sticky-cta .price { font-size: 1.75rem; font-weight: 800; color: var(--blue); margin-bottom: .25rem; }
.sticky-cta .orig-price { font-size: .9375rem; color: var(--text-muted); text-decoration: line-through; }
.sticky-cta .savings { display: inline-block; background: var(--red-light); color: var(--red); font-size: .8125rem; font-weight: 700; padding: .2rem .6rem; border-radius: 100px; margin-bottom: 1rem; }
.course-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }

/* ---------- Social Proof Bar ---------- */
.social-proof-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.social-proof-list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2rem; }
.social-proof-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--text-muted); }
.social-proof-item svg { width: 20px; height: 20px; color: var(--blue); }

/* ---------- Icon Grid ---------- */
.icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.icon-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.icon-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.icon-card .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}
.icon-card h4 { color: var(--primary); margin-bottom: .5rem; font-size: 1rem; }
.icon-card p { font-size: .9rem; margin: 0; }

/* ---------- Two-Column Content ---------- */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.content-grid.flip { direction: rtl; }
.content-grid.flip > * { direction: ltr; }
.content-grid img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

/* ---------- Sidebar Layout ---------- */
.sidebar-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; }
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.sidebar-widget-header { background: var(--primary); color: #fff; padding: .875rem 1.25rem; font-weight: 700; font-size: .9375rem; }
.sidebar-widget-body { padding: 1.25rem; }
.sidebar-widget-body ul { display: flex; flex-direction: column; gap: .25rem; }
.sidebar-widget-body ul li a { display: block; padding: .5rem .75rem; border-radius: var(--radius-sm); font-size: .9375rem; color: var(--text-muted); transition: all .15s; }
.sidebar-widget-body ul li a:hover { background: var(--blue-light); color: var(--blue); text-decoration: none; }

/* ---------- Footer ---------- */
#site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand .footer-logo img { width: 48px; height: 48px; border-radius: 8px; }
.footer-brand .name { font-size: 1rem; font-weight: 700; color: #fff; }
.footer-brand p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.88); }
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.footer-social a:hover { background: var(--blue); color: #fff; text-decoration: none; }
.footer-col h5 { color: #fff; font-size: .9375rem; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: .4rem; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .875rem; transition: color .15s; text-decoration: none; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-contact-item { display: flex; gap: .625rem; margin-bottom: .875rem; font-size: .875rem; color: rgba(255,255,255,.7); }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: .15rem; color: #93c5fd; }
.footer-contact-item a { color: rgba(255,255,255,.7); }
.footer-contact-item a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.8); text-decoration: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.rounded { border-radius: var(--radius) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.bg-alt { background: var(--bg-alt) !important; }
.bg-primary { background: var(--primary) !important; }
.highlight-box { background: var(--blue-light); border: 1px solid #bfdbfe; border-radius: var(--radius-lg); padding: 1.5rem 2rem; }

/* ---------- Mobile Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .course-detail-grid { grid-template-columns: 1fr; }
  .sticky-cta { position: static; }
  .sidebar-layout { grid-template-columns: 1fr; }
  nav .nav-dropdown-menu { display: none !important; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .fomo-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .steps-grid { gap: 1.25rem; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid img { order: -1; }
  /* ── Mobile nav panel ── */
  nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--border); padding: 1rem 1rem 1.5rem; flex-direction: column; align-items: stretch; gap: .5rem; box-shadow: 0 12px 32px rgba(0,0,0,.13); max-height: calc(100vh - var(--header-h)); overflow-y: auto; z-index: 899; }
  nav.open { display: flex; }
  /* Direct nav links (e.g. Guard Card) — full width bordered row */
  nav > a { display: block; width: 100%; box-sizing: border-box; padding: .9rem 1.1rem; font-size: 1.0625rem; font-weight: 700; color: var(--primary-dark); border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; text-decoration: none; }
  nav > a:hover, nav > a.active { background: var(--blue-light); color: var(--primary); border-color: #bfdbfe; }
  /* ── Dropdown accordion wrapper ── */
  .nav-dropdown { width: 100%; display: flex; flex-direction: column; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; position: static; }
  /* Row: link + expand button side by side */
  .nav-dropdown-inner { display: flex; align-items: stretch; width: 100%; }
  .nav-dropdown-inner > a { flex: 1; display: block; padding: .9rem 1.1rem; font-size: 1.0625rem; font-weight: 700; color: var(--primary-dark); text-decoration: none; border: none !important; border-right: 1.5px solid var(--border) !important; border-radius: 0 !important; background: #fff; }
  .nav-dropdown-inner > a:hover { background: var(--blue-light); color: var(--primary); }
  /* Hide desktop chevron on mobile */
  .nav-dropdown > a::after, .nav-dropdown-inner > a::after { content: none !important; }
  /* +/− expand button */
  .mob-toggle { width: 52px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); border: none; cursor: pointer; font-size: 1.5rem; color: var(--primary-dark); font-weight: 300; line-height: 1; transition: background .15s, color .15s; }
  .mob-toggle:hover { background: var(--blue-light); color: var(--primary); }
  .nav-dropdown.mob-open .mob-toggle { background: var(--blue-light); color: var(--primary); }
  /* Sub-menu: hidden by default, slides open on .mob-open */
  .nav-dropdown .nav-dropdown-menu { display: none !important; }
  .nav-dropdown.mob-open .nav-dropdown-menu { display: flex !important; flex-direction: column; gap: .25rem; position: static !important; box-shadow: none !important; border: none !important; border-top: 1.5px solid var(--border) !important; border-radius: 0 !important; min-width: unset !important; width: 100% !important; padding: .5rem !important; background: var(--bg-alt) !important; }
  .nav-dropdown.mob-open .nav-dropdown-menu a { display: block !important; padding: .65rem 1rem !important; border: none !important; border-radius: 6px !important; font-size: .9375rem !important; font-weight: 600; color: var(--primary-dark); background: transparent !important; text-decoration: none; }
  .nav-dropdown.mob-open .nav-dropdown-menu a:hover { background: #dbeafe !important; color: var(--primary) !important; }
  /* Other UI */
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .header-phone-text { display: none; }
  .header-phone { width: 44px; height: 44px; background: var(--blue-light); border-radius: 10px; justify-content: center; padding: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card[style*="border:2px solid"] { margin-top: 1rem; }
}
@media (max-width: 640px) {
  :root { --font-size: 15px; }
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4rem 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 3.5rem 0; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.35; padding: .95rem 1.25rem; }
  .cta-section .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-section .cta-btns .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.35; padding: .95rem 1.25rem; }
  /* All large buttons wrap on small screens */
  .btn-lg { white-space: normal; text-align: center; line-height: 1.35; }
  /* Hide phone completely on very small screens — ham only */
  .header-phone { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
  .social-proof-list { gap: 1rem; }
  .compare-table { font-size: .8125rem; }
  .compare-table th, .compare-table td { padding: .625rem .75rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .alert-bar { font-size: .875rem; padding: .65rem 1rem; line-height: 1.4; }
  /* Card badge overflow fix on phone */
  .card[style*="border:2px solid"] { margin-top: 1.25rem; }
  /* Page hero text size */
  .page-hero h1 { font-size: clamp(1.5rem, 5vw, 2.5rem); }
  /* Legal page tables */
  .legal-body .cost-table { font-size: .8125rem; }
}

/* ---------- Print ---------- */
@media print {
  #site-header, #site-footer, .alert-bar, .cta-section { display: none; }
  .page-hero { background: #fff !important; color: var(--text) !important; }
  .page-hero h1 { color: var(--primary) !important; }
}
