/*
Theme Name: A1 Drivers Ed
Theme URI: https://a1driversedhub.com
Author: A1 Drivers Ed
Description: A sleek, dark WordPress theme for A1 Drivers Ed — Ohio's premier driving school. Includes WooCommerce support for course purchases.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: a1-drivers-ed
Tags: dark, education, woocommerce, one-page, custom-colors
*/

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #D01010;
  --red-dark: #A00C0C;
  --black: #0A0A0A;
  --charcoal: #161616;
  --mid: #222222;
  --gray: #999;
  --white: #FFFFFF;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--red);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  height: 36px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(208, 16, 16, 0.15);
}

.top-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: var(--white);
}

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 48px;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(208, 16, 16, 0.25);
}

.site-logo a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 0 18px rgba(208, 16, 16, 0.45);
}

.site-logo a span {
  color: var(--red);
}

.site-logo img {
  height: 100px;
  width: auto;
}

.main-navigation ul {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.main-navigation a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.main-navigation a:hover {
  color: var(--white);
}

/* Cart icon */
.main-navigation li.nav-cart a.nav-cart-link {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--gray);
  padding: 0 4px;
  transition: color 0.2s;
}

.main-navigation li.nav-cart a.nav-cart-link:hover {
  color: var(--white);
  text-decoration: none;
}

.nav-cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.main-navigation .nav-cta,
.main-navigation li.enroll {
  flex-shrink: 0;
}

.main-navigation .nav-cta a,
.main-navigation li.enroll a {
  background: var(--red);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 2px;
  font-weight: 600 !important;
  white-space: nowrap;
  transition: background 0.2s !important;
}

.main-navigation .nav-cta a:hover,
.main-navigation li.enroll a:hover {
  background: var(--red-dark) !important;
  text-decoration: none;
}

/* Dashboard dropdown */
.main-navigation li.has-dropdown {
  position: relative;
}

.main-navigation li.has-dropdown .sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  margin-top: 0;
  padding: 16px 0 8px;
  background: rgba(10, 10, 10, 0.97);
  border: 1px solid rgba(208, 16, 16, 0.25);
  border-radius: 2px;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 10;
}

.main-navigation li.has-dropdown:hover .sub-menu,
.main-navigation li.has-dropdown:focus-within .sub-menu {
  display: flex;
}

.main-navigation li.has-dropdown .sub-menu li {
  width: 100%;
}

.main-navigation li.has-dropdown .sub-menu a {
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 8px 14px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 48px 80px;
}

@media (min-width: 901px) {
  .hero {
    min-height: 100vh;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 55%, rgba(208, 16, 16, 0.12) 0%, transparent 70%),
    linear-gradient(160deg, #0A0A0A 0%, #1a0505 100%);
}

.hero-slash {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(180deg, #1a0a0a 0%, #0f0f0f 100%);
}

.hero-slash::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: repeating-linear-gradient(180deg,
      var(--white) 0px, var(--white) 28px,
      transparent 28px, transparent 56px);
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}

.hero h1 .accent {
  color: var(--red);
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #aaa;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-stats {
  position: absolute;
  right: 48px;
  bottom: 60px;
  z-index: 2;
  display: flex;
  gap: 48px;
  animation: fadeUp 0.7s 0.25s ease both;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--white);
}

