/* TA Collision Center — Shared Styles */
:root {
  --red: #E2231A;
  --red-dark: #B81A12;
  --red-light: #FF3B30;
  --black: #0A0A0A;
  --charcoal: #1A1A1A;
  --gray-900: #1F1F1F;
  --gray-700: #4A4A4A;
  --gray-500: #888;
  --gray-200: #E8E8E8;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.15);
  --shadow-md: 0 6px 20px rgba(0,0,0,0.08);
  --max-w: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: var(--white); }
.topbar a:hover { color: var(--red-light); }
.topbar-info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- HEADER ---------- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 56px; width: auto; }
.logo-text {
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 1.05;
  color: var(--black);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}
.logo-text span:last-child {
  color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--black);
  margin: 5px 0;
  transition: .3s;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}
.main-nav a {
  color: var(--black);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 4px;
  transition: all .2s;
}
.main-nav a:hover { background: var(--gray-100); color: var(--red); }
.main-nav a.active { color: var(--red); }
.main-nav a.cta {
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
}
.main-nav a.cta:hover { background: var(--red-dark); color: var(--white); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s;
  text-align: center;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(226,35,26,.35);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--black);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
  transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 760px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero video, .hero .hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.55) 60%, rgba(226,35,26,0.55) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 6px 14px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--red-light); }
.hero p.lead {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 620px;
  margin-bottom: 32px;
  opacity: 0.92;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 60%, var(--red-dark) 130%);
  color: var(--white);
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 40px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 100%, 0 0);
}
.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.page-header h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--red);
  margin: 18px auto 0;
}
.page-header p { font-size: 1.1rem; opacity: 0.88; max-width: 680px; margin: 0 auto; }

/* ---------- SECTIONS ---------- */
section { padding: 80px 0; }
section.alt { background: var(--gray-100); }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title .eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: var(--black);
}
.section-title h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: var(--red);
  margin: 16px auto 0;
}
.section-title p { color: var(--gray-700); max-width: 640px; margin: 16px auto 0; }

/* ---------- FEATURE CARDS ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: -60px;
  position: relative;
  z-index: 5;
}
.feature {
  background: var(--white);
  padding: 32px 22px;
  text-align: center;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--red);
  transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature .icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  background: var(--black);
  color: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.feature h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--black);
}

/* ---------- MISSION / SPLIT ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split img { border-radius: 6px; box-shadow: var(--shadow-lg); }
.split h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1.15;
}
.split h2 .accent { color: var(--red); }
.split p { color: var(--gray-700); margin-bottom: 16px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-left: 4px solid var(--red);
  margin-bottom: 14px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 24px;
  background: var(--white);
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.faq-q:hover { background: var(--gray-100); }
.faq-q .plus {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  transition: transform .25s;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  color: var(--gray-700);
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 320px; padding: 0 24px 22px; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}
.contact-info {
  background: var(--black);
  color: var(--white);
  padding: 40px 32px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.contact-info::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 160px; height: 160px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.25;
}
.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.contact-info h3::after {
  content: '';
  display: block;
  width: 50px; height: 3px;
  background: var(--red);
  margin-top: 10px;
}
.contact-info ul { list-style: none; }
.contact-info li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info li:last-child { border-bottom: none; }
.contact-info li .ico {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.contact-info li strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 2px;
}
.contact-info li a { color: var(--white); }
.contact-info li a:hover { color: var(--red-light); }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--black);
}
.contact-form > p { color: var(--gray-700); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  padding: 14px;
  background: #E8F5E8;
  color: #2D6A2D;
  border-radius: 4px;
  margin-bottom: 16px;
  font-weight: 600;
}
.form-success.show { display: block; }

.map-wrap {
  margin-top: 50px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- REPAIR STATUS ---------- */
