/* =============================================
   ARRO Auto Glass — Global Stylesheet
   arroautoglass.ca
   ============================================= */

/* --- Variables --- */
:root {
  --navy:    #0d2137;
  --blue:    #1565c0;
  --blue-lt: #1e88e5;
  --gold:    #f9a825;
  --white:   #ffffff;
  --gray-bg: #f4f7fb;
  --gray-lt: #e8edf3;
  --text:    #1a1a2e;
  --text-md: #4a5568;
  --radius:  8px;
  --shadow:  0 4px 20px rgba(0,0,0,0.08);
  --trans:   0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { color: var(--text-md); }

/* --- Container --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: #e65100; color: #fff; transform: translateY(-2px); }

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

.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--navy); transform: translateY(-2px); }

/* --- Section spacing --- */
.section { padding: 80px 0; }
.section-sm { padding: 52px 0; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-sub {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--navy);
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo .brand { font-size: 1.25rem; font-weight: 800; color: var(--white); letter-spacing: 0.02em; }
.nav-logo .tagline { font-size: 0.65rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--trans);
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700 !important;
  font-size: 0.9rem !important;
}
.nav-cta:hover { background: #fff !important; color: var(--navy) !important; }

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

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--navy);
  z-index: 998;
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  font-weight: 600;
}
.mobile-nav .nav-cta {
  text-align: center;
  padding: 14px;
}

/* Page offset for fixed nav */
.page-top { padding-top: 68px; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand { font-size: 1.3rem; font-weight: 800; color: var(--white); }
.footer-brand .tagline { font-size: 0.75rem; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; transition: var(--trans); }
.footer-col a:hover { color: var(--gold); }

.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* =============================================
   HERO (shared base)
   ============================================= */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(249,168,37,0.15);
  border: 1px solid rgba(249,168,37,0.4);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.15rem; max-width: 560px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.trust-item span { font-size: 1.3rem; }

/* =============================================
   CARDS / GRID UTILITIES
   ============================================= */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap-28px; gap: 28px; }

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-lt);
  transition: var(--trans);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--gray-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card-icon.blue { background: #e3f0fd; }
.card-icon.gold { background: #fff8e1; }
.card-icon.green { background: #e8f5e9; }

.card h3 { margin-bottom: 10px; }

/* =============================================
   STEPS
   ============================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; }
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step h3 { margin-bottom: 8px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-lt);
}
.stars { color: #f9a825; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial p { font-size: 0.95rem; margin-bottom: 16px; }
.reviewer { font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.reviewer-loc { font-size: 0.8rem; color: var(--text-md); }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--blue);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-phone {
  background: var(--white);
  color: var(--navy);
  font-size: 1.1rem;
  padding: 16px 32px;
}
.btn-phone:hover { background: var(--gold); }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--navy);
  padding: 72px 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }

/* =============================================
   FORM
   ============================================= */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-lt);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  transition: var(--trans);
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-lt);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero { min-height: 80vh; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .hero-trust { gap: 20px; }
}