.stat-num span {
  color: var(--red);
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 6px;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-primary {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-ghost {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--white);
  text-decoration: none;
}

.btn-white {
  background: var(--white);
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  display: inline-block;
}

.btn-white:hover {
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

/* ═══════════════════════════════════════════
   DIVIDERS & SECTIONS
═══════════════════════════════════════════ */
.slash-divider {
  height: 4px;
  background: repeating-linear-gradient(90deg,
      var(--red) 0px, var(--red) 20px,
      transparent 20px, transparent 30px);
  opacity: 0.6;
}

.section {
  padding: 100px 48px;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  margin-bottom: 60px;
}

.section-title em {
  font-style: normal;
  color: var(--red);
}

/* ═══════════════════════════════════════════
   COURSES / SHOP CARDS
═══════════════════════════════════════════ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.course-card {
  background: var(--charcoal);
  padding: 40px 36px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.course-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(208, 16, 16, 0.08) 0%, transparent 70%);
  transition: opacity 0.3s;
  opacity: 0;
}

.course-card:hover {
  border-color: var(--red);
  background: #1d1d1d;
}

.course-card:hover::after {
  opacity: 1;
}

.course-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: block;
}

.course-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.course-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.1;
}

.course-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #888;
  margin-bottom: 24px;
}

.course-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--white);
}

.course-price sup {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray);
  vertical-align: super;
  font-family: var(--font-body);
}

/* ═══════════════════════════════════════════
   WHY US
═══════════════════════════════════════════ */
.why-section {
  background: var(--charcoal);
  padding: 100px 48px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-bullet {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why-item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.why-item-text {
  font-size: 0.87rem;
  line-height: 1.65;
  color: #888;
}

.why-visual {
  position: relative;
}

.big-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 10vw, 10rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(208, 16, 16, 0.25);
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.testimonial-card {
  background: var(--mid);
  padding: 36px;
  border-left: 4px solid var(--red);
  position: relative;
  z-index: 1;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 0.6;
  display: block;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 24px;
}

.testimonial-author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}

.testimonial-meta {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 2px;
}

.stars {
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.step {
  background: var(--charcoal);
  padding: 36px 28px;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.5rem;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(208, 16, 16, 0.35);
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.step-text {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #777;
}

.step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 36px;
  font-size: 1.2rem;
  color: var(--red);
  z-index: 2;
}

/* ═══════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════ */
.cta-band {
  background: var(--red);
  padding: 80px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-band-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
  background: #060606;
  padding: 60px 48px 32px;
  border-top: 1px solid #1e1e1e;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}

.footer-brand .footer-logo span {
  color: var(--red);
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 12px;
  display: block;
}

.footer-tagline {
  font-size: 0.82rem;
  color: #555;
  max-width: 220px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.83rem;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-contact p {
  font-size: 0.83rem;
  color: #555;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-contact span {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #3a3a3a;
}

/* ═══════════════════════════════════════════
   INNER PAGES
═══════════════════════════════════════════ */
.page-hero {
  padding: 140px 48px 80px;
  background: linear-gradient(160deg, #0A0A0A 0%, #1a0505 100%);
  border-bottom: 3px solid var(--red);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(208, 16, 16, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--red);
}

.page-hero p {
  font-size: 1rem;
  color: #888;
  max-width: 480px;
  line-height: 1.7;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.page-content {
  padding: 80px 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Cart page wrapper — wider than .page-content, stays centered */
.wc-cart-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 136px 48px 0;
  width: 100%;
}

/* Hide WooCommerce empty-cart sad-face icon */
.wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
  display: none;
}

.page-content h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--white);
  margin: 40px 0 16px;
}

.page-content p {
  color: #999;
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Legal pages: Privacy Policy / Terms & Conditions */
.legal-content h2 {
  margin-top: 48px;
}

.legal-content .last-updated {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #999;
  line-height: 1.75;
}

.legal-content ul li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--red);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: start;
  padding: 80px 48px;
}

.about-text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.2rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1;
}

.about-text h2 em {
  font-style: normal;
  color: var(--red);
}

.about-text p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: #888;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 0 48px 80px;
}

.value-card {
  background: var(--charcoal);
  padding: 32px 28px;
  border-top: 3px solid var(--red);
}

.value-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 80px 48px;
}

.contact-map {
  padding: 80px 48px;
  filter: grayscale(0.3) contrast(1.1);
}

.contact-map iframe {
  display: block;
  width: 100%;
  border-left: 4px solid var(--red);
}

.contact-info h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.contact-info h2 em {
  font-style: normal;
  color: var(--red);
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-detail-text span {
  font-size: 0.9rem;
  color: #777;
}

.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid #2a2a2a;
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  margin-bottom: 6px;
  transition: border-color 0.2s;
  outline: none;
}

.field-hint {
  display: block;
  font-size: 0.75rem;
  color: #666;
  margin: 0 0 16px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--red);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form button {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  padding: 16px 36px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: var(--red-dark);
}

/* WordPress default form styles (Contact Form 7, etc.) */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid #2a2a2a;
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
  outline: none;
}

