/* =============================================
   XTREME PRECISION AUTO REPAIR — Global Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Tokens ── */
:root {
  --navy:    #0D1B2A;
  --navy-mid:#142233;
  --white:   #FFFFFF;
  --silver:  #F2F4F7;
  --blue:    #1D6FA4;
  --blue-dk: #165A87;
  --amber:   #E8A020;
  --amber-dk:#C4871A;
  --text:    #1A2535;
  --muted:   #5A6A7E;
  --border:  #DDE2EA;

  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-h: 68px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(13,27,42,.10);
  --shadow-lg: 0 6px 28px rgba(13,27,42,.16);
}

/* ── 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);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Navigation ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--navy);
  display: flex;
  align-items: center;
  padding: 0 5%;
  gap: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.nav__logo-top {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .06em;
  color: var(--white);
  text-transform: uppercase;
}
.nav__logo-sub {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .22em;
  color: var(--amber);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  align-items: center;
}
.nav__links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__links a.active {
  border-bottom: 2px solid var(--amber);
  padding-bottom: 2px;
}

.nav__cta {
  background: var(--amber);
  color: var(--navy) !important;
  font-weight: 700 !important;
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
  transition: background .2s !important;
}
.nav__cta:hover { background: var(--amber-dk) !important; }

/* ── Precision stripe ── */
.stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 40%, var(--amber) 100%);
  position: relative;
}
.stripe::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 60px; height: 5px;
  background: var(--amber);
  clip-path: polygon(8px 0%, 100% 0%, 92px 100%, 0% 100%);
}

/* ── Section helpers ── */
.section {
  padding: 80px 5%;
}
.section--silver { background: var(--silver); }
.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .6rem;
}
.section__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section--navy .section__title { color: var(--white); }
.section__body {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  line-height: 1.75;
}
.section--navy .section__body { color: rgba(255,255,255,.7); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .75rem 1.8rem;
  border-radius: var(--radius);
  transition: background .2s, transform .15s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); }
.btn--amber { background: var(--amber); color: var(--navy); }
.btn--amber:hover { background: var(--amber-dk); }
.btn--outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dk); }

/* ── Card grid ── */
.card-grid {
  display: grid;
  gap: 1.5rem;
}
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card__icon {
  width: 48px; height: 48px;
  background: var(--blue);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}
.card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .04em;
  color: var(--navy);
  margin-bottom: .5rem;
}
.card__body {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 56px 5% 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer__brand-tag {
  font-family: var(--font-head);
  font-size: .75rem;
  letter-spacing: .22em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.footer__desc { font-size: .9rem; line-height: 1.7; }
.footer__col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: .9rem;
}
.footer__col li { margin-bottom: .5rem; font-size: .9rem; }
.footer__col a:hover { color: var(--amber); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__links { gap: 1rem; }
  .nav__links a { font-size: .85rem; }
  .section { padding: 56px 6%; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) {
  .nav__links .hide-sm { display: none; }
}
