/* ============================================================
   Precision Auto Service - Stylesheet
   Palette: Charcoal #1A1A1A | Signal Red #C0392B | Steel #4A5568 | Off-White #F8F8F8
   Fonts: Barlow Condensed (headings) + Barlow (body)
   ============================================================ */

:root {
  --black:      #0F0F0F;
  --charcoal:   #1A1A1A;
  --charcoal2:  #242424;
  --steel:      #2E3440;
  --steel-mid:  #4A5568;
  --red:        #C0392B;
  --red-light:  #E74C3C;
  --orange:     #E67E22;
  --off-white:  #F8F8F8;
  --white:      #FFFFFF;
  --gray:       #718096;
  --light-gray: #E2E8F0;
  --text:       #2D3748;
  --shadow:     0 4px 20px rgba(0,0,0,.18);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.25);
  --radius:     6px;
  --ease:       all 0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Barlow Condensed', sans-serif; line-height: 1.15; font-weight: 700; letter-spacing: .01em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ── TOPBAR ── */
.topbar { background: var(--red); color: var(--white); font-size: .8rem; padding: .45rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
.topbar a { color: var(--white); opacity: .9; }
.topbar a:hover { opacity: 1; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1.5rem; }
.topbar i { margin-right: .35rem; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: var(--charcoal);
  border-bottom: 3px solid var(--red);
  padding: 0 2rem;
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: .85rem; }
.logo-icon { width: 46px; height: 46px; background: var(--red); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--white); }
.logo-text-wrap .logo-name { color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; line-height: 1.1; }
.logo-text-wrap .logo-tag { color: rgba(255,255,255,.45); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a { color: rgba(255,255,255,.75); font-family: 'Barlow Condensed', sans-serif; font-size: 1.02rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: var(--ease); }
.nav-links a:hover { color: var(--red-light); }
.nav-links a.active { color: var(--red-light); }
.btn-nav-cta { background: var(--red) !important; color: var(--white) !important; padding: .5rem 1.25rem; border-radius: var(--radius) !important; opacity: 1 !important; }
.btn-nav-cta:hover { background: var(--red-light) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); transition: var(--ease); }

/* ── BUTTONS ── */
.btn-red { display: inline-flex; align-items: center; gap: .5rem; background: var(--red); color: var(--white); padding: .85rem 2.25rem; border-radius: var(--radius); font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: none; cursor: pointer; transition: var(--ease); }
.btn-red:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(192,57,43,.35); }
.btn-outline-white { display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: var(--white); padding: .85rem 2.25rem; border-radius: var(--radius); font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 2px solid rgba(255,255,255,.5); cursor: pointer; transition: var(--ease); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-red { display: inline-flex; align-items: center; gap: .5rem; background: transparent; color: var(--red); padding: .75rem 1.75rem; border-radius: var(--radius); font-family: 'Barlow Condensed', sans-serif; font-size: .98rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 2px solid var(--red); cursor: pointer; transition: var(--ease); }
.btn-outline-red:hover { background: var(--red); color: var(--white); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 88vh;
  background: var(--charcoal);
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0;
  background: url('https://picsum.photos/seed/autogarage1/1400/900') center/cover no-repeat;
  opacity: .18;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,15,.92) 45%, rgba(15,15,15,.5) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; width: 100%; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--red-light); font-family: 'Barlow Condensed', sans-serif; font-size: .85rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.25rem; }
.hero-eyebrow::before { content: ''; display: inline-block; width: 32px; height: 2px; background: var(--red); }
.hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); color: var(--white); margin-bottom: 1.25rem; max-width: 700px; text-transform: uppercase; line-height: 1.05; }
.hero h1 .accent { color: var(--red-light); display: block; }
.hero p { color: rgba(255,255,255,.68); font-size: 1.1rem; max-width: 500px; margin-bottom: 2.5rem; font-weight: 400; line-height: 1.75; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 2.5rem; margin-top: 4rem; flex-wrap: wrap; }
.hero-badge-item { display: flex; align-items: center; gap: .75rem; }
.badge-icon { width: 44px; height: 44px; background: rgba(192,57,43,.2); border: 1px solid rgba(192,57,43,.35); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--red-light); font-size: .95rem; }
.badge-text .title { color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }
.badge-text .sub { color: rgba(255,255,255,.45); font-size: .75rem; }