.wpcf7-form input[type="submit"] {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  padding: 16px 36px;
  border-radius: 2px;
  cursor: pointer;
}

/* ═══════════════════════════════════════════
   FAQ PAGE
═══════════════════════════════════════════ */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.resource-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--charcoal);
  padding: 24px 28px;
  border-top: 3px solid transparent;
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.resource-card:hover {
  border-color: var(--red);
  background: #1d1d1d;
  text-decoration: none;
}

.resource-card-title {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
}

.resource-card-arrow {
  flex-shrink: 0;
  color: var(--red);
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.resource-card:hover .resource-card-arrow {
  transform: translate(2px, -2px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  background: var(--charcoal);
  border-top: 3px solid transparent;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--red);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--red);
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}

.faq-icon::before {
  width: 18px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 18px;
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.faq-answer {
  display: none;
  padding: 0 28px 24px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.7;
  max-width: 720px;
}

/* ═══════════════════════════════════════════
   SERVICE AREAS PAGE
═══════════════════════════════════════════ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.area-card {
  background: var(--charcoal);
  padding: 32px 28px;
  border-top: 3px solid var(--red);
}

.area-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.25;
}

.area-card p {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.65;
}

.area-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.area-tag {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--charcoal);
  padding: 20px 24px;
}

.area-tag strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--white);
}

.area-tag span {
  font-size: 0.82rem;
  color: #777;
}

/* ═══════════════════════════════════════════
   WOOCOMMERCE
═══════════════════════════════════════════ */
.woocommerce-page .page-hero {
  margin-bottom: 0;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 2px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product {
  background: var(--charcoal);
  padding: 40px 36px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product:hover {
  border-color: var(--red);
  background: #1d1d1d;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  color: var(--white);
  text-decoration: none;
}

.woocommerce ul.products li.product img {
  border-radius: 2px;
  margin-bottom: 20px;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 1.45rem !important;
  text-transform: uppercase !important;
  color: var(--white) !important;
  margin-bottom: 12px !important;
  line-height: 1.1 !important;
}

.woocommerce ul.products li.product .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--white) !important;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--red) !important;
  color: var(--white) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  padding: 12px 24px !important;
  transition: background 0.2s !important;
  border: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--red-dark) !important;
}

/* ═══════════════════════════════════════════
   SINGLE PRODUCT PAGE
═══════════════════════════════════════════ */

/* Breadcrumb clears fixed nav */
.single-product .woocommerce-breadcrumb {
  margin-top: 120px;
}

/* Product page hero — white background, dark text */
.sp-hero {
  min-height: auto;
  padding-bottom: 100px;
  background: #ffffff;
}

.sp-hero .hero-bg {
  background: #ffffff;
}

.sp-hero .hero-slash {
  background: #f4f4f4;
}

.sp-hero .hero-slash::after {
  display: none;
}

.sp-hero h1 {
  color: var(--black);
}

.sp-hero p {
  color: #555;
}

.sp-description {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin: 4px 0 20px;
}

.sp-description p {
  color: #555;
  margin-bottom: 12px;
}

.sp-description ul,
.sp-description ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.sp-description li {
  margin-bottom: 6px;
}

.sp-hero .hero-eyebrow {
  color: var(--red);
}

.sp-hero .hero-eyebrow::before {
  background: var(--red);
}

/* Price displayed in the hero */
.sp-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--black);
  line-height: 1;
  margin-bottom: 20px;
}

.sp-price del {
  font-size: 1.4rem;
  color: #bbb;
  display: block;
  margin-bottom: 4px;
}

.sp-price ins {
  text-decoration: none;
}

.sp-price .woocommerce-Price-currencySymbol {
  font-size: 1.4rem;
  vertical-align: super;
  color: var(--black);
}

/* Add-to-cart form inside the hero */
.sp-purchase {
  margin-top: 32px;
}

.sp-purchase .cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* WooCommerce wraps qty in div.quantity — strip its default float/margin */
.sp-purchase .quantity {
  float: none;
  margin: 0;
}

