/* ============================
   ASAP AUTO BUYERS — style.css
   Katy, TX
   ============================ */

/* --- TOKENS --- */
:root {
  --red:       #D62828;
  --red-dark:  #A81C1C;
  --yellow:    #F7B731;
  --black:     #0D0D0D;
  --dark:      #1A1A1A;
  --mid:       #2E2E2E;
  --light-bg:  #F6F6F6;
  --white:     #FFFFFF;
  --text:      #1F1F1F;
  --muted:     #555555;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(0,0,0,0.12);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w:     1160px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select { font-family: var(--font-body); }

/* --- UTILS --- */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.text-light  { color: var(--white); }
.light-text p, .light-text h3 { color: var(--white); }
.light-text p { opacity: 0.88; }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.btn-primary  { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline  { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-header   { background: var(--yellow); color: var(--black); font-weight: 700; padding: 10px 22px; font-size: 0.88rem; }
.btn-header:hover { background: #e0a820; }
.btn-lg       { padding: 17px 36px; font-size: 1.05rem; }
.btn-full     { width: 100%; display: block; }

/* --- HEADER --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 3px solid var(--red);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.logo { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: 0.01em; }
.logo-asap  { color: var(--red); }
.logo-auto  { color: var(--white); }
.nav-links  { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: #ccc; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.hamburger  { display: none; color: var(--white); font-size: 1.5rem; margin-left: auto; }
.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  background: var(--dark); padding: 12px 20px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: #ccc; padding: 10px 0; border-bottom: 1px solid #333; font-size: 0.95rem; }
.mobile-nav .btn { margin-top: 14px; text-align: center; }

/* --- HERO --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0D0D0D 0%, #1e0505 50%, #2a0808 100%);
  min-height: 90vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 80px 0;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(214,40,40,0.04) 40px,
    rgba(214,40,40,0.04) 80px
  );
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.accent { color: var(--yellow); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--yellow); line-height: 1; }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; }

/* --- SECTIONS --- */
.section { padding: 80px 0; }
.section-light { background: var(--light-bg); }
.section-dark  { background: var(--dark); }
.section-accent { background: var(--red); }
.section-contact { background: var(--black); }
.eyebrow {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--red); margin-bottom: 10px;
}
.eyebrow.light { color: var(--yellow); }
h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 18px;
}
h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 30px;
}
p { margin-bottom: 14px; color: var(--text); }
.section-dark p, .section-contact p { color: rgba(255,255,255,0.8); }
.section-accent p { color: rgba(255,255,255,0.9); }
.section-intro { font-size: 1.05rem; max-width: 680px; margin-bottom: 44px; }
.section-intro.light { color: rgba(255,255,255,0.85); }
.inline-link { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.inline-link-light { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }

/* --- PROSE BLOCK --- */
.prose-block { max-width: 840px; }
.prose-block h3 { margin-top: 36px; }
.prose-block p { font-size: 1.02rem; line-height: 1.78; }

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 10px;
}
.service-card {
  background: #252525;
  border: 1px solid #333;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover { border-color: var(--red); transform: translateY(-3px); }
.service-icon { font-size: 2rem; margin-bottom: 12px; }
.service-card h3 { color: var(--white); margin-top: 0; font-size: 1.15rem; }
.service-card p { color: rgba(255,255,255,0.76); font-size: 0.94rem; margin-bottom: 0; }

/* --- STEPS GRID --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 10px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  position: relative;
}
.step-num {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0.2;
  position: absolute;
  top: 18px; right: 22px;
}
.step-card h3 { font-size: 1.15rem; color: var(--black); margin-top: 0; position: relative; }
.step-card p  { font-size: 0.94rem; color: var(--muted); margin-bottom: 0; }

/* --- WHY GRID --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.why-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: background 0.2s;
}
.why-card:hover { background: rgba(255,255,255,0.17); }
.why-card h3 { color: var(--white); font-size: 1.05rem; margin-top: 0; }
.why-card p  { color: rgba(255,255,255,0.82); font-size: 0.93rem; margin-bottom: 0; }

/* --- AREAS GRID --- */
.areas-grid {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 40px;
}
.area-pill {
  background: #333;
  color: var(--white);
  padding: 9px 18px;
  border-radius: 40px;
  font-size: 0.9rem;
  border: 1px solid #444;
}
.area-note h3 { color: var(--yellow); margin-top: 36px; }
.area-note p  { color: rgba(255,255,255,0.8); }

/* --- STYLED LIST --- */
.styled-list { padding-left: 0; margin: 18px 0 28px; }
.styled-list li {
  padding: 9px 0 9px 24px;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.97rem;
}
.styled-list li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* --- FAQ --- */
.faq-list { margin-top: 24px; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-q {
  width: 100%; text-align: left;
  padding: 16px 0;
  font-size: 1rem; font-weight: 600;
  color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
}
.faq-q:hover { color: var(--red); }
.faq-arrow { font-size: 0.8rem; transition: transform 0.25s; }
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 16px; }
.faq-a p { font-size: 0.95rem; color: var(--muted); margin-bottom: 0; }
.faq-a.open { display: block; }

/* --- CONTACT SECTION --- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-text h2 { color: var(--white); }
.contact-text p  { color: rgba(255,255,255,0.8); font-size: 1.02rem; margin-bottom: 24px; }
.contact-list { margin-bottom: 30px; }
.contact-list li { color: rgba(255,255,255,0.85); padding: 8px 0; font-size: 0.97rem; }
.contact-list li strong { color: var(--white); }
.contact-link { color: var(--yellow); text-decoration: underline; }
.contact-cta { margin-top: 4px; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 22px;
  margin-top: 0;
  color: var(--black);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.83rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 6px; color: var(--muted);
}
.form-group input,
.form-group select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--text);
  background: #fafafa;
  transition: border-color 0.2s;
  appearance: auto;
}
.form-group input:focus,
.form-group select:focus { outline: none; border-color: var(--red); background: var(--white); }
.fake-form .btn-primary { margin-top: 6px; font-size: 1rem; }

/* --- FOOTER --- */
.site-footer {
  background: #050505;
  padding-top: 60px;
  border-top: 3px solid var(--red);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo-asap { font-family: var(--font-head); font-size: 1.5rem; color: var(--red); }
.footer-brand .logo-auto { font-family: var(--font-head); font-size: 1.5rem; color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 14px; line-height: 1.65; }
.footer-link { color: var(--yellow); text-decoration: underline; }
.footer-links h4 {
  color: var(--white); font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px; font-weight: 700;
}
.footer-links ul li {
  margin-bottom: 8px;
}
.footer-links ul li a { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color 0.2s; }
.footer-links ul li a:hover { color: var(--yellow); }
.footer-links ul li:not(:has(a)) { color: rgba(255,255,255,0.45); font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid #1f1f1f;
  padding: 18px 20px;
  text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.83rem; margin-bottom: 0; }

/* --- TOAST --- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--red); color: var(--white);
  padding: 14px 28px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow);
  opacity: 0; transition: all 0.4s ease;
  z-index: 999; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .contact-inner  { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner   { grid-template-columns: 1fr 1fr; }
  .footer-brand   { grid-column: 1 / -1; }
  .nav-links, .btn-header { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { min-height: unset; padding: 70px 0 56px; }
  .hero-stats { gap: 24px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; text-align: center; }
  .steps-grid, .why-grid, .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  h2 { font-size: 2rem; }
  .contact-card { padding: 22px 16px; }
}