/* ─────────────────────────────────────────────
   OneStop Auto Glass: styles shared by every page of the website
   (colors, fonts, menu, footer, buttons, section titles).
   Each page links this file first, then keeps only its own styles
   in a <style> block. Change a shared style here once and it changes
   on every page.
   ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --black: #050608; --dark: #0c0e14; --dark2: #12151e; --dark3: #181c28; --blue: #2a7fff; --blueglow:#4499ff; --gold: #c98a1a; --gold2: #e8a020; --goldlt: #f5c050; --silver: #a8b8cc; --silver2:#d4e0ee; --white: #f0f6ff; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--dark); color: var(--white); overflow-x: hidden; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; padding: 0 max(5%, calc((100% - 1400px) / 2)); height: 96px; background: rgba(5,6,8,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(42,127,255,0.18); transition: box-shadow 0.3s; }
nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.logo-img { height: 84px; width: auto; filter: drop-shadow(0 0 10px rgba(42,127,255,0.4)); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--silver); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--gold2); }
.nav-call { display: flex !important; align-items: center; gap: 7px; background: linear-gradient(135deg,var(--gold2),var(--gold)) !important; color: var(--black) !important; padding: 0.52rem 1.1rem !important; border-radius: 4px; font-weight: 800 !important; letter-spacing: 0.05em !important; white-space: nowrap; box-shadow: 0 2px 16px rgba(201,138,26,0.35); transition: filter 0.2s !important; }
.nav-call:hover { filter: brightness(1.1) !important; color: var(--black) !important; }
@media (max-width: 1240px) {
  .nav-links { gap: 1.1rem; }
}
@media (max-width: 1420px) {
  .nav-links li.nav-hide-md { display: none; }
}
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: all 0.3s; }
@media (max-width: 1220px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}
.mobile-menu { display: none; position: fixed; top: 96px; left: 0; right: 0; z-index: 199; background: rgba(5,6,8,0.98); backdrop-filter: blur(16px); padding: 1.5rem 5%; border-bottom: 1px solid rgba(42,127,255,0.15); flex-direction: column; gap: 0.25rem; max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--silver); font-size: 1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-menu .mob-call { margin-top: 0.5rem; background: linear-gradient(135deg,var(--gold2),var(--gold)); color: var(--black); text-align: center; padding: 0.85rem; border-radius: 4px; font-weight: 800; font-size: 1.05rem; border: none; }
.page-header { padding: 156px max(5%, calc((100% - 1180px) / 2)) 50px; position: relative; overflow: hidden; background: radial-gradient(ellipse 55% 60% at 72% 20%, rgba(42,127,255,0.1) 0%, transparent 65%), linear-gradient(160deg, #050608 0%, #0a0d16 50%, #0c1020 100%); }
.page-header-inner { max-width: 760px; position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(42,127,255,0.1); border: 1px solid rgba(42,127,255,0.28); border-radius: 3px; padding: 6px 14px; margin-bottom: 1.3rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blueglow); }
.page-header h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.04; text-transform: uppercase; letter-spacing: -0.01em; color: var(--white); margin-bottom: 1rem; }
.sec-label { display: inline-flex; align-items: center; gap: 10px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold2); margin-bottom: 0.9rem; }
.sec-label::before { content:''; width:26px; height:2px; background:var(--gold2); }
.sec-title em { font-style: normal; color: var(--blue); }
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-blue:hover { background:rgba(42,127,255,0.22); border-color:var(--blue); transform:translateY(-2px); }
footer { background: var(--black); border-top: 1px solid rgba(42,127,255,0.1); padding: 3rem max(5%, calc((100% - 1400px) / 2)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: 0.86rem; color: var(--silver); line-height: 1.7; margin-top: 1rem; max-width: 260px; }
.footer-logo { height: 58px; width: auto; filter: drop-shadow(0 0 8px rgba(42,127,255,0.28)); }
.footer-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--gold2); text-decoration: none; font-weight: 700; font-size: 1rem; margin-top: 1rem; transition: color 0.2s; }
.footer-phone:hover { color: var(--goldlt); }
.footer-social { display: flex; gap: 10px; margin-top: 1rem; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); color: #fff; text-decoration: none; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.footer-social a:hover { color: var(--gold2); border-color: var(--gold2); }
.f-col h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 0.9rem; }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 0.45rem; font-size: 0.86rem; color: var(--silver); }
.f-col a { text-decoration: none; color: var(--silver); font-size: 0.86rem; transition: color 0.2s; }
.f-col a:hover { color: var(--gold2); }
.pay-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.9rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,0.06); }
.pay-row h4 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin: 0; }
.pay-marks { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.pay-marks li { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.7rem; border-radius: 6px; background: var(--dark3); border: 1px solid rgba(168,184,204,0.22); font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.8rem; color: var(--silver2); white-space: nowrap; }
.pay-marks svg { color: var(--blueglow); flex-shrink: 0; }
.pay-row p { flex-basis: 100%; font-size: 0.74rem; color: var(--silver); margin: 0.2rem 0 0; }
.trust-row { display: flex; justify-content: center; margin: 0 0 1.4rem; }
.trust-row img { display: block; height: auto; max-width: 100%; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; font-size: 0.78rem; color: var(--silver); }
.footer-bottom a { color: var(--silver); text-decoration: underline; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold2); }
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-header { padding: 130px 6% 40px; }
}

/* Service cards (services page and the homepage grid) */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.5px; background: rgba(42,127,255,0.07); border: 1px solid rgba(42,127,255,0.1); margin-top: 3.2rem; }
.svc-card { background: var(--dark2); padding: 2.4rem 1.9rem; position: relative; overflow: hidden; transition: background 0.3s; }
.svc-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg,var(--gold),var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.svc-card:hover { background: rgba(42,127,255,0.04); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon { width: 50px; height: 50px; background: rgba(42,127,255,0.1); border: 1px solid rgba(42,127,255,0.2); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; color: var(--blue); transition: background 0.3s, border-color 0.3s; }
.svc-card:hover .svc-icon { background:rgba(42,127,255,0.18); border-color:var(--blue); }
.svc-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--white); margin-bottom: 0.7rem; }
.svc-card p { font-size: 0.9rem; color: var(--silver); line-height: 1.65; }
.svc-tag { display: inline-block; margin-top: 1.1rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold2); border: 1px solid rgba(201,138,26,0.35); padding: 4px 10px; border-radius: 2px; }
a.svc-card { display: block; color: inherit; text-decoration: none; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 1.1rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blueglow); }
a.svc-card:hover .svc-more, a.svc-card:focus-visible .svc-more { color: var(--white); }
/* Insurance steps (services page) */
.ins-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 2rem; counter-reset: ins; }
.ins-step { background: var(--dark2); border: 1px solid rgba(42,127,255,0.14); border-radius: 6px; padding: 1.6rem 1.5rem; position: relative; }
.ins-step::before { counter-increment: ins; content: counter(ins); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(201,138,26,0.15); color: var(--gold2); font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.15rem; margin-bottom: 0.9rem; }
.ins-step h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--white); margin-bottom: 0.5rem; }
.ins-step p { font-size: 0.92rem; color: var(--silver); line-height: 1.65; }
.ins-note { margin-top: 1.4rem; font-size: 0.88rem; color: var(--silver); line-height: 1.65; max-width: 820px; }
.svc-card[id] { scroll-margin-top: 90px; }