.sp-purchase .qty {
  width: 72px;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 2px;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 12px;
  outline: none;
  text-align: center;
  transition: border-color 0.2s;
}

.sp-purchase .qty:focus {
  border-color: var(--red);
}

.sp-purchase .single_add_to_cart_button {
  background: var(--red) !important;
  color: var(--white) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 2px !important;
  padding: 16px 36px !important;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s !important;
}

.sp-purchase .single_add_to_cart_button:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
}

/* Variation selector in the hero */
.sp-purchase .variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.sp-purchase .variations td,
.sp-purchase .variations th {
  background: transparent;
  border: none;
  padding: 6px 0;
  vertical-align: middle;
}

.sp-purchase .variations th.label label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.sp-purchase .variations td.value select {
  width: 100%;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 2px;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 36px 10px 14px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  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='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  max-width: 320px;
}

.sp-purchase .variations td.value select:focus {
  border-color: var(--red);
}

.sp-purchase .reset_variations {
  font-size: 0.78rem;
  color: var(--red);
  display: inline-block;
  margin-top: 4px;
}

.sp-purchase .woocommerce-variation-price .price {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 1.8rem !important;
  color: var(--white) !important;
  display: block;
  margin-bottom: 14px;
}

.sp-purchase .woocommerce-variation-add-to-cart-disabled::after {
  content: 'Please select an option above';
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
}

/* What's Included description section */
.sp-details-section {
  padding: 100px 48px;
}

.sp-details-content {
  max-width: 820px;
  columns: 2;
  column-gap: 64px;
}

.sp-details-content h2,
.sp-details-content h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin: 0 0 14px;
  column-span: all;
}

.sp-details-content h2 { font-size: 1.6rem; }
.sp-details-content h3 { font-size: 1.2rem; margin-top: 28px; }

.sp-details-content p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #888;
  margin-bottom: 14px;
  break-inside: avoid;
}

.sp-details-content ul,
.sp-details-content ol {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #888;
  margin: 0 0 16px 20px;
}

.sp-details-content li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.sp-details-content strong {
  color: var(--white);
  font-weight: 600;
}

/* Related programs section */
.sp-related-section {
  background: var(--black);
}

/* Generic WC fallback */
.woocommerce div.product {
  padding: 0;
}

.woocommerce div.product .price {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 2rem !important;
  color: var(--white) !important;
}

/* Variable product attribute selects */
.woocommerce table.variations {
  width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

.woocommerce table.variations td,
.woocommerce table.variations th {
  background: transparent;
  border: none;
  padding: 6px 0;
  vertical-align: middle;
}

.woocommerce table.variations th.label {
  padding-right: 16px;
  white-space: nowrap;
  width: 1%;
}

.woocommerce table.variations th.label label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0;
}

.woocommerce table.variations td.value select {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid #333;
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 14px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  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='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.woocommerce table.variations td.value select:focus {
  border-color: var(--red);
}

.woocommerce .reset_variations {
  font-size: 0.78rem;
  color: var(--red);
  display: inline-block;
  margin-top: 6px;
}

.woocommerce .single_variation_wrap {
  margin-top: 8px;
}

.woocommerce .woocommerce-variation-price .price {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  font-size: 1.6rem !important;
  color: var(--white) !important;
  display: block;
  margin-bottom: 12px;
}

/* Disabled Add to Cart button hint */
.woocommerce .single_add_to_cart_button.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.woocommerce .woocommerce-variation-add-to-cart-disabled::after {
  content: 'Please select an option above';
  display: block;
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* Cart & Checkout */
.woocommerce table.shop_table {
  background: var(--charcoal);
  border: none !important;
}

.woocommerce table.shop_table th {
  background: var(--mid);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none !important;
}

.woocommerce table.shop_table td {
  color: #aaa;
  border-color: #2a2a2a !important;
}

.woocommerce-checkout #payment {
  background: var(--charcoal) !important;
}

/* Notices — push below the fixed header + top bar */
.woocommerce-notices-wrapper {
  position: fixed;
  top: 120px;
  left: 0;
  right: 0;
  z-index: 99;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
  background: var(--charcoal);
  border-top: 3px solid var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 16px 48px;
  margin: 0;
  border-radius: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 16px;
}

