/* ==========================================================================
   1. RESET & THEME TOKENS (LIGHT DEFAULT + SYSTEM/MANUAL DARK MODE)
   Used across: index.html, services.html, pricing.html, refurbished.html,
   standards.html, quotelist.html
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0099ff;          /* Cloud9 Esports Blue accent */
  --primary-dark: #0077cc;     /* Hover / darker blue state */
  --primary-glow: rgba(0, 153, 255, 0.16);
  --secondary: #0a111f;        /* Deep slate / dark space background */
  --secondary-mid: #132038;    /* Elevated dark card background */
  --light-bg: #f4f7fa;         /* Light alternating section background */
  --surface-card: #ffffff;     /* Card & input surface */
  --surface-hover: #f8fbff;    /* Table / subtle hover surface */
  --surface-accent: #eff8ff;   /* Estimate highlight box */
  --accent-border: #bae0ff;
  --text-main: #1e293b;
  --text-muted: #52637a;
  --text-on-primary: #ffffff;
  --badge-light-text: #0077cc;
  --badge-light-border: rgba(0, 153, 255, 0.3);
  --white: #ffffff;
  --border: #d5e0ec;
  --header-bg: rgba(255, 255, 255, 0.96);
  --header-shadow: 0 4px 20px rgba(10, 17, 31, 0.05);
  --card-shadow: 0 4px 12px rgba(10, 17, 31, 0.04);
  --card-hover-shadow: 0 12px 24px rgba(0, 153, 255, 0.14);
  --success: #10b981;
}

[data-theme="dark"] {
  --primary: #0099ff;
  --primary-dark: #33adff;
  --primary-glow: rgba(0, 153, 255, 0.24);
  --secondary: #e2e8f0;
  --secondary-mid: #132038;
  --light-bg: #0d1627;
  --surface-card: #111d33;
  --surface-hover: #172744;
  --surface-accent: #0f243d;
  --accent-border: rgba(0, 153, 255, 0.35);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-on-primary: #ffffff;
  --badge-light-text: #66c2ff;
  --badge-light-border: rgba(0, 153, 255, 0.45);
  --border: #223554;
  --header-bg: rgba(10, 17, 31, 0.96);
  --header-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --card-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  --card-hover-shadow: 0 14px 28px rgba(0, 153, 255, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--surface-card);
  transition: background-color 0.2s ease, color 0.2s ease;
}

h1, h2, h3, .logo-title, .stat-number {
  font-family: 'Space Grotesk', 'DM Sans', sans-serif;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   2. TOP ANNOUNCEMENT BAR, HEADER NAVIGATION & THEME TOGGLE
   Used across: index.html, services.html, pricing.html, refurbished.html,
   standards.html, quotelist.html
   ========================================================================== */
.top-bar {
  background-color: #0a111f;
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 153, 255, 0.25);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

.header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--header-shadow);
  backdrop-filter: blur(8px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  gap: 1rem;
}

/* Brand mark & title block inside <header> */
.brand-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0099ff 0%, #0066cc 100%);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 153, 255, 0.35);
  letter-spacing: -0.03em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary);
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--primary);
}

/* Inline desktop/tablet navigation links (.active toggled by script.js) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-cta {
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Top-right SVG light/dark mode switch button */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background-color: var(--light-bg);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--surface-hover);
  transform: translateY(-1px);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.theme-toggle-btn svg {
  width: 19px;
  height: 19px;
  display: block;
}

/* ==========================================================================
   3. BUTTONS
   Used across: index.html, services.html, pricing.html, refurbished.html,
   standards.html, quotelist.html
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: #0099ff;
  color: var(--text-on-primary);
  box-shadow: 0 4px 14px rgba(0, 153, 255, 0.28);
}

.btn-primary:hover {
  background-color: #0077cc;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 153, 255, 0.38);
}

.btn-outline {
  border-color: var(--secondary);
  color: var(--secondary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--secondary);
  color: var(--surface-card);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: #0a111f;
  border-color: var(--white);
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   4. HERO BANNER, PAGE BANNERS & GENERAL SECTIONS
   Used in:
   - .bg-dark-hero, .hero-grid-overlay, .hero-content, .hero-actions: index.html
   - .page-banner: services.html, pricing.html, refurbished.html, standards.html, quotelist.html
   - .section, .bg-light, .bg-dark, .grid-2, .section-header, .check-list: all pages
   ========================================================================== */
