/* ============================================
   RACE DELIVERY — Global Stylesheet v4
   Premium Motorsport Theme
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B2A4A;
  --navy-light: #243557;
  --navy-deep: #0f1b30;
  --red: #C41E3A;
  --red-dark: #8B1A2B;
  --red-hover: #A8182F;
  --white: #FFFFFF;
  --off-white: #EDEDEC;
  --chalk: #E4E3E0;
  --silver: #D5D4D1;
  --bg-main: #F0EFED;
  --text: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #7A7A7A;
  --border: #D5D4D1;
  --card-bg: rgba(255,255,255,0.92);
  --card-shadow: 0 4px 24px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 12px 40px rgba(0,0,0,0.14);
  --glass-dark: rgba(27,42,74,0.92);
  --glass-border: rgba(255,255,255,0.1);
  --transition: 0.3s ease;
  --max-width: 1200px;
  --nav-height: 76px;
  --font-heading: 'Barlow Semi Condensed', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
}
h1 { font-size: 3rem; letter-spacing: 0.5px; }
h2 { font-size: 2.25rem; letter-spacing: 0.3px; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }

.section-label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 0.75rem; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.text-center { text-align: center; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-alt { background: var(--chalk); }
.section-dark {
  background: var(--navy);
  color: var(--white);
  position: relative;
}
.section-dark .section-subtitle,
.section-dark .section-label { color: rgba(255,255,255,0.65); }

/* Glass panel */
.glass-panel {
  background: var(--glass-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 48px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  gap: 8px;
  text-decoration: none;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-hover); border-color: var(--red-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(196,30,58,0.35); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-sm { padding: 10px 24px; font-size: 0.88rem; }
.btn-lg { padding: 17px 44px; font-size: 1.08rem; letter-spacing: 0.5px; }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15,27,48,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: var(--nav-height);
  transition: background var(--transition);
}
.nav-inner, .nav-container, .navbar-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo, .navbar-logo a, .logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-logo span, .navbar-logo span, .logo span { color: var(--red); }
.nav-links, .nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-links a, .nav-links li a, .nav-menu a, .nav-link {
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active, .nav-menu a:hover, .nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-links li { list-style: none; }
.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 9px 24px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--red-hover) !important; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #0a1628 0%, var(--navy) 35%, #1a2845 65%, var(--red-dark) 100%);
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse at 60% 50%, rgba(196,30,58,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-main), transparent);
  pointer-events: none;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 80px 0; }
.hero h1 {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.05;
  letter-spacing: 1px;
}
.hero h1 .accent { color: var(--red); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  line-height: 1.75;
  max-width: 520px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,30,58,0.12);
  border: 1px solid rgba(196,30,58,0.25);
  border-radius: 100px;
  padding: 7px 18px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 28px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* --- Generic Card --- */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 36px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}
.card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
.card h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.card-dark {
  background: var(--glass-dark);
  backdrop-filter: blur(12px);
  border-color: var(--glass-border);
  color: var(--white);
}
.card-dark:hover { border-color: rgba(196,30,58,0.4); }

/* --- Setup Tier Cards (Homepage) --- */
.tier-card {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--chalk);
  padding: 40px 28px;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.tier-card .tier-badge {
  display: inline-block;
  font-family: var(--font-heading);
  background: rgba(196,30,58,0.08);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.tier-card h3 { margin-bottom: 12px; font-size: 1.5rem; }
.tier-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 24px;
  min-height: 72px;
  line-height: 1.6;
}
.price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
}
.price span { font-size: 0.82rem; font-weight: 400; color: var(--text-muted); }
.tier-card.featured {
  border: 2px solid var(--red);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(196,30,58,0.12);
}
.tier-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 16px;
  right: -26px;
  background: var(--red);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 5px 34px;
  transform: rotate(45deg);
  letter-spacing: 1.5px;
}
.tier-disclaimer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 36px;
  font-style: italic;
}

/* --- Service Tiles (Homepage) --- */
.service-tile {
  text-align: center;
  padding: 44px 28px;
  background: var(--white);
  border: 1px solid var(--chalk);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  color: var(--white);
}
.service-icon svg { width: 28px; height: 28px; }
.service-tile h3 { margin-bottom: 12px; font-size: 1.15rem; }
.service-tile p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; margin: 0; }

/* --- Service Cards (Services page) --- */
.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--chalk);
  border-radius: 14px;
  padding: 40px 32px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--navy);
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