.woocommerce-notices-wrapper .woocommerce-message::before {
  color: var(--red);
}

.woocommerce-notices-wrapper .woocommerce-message a.button {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 8px 20px !important;
  margin-left: auto;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  color: #555;
  font-size: 0.8rem;
  padding: 16px 48px;
  background: var(--charcoal);
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--red);
}

/* My Account navigation — breadcrumb-style tab menu under the page title,
   replacing WooCommerce's default sidebar bullet list */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none;
  width: 100%;
  margin-bottom: 40px;
  border-bottom: 1px solid #2a2a2a;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none;
  width: 100%;
}

.woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 4px;
}

.woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li+li::before {
  content: '/';
  color: #444;
  margin-right: 4px;
}

.woocommerce-MyAccount-navigation ul li a {
  display: inline-block;
  padding: 10px 4px;
  color: #888;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--white);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--red);
  border-bottom-color: var(--red);
}

.a1de-dashboard-summary-link {
  margin-top: 16px;
}

/* Shop section wrapper */
.shop-section {
  padding: 60px 48px;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .top-bar {
    padding: 0 24px;
    gap: 16px;
    font-size: 0.7rem;
  }

  .top-bar a {
    font-size: 0.7rem;
  }

  .site-header {
    height: 84px;
    padding: 0 24px;
    justify-content: flex-start;
  }

  .main-navigation ul {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-navigation.toggled ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.97);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(208, 16, 16, 0.25);
  }

  .main-navigation.toggled li.has-dropdown {
    text-align: center;
  }

  .main-navigation.toggled li.has-dropdown .sub-menu {
    display: flex;
    position: static;
    min-width: 0;
    margin-top: 12px;
    margin-left: 0;
    padding: 0;
    border: none;
    background: none;
    gap: 12px;
  }

  .main-navigation.toggled li.has-dropdown .sub-menu a {
    padding: 0;
  }

  .hero {
    padding: 136px 24px 80px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    position: static;
    margin-top: 48px;
    flex-wrap: wrap;
    gap: 16px 28px;
  }

  .hero-slash {
    width: 0;
  }

  .section,
  .why-section {
    padding: 70px 24px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .steps-row {
    grid-template-columns: 1fr 1fr;
  }

  .step:nth-child(2)::after {
    display: none;
  }

  .cta-band {
    padding: 60px 24px;
  }

  .site-footer {
    padding: 48px 24px 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .page-hero {
    padding: 140px 24px 60px;
  }

  .page-content,
  .about-grid,
  .contact-layout {
    padding: 48px 24px;
  }

  .contact-map {
    padding: 48px 24px;
  }

  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-grid {
    padding: 0 24px 60px;
    grid-template-columns: 1fr;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .area-grid,
  .area-tags {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 20px 20px;
    font-size: 0.9rem;
  }

  .faq-answer {
    padding: 0 20px 20px;
  }

  .woocommerce div.product {
    padding: 0;
  }

  .shop-section {
    padding: 40px 24px;
  }

  .single-product .woocommerce-breadcrumb {
    margin-top: 120px;
  }

  .sp-details-section {
    padding: 60px 24px;
  }

  .sp-details-content {
    columns: 1;
  }

  .woocommerce table.variations th.label {
    padding-right: 12px;
  }

  .woocommerce .woocommerce-breadcrumb {
    padding: 12px 24px;
  }

  .woocommerce-MyAccount-navigation ul {
    gap: 0 6px;
  }

  .woocommerce-MyAccount-navigation ul li a {
    font-size: 0.85rem;
    padding: 8px 2px;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wc-cart-wrapper {
    padding: 132px 24px 0;
  }
}

@media (max-width: 560px) {
  .top-bar {
    padding: 0 16px;
    gap: 10px;
    font-size: 0.62rem;
  }

  .top-bar a {
    font-size: 0.62rem;
    gap: 4px;
  }

  .steps-row {
    grid-template-columns: 1fr;
  }

  .step::after {
    display: none;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}