/* ── SERVICE TILES ── */
.services-section { padding: 5rem 2rem; background: var(--off-white); }
.services-section .container { max-width: 1200px; margin: 0 auto; }
.section-label { font-family: 'Barlow Condensed', sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: .6rem; display: flex; align-items: center; gap: .65rem; }
.section-label::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--red); }
.section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); color: var(--charcoal); margin-bottom: .75rem; text-transform: uppercase; }
.section-subtitle { color: var(--steel-mid); font-size: 1rem; max-width: 520px; line-height: 1.7; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.75rem; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 2rem 1.75rem; border: 1px solid var(--light-gray); border-top: 4px solid transparent; transition: var(--ease); }
.service-card:hover { border-top-color: var(--red); transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon { width: 56px; height: 56px; background: #fef2f2; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--red); margin-bottom: 1.2rem; transition: var(--ease); }
.service-card:hover .service-icon { background: var(--red); color: var(--white); }
.service-card h3 { font-size: 1.25rem; color: var(--charcoal); margin-bottom: .6rem; text-transform: uppercase; font-size: 1.15rem; }
.service-card p { font-size: .9rem; color: var(--steel-mid); line-height: 1.7; }
.service-card .learn-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--red); font-size: .85rem; font-weight: 700; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .06em; margin-top: 1.1rem; transition: var(--ease); }
.service-card .learn-link:hover { gap: .7rem; }

/* ── WHY STRIP ── */
.why-strip { background: var(--charcoal); padding: 4rem 2rem; }
.why-strip-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.why-item { display: flex; align-items: flex-start; gap: 1rem; }
.why-num { font-family: 'Barlow Condensed', sans-serif; font-size: 3rem; font-weight: 800; color: rgba(192,57,43,.25); line-height: 1; min-width: 54px; }
.why-body .ttl { font-family: 'Barlow Condensed', sans-serif; color: var(--white); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .35rem; }
.why-body p { font-size: .865rem; color: rgba(255,255,255,.5); line-height: 1.6; }

/* ── ABOUT SPLIT ── */
.about-split { padding: 5rem 2rem; background: var(--white); }
.about-split .container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 8px; width: 100%; height: 440px; object-fit: cover; }
.about-badge-overlay { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--red); color: var(--white); border-radius: 8px; padding: 1.25rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
.about-badge-overlay .big { font-family: 'Barlow Condensed', sans-serif; font-size: 2.5rem; font-weight: 800; line-height: 1; display: block; }
.about-badge-overlay .sm { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.about-text h2 { font-size: 2.4rem; color: var(--charcoal); margin-bottom: 1rem; text-transform: uppercase; }
.about-text p { color: var(--steel-mid); font-size: .97rem; line-height: 1.8; margin-bottom: 1.25rem; }
.certifications { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.75rem 0; }
.cert-badge { display: flex; align-items: center; gap: .5rem; background: var(--off-white); border: 1px solid var(--light-gray); border-radius: 50px; padding: .45rem 1rem; font-size: .8rem; font-weight: 600; color: var(--text); }
.cert-badge i { color: var(--red); font-size: .85rem; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--off-white); padding: 5rem 2rem; }
.testimonials .container { max-width: 1200px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.review-card { background: var(--white); border-radius: 8px; padding: 1.75rem; border: 1px solid var(--light-gray); box-shadow: var(--shadow); }
.stars { color: #F59E0B; margin-bottom: .75rem; font-size: .9rem; letter-spacing: 1px; }
.review-text { font-size: .93rem; color: var(--text); line-height: 1.75; margin-bottom: 1.25rem; font-style: italic; }
.review-author { display: flex; align-items: center; gap: .75rem; border-top: 1px solid var(--light-gray); padding-top: 1rem; }
.review-author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.reviewer-name { font-weight: 700; font-size: .88rem; color: var(--charcoal); }
.reviewer-detail { font-size: .75rem; color: var(--gray); }
.google-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--gray); margin-top: .3rem; }

/* ── APPOINTMENT BAND ── */
.appt-band { background: var(--red); padding: 4rem 2rem; }
.appt-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.appt-text h2 { font-size: 2.2rem; color: var(--white); text-transform: uppercase; margin-bottom: .5rem; }
.appt-text p { color: rgba(255,255,255,.75); font-size: 1rem; }
.appt-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-white { display: inline-flex; align-items: center; gap: .5rem; background: var(--white); color: var(--red); padding: .9rem 2.25rem; border-radius: var(--radius); font-family: 'Barlow Condensed', sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border: none; cursor: pointer; transition: var(--ease); }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.appt-phone { color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-size: 1.5rem; font-weight: 800; letter-spacing: .04em; }
.appt-phone small { display: block; font-size: .7rem; font-family: 'Barlow', sans-serif; font-weight: 400; opacity: .7; letter-spacing: .1em; text-transform: uppercase; }

