:root {
  --ink: #101823;
  --muted: #687386;
  --line: #d9e2ea;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --navy: #071522;
  --navy-2: #11283d;
  --blue: #1769aa;
  --cyan: #22b6d7;
  --green: #0d8f65;
  --amber: #c9902c;
  --danger: #b42318;
  --shadow: 0 26px 80px rgba(7, 21, 34, 0.24);
  --shadow-soft: 0 18px 46px rgba(18, 39, 61, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 226, 234, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #071522, #1769aa 64%, #22b6d7);
  box-shadow: 0 12px 26px rgba(23, 105, 170, 0.28);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  color: #516071;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  position: relative;
  text-decoration: none;
}

nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

nav a:hover:after,
nav a:focus-visible:after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  scroll-margin-top: 82px;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(300px, 0.96fr) minmax(360px, 560px);
  gap: clamp(26px, 5vw, 74px);
  align-items: center;
  padding: clamp(34px, 6vw, 86px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 21, 34, 0.93) 0%, rgba(7, 21, 34, 0.78) 45%, rgba(7, 21, 34, 0.28) 100%),
    url("/assets/central-windscreens-hero-premium.png") center right / cover no-repeat;
}

.hero:before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(7, 21, 34, 0), rgba(7, 21, 34, 0.72));
  pointer-events: none;
}

.hero-copy,
.quote-panel {
  position: relative;
  z-index: 1;
}

.hero-copy {
  color: #fff;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #72d9ed;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 720px;
  font-size: clamp(42px, 5.3vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.7vw, 20px);
}

.trust-row,
.hero-metrics,
.tag-row,
.answer-row,
.seo-list {
  display: flex;
  flex-wrap: wrap;
}

