/* ============================================================
   THE BRAKE NERD — Global Stylesheet
   brakenerd.com
   ============================================================
   HOW TO USE ON NEW PAGES:
   Add this in your <head>:
     <link rel="stylesheet" href="styles.css"/>
   Also add the Google Fonts link:
     <link href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&family=Barlow:wght@300;400;500;600&family=Dancing+Script:wght@700&display=swap" rel="stylesheet"/>
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --red:       #cc1717;
  --red2:      #e01e1e;
  --red-dark:  #9e0f0f;
  --silver2:   #d8d8d8;
  --black:     #0c0c0c;
  --dark:      #111111;
  --dark2:     #181818;
  --dark3:     #202020;
  --gray:      #777;
  --lightgray: #aaa;
  --white:     #f2f2f2;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { background: var(--black); color: var(--white); font-family: 'Barlow', sans-serif; overflow-x: hidden; }

/* ── NAVIGATION ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4%; height: 68px;
  background: rgba(10,10,10,0.97); border-bottom: 2px solid var(--red);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 50px; width: 50px; object-fit: contain; border-radius: 50%; }
.nav-logo-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); line-height: 1.1; }
.nav-logo-text span { color: var(--red); display: block; font-size: 0.65rem; letter-spacing: 0.18em; font-weight: 600; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a { color: var(--lightgray); text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.nav-cta { background: var(--red) !important; color: var(--white) !important; padding: 0.45rem 1.2rem; border-radius: 2px; }
.nav-cta:hover { background: var(--red-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--white); transition: 0.3s; }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 199; background: rgba(10,10,10,0.98); border-bottom: 2px solid var(--red); flex-direction: column; padding: 1.5rem 4%; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--lightgray); text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--red); }

/* ── HERO ────────────────────────────────────────────────── */
#hero { min-height: 100vh; padding-top: 68px; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--black); }
.hero-texture { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(ellipse 55% 65% at 65% 50%, rgba(180,15,15,0.13) 0%, transparent 65%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23111'/%3E%3Crect width='1' height='1' fill='%23191919'/%3E%3C/svg%3E"); }
.hero-stripe { position: absolute; top: 0; right: 0; bottom: 0; width: 420px; background: linear-gradient(135deg, transparent 30%, rgba(180,15,15,0.07) 30%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 60px 5%; gap: 2rem; flex-wrap: wrap; }
.hero-left { flex: 1 1 420px; max-width: 600px; }
.hero-right { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; }
.hero-right img { width: min(360px, 90vw); animation: floatLogo 4s ease-in-out infinite; }
@keyframes floatLogo { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero-tag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--red); color: #fff; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 1px; margin-bottom: 1.2rem; animation: fadeUp 0.6s ease both; }
.hero-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(3rem, 7.5vw, 6rem); line-height: 0.93; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 1.4rem; animation: fadeUp 0.6s 0.1s ease both; }
.hero-title .chrome { background: linear-gradient(180deg, #e8e8e8 0%, #999 60%, #ccc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-title .red { color: var(--red2); -webkit-text-fill-color: var(--red2); }
.hero-tagline { font-family: 'Dancing Script', cursive; font-size: 1.45rem; color: var(--silver2); margin-bottom: 1.5rem; animation: fadeUp 0.6s 0.2s ease both; }
.hero-sub { font-size: 1rem; color: var(--lightgray); font-weight: 300; line-height: 1.7; max-width: 480px; margin-bottom: 2.2rem; animation: fadeUp 0.6s 0.3s ease both; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.6s 0.4s ease both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-red { background: var(--red); color: #fff; padding: 0.85rem 2rem; border: 2px solid var(--red); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border-radius: 2px; cursor: pointer; transition: background 0.2s, transform 0.15s; display: inline-block; }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); padding: 0.85rem 2rem; border: 2px solid rgba(255,255,255,0.28); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border-radius: 2px; cursor: pointer; transition: border-color 0.2s, transform 0.15s; display: inline-block; }
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar { background: var(--red); padding: 0.9rem 5%; display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.trust-item svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.85); flex-shrink: 0; }

/* ── SECTIONS (shared) ───────────────────────────────────── */
section { padding: 80px 5%; }
.sec-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; }
.sec-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.0; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.sec-sub { font-size: 0.98rem; color: var(--gray); line-height: 1.72; max-width: 520px; }

/* ── SERVICES ────────────────────────────────────────────── */
#services { background: var(--dark); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.8rem; flex-wrap: wrap; gap: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; background: rgba(255,255,255,0.05); }
.svc-card { background: var(--dark2); padding: 2.2rem 1.8rem; position: relative; overflow: hidden; transition: background 0.22s; }
.svc-card::after { content: ''; position: absolute; bottom: 0; left: 0; height: 3px; width: 0; background: var(--red); transition: width 0.3s ease; }
.svc-card:hover { background: var(--dark3); }
.svc-card:hover::after { width: 100%; }
.svc-icon { font-size: 2.2rem; margin-bottom: 0.9rem; display: block; }
.svc-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); margin-bottom: 0.5rem; }
.svc-desc { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

/* ── HOW IT WORKS ────────────────────────────────────────── */
#how { background: var(--black); }
.how-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.steps { display: flex; flex-direction: column; gap: 1.8rem; margin-top: 2.5rem; }
.step { display: flex; gap: 1.4rem; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 44px; height: 44px; border: 2px solid var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.1rem; color: var(--red); }
.step-content h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); margin-bottom: 0.3rem; }
.step-content p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }
.how-img-wrap { position: relative; display: flex; justify-content: center; align-items: center; }
.how-img-wrap img { width: 100%; max-width: 420px; border-radius: 4px; }
.how-img-badge { position: absolute; bottom: -16px; right: -16px; background: var(--red); padding: 1.2rem 1.6rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; border-radius: 2px; text-align: center; line-height: 1.4; }
.how-img-badge strong { font-size: 1.8rem; display: block; line-height: 1; }