/* ── CONTACT SECTION ── */
.contact-section { padding: 5rem 2rem; background: var(--white); }
.contact-section .container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 4.5rem; align-items: start; }
.form-box { background: var(--off-white); border-radius: 8px; padding: 2.5rem; border: 1px solid var(--light-gray); }
.form-box h2 { font-size: 1.8rem; color: var(--charcoal); text-transform: uppercase; margin-bottom: .4rem; }
.form-box p { color: var(--steel-mid); font-size: .9rem; margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1rem; }
.form-group label { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--steel-mid); }
.form-group input, .form-group select, .form-group textarea { border: 1.5px solid var(--light-gray); border-radius: var(--radius); padding: .7rem 1rem; font-size: .9rem; color: var(--text); background: var(--white); transition: var(--ease); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group textarea { min-height: 110px; resize: vertical; }
.contact-info h3 { font-size: 1.6rem; color: var(--charcoal); text-transform: uppercase; margin-bottom: 1.75rem; }
.info-item { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.5rem; }
.info-icon { width: 44px; height: 44px; background: #fef2f2; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--red); font-size: .95rem; flex-shrink: 0; }
.info-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--gray); margin-bottom: .2rem; }
.info-val { font-size: .95rem; color: var(--text); font-weight: 500; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: .875rem; }
.hours-table tr { border-bottom: 1px solid var(--light-gray); }
.hours-table td { padding: .55rem 0; color: var(--text); }
.hours-table td:last-child { text-align: right; color: var(--steel-mid); }
.hours-table tr.today td { color: var(--red); font-weight: 700; }

/* ── PAGE HERO ── */
.page-hero { background: var(--charcoal); padding: 6rem 2rem 3.5rem; border-bottom: 3px solid var(--red); }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--white); text-transform: uppercase; margin-bottom: .65rem; }
.page-hero p { color: rgba(255,255,255,.6); font-size: 1rem; max-width: 520px; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: .85rem; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.breadcrumb a { color: var(--red-light); }
.breadcrumb .sep { opacity: .4; }

/* ── FOOTER ── */
footer { background: var(--black); padding: 4rem 2rem 2rem; color: rgba(255,255,255,.55); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .brand-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: .85rem; }
.footer-brand p { font-size: .865rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer-brand .brand-red { color: var(--red-light); }
.social-row { display: flex; gap: .6rem; }
.social-row a { width: 36px; height: 36px; background: rgba(255,255,255,.07); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .85rem; transition: var(--ease); }
.social-row a:hover { background: var(--red); color: var(--white); }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li a { font-size: .865rem; color: rgba(255,255,255,.5); transition: var(--ease); }
.footer-col ul li a:hover { color: var(--red-light); }
.footer-contact-line { display: flex; align-items: flex-start; gap: .6rem; font-size: .865rem; margin-bottom: .7rem; }
.footer-contact-line i { color: var(--red); font-size: .8rem; margin-top: .2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .78rem; }
.footer-bottom a { color: var(--red-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-split .container { grid-template-columns: 1fr; }
  .about-img-wrap { max-width: 560px; }
  .about-badge-overlay { right: 1rem; }
  .contact-section .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--charcoal); padding: 1.5rem 2rem; gap: 1.25rem; border-top: 2px solid var(--red); z-index: 998; }
  .topbar { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .appt-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 3.5rem 1.25rem; }
}
/* ── YTS Demo Labels ── */
.btn-back-yts { background: rgba(30,58,138,.88) !important; color: #fff !important; padding: .42rem 1.05rem !important; border-radius: 999px !important; font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .04em !important; white-space: nowrap !important; border: 1px solid rgba(99,162,251,.25) !important; transition: background .2s ease !important; }
.btn-back-yts::after { display: none !important; }
.btn-back-yts:hover { background: rgba(29,78,216,1) !important; color: #fff !important; }
.powered-yts { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: .78rem; color: rgba(255,255,255,.45); }
.powered-yts a { color: #93c5fd; font-weight: 700; text-decoration: none; }
.powered-yts a:hover { text-decoration: underline; }
