/* =============================================
   FLAT ROADSIDE ASSISTANCE 24/7 — Global Styles
   Palette: Asphalt #1A1A1A | Yellow #F5C518 | White #FFFFFF | Mid-grey #2E2E2E | Soft grey #F2F2F2
   ============================================= */

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

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

:root {
  --yellow: #F5C518;
  --black: #1A1A1A;
  --dark: #2E2E2E;
  --white: #FFFFFF;
  --grey: #F2F2F2;
  --mid: #888888;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--yellow);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}

.nav-logo span {
  color: var(--yellow);
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--yellow);
  color: var(--black);
}

.nav-cta {
  background: var(--yellow) !important;
  color: var(--black) !important;
  font-weight: 800 !important;
}

.nav-cta:hover {
  background: #e0b400 !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 24px 28px;
  border-top: 3px solid var(--yellow);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .nav-logo { font-size: 1.5rem; margin-bottom: 14px; }
.footer-brand p { color: #aaa; font-size: 0.92rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #aaa; font-size: 0.92rem; transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--yellow); }

.footer-col address { font-style: normal; color: #aaa; font-size: 0.92rem; line-height: 1.9; }
.footer-col address a { color: #aaa; transition: color 0.15s; }
.footer-col address a:hover { color: var(--yellow); }

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #666;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  border: none;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
}
.btn-yellow:hover { background: #e0b400; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: #333; }

/* ── SHARED SECTION STYLES ── */
.section { padding: 80px 24px; }
.section-grey { background: var(--grey); }
.section-dark { background: var(--dark); color: var(--white); }
.section-black { background: var(--black); color: var(--white); }

.container { max-width: 1200px; margin: 0 auto; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--mid);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.section-dark .section-sub,
.section-black .section-sub { color: #aaa; }

/* ── PAGE HERO BANNER (inner pages) ── */
.page-hero {
  background: var(--black);
  padding: 72px 24px 60px;
  border-bottom: 4px solid var(--yellow);
  text-align: center;
}

.page-hero .eyebrow { justify-content: center; display: block; }

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.0;
}

.page-hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.page-hero p {
  color: #aaa;
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* ── CALL STRIP ── */
.call-strip {
  background: var(--yellow);
  padding: 20px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.call-strip p {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
}

.call-strip a {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--black);
  letter-spacing: 0.04em;
  border-bottom: 2.5px solid var(--black);
  transition: opacity 0.15s;
}

.call-strip a:hover { opacity: 0.7; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 71px;
    left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 3px solid var(--yellow);
  }

  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 10px 14px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section { padding: 56px 20px; }
  .page-hero { padding: 52px 20px 44px; }
}