/* ── SERVICE AREAS ───────────────────────────────────────── */
#areas { background: var(--dark); }
.areas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 8px; margin-top: 2.5rem; }
.area-pill { background: var(--dark3); border: 1px solid rgba(255,255,255,0.07); padding: 0.65rem 1rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--lightgray); border-radius: 2px; transition: background 0.2s, color 0.2s, border-color 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.area-pill::before { content: ''; width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.area-pill:hover { background: rgba(180,15,15,0.12); border-color: var(--red); color: var(--white); }
.areas-note { margin-top: 1.6rem; font-size: 0.88rem; color: var(--gray); }
.areas-note span { color: var(--red); font-weight: 600; }

/* ── WHY US / TRUST ──────────────────────────────────────── */
#trust { background: var(--black); }
.trust-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.trust-badges { display: flex; flex-direction: column; gap: 1.4rem; margin-top: 2rem; }
.trust-badge-item { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--dark2); border-left: 3px solid var(--red); }
.trust-badge-icon { font-size: 1.8rem; flex-shrink: 0; }
.trust-badge-text h5 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--white); margin-bottom: 0.2rem; }
.trust-badge-text p { font-size: 0.85rem; color: var(--gray); }
.trust-mascot { display: flex; justify-content: center; }
.trust-mascot img { width: min(380px, 90vw); }

/* ── REVIEWS ─────────────────────────────────────────────── */
#reviews { background: var(--black); }
.reviews-head { text-align: center; margin-bottom: 3rem; }
.reviews-head .sec-label { justify-content: center; display: block; }
.reviews-stars-overall { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 0.8rem; }
.reviews-stars-overall .stars { color: #f5a623; font-size: 1.5rem; letter-spacing: 2px; }
.reviews-stars-overall span { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1rem; color: var(--gray); letter-spacing: 0.08em; text-transform: uppercase; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--dark2); padding: 1.8rem; border-top: 3px solid transparent; position: relative; transition: border-color 0.25s, background 0.25s; }
.review-card:hover { border-top-color: var(--red); background: var(--dark3); }
.review-card-stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.reviewer-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 0.95rem; color: var(--white); letter-spacing: 0.05em; text-transform: uppercase; }
.review-card-text { font-size: 0.92rem; color: var(--lightgray); line-height: 1.72; margin-bottom: 1.2rem; font-style: italic; }
.review-card-text::before { content: '\201C'; color: var(--red); font-size: 1.6rem; line-height: 0; vertical-align: -0.4em; margin-right: 2px; font-style: normal; }
.review-card-text::after { content: '\201D'; color: var(--red); font-size: 1.6rem; line-height: 0; vertical-align: -0.4em; margin-left: 2px; font-style: normal; }
.review-card-author { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1rem; color: #fff; flex-shrink: 0; }
.review-avatar--photo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-author-info strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); }
.review-author-info span { font-size: 0.78rem; color: var(--gray); }
.reviews-cta { text-align: center; margin-top: 2.5rem; }
.reviews-cta a { color: var(--red); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(204,23,23,0.4); padding-bottom: 2px; transition: border-color 0.2s; }
.reviews-cta a:hover { border-color: var(--red); }

/* ── CONTACT / FORM ──────────────────────────────────────── */
#contact { background: var(--dark); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-phone { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 1rem; }
.phone-icon { width: 52px; height: 52px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.phone-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.1rem; color: var(--white); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.phone-num:hover { color: var(--red); }
.contact-note { font-size: 0.88rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.5rem; }
.contact-row { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; color: var(--lightgray); margin-bottom: 0.6rem; }
.contact-row svg { width: 16px; height: 16px; fill: var(--red); flex-shrink: 0; }
.email-form { background: var(--dark2); padding: 2.5rem; border-top: 3px solid var(--red); }
.email-form h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--white); margin-bottom: 0.4rem; }
.email-form p { font-size: 0.88rem; color: var(--gray); margin-bottom: 1.6rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--lightgray); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: var(--dark3); border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 0.75rem 1rem; font-family: 'Barlow', sans-serif; font-size: 0.92rem; border-radius: 2px; outline: none; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group select option { background: var(--dark3); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.submit-btn { width: 100%; background: var(--red); color: #fff; border: none; padding: 1rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer; border-radius: 2px; transition: background 0.2s; margin-top: 0.5rem; }
.submit-btn:hover { background: var(--red-dark); }
.req-star { color: var(--red); margin-left: 3px; }
.field-error { display: none; font-size: 0.78rem; color: #ff6b6b; margin-top: 0.3rem; font-weight: 500; }
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #ff6b6b; background: rgba(255,107,107,0.06); }
.form-group.has-error .field-error { display: block; }
#form-error-summary { display: none; background: rgba(255,60,60,0.12); border: 1px solid rgba(255,100,100,0.4); color: #ff8080; padding: 0.85rem 1rem; border-radius: 2px; margin-bottom: 1.2rem; font-size: 0.88rem; line-height: 1.6; }
#form-error-summary strong { display: block; margin-bottom: 0.3rem; font-family: 'Barlow Condensed', sans-serif; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: #080808; border-top: 2px solid rgba(255,255,255,0.06); padding: 3rem 5% 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand img { height: 70px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; max-width: 280px; }
.footer-col h5 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: var(--gray); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.8rem; color: var(--gray); }
.footer-bottom span { color: var(--red); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .how-inner, .trust-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .how-img-wrap { order: -1; }
  .trust-mascot { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero-right { display: none; }
  .hero-title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .trust-bar { gap: 1.2rem; }
}
