:root {
  --blue-50: #eef6fb;
  --blue-100: #d6eaf6;
  --blue-500: #0a72ad;
  --blue-600: #015e92;
  --blue-700: #0040a0;
  --blue-900: #002a6e;
  --orange-100: #fef3e2;
  --orange-400: #ffa000;
  --orange-500: #f08000;
  --green-100: #e6f9f1;
  --green-500: #22bb75;
  --green-700: #18a362;
  --white: #ffffff;
  --grey-50: #fafafa;
  --grey-100: #f4f4f4;
  --grey-200: #ebebeb;
  --grey-300: #e4e4e4;
  --grey-500: #999999;
  --grey-600: #666666;
  --grey-700: #555555;
  --grey-900: #333333;
  --ink: #152231;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 10px 28px -8px rgba(0, 0, 0, 0.15);
  --radius: 6px;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--grey-700);
  background: var(--white);
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(10, 114, 173, 0.9);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3 {
  color: var(--grey-900);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
}

p {
  line-height: 1.7;
}

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

.skip-link {
  background: var(--blue-600);
  border-radius: 0 0 var(--radius) var(--radius);
  color: var(--white);
  font-weight: 800;
  left: 24px;
  padding: 10px 14px;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform 0.16s ease;
  z-index: 3000;
}

.skip-link:focus {
  transform: translateY(0);
  text-decoration: none;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--grey-100);
}

.eyebrow {
  color: var(--orange-500);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.7rem, 2.2vw, 2.25rem);
  margin-bottom: 14px;
}

.section-title::after,
.page-title::after {
  background: var(--blue-600);
  content: "";
  display: block;
  height: 3px;
  margin-top: 14px;
  width: 48px;
}

.section-lead {
  color: var(--grey-600);
  max-width: 680px;
}

.top-promo {
  background: var(--orange-500);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  position: relative;
  text-align: center;
}

.top-promo .container {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  min-height: 44px;
  padding: 7px 36px;
}

.top-promo a {
  align-items: center;
  display: inline-flex;
  min-height: 40px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.promo-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--white);
  display: inline-flex;
  font-size: 22px;
  justify-content: center;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
  opacity: 0.75;
  padding: 0;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-300);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  align-items: center;
  display: flex;
  gap: 18px;
  min-height: 74px;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav-links {
  align-items: stretch;
  display: flex;
  gap: 0;
  justify-content: center;
  margin-left: auto;
}

