/* Webuywindshields modernization production assets
   Enqueue only on the WBW Modern WordPress page templates. */
:root {
  --green: #55a800;
  --green-dark: #347400;
  --green-soft: #eef9e7;
  --blue: #075ea8;
  --blue-dark: #073b67;
  --red: #d6283b;
  --orange: #ff6a45;
  --ink: #142033;
  --muted: #5d6c7f;
  --soft: #f5f8fb;
  --line: #dbe4ed;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(11, 32, 55, 0.16);
  --radius: 22px;
  --container: 1160px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Arial Black", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  z-index: 20;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--green-dark);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
}
.topbar .container,
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar .container { min-height: 44px; }
.contact-row { display: flex; gap: 22px; flex-wrap: wrap; }
.contact-pill { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.contact-pill span:first-child { font-size: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(18,31,48,.08);
}
.navbar .container { min-height: 84px; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.logo img { width: 108px; height: auto; }
.logo span { display: none; }
.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: #465366;
  font-size: 15px;
  font-weight: 750;
}
.navlinks a { padding: 8px 0; border-bottom: 2px solid transparent; }
.navlinks a:hover,
.navlinks a:focus { color: var(--ink); border-color: var(--green); outline: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.mobile-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font-weight: 900;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover,
.btn:focus { transform: translateY(-1px); outline: none; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 14px 26px rgba(214,40,59,.24); }
.btn-primary:hover,
.btn-primary:focus { background: #bd1e31; }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: 0 14px 26px rgba(7,94,168,.22); }
.btn-blue:hover,
.btn-blue:focus { background: #064d8c; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--white); }
.btn-block { width: 100%; }
/* Beat Divi's `.et_color_scheme_green a` (spec 0,1,1) link-color leak that turns
   button/top-bar text muddy green. Double-class selectors win on specificity. */
.btn.btn-primary, .btn.btn-blue { color: var(--white); }
.btn.btn-ghost { color: var(--ink); }
.topbar .contact-pill { color: var(--white); }

.hero {
  position: relative;
  min-height: 690px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5,11,18,.96) 0%, rgba(5,11,18,.76) 42%, rgba(5,11,18,.22) 100%),
    url("assets/Rectangle-6-1.png") center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -14% -32% -14%;
  height: 42%;
  background: radial-gradient(circle, rgba(85,168,0,.24), rgba(85,168,0,0) 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  align-items: center;
  gap: 44px;
  min-height: 690px;
  padding: 56px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  color: #dfffcf;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
h1,
.hero-title {
  margin: 20px 0 14px;
  font-family: var(--display);
  color: var(--white);
  font-size: clamp(44px, 7vw, 86px);
  line-height: .94;
  text-transform: uppercase;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero-title strong { color: #8cff42; }
.hero-copy {
  max-width: 640px;
  margin: 0 0 28px;
  font-size: clamp(19px, 2vw, 25px);
  color: rgba(255,255,255,.9);
}
.hero-copy strong { color: var(--white); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.microcopy {
  margin-top: 18px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 640px;
  margin-top: 34px;
}
.trust-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.16);
}
.trust-item b { display: block; font-size: 20px; line-height: 1; }
.trust-item span { display: block; margin-top: 6px; color: rgba(255,255,255,.78); font-size: 13px; }

.quick-card,
.panel-card,
.form-card {
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.quick-card {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.45);
}
.quick-card h2,
.form-card h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.05; letter-spacing: -.04em; }
.quick-card p { margin: 0 0 18px; color: var(--muted); }
.field-stack { display: grid; gap: 12px; }
.field label,
.inline-field label {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 900;
  color: #27384d;
}
.field input,
.field select,
.inline-field input,
.inline-field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #c9d7e6;
  border-radius: 13px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfdff;
}
.field input:focus,
.field select:focus,
.inline-field input:focus,
.inline-field select:focus {
  outline: 3px solid rgba(85,168,0,.18);
  border-color: var(--green);
}
.card-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; }

.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: #071b2d; color: var(--white); }
.section-head {
  max-width: 740px;
  margin: 0 auto 38px;
  text-align: center;
}
.section-kicker {
  color: var(--green-dark);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 13px;
}
.section-dark .section-kicker { color: #94ff5e; }
.section-title {
  margin: 8px 0 12px;
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 56px);
  line-height: .96;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.section-lede { margin: 0; color: var(--muted); font-size: 18px; }
.section-dark .section-lede { color: rgba(255,255,255,.72); }

.steps-grid,
.benefit-grid,
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card,
.benefit-card,
.payment-card,
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 16px 40px rgba(11,32,55,.06);
}
.step-card { position: relative; overflow: hidden; }
.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(7,94,168,.09);
  font-family: var(--display);
  font-size: 74px;
  line-height: 1;
}
.step-icon { width: 66px; height: 66px; padding: 11px; border-radius: 18px; background: var(--green-soft); margin-bottom: 18px; }
.card-title { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; }
.card-copy { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.image-stack { position: relative; }
.image-stack::before {
  content: "";
  position: absolute;
  inset: -22px auto auto -22px;
  width: 52%;
  height: 62%;
  background: var(--green);
  border-radius: 24px;
  z-index: 0;
}
.image-stack img { position: relative; z-index: 1; border-radius: 24px; box-shadow: var(--shadow); }
.logo-badge {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: -28px;
  width: 132px;
  padding: 12px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(11,32,55,.18);
}
.check-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--muted); }
.check-list b { color: var(--ink); }
.check { color: var(--green-dark); font-weight: 900; }