/* --- Parts Cards (Parts page) --- */
.parts-grid {
  margin-bottom: 48px;
  padding-top: 48px;
}
.parts-card {
  background: var(--card-bg);
  border: 1px solid var(--chalk);
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}
.parts-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--white);
}
.parts-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.parts-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }
.parts-note {
  background: var(--glass-dark);
  color: var(--white);
  border-radius: 14px;
  padding: 32px 36px;
  margin-bottom: 48px;
}
.parts-note p { margin: 0; font-size: 0.95rem; line-height: 1.7; }
.parts-note strong { color: var(--white); }
.parts-cta {
  text-align: center;
  padding: 48px 0 0;
}
.parts-cta h2 { margin-bottom: 24px; }

/* --- Value Props --- */
.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--chalk);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all var(--transition);
}
.value-item:hover { box-shadow: var(--card-shadow); transform: translateY(-2px); }
.value-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
}
.value-item h3 { margin-bottom: 6px; font-size: 1.1rem; }
.value-item p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; line-height: 1.6; }

.why-section-grid { }
.why-section-text { margin-bottom: 48px; }

/* --- Pricing Table --- */
.pricing-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 32px;
}
.pricing-section h2 { margin-bottom: 28px; }
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.pricing-table th {
  background: var(--navy);
  color: var(--white);
  padding: 18px 28px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.pricing-table td {
  padding: 18px 28px;
  border-bottom: 1px solid var(--chalk);
  font-size: 0.95rem;
  background: var(--white);
}
.pricing-table tr:nth-child(even) td { background: var(--off-white); }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table td:last-child { font-weight: 600; color: var(--navy); }

/* --- FAQ / Accordion --- */
.faq-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 32px;
}
.faq-section h2 { margin-bottom: 32px; }

.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  border: 1px solid var(--chalk);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.accordion-item.open { border-color: var(--red); box-shadow: 0 4px 16px rgba(196,30,58,0.08); }
.accordion-header,
.accordion-toggle {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  transition: all var(--transition);
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: var(--text);
}
.accordion-header:hover,
.accordion-toggle:hover { background: var(--off-white); }
.accordion-icon {
  font-size: 1.2rem;
  transition: transform var(--transition);
  color: var(--red);
  flex-shrink: 0;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body,
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-body p,
.accordion-content p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* --- Page Header --- */
.page-header {
  background: linear-gradient(145deg, #0a1628 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 130px 0 64px;
  text-align: center;
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-main), transparent);
  pointer-events: none;
}
.page-header h1 {
  color: var(--white);
  font-size: 2.75rem;
  margin-bottom: 14px;
}
.page-header p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Setup Detail Sections (Setups page) --- */
.setups-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 32px;
}
.setup-detail {
  background: var(--card-bg);
  border: 1px solid var(--chalk);
  border-radius: 16px;
  padding: 48px 44px;
  margin-bottom: 32px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}
.setup-detail:hover { box-shadow: var(--card-shadow-hover); }
.setup-header {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}
.setup-detail h2 { margin-bottom: 0; font-size: 2rem; }
.setup-detail .tier-price-inline {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
}
.setup-detail .detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}
.setup-detail .detail-left p { color: var(--text-secondary); line-height: 1.75; font-size: 0.95rem; }
.custom-cta { padding-top: 24px; }
.component-list { padding: 0; }
.component-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--chalk);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}
.component-list li:last-child { border-bottom: none; }
.component-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* --- Founder Section --- */
.founder-section { display: flex; gap: 56px; align-items: center; }
.founder-text { flex: 1; }
.founder-text h2 { margin-bottom: 24px; }
.founder-text p { color: var(--text-secondary); line-height: 1.8; }
.founder-avatar {
  width: 320px;
  height: 360px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--red-dark) 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.founder-avatar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 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: 40px 40px;
}
.founder-avatar span {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.12);
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 4px;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(145deg, #0a1628 0%, var(--navy) 50%, var(--red-dark) 100%);
  padding: 96px 0;
  text-align: center;
  color: white;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: white; margin-bottom: 14px; font-size: 2.5rem; }
.cta-section p { color: rgba(255,255,255,0.6); margin-bottom: 36px; font-size: 1.1rem; }

/* --- Forms --- */
.form-container {
  background: var(--card-bg);
  border: 1px solid var(--chalk);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--card-shadow);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--text);
}
.form-group .required { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--chalk);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,58,0.08);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; }