.status-hero-card {
  max-width: 720px;
  margin: -90px auto 0;
  position: relative;
  z-index: 5;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 44px 40px;
  border-top: 5px solid var(--red);
}
.status-hero-card h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--black);
}
.status-hero-card > p {
  text-align: center;
  color: var(--gray-700);
  margin-bottom: 24px;
}
.status-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 14px;
}
.status-form input {
  padding: 16px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color .2s;
}
.status-form input:focus { outline: none; border-color: var(--red); }
.status-form button { padding: 16px 28px; }
.status-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}
.status-note .pill {
  display: inline-block;
  background: var(--gray-100);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--gray-700);
  margin: 0 3px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step {
  text-align: center;
  padding: 0 10px;
}
.step .num {
  width: 56px; height: 56px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  margin: 0 auto 18px;
  box-shadow: 0 6px 16px rgba(226,35,26,.35);
}
.step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--black);
}
.step p { color: var(--gray-700); font-size: 14px; }
.carwise-frame-wrap {
  margin-top: 30px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.carwise-frame-wrap .frame-head {
  background: var(--black);
  color: var(--white);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.carwise-frame-wrap .frame-head strong {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
}
.carwise-frame-wrap .frame-head .powered {
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.carwise-frame-wrap iframe {
  width: 100%;
  height: 680px;
  border: 0;
  display: block;
  background: var(--white);
}
.app-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.app-badges a {
  background: var(--black);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .2s, background .2s;
}
.app-badges a:hover { transform: translateY(-2px); background: var(--charcoal); color: var(--white); }
.app-badges .badge-icon { font-size: 22px; }
.app-badges small { display: block; font-size: 10px; letter-spacing: 1px; opacity: .8; font-weight: 600; }

/* ---------- STATUS PREVIEW CARD ---------- */
.status-preview {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 28px;
  border-top: 5px solid var(--red);
}
.status-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 20px;
}
.status-preview-head small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.status-preview-head strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--black);
}
.status-pill {
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
}
.status-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 22px;
}
.status-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 999px;
  transition: width .6s;
}
.status-stages {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.status-stages li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 14px;
  color: var(--gray-500);
  border-bottom: 1px dashed var(--gray-200);
}
.status-stages li:last-child { border-bottom: none; }
.status-stages li .dot {
  position: absolute;
  left: 4px; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gray-200);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gray-200);
}
.status-stages li.done {
  color: var(--gray-900);
  font-weight: 600;
}
.status-stages li.done .dot {
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red);
}
.status-stages li.current {
  color: var(--red);
  font-weight: 800;
}
.status-stages li.current .dot {
  background: var(--white);
  box-shadow: 0 0 0 3px var(--red);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.25); }
}
.status-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
  font-size: 14px;
  color: var(--gray-700);
}
.status-foot a {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

@media (max-width: 700px) {
  .status-form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .status-hero-card { padding: 32px 22px; margin-top: -60px; }
  .carwise-frame-wrap iframe { height: 760px; }
}

/* ---------- CTA BAR ---------- */
.cta-bar {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.cta-bar h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cta-bar p { font-size: 1.1rem; margin-bottom: 28px; opacity: 0.95; }
.cta-bar .btn-ghost:hover { color: var(--red); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--black);
  color: var(--gray-200);
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: var(--red);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a { color: var(--gray-200); }
.footer-col a:hover { color: var(--red-light); }
.footer-brand p { font-size: 14px; margin-top: 14px; color: var(--gray-500); line-height: 1.7; }
.footer-brand img { height: 56px; width: auto; background: var(--white); padding: 6px; border-radius: 4px; margin-bottom: 6px; }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: 13px;
  color: var(--gray-500);
}

/* ---------- CERTIFICATIONS ---------- */
.certs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}
.cert-badge {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  font-weight: 800;
  font-size: 13px;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform .25s;
  box-shadow: var(--shadow-md);
}
.cert-badge:hover { transform: scale(1.06); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .topbar { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 3px solid var(--red);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
  }
  .main-nav a { display: block; padding: 14px 24px; border-radius: 0; }
  .main-nav a.cta { margin: 10px 24px 6px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .features { margin-top: -30px; }
  .hero { height: auto; min-height: 0; padding: 90px 0 70px; }
  section { padding: 60px 0; }
}