.bg-dark-hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #102a4c 0%, #0a111f 60%, #050911 100%);
  color: var(--white);
  padding: 5.5rem 0;
  overflow: hidden;
  border-bottom: 3px solid var(--primary);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 153, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 153, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.badge {
  display: inline-block;
  background-color: rgba(0, 153, 255, 0.16);
  color: #66c2ff;
  border: 1px solid rgba(0, 153, 255, 0.45);
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

/* Sub-page header banners center the badge pill */
.page-banner .badge {
  background-color: rgba(0, 153, 255, 0.14);
  color: var(--badge-light-text);
  border-color: var(--badge-light-border);
  display: table;
  margin: 0 auto 1rem auto;
}

.hero h1 {
  font-size: 3.1rem;
  color: var(--white);
  margin-bottom: 1.15rem;
  line-height: 1.15;
}

.hero p {
  font-size: 1.18rem;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section {
  padding: 4.5rem 0;
}

.page-banner {
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--border);
}

.page-banner h1 {
  font-size: 2.4rem;
  color: var(--secondary);
}

.page-banner p {
  max-width: 680px;
  margin: 0 auto;
}

.bg-light {
  background-color: var(--light-bg);
}

.bg-dark {
  background-color: #0a111f;
}

[data-theme="dark"] .bg-dark {
  background-color: #070d18;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.text-white {
  color: var(--white);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.grid-2 > * {
  min-width: 0;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.section-header.light h2 {
  color: var(--white);
}

.section-header.light p {
  color: #cbd5e1;
}

.check-list {
  list-style: none;
  margin-top: 1rem;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   5. FEATURE CARDS, PRICING TABLES, PLATFORM TAGS & WORKFLOW STEPS
   Used in:
   - .cards-grid, .card, .card-tag, .card-link, .card-footer-action, .price-badge:
     index.html, services.html, pricing.html, refurbished.html, standards.html, quotelist.html
   - .table-responsive, .pricing-table, .price-cell: index.html, pricing.html
   - .platform-tags, .tag: index.html
   - .step-grid, .step-card, .step-number: services.html, refurbished.html
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--surface-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.card.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--badge-light-text);
  background: rgba(0, 153, 255, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card-link:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}

.card-link:hover h3 {
  color: var(--primary);
}

.card h3 {
  margin-bottom: 0.65rem;
  color: var(--secondary);
  font-size: 1.3rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-footer-action {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.price-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--badge-light-text);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-card);
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  background-color: #0a111f;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background-color: var(--surface-hover);
}

.price-cell {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--badge-light-text);
  white-space: nowrap;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.tag {
  background-color: var(--surface-card);
  border: 1px solid var(--border);
  padding: 0.6rem 1.35rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #0099ff;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   6. BENCH STANDARDS METRICS, PAST REPAIRS CYCLE & BOTTOM CONTACT CTA
   Used in:
   - .stats-grid, .stat-card, .stat-number, .stat-label, .bench-specs-grid, .bench-spec-item:
     index.html
   - .repair-carousel, .repair-carousel-track, .repair-slide, .repair-photo-placeholder,
     .repair-photo-tag, .repair-subtitle: index.html
   - .work-together-section, .contact-card, .card-line, .card-line-lg:
     index.html
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.stat-card {
  padding: 1.5rem;
  background: var(--secondary-mid);
  border: 1px solid rgba(0, 153, 255, 0.25);
  border-radius: 12px;
}

.stat-number {
  display: block;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  display: block;
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-top: 0.35rem;
}

.bench-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2.5rem;
}

.bench-spec-item h4 {
  color: var(--white);
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.bench-spec-item p {
  color: #94a3b8;
  font-size: 0.92rem;
}

/* Continuous Past Repairs marquee cycle (#past-repairs in index.html) */
.repair-carousel {
  overflow: hidden;
  width: 100%;
  padding: 0.25rem 0;
}

.repair-carousel-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: repairMarqueeCycle 32s linear infinite;
  will-change: transform;
}

@keyframes repairMarqueeCycle {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.repair-slide {
  flex: 0 0 360px;
  padding: 1.5rem;
}

.repair-photo-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--secondary-mid);
  margin-bottom: 1.15rem;
}

.repair-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.repair-photo-tag {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background-color: rgba(10, 17, 31, 0.85);
  color: var(--primary);
  border: 1px solid rgba(0, 153, 255, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.repair-subtitle {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.4;
}

.work-together-section {
  background: linear-gradient(135deg, #071324 0%, #0d2342 100%);
  padding: 5rem 0;
  border-top: 1px solid rgba(0, 153, 255, 0.3);
}

.contact-card {
  max-width: 580px;
  margin: 0 auto;
  padding: 2.25rem;
  background: var(--surface-card);
  color: var(--text-main);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  text-align: center;
}

.contact-card a {
  color: var(--badge-light-text);
  font-weight: 600;
  text-decoration: none;
}

.contact-card .btn-primary {
  color: var(--text-on-primary);
}

.card-line {
  margin-bottom: 0.5rem;
}

.card-line-lg {
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   7. REPAIR TICKET BUILDER, ESTIMATE TABLE & INTAKE FORM
   Used in: quotelist.html (populated and toggled via script.js)
   ========================================================================== */
.service-builder-box {
  background: var(--light-bg);
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.estimate-summary-box {
  background: var(--surface-accent);
  border: 1px solid var(--accent-border);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.privacy-reminder {
  background: var(--light-bg);
  border-left: 3px solid var(--primary);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: 0 6px 6px 0;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
  min-width: 0;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--secondary);
}

.form-group select,
.form-group input,
.form-group textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: var(--surface-card);
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Dynamic ticket table injected into #quoteTableContainer by script.js */
.quote-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.quote-table th,
.quote-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.quote-table th {
  font-weight: 700;
  color: var(--secondary);
  background-color: var(--light-bg);
}

.qty-input-sm {
  width: 58px;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-align: center;
  font-family: inherit;
  background-color: var(--surface-card);
  color: var(--text-main);
}

.btn-remove {
  background-color: rgba(220, 38, 38, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-remove:hover {
  background-color: rgba(239, 68, 68, 0.22);
}

.form-status.success {
  background-color: var(--success);
  color: var(--white);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   8. LAYOUT HELPERS, FOOTER & RESPONSIVE BREAKPOINTS
   Used across: index.html, services.html, pricing.html, refurbished.html,
   standards.html, quotelist.html
   ========================================================================== */
.is-hidden {
  display: none !important;
}

.align-start {
  align-items: flex-start;
}

.gap-2 {
  gap: 2.5rem;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.column-divider {
  border-left: 1px solid var(--border);
  padding-left: 2.25rem;
}

.text-sub {
  font-size: 0.92rem;
}

.mb-05 { margin-bottom: 0.5rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-125 { margin-bottom: 1.25rem; }
.mb-15 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

.footer {
  background-color: #050911;
  color: #94a3b8;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .nav-container {
    flex-direction: column;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    gap: 0.75rem;
  }

  .main-nav {
    justify-content: center;
    gap: 0.85rem 1.15rem;
  }
}

@media (max-width: 900px) {
  .grid-2,
  .card.grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .column-divider {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 2rem;
  }
}

@media (max-width: 640px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    font-size: 0.8rem;
  }

  .hero {
    padding: 3.75rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .repair-slide {
    flex: 0 0 290px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-cta {
    width: 100%;
  }
}