.payment-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.payment-card img { width: 58px; height: 58px; padding: 10px; border-radius: 16px; background: rgba(148,255,94,.14); }
.payment-card .card-copy { color: rgba(255,255,255,.72); }
.payment-card .card-title { color: var(--white); }

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7,27,45,.93), rgba(7,27,45,.82)),
    url("assets/Rectangle-13-1.png") center/cover no-repeat;
  color: var(--white);
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 44px 0;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.72); }

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 0;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}
.faq-button:focus { outline: 3px solid rgba(85,168,0,.22); outline-offset: -3px; }
.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}
.faq-item.open .faq-answer { display: block; }
.faq-icon { color: var(--green-dark); font-size: 20px; }

.footer {
  background: #05111e;
  color: var(--white);
  padding: 34px 0;
}
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer small { color: rgba(255,255,255,.62); }
.footer a { color: #9af761; font-weight: 800; }

/* Quote page */
.quote-hero {
  background:
    radial-gradient(circle at 10% 10%, rgba(85,168,0,.18), transparent 28%),
    linear-gradient(180deg, #f7fbff, #fff);
  padding: 64px 0 86px;
}
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}
.form-card { padding: 32px; border: 1px solid var(--line); }
.form-subhead { color: var(--muted); margin: 0 0 24px; }
.form-section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.form-section:first-of-type { border-top: 0; padding-top: 0; }
.form-section h2 { margin: 0 0 14px; font-size: 18px; letter-spacing: -.02em; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .wide { grid-column: 1 / -1; }
.consent-box {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 15px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #435267;
  font-size: 13px;
}
.consent-box input { width: 18px; height: 18px; margin-top: 2px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.form-message {
  display: none;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--green-soft);
  color: #234d06;
  font-weight: 800;
}
.side-rail { display: grid; gap: 18px; }
.panel-card { padding: 24px; border: 1px solid var(--line); }
.panel-card h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.03em; }
.panel-card p { color: var(--muted); margin: 0 0 14px; }
.number-list { counter-reset: item; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.number-list li { counter-increment: item; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; color: var(--muted); }
.number-list li::before {
  content: counter(item);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 950;
}
.security-note { color: var(--muted); font-size: 13px; }
.required { color: var(--red); }
.quote-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px dashed #b9c8d8;
  border-radius: 14px;
  background: #fbfdff;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 960px) {
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    font-weight: 900;
  }
  .navlinks {
    position: absolute;
    inset: 128px 20px auto 20px;
    display: none;
    grid-template-columns: 1fr;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .navlinks.open { display: grid; }
  .nav-actions .btn { display: none; }
  .hero-grid,
  .quote-grid,
  .split,
  .cta-band .container { grid-template-columns: 1fr; }
  .hero { min-height: unset; }
  .hero-grid { min-height: unset; padding: 46px 0; }
  .trust-row,
  .steps-grid,
  .benefit-grid,
  .payment-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .quick-card { max-width: 560px; }
  .cta-band .container { text-align: left; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .topbar .container { align-items: flex-start; padding: 10px 0; }
  .contact-row { gap: 10px; display: grid; grid-template-columns: 1fr; }
  .contact-pill { white-space: normal; }
  .navbar .container { min-height: 74px; }
  .logo img { width: 88px; }
  .hero-title { font-size: clamp(26px, 8.4vw, 44px); letter-spacing: -.03em; }
  .section-title { font-size: clamp(24px, 7vw, 38px); }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 62px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .form-actions .btn { width: 100%; }
  .footer .container { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}