.trust-row {
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero-metrics {
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics div {
  min-width: 136px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 22px;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-panel {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 30px);
}

.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head h2 {
  margin: 6px 0 0;
  font-size: clamp(24px, 3vw, 34px);
}

.step-pill,
.secure-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.step-pill {
  color: #0e5d83;
  background: #e2f7fd;
}

.secure-pill {
  color: #0d5c42;
  background: #ddf7ed;
  white-space: nowrap;
}

.quote-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.quote-steps span {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef3f7;
  color: #687386;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.quote-steps .active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.quote-grid,
.body-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.body-filters {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

label {
  display: grid;
  gap: 7px;
  color: #526173;
  font-size: 13px;
  font-weight: 900;
}

.wide {
  grid-column: 1 / -1;
}

select,
input,
button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

select,
input {
  width: 100%;
  padding: 0 13px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #59677a 50%) calc(100% - 18px) 54% / 6px 6px no-repeat,
    linear-gradient(135deg, #59677a 50%, transparent 50%) calc(100% - 14px) 54% / 6px 6px no-repeat,
    #fff;
  padding-right: 36px;
}

select:focus,
input:focus {
  border-color: rgba(34, 182, 215, 0.85);
  box-shadow: 0 0 0 4px rgba(34, 182, 215, 0.15);
}

select:disabled,
input:disabled {
  color: #98a3b1;
  background-color: #f4f7fa;
  cursor: not-allowed;
}

.select-search {
  min-height: 38px;
  background: #f8fbfd;
  font-size: 13px;
}

.status {
  position: relative;
  margin-top: 16px;
  padding: 13px 14px 13px 42px;
  border: 1px solid #dceaf2;
  border-radius: 8px;
  background: #f4fbfe;
  color: #50667a;
  font-size: 14px;
  font-weight: 750;
}

.status:before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  transform: translateY(-50%);
}

.status.loading:before {
  border: 2px solid rgba(23, 105, 170, 0.22);
  border-top-color: var(--blue);
  background: transparent;
  animation: spin 800ms linear infinite;
}

.status.bad {
  color: var(--danger);
  background: #fff4f2;
  border-color: #ffd1ca;
}

.status.bad:before {
  background: var(--danger);
}

.question-area {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.question-card {
  display: grid;
  grid-template-columns: 134px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d9eaf4;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f6fbfe);
}

.feature-art {
  display: block;
  width: 100%;
  min-height: 110px;
  border-radius: 8px;
  background: #edf7fb center / cover no-repeat;
  border: 1px solid #cddde8;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.feature-art:before,
.feature-art:after {
  display: none;
}

.feature-art.windscreen {
  background-image: url("/assets/feature-top-tint.png");
}

.feature-art.top-tint {
  background-image: url("/assets/feature-top-tint.png");
}

.feature-art.camera {
  background-image: url("/assets/feature-camera.png");
}

.feature-art.sensor {
  background-image: url("/assets/feature-sensor.png");
}

.feature-art.heated {
  background-image: url("/assets/feature-heated.png");
}

.feature-art.vin {
  background-image: url("/assets/feature-vin.png");
}

.feature-art.antenna {
  background-image: url("/assets/feature-antenna.png");
}

.feature-art.solar {
  background-image: url("/assets/feature-solar.png");
}

.feature-art.hud {
  background-image: url("/assets/feature-hud.png");
}

.question-hint {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(7, 21, 34, 0.84);
}

.image-modal.open {
  display: grid;
}

.image-modal img {
  max-width: min(1040px, 94vw);
  max-height: 82vh;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.image-modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.answer-row {
  gap: 10px;
  margin-top: 12px;
}

button {
  padding: 0 16px;
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0f558d);
  box-shadow: 0 12px 28px rgba(23, 105, 170, 0.2);
  font-weight: 900;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

button:hover,
button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(23, 105, 170, 0.27);
}

button.secondary {
  color: var(--navy);
  background: #eaf2f7;
  box-shadow: none;
}

.results {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.result-card {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid #dce6ee;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #f9fcfe);
  box-shadow: var(--shadow-soft);
}

.result-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.result-main p {
  margin-bottom: 0;
  color: var(--muted);
}

.price {
  white-space: nowrap;
  color: var(--green);
  font-size: 26px;
  font-weight: 950;
}

.tag-row {
  gap: 8px;
}

.tag-row span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #536274;
  background: #eef4f8;
  font-size: 12px;
  font-weight: 800;
}

.process-band,
.service-band,
.coverage,
.faq {
  padding: clamp(46px, 7vw, 88px) clamp(18px, 5vw, 76px);
}

.process-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: clamp(24px, 5vw, 62px);
  background: linear-gradient(180deg, #fff, #f7fafc);
}

.section-copy p:last-child,
.section-note {
  color: var(--muted);
}

.process-grid,
.service-grid {
  display: grid;
  gap: 18px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid article,
.service-grid article {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #0e5d83;
  background: #e2f7fd;
  font-size: 12px;
  font-weight: 950;
}

.service-band {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) 1fr;
  gap: clamp(22px, 5vw, 60px);
  background: #fff;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article p,
.process-grid article p {
  color: var(--muted);
  margin-bottom: 0;
}

.service-icon {
  position: relative;
  display: block;
  width: 62px;
  height: 44px;
  margin-bottom: 16px;
  border: 4px solid var(--navy);
  border-top-width: 7px;
  border-radius: 42px 42px 14px 14px;
  background: linear-gradient(180deg, #fff, #dff3fb);
  box-shadow: inset 0 10px 14px rgba(255, 255, 255, 0.62);
}

.service-icon:after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  top: 11px;
  height: 3px;
  border-radius: 999px;
  background: rgba(34, 182, 215, 0.6);
}

.service-icon.body {
  width: 46px;
  border-radius: 12px;
  transform: skewX(-8deg);
}

.service-icon.rear {
  width: 62px;
  border-radius: 14px 14px 36px 36px;
}

.coverage {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) 1fr;
  gap: clamp(22px, 5vw, 60px);
  background:
    linear-gradient(135deg, rgba(7, 21, 34, 0.96), rgba(17, 40, 61, 0.95)),
    var(--navy);
  color: #fff;
}

.coverage .eyebrow {
  color: #72d9ed;
}

.coverage .section-copy p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.seo-list {
  align-content: start;
  gap: 10px;
}

.seo-list span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 850;
}

.faq {
  max-width: 1000px;
  margin: 0 auto;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer strong {
  color: var(--ink);
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

@media (max-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero,
  .process-band,
  .service-band,
  .coverage {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    scroll-margin-top: 150px;
    min-height: auto;
    padding: 28px 16px 44px;
    background:
      linear-gradient(180deg, rgba(7, 21, 34, 0.92), rgba(7, 21, 34, 0.7)),
      url("/assets/central-windscreens-hero-premium.png") center / cover no-repeat;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .quote-grid,
  .body-filters,
  .question-card,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .quote-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-main {
    display: grid;
  }

  .price {
    white-space: normal;
  }
}
