/* ========== La Pine Auto Glass - Modern Template (Original) ==========
   Theme: Light + color accents, mobile-first, strong CTAs
   =================================================================== */

:root{
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(15,23,42,0.12);

  --brand: #0ea5e9;      /* blue */
  --brand2: #22c55e;     /* green */
  --brandDark: #0369a1;

  --shadow: 0 14px 38px rgba(2, 8, 23, 0.10);
  --radius: 16px;

  --wrap: 1120px;
  --headerH: 74px; /* used for anchor offsets */
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Anchor offset for sticky header */
:root { scroll-padding-top: calc(var(--headerH) + 18px); }
section { scroll-margin-top: calc(var(--headerH) + 18px); }

a{ color: inherit; }
a:hover{ color: var(--brandDark); }

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14,165,233,0.10);
  color: var(--brandDark);
  border: 1px solid rgba(14,165,233,0.22);
  font-weight: 800;
  font-size: 0.92rem;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(2,8,23,0.10);
  background: #fff;
  font-weight: 900;
  text-decoration:none;
  cursor:pointer;
  transition: transform .05s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ box-shadow: 0 12px 28px rgba(2,8,23,0.10); }
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border-color: rgba(2,8,23,0.06);
  color: #06202c;
}
.btn--ghost{
  background: rgba(255,255,255,0.85);
}
.btn--lg{ padding: 14px 16px; border-radius: 16px; }

.topbar{
  background: #0b1220;
  color: rgba(255,255,255,0.92);
}
.topbar .wrap{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding: 10px 16px;
  align-items:center;
  font-weight: 700;
}
.topbar a{ color:#fff; text-decoration:none; }
.topbar a:hover{ text-decoration: underline; }

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--headerH);
  background: rgba(246,248,252,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner{
  height: var(--headerH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration:none;
}
.brand__mark{
  width: 38px; height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 26px rgba(14,165,233,0.25);
}
.brand__name{ font-weight: 950; letter-spacing: .2px; display:block; }
.brand__tag{ color: var(--muted); font-size: .92rem; margin-top: 1px; display:block; }

.nav{
  display:flex;
  gap: 10px;
  align-items:center;
}
.nav a{
  text-decoration:none;
  color: var(--muted);
  font-weight: 800;
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(14,165,233,0.08);
  color: #0b1220;
}

.header__cta{
  display:flex;
  gap: 10px;
  align-items:center;
}

.menuBtn{
  display:none;
  width: 46px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(2,8,23,0.10);
  background: #fff;
}
.menuBtn span{
  display:block;
  height: 2px;
  margin: 6px 10px;
  background: rgba(2,8,23,0.75);
  border-radius: 999px;
}

.mobileNav{
  border-bottom: 1px solid var(--border);
  background: rgba(246,248,252,0.98);
}
.mobileNav[hidden]{ display:none; }
.mobileNav__inner{
  padding: 10px 0 14px 0;
  display:grid;
  gap: 10px;
}
.mobileNav__inner a{
  background: #fff;
  border: 1px solid rgba(2,8,23,0.10);
  padding: 12px 12px;
  border-radius: 14px;
  text-decoration:none;
  font-weight: 900;
  color: #0b1220;
}

/* Hero */
.hero{
  padding: 28px 0 10px 0;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items:start;
}
.hero h1{
  font-size: clamp(2.0rem, 4vw, 3.1rem);
  line-height: 1.05;
  margin: 10px 0 10px 0;
  letter-spacing: -0.6px;
}
.lead{
  margin: 0 0 16px 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 10px 0 12px 0;
}

.panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel__body{ padding: 16px; }

.media{
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(400px 220px at 25% 30%, rgba(14,165,233,0.25), transparent 60%),
    radial-gradient(380px 220px at 75% 70%, rgba(34,197,94,0.22), transparent 55%),
    linear-gradient(135deg, rgba(2,8,23,0.04), rgba(2,8,23,0.02));
  border-bottom: 1px solid var(--border);
  position: relative;
}
.media__label{
  position:absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: rgba(255,255,255,0.88);
  border: 1px dashed rgba(2,8,23,0.20);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900;
}
.media__label small{
  display:block;
  margin-top: 2px;
  font-weight: 700;
  color: var(--muted);
}

.tiles{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.tile{
  background: #fff;
  border: 1px solid rgba(2,8,23,0.10);
  border-radius: 16px;
  padding: 14px;
}
.tile h3{ margin:0 0 6px 0; font-size: 1.02rem; }
.tile p{ margin:0; color: var(--muted); }

/* Sections */
.section{ padding: 26px 0; }
.section__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 12px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}
.section h2{ margin:0; font-size: 1.65rem; }
.section p{ margin: 6px 0 0 0; color: var(--muted); max-width: 820px; }

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card{
  background:#fff;
  border: 1px solid rgba(2,8,23,0.10);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 28px rgba(2,8,23,0.06);
}
.card h3{ margin:0 0 8px 0; }
.card p{ margin:0 0 12px 0; color: var(--muted); }
.card a{ font-weight: 950; text-decoration:none; color: var(--brandDark); }
.card a:hover{ text-decoration: underline; }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items:start;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 10px;
}
.tag{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(14,165,233,0.10);
  border: 1px solid rgba(14,165,233,0.20);
  color: var(--brandDark);
  font-weight: 900;
}

.callout{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(2,8,23,0.10);
  background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(34,197,94,0.10));
}

.faq details{
  background:#fff;
  border: 1px solid rgba(2,8,23,0.10);
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.faq summary{
  cursor:pointer;
  font-weight: 950;
}
.faq p{ margin: 10px 0 0 0; }

.footer{
  padding: 26px 0 86px 0; /* room for sticky call */
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 14px;
}
.footer h4{ margin:0 0 8px 0; }
.footer ul{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer a{ text-decoration:none; color: var(--muted); font-weight: 800; }
.footer a:hover{ color: var(--brandDark); text-decoration: underline; }

.stickyCall{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display:none;
  text-align:center;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #06202c;
  font-weight: 950;
  text-decoration:none;
  box-shadow: 0 14px 38px rgba(2,8,23,0.18);
}

/* Responsive */
@media (max-width: 980px){
  .nav{ display:none; }
  .header__cta{ display:none; }
  .menuBtn{ display:block; }
  .hero__grid{ grid-template-columns: 1fr; }
  .tiles{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 620px){
  .topbar .wrap{ flex-direction: column; align-items:flex-start; }
  .stickyCall{ display:block; }
}