.nav-links a {
  align-items: center;
  border-bottom: 3px solid transparent;
  color: var(--grey-700);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.055em;
  min-height: 74px;
  padding: 0 10px;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.is-active {
  border-bottom-color: var(--blue-600);
  color: var(--blue-600);
  text-decoration: none;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.lang-switch {
  background: var(--grey-100);
  border-radius: 100px;
  display: flex;
  padding: 3px;
}

.lang-switch a {
  border-radius: 100px;
  color: var(--grey-700);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
}

.lang-switch .active {
  background: var(--blue-600);
  color: var(--white);
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 44px;
  justify-content: center;
  margin-left: auto;
  padding: 8px;
  width: 44px;
}

.menu-toggle span {
  background: var(--grey-900);
  border-radius: 2px;
  display: block;
  height: 2px;
  width: 24px;
}

.mobile-drawer {
  background: var(--white);
  display: none;
  inset: 0;
  overflow-y: auto;
  padding: 18px 24px 32px;
  position: fixed;
  z-index: 100;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-drawer img {
  height: 40px;
}

.mobile-drawer button {
  background: transparent;
  border: 0;
  color: var(--grey-900);
  font-size: 32px;
  line-height: 1;
}

.mobile-drawer nav {
  display: grid;
  gap: 0;
}

.mobile-drawer nav a {
  border-bottom: 1px solid var(--grey-200);
  color: var(--grey-900);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 15px 0;
  text-transform: uppercase;
}

.drawer-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  align-items: center;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.045em;
  line-height: 1.2;
  min-height: 44px;
  padding: 12px 22px;
  text-transform: uppercase;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, filter 0.15s;
}

.btn:hover {
  filter: brightness(0.94);
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
}

.btn-orange {
  background: var(--orange-500);
  color: var(--white);
}

.btn-green {
  background: var(--green-500);
  color: var(--white);
}

.btn-ghost {
  border-color: currentColor;
  color: var(--blue-600);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.hero {
  background:
    radial-gradient(60% 100% at 24% 50%, rgba(1, 26, 46, 0.82) 0%, rgba(1, 26, 46, 0.32) 62%, rgba(1, 26, 46, 0) 100%),
    var(--hero-image);
  background-repeat: no-repeat, no-repeat;
  background-position: left center, 65% center;
  background-size: cover, cover;
  color: var(--white);
  min-height: 560px;
  overflow: hidden;
  position: relative;
}

.hero .container {
  align-items: center;
  display: flex;
  min-height: 560px;
  padding-block: 72px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 660px;
  min-width: 0;
  width: 100%;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 4.4vw, 4.4rem);
  margin-bottom: 18px;
  max-width: 780px;
  overflow-wrap: break-word;
}

.hero p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.hero-trust span,
.check-list li {
  align-items: center;
  display: flex;
  gap: 8px;
}

.hero-trust span::before,
.check-list li::before {
  content: "";
  display: inline-block;
  flex: none;
  vertical-align: -0.34em;
  width: 20px;
  height: 20px;
  margin-right: 2px;
  border-radius: 6px;
  background-color: var(--blue-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23015e92' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.4 4.5L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.trust-grid {
  border-bottom: 1px solid var(--grey-300);
  border-top: 1px solid var(--grey-300);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  align-items: center;
  border-right: 1px solid var(--grey-200);
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: 24px;
}

.trust-item:last-child {
  border-right: 0;
}

.icon-circle {
  align-items: center;
  background: var(--blue-50);
  border-radius: 50%;
  color: var(--blue-600);
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.icon-circle::before {
  color: var(--green-700);
  content: "✓";
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.trust-item strong {
  color: var(--blue-600);
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.trust-item div > span {
  color: var(--grey-600);
  display: block;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 2px;
}

.stats-band {
  background: var(--blue-600);
  color: var(--white);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  font-size: 14px;
  margin-top: 8px;
}

.trust-proof-section {
  background:
    linear-gradient(135deg, rgba(238, 246, 251, 0.92), rgba(255, 255, 255, 0.98)),
    var(--white);
}

.trust-proof-layout {
  align-items: stretch;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
}

.trust-proof-copy {
  align-self: center;
}

.trust-proof-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.review-summary {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--grey-700);
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 14px;
}

.review-score {
  color: var(--blue-700);
  font-weight: 900;
}

.review-stars {
  color: var(--orange-500);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}

.review-link {
  align-items: center;
  color: var(--blue-700);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  min-height: 44px;
  text-decoration: none;
}

.review-link:hover {
  color: var(--orange-500);
}

.trust-proof-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-proof-cards article {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 24px 22px;
}

.trust-proof-cards strong {
  color: var(--orange-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 30px;
}

.trust-proof-cards h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.trust-proof-cards p {
  color: var(--grey-600);
  font-size: 14px;
}

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

.trust-proof-cards .review-card {
  min-height: 0;
  padding: 22px 20px 20px;
  position: relative;
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--blue-600);
  border-radius: 10px;
  box-shadow: 0 14px 30px -18px rgba(1, 34, 55, 0.35), 0 2px 6px rgba(1, 34, 55, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.trust-proof-cards .review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -16px rgba(1, 34, 55, 0.4), 0 3px 8px rgba(1, 34, 55, 0.08);
}

.trust-proof-cards .review-card.is-featured {
  background: linear-gradient(180deg, rgba(238, 246, 251, 0.7), var(--white) 46px);
  border-color: var(--blue-100);
  box-shadow: 0 18px 36px -16px rgba(1, 34, 55, 0.42), 0 3px 8px rgba(1, 34, 55, 0.08);
}

.trust-proof-cards .review-card.is-featured:hover {
  box-shadow: 0 22px 40px -14px rgba(1, 34, 55, 0.46), 0 4px 10px rgba(1, 34, 55, 0.1);
}

.review-card-badge {
  background: var(--orange-500);
  border-radius: 999px;
  color: var(--white);
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
  padding: 5px 10px;
  text-transform: uppercase;
}

.review-card-head {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.review-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--blue-600), var(--orange-500));
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 13px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  box-shadow: 0 4px 10px -3px rgba(1, 94, 146, 0.55);
}

.review-card-head strong {
  color: var(--grey-900);
  display: block;
  font-size: 15px;
  margin: 0;
}

.review-card-head span:not(.review-avatar) {
  color: var(--grey-500);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

.review-card .review-stars {
  margin-bottom: 12px;
  color: var(--orange-500);
}

.review-card p {
  color: var(--grey-700);
  line-height: 1.55;
}

.area-section {
  background: var(--white);
}

.area-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.area-card {
  background:
    linear-gradient(180deg, rgba(238, 246, 251, 0.82), rgba(255, 255, 255, 0.96)),
    var(--white);
  border: 1px solid var(--blue-100);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--grey-900);
  display: grid;
  gap: 8px;
  min-height: 178px;
  padding: 24px 24px 26px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.area-card:hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-3px);
}

.area-card span {
  color: var(--orange-500);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.area-card strong {
  font-size: 1.12rem;
  line-height: 1.25;
}

.area-card small {
  color: var(--grey-600);
  font-size: 13px;
  line-height: 1.55;
}

.local-hero {
  background:
    linear-gradient(105deg, rgba(0, 42, 70, 0.94) 0%, rgba(1, 68, 108, 0.82) 48%, rgba(1, 68, 108, 0.36) 100%),
    url("../assets/imagery/home-hero-installed-windows.webp") center / cover;
  padding: 82px 0;
}

.local-hero p {
  max-width: 720px;
}

.local-hero-actions {
  margin-top: 26px;
}

.local-layout {
  align-items: start;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.42fr);
}

.local-map-card {
  position: sticky;
  top: 98px;
}

.local-map-card .card-body {
  display: grid;
  gap: 14px;
}

.local-map-card h3 {
  font-size: 1.12rem;
}

.local-map-card p {
  color: var(--grey-600);
  font-size: 15px;
}

.local-region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.local-region-list span {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: var(--grey-700);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 14px;
}

.local-cta-panel {
  align-items: center;
  background: var(--blue-600);
  border-radius: 10px;
  color: var(--white);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 34px 38px;
}

.local-cta-panel h2 {
  color: var(--white);
}

.local-cta-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.section-head {
  align-items: end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 34px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-body {
  padding: 22px;
}

.media-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.product-card {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-media {
  position: relative;
  overflow: hidden;
}

.product-media img {
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 34, 55, 0.78) 0%, rgba(1, 34, 55, 0) 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.product-card:hover .product-media::after {
  opacity: 1;
}

.product-media-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .product-media-caption {
  opacity: 1;
  transform: translateY(0);
}

.card h3 {
  color: var(--grey-900);
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--grey-600);
  font-size: 14px;
}

.card-link {
  align-items: center;
  color: var(--blue-600);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-top: 18px;
  min-height: 40px;
  text-transform: uppercase;
}

.why-layout {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.why-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.why-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
}

.partner-proof-head {
  align-items: center;
}

.partner-strip {
  align-items: center;
  display: grid;
  gap: 18px 24px;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  margin-top: 10px;
}

.partner-strip img,
.partner-logo {
  filter: grayscale(1);
  margin: auto;
  max-height: 42px;
  max-width: 122px;
  opacity: 0.66;
}

.trends-badge-link {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  justify-content: center;
  max-width: 280px;
  min-height: 70px;
  padding: 10px 14px;
}

.trends-badge-link:hover {
  text-decoration: none;
}

.trends-badge-link img {
  height: 48px;
  object-fit: contain;
  width: auto;
}

.trends-badge-link span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.trends-badge-link strong {
  color: var(--grey-900);
  font-size: 0.86rem;
  line-height: 1.15;
}

.trends-badge-link small {
  color: var(--grey-600);
  font-size: 0.74rem;
  line-height: 1.25;
}

.campaign-card {
  align-items: center;
  background: var(--orange-100);
  border: 1px solid #ffd8a8;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1.3fr;
}

.campaign-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.campaign-card .card-body {
  padding: 28px;
}

.cta-band {
  background: var(--blue-600);
  color: var(--white);
}

.cta-layout {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.cta-band h2,
.page-hero h1 {
  color: var(--white);
}

.cta-band p,
.page-hero p {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero {
  background: var(--blue-600);
  color: var(--white);
  padding: 56px 0;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.page-hero h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 14px;
}

.breadcrumbs {
  border-bottom: 1px solid var(--grey-300);
  color: var(--grey-600);
  font-size: 13px;
  padding: 14px 0;
}

.breadcrumbs a {
  color: var(--blue-600);
  font-weight: 700;
}

.product-layout {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: 250px minmax(0, 1fr);
}

.side-nav {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: sticky;
  top: 98px;
}

.side-nav a {
  border-bottom: 1px solid var(--grey-300);
  color: var(--grey-700);
  display: block;
  font-size: 14px;
  font-weight: 800;
  padding: 13px 16px;
  transition: background 160ms ease, color 160ms ease;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  background: var(--blue-50);
  color: var(--blue-600);
  text-decoration: none;
}

.side-nav a.is-active {
  background: var(--blue-600);
  color: var(--white);
}

.side-nav a:last-child {
  border-bottom: 0;
}

.product-content {
  display: grid;
  gap: 34px;
  min-width: 0;
}

.product-anchor {
  scroll-margin-top: 112px;
}

.product-intro {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
}

.product-intro-copy {
  min-width: 0;
}

.product-intro-media,
.product-feature .why-image {
  background: var(--grey-100);
}

.product-intro-media {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.product-intro-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.product-highlights span {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 8px 11px;
  text-transform: uppercase;
}

.product-family-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-family-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-family-card:hover,
.product-family-card:focus-visible {
  border-color: var(--blue-100);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-2px);
}

.product-family-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.product-family-card span {
  color: var(--grey-900);
  font-size: 15px;
  font-weight: 900;
  padding: 14px 16px 2px;
}

.product-family-card small {
  color: var(--grey-600);
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px 16px;
}

.product-section {
  border-top: 1px solid var(--grey-300);
  padding-top: 34px;
}

.product-category-panel {
  display: grid;
  gap: 18px;
}

.product-section-head {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  margin-bottom: 24px;
}

.product-more-btn {
  align-self: end;
  justify-self: start;
}

.product-section-head p,
.product-note p,
.product-mini-grid p {
  color: var(--grey-600);
  font-size: 15px;
}

.product-card-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.product-card-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-tabs {
  background: var(--grey-100);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  display: inline-flex;
  margin: 0;
  overflow: hidden;
}

.product-tabs .tab-button {
  align-items: center;
  border: 0;
  border-right: 1px solid var(--grey-300);
  display: inline-flex;
  gap: 8px;
  min-height: 46px;
}

.product-tabs .tab-button:last-child {
  border-right: 0;
}

.product-tabs .tab-button span {
  background: rgba(255, 255, 255, 0.68);
  border-radius: 100px;
  color: inherit;
  font-size: 11px;
  line-height: 1;
  padding: 4px 7px;
}

.product-tab-panel {
  margin-top: 16px;
}

.compact-panel-lead {
  color: var(--grey-600);
  font-size: 15px;
  margin-bottom: 16px;
}

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

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

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

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

.compact-product-grid-5 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-product-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 142px;
  overflow: hidden;
}

.compact-product-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.compact-product-card > div {
  padding: 15px 16px;
}

.compact-product-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.compact-product-card p {
  color: var(--grey-600);
  font-size: 13px;
  line-height: 1.55;
}

.product-system-card {
  height: 100%;
}

.product-system-card .card-body {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.product-system-card .card-link {
  margin-top: auto;
  padding-top: 18px;
}

.product-pill {
  align-self: flex-start;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  color: var(--blue-600);
  /* Without an explicit box type the pill renders as plain inline text inside the
     block card body, so its margin-bottom is ignored and the padded badge bleeds
     down onto the heading. inline-block makes the badge a real box that reserves
     its own height and respects the gap below it. */
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  line-height: 1;
  margin-bottom: 12px;
  padding: 7px 9px;
  text-transform: uppercase;
}

.product-note {
  align-items: start;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.74fr);
  padding: 28px;
}

.product-note .section-title::after {
  background: var(--orange-500);
}

.product-note .check-list {
  margin: 0;
}

.product-feature {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.product-feature-reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.product-logo-card {
  min-height: 100%;
}

.product-logo-card .card-body {
  display: grid;
  gap: 18px;
  min-height: 100%;
}

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

.product-logo-row {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 4px;
}

.product-logo-row img {
  filter: grayscale(1);
  margin: auto;
  max-height: 36px;
  max-width: 110px;
  opacity: 0.72;
}

.product-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.product-chip-list span {
  background: var(--grey-100);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  color: var(--grey-700);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 8px;
}

.product-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-gallery img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
  width: 100%;
}

.product-accordion {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.product-accordion + .product-accordion {
  margin-top: 10px;
}

.product-accordion summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  min-height: 64px;
  padding: 16px 18px;
}

.product-accordion summary::-webkit-details-marker {
  display: none;
}

.product-accordion summary:focus {
  outline: none;
}

.product-accordion summary:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(1, 94, 146, 0.18);
}

.product-accordion summary::after {
  color: var(--blue-600);
  content: "+";
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.product-accordion[open] summary {
  border-bottom: 1px solid var(--grey-300);
}

.product-accordion[open] summary::after {
  content: "-";
}

.product-accordion summary strong {
  color: var(--grey-900);
  display: block;
  font-size: 1rem;
}

.product-accordion summary small {
  color: var(--grey-600);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.product-accordion > .compact-product-grid,
.product-accordion > .premium-glass-grid,
.product-accordion > .garage-compact-layout {
  padding: 18px;
}

/* Robust closed-accordion hiding.
   Modern engines collapse closed <details> via ::details-content, but the author
   display:grid/flex rules on these children override the legacy UA hide on engines
   without ::details-content support (iOS Safari < 17.4, older Firefox). There the
   material cards stay rendered and overflow onto the sections below. Hiding them
   explicitly at author level keeps the accordions collapsed everywhere. */
.product-accordion:not([open]) > .compact-product-grid,
.product-accordion:not([open]) > .premium-glass-grid,
.product-accordion:not([open]) > .garage-compact-layout {
  display: none;
}

.premium-glass-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.premium-glass-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  display: grid;
  overflow: hidden;
}

.premium-glass-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.premium-glass-card > div {
  padding: 18px;
}

.premium-glass-card h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.premium-glass-card p {
  color: var(--grey-600);
  font-size: 14px;
  line-height: 1.65;
}

.product-partner-strip {
  align-items: center;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px;
}

.product-partner-strip img {
  filter: grayscale(1);
  margin: auto;
  max-height: 34px;
  max-width: 110px;
  opacity: 0.7;
}

.garage-compact-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.72fr 1.28fr;
}

.garage-compact-layout p {
  color: var(--grey-600);
  font-size: 14px;
}

.product-gallery-compact {
  gap: 10px;
}

.product-quote-strip {
  align-items: center;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 26px;
}

.product-quote-strip h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  margin-bottom: 8px;
}

.product-quote-strip p {
  color: var(--grey-600);
  font-size: 15px;
}

.product-mini-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-mini-grid article {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.product-mini-grid h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.product-cta-card {
  background: var(--blue-50);
  border-color: var(--blue-100);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 26px 0 28px;
}

.tab-button {
  background: var(--grey-100);
  border: 1px solid var(--grey-300);
  color: var(--grey-700);
  font-size: 13px;
  font-weight: 800;
  padding: 11px 24px;
  text-transform: uppercase;
}

.tab-button.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.quote-note {
  align-items: center;
  background: var(--green-100);
  border-bottom: 1px solid #bcebd6;
  color: #16794a;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 13px 0;
}

.mini-badge {
  background: var(--green-500);
  border-radius: 2px;
  color: var(--white);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.form-shell {
  max-width: 820px;
}

.form-section {
  margin-bottom: 34px;
}

.step-title {
  align-items: center;
  border-bottom: 2px solid var(--grey-300);
  color: var(--blue-600);
  display: flex;
  font-size: 1rem;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 10px;
}

.step-title span {
  align-items: center;
  background: var(--blue-600);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 24px;
  font-size: 12px;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.field.full,
.form-message,
.privacy-field {
  grid-column: 1 / -1;
}

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

.field label {
  color: var(--grey-900);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}

.req {
  color: var(--orange-500);
}

.field input,
.field select,
.field textarea {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  color: var(--grey-900);
  min-height: 44px;
  outline: none;
  padding: 10px 13px;
  width: 100%;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(1, 94, 146, 0.16);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c93535;
}

.field-error {
  color: #b42222;
  display: none;
  font-size: 12px;
  margin-top: 5px;
}

.field-hint {
  color: var(--grey-600);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
}

.field.has-error .field-error {
  display: block;
}

.upload-box {
  align-items: center;
  background: var(--grey-50);
  border: 2px dashed #b9daf0;
  border-radius: var(--radius);
  color: var(--blue-600);
  display: flex;
  flex-direction: column;
  font-weight: 800;
  gap: 8px;
  justify-content: center;
  min-height: 150px;
  padding: 20px;
  text-align: center;
}

.upload-box input {
  display: none;
}

.upload-box small {
  color: var(--grey-600);
  font-weight: 400;
}

.privacy-field {
  align-items: flex-start;
  color: var(--grey-600);
  display: flex;
  font-size: 13px;
  gap: 10px;
}

.privacy-field input {
  margin-top: 4px;
}

.privacy-field.has-error {
  color: #a51616;
}

.form-message {
  border-radius: var(--radius);
  display: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 14px;
}

.form-message.is-error {
  background: #fff0f0;
  color: #a51616;
  display: block;
}

.form-message.is-success {
  background: var(--green-100);
  color: #16794a;
  display: block;
}

.form-message.is-pending {
  background: var(--blue-50);
  color: var(--blue-700);
  display: block;
}

.btn:disabled {
  cursor: progress;
  opacity: 0.68;
}

.location-card {
  border-top: 4px solid var(--blue-600);
}

.location-card .meta {
  color: var(--grey-600);
  display: grid;
  gap: 9px;
  font-size: 14px;
  margin: 18px 0;
}

.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  background: transparent;
  border: 0;
  color: var(--white);
  padding: 0;
  position: relative;
  text-align: left;
}

.gallery-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.gallery-item span {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.74), transparent);
  bottom: 0;
  display: block;
  font-size: 13px;
  font-weight: 800;
  left: 0;
  padding: 32px 12px 12px;
  position: absolute;
  right: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  background: var(--grey-100);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  color: var(--grey-700);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
}

.filter-button.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.lightbox {
  align-items: center;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 150;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 84vh;
  max-width: 92vw;
  object-fit: contain;
}

.lightbox button {
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  border-radius: 50%;
  color: var(--white);
  font-size: 28px;
  height: 46px;
  position: fixed;
  right: 18px;
  top: 18px;
  width: 46px;
}

.source-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.source-list a {
  color: var(--blue-600);
  font-weight: 800;
}

/* Legal pages */
.legal-hero {
  background:
    linear-gradient(90deg, rgba(21, 34, 49, 0.88), rgba(1, 94, 146, 0.68)),
    url("../assets/imagery/home-hero-installed-windows.webp") center / cover;
}

.legal-section {
  background: var(--grey-100);
}

.legal-layout {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.legal-toc {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 18px;
  position: sticky;
  top: 98px;
}

.legal-toc strong {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.legal-toc a {
  color: var(--grey-700);
  font-size: 14px;
  font-weight: 800;
  min-height: 40px;
  padding: 9px 0;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--blue-600);
  text-decoration: none;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--grey-700);
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
}

.legal-updated {
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.legal-card h2 {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  margin: 30px 0 12px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p + p,
.legal-card ul + p,
.legal-card p + ul {
  margin-top: 12px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-card a {
  color: var(--blue-600);
  font-weight: 800;
}

.legal-table-wrap {
  max-width: 100%;
  margin-top: 16px;
  overflow-x: auto;
}

.legal-table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--grey-300);
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--blue-50);
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.legal-table code {
  background: var(--grey-100);
  border: 1px solid var(--grey-300);
  border-radius: 4px;
  padding: 2px 5px;
}

.simulator-hero {
  background:
    linear-gradient(90deg, rgba(21, 34, 49, 0.82), rgba(1, 94, 146, 0.55)),
    url("../assets/imagery/product-doors-windows.webp") center / cover;
  color: var(--white);
}

.simulator-hero h1,
.simulator-hero p {
  color: var(--white);
}

.simulator-section {
  background: linear-gradient(180deg, var(--grey-50), var(--white));
  padding: 0 0 72px;
}

.simulator-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  min-height: 760px;
}

.simulator-controls {
  align-self: start;
  background: var(--white);
  border-right: 1px solid var(--grey-300);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 24px;
  padding: 28px;
  position: sticky;
  top: 112px;
  z-index: 2;
}

.control-block {
  display: grid;
  gap: 12px;
}

.control-label,
.range-head label,
.compact-field span {
  color: var(--grey-900);
  font-size: 13px;
  font-weight: 800;
}

.range-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.range-head strong {
  color: var(--blue-600);
  font-size: 13px;
}

.choice-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.glass-backdrop-choice {
  gap: 6px;
}

.glass-backdrop-choice .choice-button {
  font-size: 12px;
  padding: 8px 9px;
}

.product-preset-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-preset-button:nth-child(5) {
  grid-column: 1 / -1;
}

.product-preset-button,
.choice-button,
.view-actions button {
  background: var(--grey-100);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  color: var(--grey-700);
  font-size: 13px;
  font-weight: 800;
  min-height: 42px;
  padding: 9px 12px;
}

.product-preset-button.is-active,
.choice-button.is-active,
.view-actions button.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.view-actions .presentation-toggle {
  border-color: rgba(238, 139, 36, 0.48);
  color: var(--orange-500);
}

.view-actions .presentation-toggle.is-active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
}

.product-preset-button:disabled,
.choice-button:disabled,
.view-actions button:disabled,
.swatch:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.control-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.compact-field {
  display: grid;
  gap: 8px;
}

.compact-field select {
  min-height: 42px;
}

.simulator-controls input[type="range"] {
  accent-color: var(--orange-500);
  width: 100%;
}

.dimension-block {
  gap: 8px;
}

.dimension-control {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 106px;
}

.dimension-number-field {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 40px;
  overflow: hidden;
}

.dimension-number-field input {
  border: 0;
  color: var(--grey-900);
  font-size: 13px;
  font-weight: 900;
  min-width: 0;
  padding: 9px 4px 9px 10px;
  width: 100%;
}

.dimension-number-field span {
  color: var(--grey-500);
  font-size: 11px;
  font-weight: 900;
  padding-right: 9px;
  text-transform: uppercase;
}

.dimension-range {
  color: var(--grey-500);
  font-size: 11px;
  font-weight: 800;
}

.dimension-insight {
  background: var(--grey-50);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

.dimension-insight span {
  color: var(--grey-900);
  font-size: 12px;
  font-weight: 900;
}

.dimension-insight small {
  color: var(--grey-600);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.dimension-insight.is-near-limit {
  background: #fff8e8;
  border-color: rgba(238, 139, 36, 0.28);
}

.dimension-insight.is-near-limit span {
  color: #9a5a0b;
}

.swatch-row {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, 1fr);
}

.swatch {
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--grey-300);
  height: 40px;
  padding: 0;
  width: 40px;
}

.swatch.is-active {
  box-shadow: 0 0 0 3px var(--orange-500);
}

.swatch-oak {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.15), transparent 35%, rgba(0, 0, 0, 0.12)),
    #a66b3f;
}