/* --- Contact Page --- */
.contact-form-container { }
.contact-info { }
.info-card {
  background: var(--glass-dark);
  color: var(--white);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--white);
}
.info-item { margin-bottom: 20px; }
.info-item h4 {
  font-size: 0.82rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.info-item p { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin: 0; }
.info-item a { color: var(--red); transition: color var(--transition); }
.info-item a:hover { color: var(--white); }
.quick-links-card {
  background: var(--card-bg);
  border: 1px solid var(--chalk);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--card-shadow);
}
.quick-links-card h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.quick-links-card ul { padding: 0; }
.quick-links-card ul li { margin-bottom: 10px; }
.quick-links-card ul li a {
  color: var(--red);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.quick-links-card ul li a:hover { color: var(--navy); }

/* --- Rentals Feature List --- */
.feature-list {
  padding: 0;
  max-width: 700px;
}
.feature-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--chalk);
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 1rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}
.note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* --- Quiz / Find My Setup --- */
.quiz-container {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: 1px solid var(--chalk);
}
.quiz-progress {
  height: 4px;
  background: var(--chalk);
  position: relative;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  transition: width 0.4s ease;
  border-radius: 0 4px 4px 0;
}
.quiz-step {
  display: none;
  padding: 48px 40px;
  animation: fadeIn 0.3s ease;
}
.quiz-step.active { display: block; }
.quiz-step-count {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.quiz-step h3 { font-size: 1.35rem; margin-bottom: 28px; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--chalk);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.95rem;
  background: var(--white);
}
.quiz-option:hover { border-color: var(--red); background: rgba(196,30,58,0.03); }
.quiz-option.selected { border-color: var(--red); background: rgba(196,30,58,0.06); }
.quiz-option-radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--silver);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.quiz-option.selected .quiz-option-radio {
  border-color: var(--red);
  background: var(--red);
}
.quiz-option.selected .quiz-option-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}
.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 12px;
}
.quiz-results {
  text-align: center;
  padding: 48px 40px;
}
.quiz-results h2 { margin-bottom: 8px; }
.quiz-results-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 32px;
  margin: 24px 0;
  text-align: left;
}
.quiz-results-card .result-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--chalk);
  font-size: 0.95rem;
}
.quiz-results-card .result-row:last-child { border: none; }
.quiz-results-card .result-label { color: var(--text-muted); }
.quiz-results-card .result-value { font-weight: 600; color: var(--navy); }

/* --- Missing class aliases --- */
.detail-left { }
.detail-right { }
.footer-links, .footer-company, .footer-contact { }
.result-tier { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.result-range { font-size: 1.1rem; color: var(--navy); font-weight: 600; margin-bottom: 24px; }
.result-display { margin: 24px 0; }
.quiz-next, .quiz-back, .quiz-submit { }
.quiz-contact-form { margin-top: 20px; }

/* --- Footer --- */
.footer {
  background: #0a1222;
  color: rgba(255,255,255,0.5);
  padding: 64px 0 32px;
}
.footer .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
.footer-grid, .footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 48px;
  padding: 0 32px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-logo span { color: var(--red); }
.footer-tagline { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin-bottom: 12px; }
.footer-column h4,
.footer-col h4,
.footer-section h4,
.footer-section h5 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.footer-column ul,
.footer-col ul,
.footer-section ul { list-style: none; padding: 0; }
.footer-column ul li,
.footer-col ul li,
.footer-section ul li { margin-bottom: 10px; }
.footer-column ul li a,
.footer-col ul li a,
.footer-section ul li a {
  font-size: 0.88rem;
  transition: color var(--transition);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.footer-column ul li a:hover,
.footer-col ul li a:hover,
.footer-section ul li a:hover { color: var(--red); }
.footer-column p,
.footer-col p,
.footer-section p { font-size: 0.88rem; margin-bottom: 6px; }
.footer-column p a,
.footer-col p a,
.footer-section p a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-column p a:hover,
.footer-col p a:hover,
.footer-section p a:hover { color: var(--red); }
.footer-brand .nav-logo { margin-bottom: 12px; display: inline-block; }
.footer-brand h3,
.footer-section .footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer-brand h3 span,
.footer-section .footer-brand span { color: var(--red); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* --- Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid, .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2.8rem; }
  .hero p { font-size: 1rem; }
  .hero-content { padding: 48px 0; }
  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; padding: 0 20px; }
  .form-row { grid-template-columns: 1fr; }
  .setup-detail { padding: 32px 24px; }
  .setup-detail .detail-grid { grid-template-columns: 1fr; }
  .setups-container { padding: 32px 20px; }
  .founder-section { flex-direction: column; }
  .founder-avatar { width: 100%; height: 200px; }
  .tier-card p { min-height: auto; }
  .quiz-step { padding: 32px 24px; }
  .footer-grid, .footer-content { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .glass-panel { padding: 28px 20px; }
  .btn-lg { padding: 14px 32px; font-size: 0.95rem; }
  .pricing-section { padding: 0 20px; }
  .faq-section { padding: 0 20px; }
  .form-container { padding: 28px 20px; }
  .info-card { padding: 28px 20px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links, .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(15,27,48,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open, .nav-menu.open { display: flex; }
  .nav-links a, .nav-menu a { padding: 12px 16px; width: 100%; }
}