.option-list {
  display: grid;
  gap: 10px;
}

.option-list label {
  align-items: center;
  color: var(--grey-700);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
}

.option-list label.is-disabled {
  color: var(--grey-500);
  cursor: not-allowed;
  opacity: 0.58;
}

.option-list input {
  accent-color: var(--blue-600);
  height: 18px;
  width: 18px;
}

.muntin-controls {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  display: none;
  gap: 12px;
  padding: 14px;
}

.simulator-section.has-muntins .muntin-controls {
  display: grid;
}

.stage-muntin-controls {
  align-items: start;
  grid-template-columns: minmax(150px, 0.65fr) minmax(260px, 1.35fr) auto;
  margin: 12px auto 18px;
  width: min(100%, 980px);
}

.muntin-control-title,
.muntin-editor,
.muntin-line-group {
  display: grid;
  gap: 7px;
}

.muntin-control-title strong {
  color: var(--grey-900);
  font-size: 13px;
  font-weight: 900;
}

.muntin-controls small {
  color: var(--grey-600);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.muntin-editor {
  gap: 9px;
}

.muntin-line-group {
  align-items: center;
  grid-template-columns: 88px 1fr;
}

.muntin-line-group > span {
  color: var(--grey-700);
  font-size: 12px;
  font-weight: 900;
}

.muntin-line-group > small {
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed var(--blue-100);
  border-radius: var(--radius);
  color: var(--grey-500);
  min-height: 34px;
  padding: 8px 10px;
}

.muntin-chip {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  display: inline-grid;
  gap: 4px;
  grid-template-columns: 52px auto 24px;
  margin: 0 5px 5px 0;
  min-height: 34px;
  padding: 4px 5px 4px 8px;
  width: max-content;
}

.muntin-chip input {
  border: 0;
  color: var(--grey-900);
  font-size: 13px;
  font-weight: 900;
  min-width: 0;
  padding: 0;
  width: 52px;
}

.muntin-chip span {
  color: var(--grey-500);
  font-size: 12px;
  font-weight: 800;
}

.muntin-chip button {
  align-items: center;
  background: var(--grey-100);
  border: 0;
  border-radius: 999px;
  color: var(--grey-600);
  display: inline-flex;
  font-size: 16px;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  line-height: 1;
  width: 24px;
}

.muntin-chip button:hover {
  background: var(--blue-600);
  color: var(--white);
}

.muntin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.muntin-reset {
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 900;
  min-height: 36px;
  padding: 8px 10px;
  white-space: nowrap;
}

.muntin-reset:hover {
  background: var(--blue-600);
  color: var(--white);
}

.sim-readiness {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  color: var(--blue-600);
  display: grid;
  gap: 3px;
  padding: 10px 12px;
}

.sim-readiness.is-hidden {
  display: none;
}

.sim-readiness span {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sim-readiness small {
  color: var(--grey-600);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.sim-readiness.is-adjusted {
  background: #fff8e8;
  border-color: rgba(238, 139, 36, 0.34);
}

.sim-readiness.is-adjusted span {
  color: #9a5a0b;
}

.sim-readiness.is-advisory {
  background: #fff8e8;
  border-color: rgba(238, 139, 36, 0.34);
}

.sim-readiness.is-advisory span {
  color: #9a5a0b;
}

.preview-jump {
  align-items: center;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  color: var(--blue-600);
  display: none;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
}

.simulator-stage {
  display: grid;
  align-self: start;
  grid-template-rows: auto auto auto;
  max-height: none;
  min-width: 0;
  overflow: visible;
  padding: 28px 32px 44px;
  position: sticky;
  scroll-margin-top: 112px;
  top: 112px;
  z-index: 1;
}

.simulator-stage::-webkit-scrollbar {
  width: 8px;
}

.simulator-stage::-webkit-scrollbar-thumb {
  background: rgba(100, 113, 125, 0.24);
  border-radius: 999px;
}

.stage-toolbar {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto 18px;
  width: min(100%, 980px);
}

.stage-toolbar h2 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.stage-tool-stack {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.preview-mode {
  background: var(--grey-100);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  display: inline-grid;
  gap: 4px;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
}

.preview-mode button {
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  color: var(--grey-700);
  font-size: 12px;
  font-weight: 900;
  min-height: 40px;
  padding: 7px 10px;
}

.preview-mode button.is-active {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--blue-600);
}

.scene-preset-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scene-preset-grid button {
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  color: var(--grey-700);
  font-size: 12px;
  font-weight: 900;
  min-height: 40px;
  padding: 9px 10px;
}

.scene-preset-grid button.is-active {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.sim-canvas-wrap {
  background:
    linear-gradient(180deg, rgba(247, 251, 253, 0.82), rgba(221, 236, 244, 0.68)),
    radial-gradient(ellipse at 50% 24%, rgba(255, 255, 255, 0.84), rgba(196, 218, 230, 0.48) 62%, rgba(164, 191, 206, 0.26));
  height: clamp(360px, calc(100vh - 365px), 560px);
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.simulator-section.is-presentation .simulator-workspace {
  grid-template-columns: 1fr;
}

.simulator-section.is-presentation .simulator-controls,
.simulator-section.is-presentation .stage-muntin-controls {
  display: none;
}

.simulator-section.is-presentation .simulator-stage {
  max-height: none;
  overflow: visible;
  padding: 24px min(4vw, 48px) 56px;
  position: static;
  top: auto;
}

.simulator-section.is-presentation .stage-toolbar,
.simulator-section.is-presentation .stage-muntin-controls,
.simulator-section.is-presentation .simulator-bottom {
  width: min(100%, 1180px);
}

.simulator-section.is-presentation .sim-canvas-wrap {
  height: clamp(560px, 72vh, 760px);
  min-height: 560px;
}

.simulator-section.is-presentation .sim-canvas-wrap canvas {
  min-height: 560px;
}

.simulator-section.is-presentation .sim-live-spec {
  bottom: 24px;
  left: 24px;
}

.simulator-section.is-presentation .config-action-card {
  max-width: 460px;
}

.sim-webgl-fallback {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: absolute;
  text-align: center;
}

.sim-webgl-fallback strong {
  color: var(--grey-900);
  font-size: 1.1rem;
}

.sim-webgl-fallback p {
  color: var(--grey-600);
  font-size: 14px;
  max-width: 360px;
}

.sim-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sim-canvas-wrap::before,
.sim-canvas-wrap::after {
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.2s ease;
}

.sim-canvas-wrap::before {
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255, 255, 255, 0.38), rgba(209, 226, 236, 0.18) 58%, rgba(128, 153, 168, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(226, 236, 241, 0.18));
}

.sim-canvas-wrap::after {
  background:
    radial-gradient(ellipse at 50% 46%, transparent 52%, rgba(10, 30, 42, 0.04) 80%, rgba(10, 30, 42, 0.08)),
    linear-gradient(100deg, rgba(255, 255, 255, 0.08), transparent 44%, rgba(255, 255, 255, 0.06) 68%, transparent 88%);
}

.simulator-section.is-showroom-preview .sim-canvas-wrap {
  background:
    radial-gradient(ellipse at 50% 28%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.16) 54%, rgba(144, 166, 176, 0.1) 78%),
    linear-gradient(180deg, #f6f8f8 0%, #eef4f4 62%, #dfe5e3 100%);
}

.simulator-section.is-showroom-preview.is-outside-view .sim-canvas-wrap {
  background:
    radial-gradient(ellipse at 50% 22%, rgba(255, 255, 255, 0.48), rgba(196, 220, 231, 0.2) 56%, rgba(86, 122, 144, 0.14)),
    linear-gradient(180deg, #dfeaf0 0%, #c9d8de 58%, #b9c2c5 100%);
}

.sim-real-view {
  background-image: var(--sim-real-view);
  background-position: center;
  background-size: cover;
  border-radius: 4px;
  box-shadow:
    inset 0 18px 44px rgba(255, 255, 255, 0.2),
    inset 0 -18px 38px rgba(18, 38, 48, 0.08);
  display: none;
  filter: saturate(0.94) brightness(1.04);
  height: 0;
  left: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: none;
  width: 0;
  will-change: background-position, clip-path, height, left, opacity, top, width;
  z-index: 0;
}

.sim-real-view::after {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 35%, rgba(255, 255, 255, 0.18) 58%, transparent 78%),
    radial-gradient(ellipse at 50% 50%, transparent 58%, rgba(7, 21, 30, 0.1) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.simulator-section.is-showroom-preview.has-real-view .sim-real-view {
  display: block;
}

.simulator-section.is-technical-preview .sim-real-view {
  display: none;
}

.simulator-section {
  --sim-real-view: url("../assets/simulator/view-garden.webp");
}

.simulator-section.is-outside-view {
  --sim-real-view: url("../assets/simulator/view-garden.webp");
}

.simulator-section.is-scene-modern,
.simulator-section.is-scene-garden {
  --sim-real-view: url("../assets/simulator/view-garden.webp");
}

.simulator-section.is-scene-brick {
  --sim-real-view: url("../assets/simulator/view-garden.webp");
}

.simulator-section.is-scene-renovation {
  --sim-real-view: url("../assets/simulator/view-renovation-garden.webp");
}

.simulator-section.is-scene-renovation-door {
  --sim-real-view: url("../assets/simulator/view-door-garden.webp");
}

.simulator-section.is-technical-preview .sim-canvas-wrap {
  background:
    linear-gradient(rgba(1, 94, 146, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 94, 146, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbfc 0%, #eef4f6 68%, #e2e6e8 100%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
}

.simulator-section.is-showroom-preview .sim-canvas-wrap::before,
.simulator-section.is-showroom-preview .sim-canvas-wrap::after {
  opacity: 0;
}

.simulator-section.is-showroom-preview .sim-summary {
  display: none;
}

.simulator-section.is-showroom-preview .simulator-bottom {
  grid-template-columns: minmax(0, 1fr) auto;
}

.sim-canvas-wrap canvas {
  cursor: grab;
  display: block;
  height: 100%;
  min-height: 360px;
  position: relative;
  touch-action: pan-y;
  width: 100%;
  z-index: 1;
}

.sim-live-spec {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 234, 246, 0.96);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 39, 57, 0.12);
  bottom: 18px;
  color: var(--grey-700);
  display: grid;
  gap: 2px;
  left: 18px;
  max-width: min(340px, calc(100% - 36px));
  padding: 12px 14px;
  pointer-events: none;
  position: absolute;
  z-index: 4;
}

.sim-live-spec > span:first-child {
  color: var(--orange-500);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sim-live-spec strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.sim-live-spec span,
.sim-live-spec small {
  font-size: 12px;
  font-weight: 800;
}

.sim-live-spec small {
  color: var(--grey-600);
}

.simulator-section.is-technical-preview .sim-live-spec {
  display: none;
}

.simulator-section.is-showroom-preview .simulator-bottom > .btn {
  grid-column: 2;
  justify-self: end;
}

.sim-canvas-wrap canvas:active {
  cursor: grabbing;
}

.simulator-bottom {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  margin: 22px auto 0;
  width: min(100%, 980px);
}

.sim-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sim-summary span {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.config-action-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 8px;
  min-width: 340px;
  padding: 12px 14px;
}

.config-card-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.config-action-card small {
  color: var(--grey-600);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.config-card-head strong {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: right;
}

.config-action-card span {
  color: var(--grey-600);
  font-size: 12px;
}

.sim-sales-spec {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sim-sales-spec span {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: calc(var(--radius) - 2px);
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 9px;
}

.sim-sales-spec b {
  color: var(--grey-500);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.sim-sales-spec i {
  color: var(--grey-900);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-handoff-strip {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sim-handoff-strip span {
  background: #f7fbf8;
  border: 1px solid rgba(47, 111, 79, 0.18);
  border-radius: calc(var(--radius) - 2px);
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 9px;
}

.sim-handoff-strip b {
  color: var(--green-700);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.sim-handoff-strip i {
  color: var(--grey-900);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sim-tool-buttons {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  margin-top: 8px;
}

.sim-tool-buttons .btn {
  font-size: 12px;
  min-height: 44px;
  padding: 8px 10px;
}

.sim-feedback {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  min-height: 18px;
}

.sim-copy-buffer {
  background: var(--grey-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  color: var(--grey-800);
  display: none;
  font: 700 12px/1.45 Arial, sans-serif;
  min-height: 126px;
  padding: 10px;
  resize: vertical;
  width: 100%;
}

.sim-copy-buffer.is-open {
  display: block;
}

.site-footer {
  background: #172232;
  color: rgba(255, 255, 255, 0.62);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
}

.site-footer img,
.site-footer .footer-logo {
  background: var(--white);
  border-radius: var(--radius);
  display: block;
  height: 46px;
  margin-bottom: 16px;
  max-width: 92px;
  object-fit: contain;
  padding: 3px 4px;
  width: auto;
}

.site-footer h3 {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  min-height: 32px;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px 12px;
  margin-top: 36px;
  padding-top: 20px;
}

.footer-legal-links {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  display: inline-flex;
  margin: 0;
  min-height: 0;
}

.mobile-cta {
  bottom: 0;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.16);
  display: none;
  grid-template-columns: 1fr 1fr;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 40;
}

.mobile-cta a {
  align-items: center;
  color: var(--white);
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 56px;
  padding-inline: 8px;
  white-space: nowrap;
}

.mobile-cta a:first-child {
  background: var(--blue-600);
}

.mobile-cta a:last-child {
  background: var(--green-500);
}

@media (max-width: 1200px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Stack the simulator action row before the stage column gets too narrow,
     so the quote CTA never overflows in the 901-1200px band. Must also override
     the higher-specificity .is-showroom-preview rules (which set 1fr auto and
     pin the CTA to column 2). */
  .simulator-bottom,
  .simulator-section.is-showroom-preview .simulator-bottom {
    grid-template-columns: 1fr;
  }

  .simulator-section.is-showroom-preview .simulator-bottom > .btn {
    grid-column: 1;
    justify-self: stretch;
  }

  .config-action-card {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 56px 0;
  }

  .section-head,
  .why-layout,
  .cta-layout,
  .product-intro,
  .product-section-head,
  .product-note,
  .product-feature,
  .product-feature-reverse,
  .garage-compact-layout,
  .product-quote-strip,
  .product-layout,
  .campaign-card,
  .trust-proof-layout,
  .area-card-grid,
  .local-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .cta-layout {
    align-items: start;
    display: grid;
  }

  .grid-3,
  .grid-4,
  .product-family-grid,
  .product-card-grid,
  .product-card-grid-4,
  .product-card-grid-5,
  .compact-product-grid,
  .compact-product-grid-2,
  .compact-product-grid-3,
  .compact-product-grid-4,
  .compact-product-grid-5,
  .premium-glass-grid,
  .product-gallery,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-proof-cards {
    grid-template-columns: 1fr;
  }

  .trust-proof-cards article {
    min-height: 0;
  }

  .product-layout {
    gap: 24px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .local-map-card {
    position: static;
  }

  .local-cta-panel {
    align-items: start;
    display: grid;
    padding: 28px;
  }

  .side-nav {
    display: flex;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
    position: sticky;
    scrollbar-width: none;
    top: 70px;
    z-index: 8;
  }

  .side-nav::-webkit-scrollbar {
    display: none;
  }

  .side-nav a {
    border-bottom: 0;
    border-right: 1px solid var(--grey-300);
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .side-nav a:last-child {
    border-right: 0;
  }

  .product-intro {
    align-items: start;
  }

  .product-section-head {
    align-items: start;
  }

  .product-quote-strip {
    align-items: start;
    display: grid;
  }

  .product-anchor {
    scroll-margin-top: 132px;
  }

  .partner-strip {
    grid-template-columns: repeat(5, 1fr);
  }

  .partner-proof-head .trends-badge-link {
    justify-self: start;
  }

  .simulator-workspace {
    grid-template-columns: 1fr;
  }

  .simulator-controls {
    border-right: 0;
    position: static;
  }

  .simulator-stage {
    grid-template-rows: auto minmax(420px, auto) auto;
    max-height: none;
    overflow: visible;
    padding: 24px 16px 0;
    position: static;
    top: auto;
  }

  .stage-toolbar,
  .stage-muntin-controls,
  .simulator-bottom {
    width: 100%;
  }

  .stage-muntin-controls {
    grid-template-columns: 1fr;
  }

  .muntin-control-title {
    grid-column: auto;
  }

  .muntin-actions {
    justify-content: stretch;
  }

  .stage-muntin-controls .muntin-reset {
    flex: 1 1 120px;
    width: 100%;
  }

  .simulator-bottom {
    grid-template-columns: 1fr;
  }

  .config-action-card {
    min-width: 0;
  }

  .hero,
  .hero .container {
    min-height: auto;
  }

  .hero .container {
    padding-block: 56px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 56px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .top-promo .container {
    display: block;
    padding: 8px 44px 8px 16px;
  }

  .top-promo .container span:first-child {
    font-size: 0;
  }

  .top-promo .container span:first-child::after {
    content: "Gratis offerte voor ramen en deuren";
    font-size: 12px;
  }

  .top-promo .dot {
    display: none;
  }

  .top-promo a {
    display: block;
    margin-top: 2px;
  }

  .nav {
    min-height: 70px;
  }

  .logo img {
    height: 40px;
  }

  .hero,
  .hero .container {
    min-height: 520px;
  }

  .hero .container {
    align-items: end;
    padding-block: 48px 34px;
  }

  .hero {
    background-image:
      radial-gradient(100% 90% at 50% 100%, rgba(1, 26, 46, 0.86) 0%, rgba(1, 26, 46, 0.5) 55%, rgba(1, 26, 46, 0.14) 100%),
      var(--hero-image);
    background-position: center, 65% center;
  }

  .hero h1 {
    font-size: 1.72rem;
    line-height: 1.16;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-trust {
    display: grid;
    gap: 8px;
  }

  .trust-grid,
  .stats-grid,
  .area-card-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .product-mini-grid,
  .product-family-grid,
  .product-card-grid,
  .product-card-grid-4,
  .product-card-grid-5,
  .compact-product-grid,
  .compact-product-grid-2,
  .compact-product-grid-3,
  .compact-product-grid-4,
  .compact-product-grid-5,
  .premium-glass-grid,
  .product-gallery,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-tabs .tab-button {
    border-right: 0;
    border-bottom: 1px solid var(--grey-300);
    justify-content: center;
  }

  .product-tabs .tab-button:last-child {
    border-bottom: 0;
  }

  .compact-product-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 132px;
  }

  .compact-product-card > div {
    padding: 13px 14px;
  }

  .compact-product-card p {
    font-size: 12.5px;
  }

  .product-accordion summary {
    padding: 15px 16px;
  }

  .product-accordion > .compact-product-grid,
  .product-accordion > .premium-glass-grid,
  .product-accordion > .garage-compact-layout {
    padding: 14px;
  }

  .product-partner-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-quote-strip {
    padding: 22px;
  }

  .product-note {
    padding: 22px;
  }

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

  .product-family-card span {
    font-size: 13px;
    padding: 11px 12px 2px;
  }

  .product-family-card small {
    font-size: 11px;
    padding: 0 12px 12px;
  }

  .product-logo-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--grey-200);
    padding: 18px 16px;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .stats-grid {
    gap: 28px;
  }

  .partner-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .campaign-card img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .page-hero {
    padding: 42px 0;
  }

  .quote-note .container {
    align-items: start;
    display: grid;
    gap: 8px;
  }

  .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tab-button {
    padding-inline: 10px;
  }

  .simulator-section {
    padding-bottom: 48px;
  }

  .simulator-hero h1,
  .simulator-hero p {
    max-width: 340px;
  }

  .simulator-hero h1 {
    font-size: 1.85rem;
  }

  .simulator-hero p {
    font-size: 0.96rem;
  }

  .simulator-controls {
    gap: 18px;
    padding: 22px 16px;
  }

  .preview-jump {
    display: flex;
  }

  .choice-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .dimension-control {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .swatch-row {
    grid-template-columns: repeat(6, 34px);
  }

  .stage-toolbar {
    align-items: start;
    display: grid;
    gap: 14px;
  }

  .view-actions {
    justify-content: start;
  }

  .sim-canvas-wrap,
  .sim-canvas-wrap canvas {
    height: 390px;
    min-height: 390px;
  }

  .simulator-section.is-presentation .sim-canvas-wrap,
  .simulator-section.is-presentation .sim-canvas-wrap canvas {
    height: 430px;
    min-height: 430px;
  }

  .sim-window-actions {
    grid-template-columns: 1fr;
  }

  .stage-muntin-controls {
    grid-template-columns: 1fr;
    margin: 10px 0 16px;
  }

  .sim-live-spec {
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 10px 12px;
  }

  .sim-live-spec strong {
    font-size: 16px;
  }

  .dimension-line-width {
    left: 18%;
    right: 18%;
    top: 13%;
  }

  .dimension-line-height {
    bottom: 24%;
    right: 9%;
    top: 29%;
  }

  .sim-tool-buttons {
    grid-template-columns: 1fr;
  }

  .sim-sales-spec,
  .sim-handoff-strip {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    display: grid;
  }

  .mobile-cta a {
    font-size: 13px;
  }

  .mobile-cta a:last-child {
    font-size: 0;
  }

  .mobile-cta a:last-child::after {
    content: "Offerte";
    font-size: 13px;
  }
}

/* ============================================================
   Reparatie page (repair) — premium components (v=repair-2)
   ============================================================ */
.repair-hero {
  background-image:
    linear-gradient(105deg, rgba(0, 32, 56, 0.96) 0%, rgba(1, 56, 90, 0.88) 41%, rgba(1, 56, 90, 0.35) 100%),
    url("../assets/imagery/repair-hero-service.webp");
  background-position: center, center right;
  background-size: cover;
  padding: 84px 0;
}

.repair-hero-copy {
  max-width: 660px;
}

.repair-hero-lead {
  font-size: 1.12rem;
  margin-top: 4px;
  max-width: 600px;
}

.btn-lg {
  font-size: 15px;
  min-height: 52px;
  padding: 15px 30px;
}

.section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 44px;
}

.section-head-center .section-lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

/* Symptom cards */
.symptom-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.symptom-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.symptom-card:hover {
  border-left-color: var(--orange-500);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-3px);
}

.symptom-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.symptom-card p {
  color: var(--grey-600);
  font-size: 14px;
  flex: 1 1 auto;
}

.symptom-link {
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-top: 16px;
  text-transform: uppercase;
}

/* Service cards with icons */
.service-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-icon {
  align-items: center;
  background: var(--blue-50);
  border-radius: 12px;
  color: var(--blue-600);
  display: inline-flex;
  height: 52px;
  justify-content: center;
  margin-bottom: 18px;
  width: 52px;
}

.service-icon svg {
  height: 26px;
  width: 26px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--grey-600);
  font-size: 14px;
  flex: 1 1 auto;
}

.service-card .card-link {
  margin-top: 18px;
}

/* Numbered process */
.process-grid {
  counter-reset: step;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-step {
  min-width: 0;
  position: relative;
  padding-top: 8px;
}

.process-step:not(:last-child)::after {
  background: linear-gradient(90deg, var(--blue-100), transparent);
  content: "";
  height: 2px;
  left: calc(56px + 14px);
  position: absolute;
  right: 0;
  top: 36px;
}

.process-num {
  align-items: center;
  background: var(--blue-600);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  font-size: 1.25rem;
  font-weight: 800;
  height: 56px;
  justify-content: center;
  margin-bottom: 18px;
  width: 56px;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--grey-600);
  font-size: 14px;
}

.process-cta {
  margin-top: 40px;
  text-align: center;
}

/* Before/after repair comparison */
.repair-compare {
  --compare-pos: 50%;
  aspect-ratio: 3 / 4;
  background: var(--white);
  border: 1px solid rgba(0, 32, 56, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-height: 640px;
  width: min(100%, 480px);
  overflow: hidden;
  position: relative;
}

.repair-compare-img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: contain;
  object-position: center;
  position: absolute;
  width: 100%;
}

.repair-compare-img-after {
  filter: saturate(1.02) contrast(1.02);
}

.repair-compare-before {
  clip-path: inset(0 calc(100% - var(--compare-pos)) 0 0);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.repair-compare-before .repair-compare-img {
  filter: saturate(0.92) contrast(1.04);
}

.repair-compare-range {
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  inset: 0;
  opacity: 0;
  position: absolute;
  touch-action: none;
  width: 100%;
  z-index: 4;
}

.repair-compare-range::-webkit-slider-thumb {
  appearance: none;
  height: 56px;
  width: 56px;
}

.repair-compare-range::-moz-range-thumb {
  border: 0;
  height: 56px;
  width: 56px;
}

.repair-compare-handle {
  background: rgba(255, 255, 255, 0.94);
  border: 2px solid rgba(0, 82, 136, 0.55);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 32, 56, 0.28);
  height: 56px;
  left: var(--compare-pos);
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  z-index: 3;
}

.repair-compare-handle::before,
.repair-compare-handle::after {
  background: rgba(0, 82, 136, 0.9);
  content: "";
  height: 18px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
}

.repair-compare-handle::before {
  left: 22px;
}

.repair-compare-handle::after {
  right: 22px;
}

.repair-compare::after {
  background: rgba(255, 255, 255, 0.84);
  bottom: 0;
  content: "";
  left: var(--compare-pos);
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  z-index: 2;
}

.repair-compare-badge {
  background: rgba(0, 32, 56, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 9px 12px;
  position: absolute;
  text-transform: uppercase;
  top: 16px;
  z-index: 3;
}

.repair-compare-badge-before {
  left: 16px;
}

.repair-compare-badge-after {
  right: 16px;
}

/* FAQ */
.faq-shell {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  align-items: center;
  color: var(--grey-900);
  cursor: pointer;
  display: flex;
  font-size: 1.02rem;
  font-weight: 800;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  padding: 20px 22px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--blue-600);
  content: "+";
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 22px 20px;
}

.faq-answer p {
  color: var(--grey-600);
  font-size: 15px;
}

/* Robust closed-accordion hiding across all engines (see product-accordion). */
.faq-item:not([open]) > .faq-answer {
  display: none;
}

@media (max-width: 900px) {
  .repair-hero {
    padding: 64px 0;
  }
  .symptom-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .repair-hero {
    background-image:
      linear-gradient(160deg, rgba(0, 32, 56, 0.95) 0%, rgba(1, 56, 90, 0.88) 100%),
      url("../assets/imagery/repair-hero-service.webp");
    background-position: center, center right;
    padding: 56px 0 46px;
  }
  .repair-hero-copy,
  .repair-hero h1,
  .repair-hero-lead,
  .repair-hero .hero-actions,
  .repair-hero .hero-trust,
  .section-head-center,
  .section-head-center .section-lead,
  .symptom-card,
  .service-card {
    max-width: 330px;
    width: 100%;
  }
  .repair-hero h1 {
    font-size: 1.7rem;
    line-height: 1.14;
    max-width: 320px;
    overflow-wrap: break-word;
  }
  .repair-hero-lead {
    font-size: 1rem;
  }
  .trust-grid {
    margin-left: 0;
    margin-right: auto;
    max-width: 390px;
  }
  .trust-item {
    max-width: 330px;
    width: 100%;
  }
  .section-head-center,
  .section-head-center .section-lead,
  .symptom-card,
  .service-card {
    margin-left: 0;
    margin-right: auto;
  }
  .section-head-center .section-title {
    font-size: 1.45rem;
    max-width: 330px;
    overflow-wrap: break-word;
  }
  .symptom-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .section-head-center {
    margin-bottom: 32px;
  }
}

/* ============================================================
   Referenties page (references) — premium gallery (v=ref-1)
   ============================================================ */
.ref-hero {
  background-image:
    linear-gradient(105deg, rgba(0, 32, 56, 0.93) 0%, rgba(1, 56, 90, 0.82) 46%, rgba(1, 56, 90, 0.36) 100%),
    url("../assets/reference-projects/ref-anderlecht-after.webp");
  background-position: center, right center;
  background-size: cover;
  padding: 84px 0;
}

.ref-hero-copy {
  max-width: 680px;
}

.ref-hero-lead {
  font-size: 1.12rem;
  max-width: 620px;
}

/* Pill filters */
.filters-pill {
  justify-content: center;
  margin-bottom: 32px;
}

.filters-pill .filter-button {
  border-radius: 100px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 9px 20px;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.filters-pill .filter-button:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.filters-pill .filter-button.is-active:hover {
  color: var(--white);
}

/* Gallery cards */
.ref-gallery {
  gap: 18px;
}

.ref-card {
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ref-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.ref-card img {
  transition: transform 0.45s ease;
}

.ref-card:hover img {
  transform: scale(1.06);
}

.ref-meta {
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0, 14, 26, 0.82) 0%, rgba(0, 14, 26, 0.28) 48%, transparent 100%);
  bottom: 0;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  left: 0;
  padding: 30px 16px 14px;
  position: absolute;
  right: 0;
}

.ref-meta strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.1;
}

.ref-meta small {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: var(--white);
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .ref-hero {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .ref-hero {
    background-image:
      linear-gradient(160deg, rgba(0, 32, 56, 0.95) 0%, rgba(1, 56, 90, 0.9) 100%),
      url("../assets/reference-projects/ref-anderlecht-after.webp");
  }
  .ref-meta {
    padding: 24px 12px 12px;
  }
}

/* ============================================================
   Partners page — brand showcase (v=partners-2)
   ============================================================ */
.partner-hero {
  background-image:
    linear-gradient(105deg, rgba(0, 32, 56, 0.9) 0%, rgba(1, 56, 90, 0.78) 45%, rgba(1, 56, 90, 0.18) 100%),
    url("../assets/imagery/partner-hero-materials.webp");
  background-position: center, center right;
  background-size: cover;
  padding: 84px 0;
}

.partner-hero-copy {
  max-width: 680px;
}

.partner-hero-lead {
  font-size: 1.12rem;
  max-width: 640px;
}

.partner-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 26px 26px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.partner-card-logo {
  align-items: center;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  height: 64px;
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.partner-card-logo img {
  height: auto;
  max-height: 40px;
  max-width: 150px;
  width: auto;
}

.partner-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.partner-tag {
  align-self: flex-start;
  background: var(--blue-50);
  border-radius: 100px;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding: 5px 11px;
  text-transform: uppercase;
}

.partner-card p {
  color: var(--grey-600);
  font-size: 14px;
}

@media (max-width: 900px) {
  .partner-hero {
    padding: 64px 0;
  }
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .partner-hero {
    background-image:
      linear-gradient(160deg, rgba(0, 32, 56, 0.95) 0%, rgba(1, 56, 90, 0.88) 100%),
      url("../assets/imagery/partner-hero-materials.webp");
    background-position: center, center right;
  }
  .partner-hero-copy,
  .partner-hero h1,
  .partner-hero-lead,
  .partner-hero .hero-actions,
  .partner-hero .hero-trust {
    max-width: 330px;
    width: 100%;
  }
  .partner-hero h1 {
    font-size: 1.72rem;
    line-height: 1.14;
    overflow-wrap: break-word;
  }
  .partner-hero-lead {
    font-size: 1rem;
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   DNV / premies page — premium (v=dnv-1)
   ============================================================ */
.dnv-hero {
  background-image:
    linear-gradient(105deg, rgba(0, 32, 56, 0.93) 0%, rgba(1, 56, 90, 0.82) 48%, rgba(1, 56, 90, 0.34) 100%),
    url("../assets/imagery/home-hero-installed-windows.webp");
  background-position: center, right center;
  background-size: cover;
  padding: 84px 0;
}

.dnv-hero-copy {
  max-width: 700px;
}

.dnv-hero-lead {
  font-size: 1.12rem;
  max-width: 660px;
}

.process-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 980px;
}

.process-grid-3 .process-step:not(:last-child)::after {
  right: -16px;
}

.section-tight {
  padding: 0 0 56px;
}

/* Sources layout */
.dnv-sources-layout {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
}

.source-cards {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.source-card {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: var(--grey-900);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 18px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.source-card:hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-2px);
}

.source-card strong {
  color: var(--grey-900);
  display: block;
  font-size: 0.98rem;
  line-height: 1.25;
}

.source-card small {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
}

.source-ext {
  color: var(--blue-600);
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}

.dnv-help-card {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: sticky;
  top: 96px;
}

.dnv-help-card h3 {
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.full-btn {
  width: 100%;
}

/* Info note */
.info-note {
  align-items: flex-start;
  background: var(--orange-100);
  border: 1px solid #ffd8a8;
  border-radius: var(--radius);
  display: flex;
  gap: 16px;
  padding: 20px 22px;
}

.info-note-icon {
  color: var(--orange-500);
  flex: 0 0 auto;
}

.info-note-icon svg {
  height: 24px;
  width: 24px;
}

.info-note p {
  color: #8a5a16;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .dnv-hero {
    padding: 64px 0;
  }
  .process-grid-3 {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .dnv-sources-layout {
    gap: 28px;
    grid-template-columns: 1fr;
  }
  .dnv-help-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .dnv-hero {
    background-image:
      linear-gradient(160deg, rgba(0, 32, 56, 0.95) 0%, rgba(1, 56, 90, 0.9) 100%),
      url("../assets/imagery/home-hero-installed-windows.webp");
  }
}

/* ============================================================
   Blog index + article (v=blog-2)
   ============================================================ */
.blog-hero {
  background:
    linear-gradient(90deg, rgba(0, 43, 72, 0.94) 0%, rgba(0, 43, 72, 0.78) 42%, rgba(0, 43, 72, 0.18) 100%),
    url("../assets/imagery/blog-material-guide-photo-v2.webp") center / cover;
  min-height: 470px;
  padding: 86px 0 76px;
  text-align: left;
}

.blog-hero-copy {
  max-width: 760px;
}

.blog-hero h1 {
  max-width: 720px;
}

.blog-hero-lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  max-width: 660px;
}

.blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.blog-topic-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.blog-topic-pills span {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 12px;
}

.guide-link {
  align-items: center;
  color: var(--blue-600);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-top: 16px;
  text-transform: uppercase;
}

.blog-editorial-section {
  padding-bottom: 56px;
}

.blog-editorial-layout {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.65fr);
}

/* Featured guide */
.guide-featured {
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--grey-900);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-featured:hover {
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-3px);
}

.guide-featured-media {
  overflow: hidden;
}

.guide-featured-media img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.guide-featured:hover .guide-featured-media img {
  transform: scale(1.05);
}

.guide-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
}

.blog-side-list {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  display: grid;
  overflow: hidden;
}

.blog-mini-link {
  color: var(--grey-900);
  display: grid;
  gap: 7px;
  padding: 24px 24px 22px;
}

.blog-mini-link + .blog-mini-link {
  border-top: 1px solid var(--grey-300);
}

.blog-mini-link:hover {
  background: var(--grey-100);
  text-decoration: none;
}

.blog-mini-link span {
  color: var(--orange-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.blog-mini-link strong {
  font-size: 1.02rem;
  line-height: 1.25;
}

.blog-mini-link small {
  color: var(--grey-600);
  font-size: 13px;
  line-height: 1.5;
}

.guide-cat-text {
  color: var(--orange-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.guide-featured-body h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin-bottom: 12px;
}

.guide-featured-body p {
  color: var(--grey-600);
  font-size: 15px;
}

.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: -18px 0 32px;
}

.blog-filter-row a {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  color: var(--grey-700);
  font-size: 13px;
  font-weight: 800;
  padding: 9px 14px;
}

.blog-filter-row a:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  text-decoration: none;
}

/* Guide grid */
.guide-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-article-grid {
  gap: 22px;
}

.guide-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--grey-900);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.guide-card:hover {
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-3px);
}

.guide-card-media {
  overflow: hidden;
  position: relative;
}

.guide-card-media img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  transition: transform 0.45s ease;
  width: 100%;
}

.guide-card:hover .guide-card-media img {
  transform: scale(1.06);
}

.guide-cat {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 100px;
  color: var(--blue-600);
  font-size: 11px;
  font-weight: 800;
  left: 14px;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  position: absolute;
  text-transform: uppercase;
  top: 14px;
}

.guide-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 24px 24px;
}

.guide-card-body h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.guide-card-body p {
  color: var(--grey-600);
  flex: 1 1 auto;
  font-size: 14px;
}

.blog-decision-band {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(236, 248, 244, 0.96), rgba(255, 255, 255, 0.98)),
    var(--white);
  border: 1px solid #c9e8dc;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  padding: 34px 38px;
}

.blog-decision-band h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin-bottom: 10px;
}

.blog-decision-band p {
  color: var(--grey-700);
  max-width: 650px;
}

.blog-decision-steps {
  display: grid;
  gap: 10px;
}

.blog-decision-steps a {
  align-items: center;
  background: var(--white);
  border: 1px solid #c9e8dc;
  border-radius: 8px;
  color: var(--grey-900);
  display: flex;
  font-weight: 800;
  gap: 12px;
  padding: 13px 14px;
}

.blog-decision-steps a:hover {
  border-color: var(--green-700);
  color: var(--green-700);
  text-decoration: none;
}

.blog-decision-steps span {
  align-items: center;
  background: var(--green-700);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 13px;
  height: 28px;
  justify-content: center;
  width: 28px;
}

/* Article */
.article-head {
  background: var(--grey-100);
  border-bottom: 1px solid var(--grey-300);
  padding: 44px 0 40px;
}

.article-head-inner {
  margin-inline: auto;
  max-width: 800px;
  text-align: center;
}

.article-cat {
  color: var(--orange-500);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.article-head h1 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin-bottom: 16px;
}

.article-lead {
  color: var(--grey-700);
  font-size: 1.12rem;
  margin-inline: auto;
  max-width: 680px;
}

.article-media {
  margin-top: -36px;
}

.article-media img {
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  margin-inline: auto;
  max-width: 1040px;
  width: 100%;
}

.article-body {
  margin-inline: auto;
  max-width: 760px;
  padding: 44px 0 8px;
}

.article-body h2 {
  font-size: 1.45rem;
  margin: 38px 0 12px;
}

.article-body p {
  color: var(--grey-700);
  font-size: 1.04rem;
  margin-bottom: 16px;
}

.article-body a {
  color: var(--blue-600);
  font-weight: 700;
  text-decoration: underline;
}

.article-list {
  color: var(--grey-700);
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.article-list li {
  border-left: 3px solid var(--blue-100);
  padding: 2px 0 2px 14px;
}

.article-insight-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 28px 0;
}

.article-insight-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 18px 18px 16px;
}

.article-insight-card span {
  color: var(--orange-500);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.article-insight-card strong {
  color: var(--grey-900);
  display: block;
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 7px;
}

.article-insight-card p {
  font-size: 0.94rem;
  margin: 0;
}

.article-note-list {
  background: var(--grey-100);
  border: 1px solid var(--grey-300);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 20px 22px;
}

.article-note-list div {
  display: grid;
  gap: 3px;
}

.article-note-list strong {
  color: var(--grey-900);
  font-size: 0.98rem;
}

.article-note-list p {
  margin-bottom: 0;
}

.article-callout {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius);
  margin: 28px 0;
  padding: 22px 24px;
}

.article-callout strong {
  color: var(--blue-600);
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.article-callout p {
  margin-bottom: 0;
}

.article-cta {
  padding-bottom: 64px;
  padding-top: 24px;
}

.article-cta-card {
  align-items: center;
  background: var(--blue-600);
  border-radius: 10px;
  color: var(--white);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin-inline: auto;
  max-width: 900px;
  padding: 34px 38px;
}

.article-cta-card h2 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.article-cta-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.article-cta-card .btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

@media (max-width: 900px) {
  .blog-hero {
    background:
      linear-gradient(180deg, rgba(0, 43, 72, 0.93), rgba(0, 43, 72, 0.76)),
      url("../assets/imagery/blog-material-guide-photo-v2.webp") center / cover;
    min-height: auto;
    padding: 66px 0;
  }
  .blog-editorial-layout,
  .blog-decision-band {
    grid-template-columns: 1fr;
  }
  .guide-featured {
    grid-template-columns: 1fr;
  }
  .guide-featured-media img {
    min-height: 220px;
  }
  .guide-featured-body {
    padding: 30px 30px;
  }
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-cta-card {
    flex-direction: column;
    text-align: center;
  }
  .article-insight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blog-hero {
    padding: 52px 0;
  }
  .blog-hero-actions .btn {
    width: 100%;
  }
  .blog-topic-pills span {
    font-size: 12px;
  }
  .blog-filter-row {
    justify-content: flex-start;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .blog-decision-band {
    padding: 26px 22px;
  }
  .article-media {
    margin-top: -20px;
  }
  .article-body {
    padding-top: 32px;
  }
}

/* ============================================================
   Offerte page — premium quote layout (v=offerte-1)
   ============================================================ */
.offerte-hero-lead {
  font-size: 1.08rem;
  max-width: 640px;
}

.quote-layout {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
}

.quote-form-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 36px 38px 32px;
}

.quote-sim-card {
  background:
    linear-gradient(180deg, rgba(236, 248, 244, 0.82), rgba(255, 255, 255, 0.96)),
    var(--white);
  border: 1px solid #b9ded1;
  border-left: 5px solid var(--green-700);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 43, 72, 0.09);
  margin-bottom: 30px;
  padding: 22px 24px 20px;
}

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

.quote-sim-kicker {
  color: var(--green-700);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.quote-sim-head h2 {
  color: var(--grey-900);
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0;
}

.quote-sim-code {
  background: var(--grey-900);
  border-radius: 999px;
  color: var(--white);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 8px 12px;
}

.quote-sim-note {
  color: var(--grey-700);
  font-size: 14px;
  margin: 0 0 18px;
}

.quote-sim-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-sim-grid div {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(185, 218, 240, 0.75);
  border-radius: 8px;
  min-width: 0;
  padding: 11px 12px;
}

.quote-sim-grid span {
  color: var(--grey-600);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.quote-sim-grid strong {
  color: var(--grey-900);
  display: block;
  font-size: 14px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.quote-sim-details {
  border-top: 1px solid rgba(1, 94, 146, 0.14);
  margin-top: 16px;
  padding-top: 12px;
}

.quote-sim-details summary {
  color: var(--blue-600);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.quote-sim-details pre {
  background: rgba(0, 32, 56, 0.04);
  border: 1px solid rgba(0, 32, 56, 0.08);
  border-radius: 8px;
  color: var(--grey-700);
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  margin: 12px 0 0;
  max-height: 260px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.quote-aside {
  display: grid;
  gap: 18px;
}

.quote-aside-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  padding: 24px 24px 26px;
}

.quote-aside-title {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.quote-steps {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.quote-steps li {
  display: flex;
  gap: 14px;
}

.quote-step-num {
  align-items: center;
  background: var(--blue-600);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 30px;
  font-size: 0.9rem;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.quote-steps strong {
  color: var(--grey-900);
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
}

.quote-steps li > div > span {
  color: var(--grey-600);
  display: block;
  font-size: 13px;
  margin-top: 2px;
}

.quote-contact-card {
  background: var(--blue-50);
  border-color: var(--blue-100);
}

.quote-contact-card p {
  color: var(--grey-600);
  font-size: 14px;
  margin-bottom: 14px;
  margin-top: -6px;
}

.quote-contact-link {
  align-items: center;
  color: var(--blue-600);
  display: flex;
  font-size: 1.2rem;
  font-weight: 800;
  min-height: 40px;
}

.quote-contact-mail {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .quote-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote-contact-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .quote-form-card {
    padding: 26px 22px 24px;
  }
  .quote-sim-card {
    padding: 20px 18px 18px;
  }
  .quote-sim-head {
    display: grid;
    gap: 12px;
  }
  .quote-sim-code {
    justify-self: start;
  }
  .quote-sim-grid {
    grid-template-columns: 1fr;
  }
  .quote-aside {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Contact page — premium (v=contact-1)
   ============================================================ */
.contact-hero {
  background-image:
    linear-gradient(105deg, rgba(0, 32, 56, 0.93) 0%, rgba(1, 56, 90, 0.82) 48%, rgba(1, 56, 90, 0.34) 100%),
    url("../assets/reference-projects/ref-installation-2.webp");
  background-position: center, right center;
  background-size: cover;
  padding: 80px 0;
}

.contact-hero-copy {
  max-width: 680px;
}

.contact-hero-lead {
  font-size: 1.1rem;
  max-width: 600px;
}

/* Quick contact methods */
.contact-methods {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-method {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  color: var(--grey-900);
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.contact-method:hover {
  border-color: var(--blue-600);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transform: translateY(-3px);
}

.contact-method strong {
  color: var(--grey-900);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-method > span {
  color: var(--blue-600);
  font-size: 1.02rem;
  font-weight: 800;
}

.contact-method small {
  color: var(--grey-600);
  font-size: 13px;
  margin-top: 4px;
}

/* Showroom location cards */
.location-pin {
  align-items: center;
  background: var(--blue-50);
  border-radius: 12px;
  color: var(--blue-600);
  display: inline-flex;
  height: 46px;
  justify-content: center;
  margin-bottom: 16px;
  width: 46px;
}

.location-pin svg {
  height: 24px;
  width: 24px;
}

.location-role {
  color: var(--grey-600);
  font-size: 14px;
  margin-top: 2px;
}

/* Opening hours list */
.hours-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  align-items: baseline;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
}

.hours-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours-list span {
  color: var(--grey-600);
  font-size: 14px;
}

.hours-list strong {
  color: var(--grey-900);
  font-size: 14px;
}

.contact-form-lead {
  margin-bottom: 22px;
}

@media (max-width: 900px) {
  .contact-hero {
    padding: 60px 0;
  }
  .contact-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    background-image:
      linear-gradient(160deg, rgba(0, 32, 56, 0.95) 0%, rgba(1, 56, 90, 0.9) 100%),
      url("../assets/reference-projects/ref-installation-2.webp");
  }
}

/* ---- Simulator: multiple windows in the wall ---- */
.sim-windows-block .sim-window-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.sim-window-tab {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line, #d7dee5);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sim-window-tab.is-active {
  border-color: var(--brand, #2f6f4f);
  box-shadow: 0 0 0 1px var(--brand, #2f6f4f) inset;
}
.sim-window-pick {
  border: 0;
  background: transparent;
  display: grid;
  gap: 2px;
  padding: 8px 12px;
  text-align: left;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  color: #2a3138;
  cursor: pointer;
}

.sim-window-pick strong {
  font-size: 13px;
  font-weight: 900;
}

.sim-window-pick small {
  color: #74808a;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.sim-window-tab.is-active .sim-window-pick { color: var(--brand, #2f6f4f); }
.sim-window-tab.is-active .sim-window-pick small { color: rgba(47, 111, 79, 0.74); }
.sim-window-remove {
  align-items: center;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line, #e2e7ec);
  padding: 0 9px;
  font-size: 16px;
  line-height: 1;
  color: #9aa4ad;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-width: 44px;
}
.sim-window-remove:hover { color: #d23d3d; background: #fbeaea; }
.sim-window-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 0.72fr 0.72fr;
}

.sim-add-window,
.sim-window-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--brand, #2f6f4f);
  border-radius: 9px;
  background: var(--white);
  color: var(--brand, #2f6f4f);
  font: inherit;
  font-weight: 900;
  font-size: 12px;
  min-height: 44px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.sim-add-window {
  border-style: dashed;
  background: rgba(47, 111, 79, .06);
}

.sim-add-window:hover,
.sim-window-action:hover {
  background: rgba(47, 111, 79, .12);
}

.sim-add-window:disabled,
.sim-window-action:disabled {
  background: var(--grey-100);
  border-color: var(--grey-300);
  color: var(--grey-500);
  cursor: not-allowed;
  opacity: .62;
}

.sim-window-summary {
  background: var(--grey-50);
  border: 1px solid var(--grey-300);
  border-radius: 9px;
  color: var(--grey-700);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.sim-windows-hint {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #74808a;
}

@media (max-width: 640px) {
  .sim-window-actions {
    grid-template-columns: 1fr;
  }
}

/* Kova showroom adaptation */
.demo-logo {
  align-items: center;
  color: var(--grey-900);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-logo:hover {
  color: var(--blue-600);
  text-decoration: none;
}

.demo-logo-mark {
  background:
    linear-gradient(90deg, transparent 47%, var(--blue-600) 47% 53%, transparent 53%),
    linear-gradient(180deg, transparent 47%, var(--blue-600) 47% 53%, transparent 53%),
    var(--blue-50);
  border: 2px solid var(--blue-600);
  border-radius: 6px;
  box-shadow: inset 0 0 0 4px var(--white);
  display: inline-block;
  flex: 0 0 38px;
  height: 38px;
  width: 38px;
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.mobile-drawer .demo-logo {
  font-size: 16px;
}

.footer-demo-logo {
  margin-bottom: 14px;
}

.demo-badge {
  max-width: 320px;
}

.demo-partner-strip span {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  color: var(--blue-600);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  min-height: 58px;
  padding: 12px 16px;
  text-align: center;
}

.quote-demo-section {
  background:
    linear-gradient(135deg, rgba(238, 246, 251, 0.94), rgba(255, 255, 255, 0.98)),
    var(--white);
}

.quote-demo-layout {
  align-items: start;
  display: grid;
  gap: 38px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
}

.quote-demo-form {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-top: 3px solid var(--blue-600);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 14px;
  padding: 28px;
  position: relative;
}

.quote-demo-form label {
  color: var(--grey-700);
  display: grid;
  font-size: 13px;
  font-weight: 900;
  gap: 7px;
  position: relative;
}

.quote-demo-form input,
.quote-demo-form select,
.quote-demo-form textarea {
  background: var(--grey-50);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  color: var(--grey-900);
  min-height: 46px;
  padding: 12px 13px 12px 40px;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  width: 100%;
}

.quote-demo-form textarea {
  min-height: 112px;
  padding-left: 13px;
  resize: vertical;
}

.quote-demo-form input:focus,
.quote-demo-form select:focus,
.quote-demo-form textarea:focus {
  background: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(1, 94, 146, 0.16);
  outline: none;
}

/* Feedback states: applied to the wrapping label (e.g. via a `.has-error` /
   `.is-valid` class) so a future JS validation layer only needs to toggle a
   class on the field wrapper, matching the .field.has-error pattern used
   elsewhere on the site. */
.quote-demo-form label.has-error input,
.quote-demo-form label.has-error select,
.quote-demo-form label.has-error textarea {
  background: #fff6f6;
  border-color: #c93535;
}

.quote-demo-form label.has-error input:focus,
.quote-demo-form label.has-error select:focus,
.quote-demo-form label.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(201, 53, 53, 0.16);
}

.quote-demo-form .field-error {
  color: #b42222;
  display: none;
  font-size: 12px;
  font-weight: 700;
}

.quote-demo-form label.has-error .field-error {
  display: block;
}

.quote-demo-form label.is-valid input,
.quote-demo-form label.is-valid select,
.quote-demo-form label.is-valid textarea {
  background: var(--green-100);
  border-color: var(--green-500);
}

.quote-demo-form label.is-valid input:focus,
.quote-demo-form label.is-valid select:focus,
.quote-demo-form label.is-valid textarea:focus {
  box-shadow: 0 0 0 3px rgba(34, 187, 117, 0.18);
}

.quote-demo-form label:nth-of-type(1) input,
.quote-demo-form label:nth-of-type(3) input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23015e92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 13px center;
  background-size: 16px 16px;
}

.quote-demo-form label:nth-of-type(3) input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23015e92' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.quote-demo-form label:nth-of-type(2) select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f08000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h18M3 12h18M3 17h18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 13px center;
  background-size: 16px 16px;
  padding-right: 13px;
}

.quote-demo-form .btn {
  width: 100%;
}

/* Submit button loading/submitting treatment. Intended for a future JS layer
   to toggle (e.g. button.classList.add("is-loading"); button.disabled = true)
   while a request is in flight. */
.quote-demo-form .btn.is-loading {
  animation: quote-demo-pulse 1.3s ease-in-out infinite;
  color: transparent;
  pointer-events: none;
  position: relative;
}

.quote-demo-form .btn.is-loading::after {
  animation: quote-demo-spin 0.7s linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border-top-color: var(--white);
  content: "";
  height: 18px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
}

@keyframes quote-demo-pulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(0.88);
  }
}

@keyframes quote-demo-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-demo-form .btn.is-loading {
    animation: none;
  }

  .quote-demo-form .btn.is-loading::after {
    animation: none;
  }
}

/* Form-level result banner, mirroring .form-message used on the multi-step
   quote form so both share the same visual language. Toggle by adding one of
   .is-error / .is-success / .is-pending. */
.quote-demo-form .form-message {
  border-radius: var(--radius);
  display: none;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 13px;
}

.quote-demo-form .form-message.is-error {
  background: #fff0f0;
  color: #a51616;
  display: block;
}

.quote-demo-form .form-message.is-success {
  background: var(--green-100);
  color: #16794a;
  display: block;
}

.quote-demo-form .form-message.is-pending {
  background: var(--blue-50);
  color: var(--blue-700);
  display: block;
}

.quote-demo-form small {
  color: var(--grey-600);
  display: block;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .quote-demo-layout {
    grid-template-columns: 1fr;
  }
}
