html, body {
  font-family: "Inter", sans-serif;
  color: #333;
  overflow-x: hidden;
  max-width: 100%;
}

body.menu-open {
  overflow: hidden;
}

.hero-bg {
  background-image:
    linear-gradient(90deg, rgba(13, 54, 71, 0.82) 0%, rgba(13, 54, 71, 0.72) 34%, rgba(13, 54, 71, 0.56) 62%, rgba(13, 54, 71, 0.42) 100%),
    linear-gradient(180deg, rgba(39, 170, 225, 0.12) 0%, rgba(13, 54, 71, 0.08) 100%),
    url("../images/hero-airco.png");
  background-size: cover;
  background-position: 82% center;
  background-repeat: no-repeat;
  background-blend-mode: normal, screen, normal;
}

.page-hero {
  background: linear-gradient(135deg, #0d3647 0%, #16384a 55%, #1a4a5c 100%);
}

.header-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  padding: 10px 10px 10px 28px;
  background: #12203a;
  color: #fff;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(18, 32, 58, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(18, 32, 58, 0.24);
}

.header-cta-badge {
  position: absolute;
  left: 16px;
  top: -14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #27aae1, #ff9a22);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(39, 170, 225, 0.28);
  white-space: nowrap;
  transform: rotate(-5deg);
  transform-origin: left center;
}

.header-cta-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #f43900;
  opacity: 0.95;
}

.header-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: #27aae1;
  flex-shrink: 0;
}

.header-cta-label {
  padding-right: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 18px 24px 0;
  transition: padding 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, padding 0.25s ease, border-radius 0.25s ease;
}

.site-logo-wrap {
  position: relative;
  display: block;
  height: 64px;
  width: auto;
  flex-shrink: 0;
  transition: height 0.25s ease;
}

.site-logo-image {
  display: block;
  height: 100%;
  width: auto;
  max-width: 112px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
  transition: filter 0.25s ease, max-width 0.25s ease;
}

.site-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  min-width: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

/* Scrolled header, or light pages (e.g. kennisbank) that need dark nav from load */
body.header-scrolled .site-header,
body.page-light .site-header {
  padding-top: 18px;
  padding-bottom: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(13, 54, 71, 0.08);
  border-bottom: 1px solid rgba(13, 54, 71, 0.08);
}

body.header-scrolled .site-header-inner,
body.page-light .site-header-inner {
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.header-scrolled .site-logo-wrap,
body.page-light .site-logo-wrap {
  height: 52px;
}

body.header-scrolled .site-logo-image,
body.page-light .site-logo-image {
  max-width: 92px;
}

/* Desktop: dark navy text on solid light header for contrast */
body.header-scrolled .site-nav a,
body.page-light .site-nav a {
  color: #0d3647 !important;
}

body.header-scrolled .site-nav a:hover,
body.page-light .site-nav a:hover {
  color: #27aae1 !important;
}

body.header-scrolled .site-nav a.nav-link-active,
body.page-light .site-nav a.nav-link-active {
  color: #0d3647 !important;
}

.mobile-menu-button {
  display: none;
}

.mobile-nav {
  display: none;
  color: #fff;
}

body.menu-open .mobile-nav {
  display: block;
}

.mobile-menu-icon-close {
  display: none;
}

body.menu-open .mobile-menu-icon-open {
  display: none;
}

body.menu-open .mobile-menu-icon-close {
  display: block;
}

/* Desktop nav from lg (1024px); tablets keep hamburger */
@media (min-width: 1024px) {
  .site-nav {
    display: flex;
    gap: 1.5rem;
  }

  .site-nav a {
    padding-inline: 0.25rem;
  }

  /* Frosted pill on hero pages before scroll */
  body:not(.header-scrolled):not(.page-light) .site-header-inner {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    padding: 6px 16px 6px 10px;
  }

  .mobile-nav,
  body.menu-open .mobile-nav {
    display: none !important;
  }

  .mobile-menu-button {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .site-header-inner {
    gap: 20px;
  }

  .site-nav {
    gap: 2rem;
    font-size: 13px;
  }

  .site-nav a {
    padding-inline: 0.375rem;
  }

  .site-logo-wrap {
    height: 72px;
  }

  .site-logo-image {
    max-width: 124px;
  }

  body.header-scrolled .site-logo-wrap,
  body.page-light .site-logo-wrap {
    height: 56px;
  }

  body.header-scrolled .site-logo-image,
  body.page-light .site-logo-image {
    max-width: 100px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .site-header-inner {
    gap: 18px;
  }

  .header-cta {
    min-height: 52px;
    padding: 8px 8px 8px 20px;
    font-size: 13px;
    gap: 12px;
  }

  .header-cta-badge {
    font-size: 10px;
    padding: 5px 10px;
    left: 12px;
    top: -12px;
  }

  .header-cta-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1023px) {
  .site-header {
    padding: 10px 16px 0;
  }

  .site-header-inner {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }

  .site-nav {
    display: none !important;
  }

  .site-logo-wrap {
    height: 52px;
  }

  .site-logo-image {
    max-width: 88px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.16));
  }

  .header-actions {
    gap: 0;
  }

  .mobile-menu-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: #12203a;
    color: #fff;
    flex-shrink: 0;
    border: 0;
  }

  .header-cta {
    display: none !important;
  }

  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(13, 54, 71, 0.88) 0%, rgba(13, 54, 71, 0.78) 42%, rgba(13, 54, 71, 0.62) 100%),
      linear-gradient(90deg, rgba(13, 54, 71, 0.55) 0%, rgba(13, 54, 71, 0.18) 55%, rgba(13, 54, 71, 0.08) 100%),
      url("../images/hero-airco.png");
    background-position: 72% 28%;
    background-size: cover;
    background-blend-mode: normal, normal, normal;
  }

  body.header-scrolled .site-header,
  body.page-light .site-header {
    padding-top: 8px;
    padding-bottom: 8px;
    background: #0d3647;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: 0;
  }

  body.header-scrolled .site-header-inner,
  body.page-light .site-header-inner {
    padding: 0;
    background: transparent;
  }

  /* Keep white toggle icon on dark mobile solid header */
  body.header-scrolled .mobile-menu-button,
  body.page-light .mobile-menu-button {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }

  body.header-scrolled .site-logo-wrap,
  body.page-light .site-logo-wrap {
    height: 46px;
  }

  body.header-scrolled .site-logo-image,
  body.page-light .site-logo-image {
    max-width: 78px;
  }

  body.menu-open .site-header,
  body.page-light.menu-open .site-header {
    background: #0d3647;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    bottom: 0;
    z-index: 40;
    max-height: none;
    overflow-y: auto;
    margin: 0;
    border-radius: 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #12203a;
    box-shadow: none;
    padding: 24px 20px 40px;
    color: #fff;
  }

  body.header-scrolled .mobile-nav,
  body.page-light .mobile-nav {
    top: 68px;
    max-height: none;
  }

  .mobile-nav a {
    color: #fff;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0;
  }

  .mobile-nav .grid.gap-4 > a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  /* CTA stack: restore button padding; white primary keeps dark navy text */
  .mobile-nav .mt-5.grid > a {
    padding: 0.75rem 1.25rem;
    justify-content: center;
  }

  .mobile-nav a.bg-white,
  .mobile-nav a.mobile-nav-primary-cta {
    color: #12203a !important;
  }

  .hero-secondary-cta,
  .mobile-nav-secondary-cta {
    background: #0d3647 !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
  }

  .service-accordion-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .service-accordion-row > button {
    align-self: flex-end;
  }

  .faq-item-row {
    align-items: flex-start;
    gap: 12px;
  }

  .faq-item-row h3 {
    min-width: 0;
    flex: 1;
    text-align: left;
    line-height: 1.35;
  }

  .faq-item-row svg {
    flex-shrink: 0;
    margin-top: 2px;
  }

  .footer-panel {
    background: #0d3647 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

.faq-bg {
  background-image: linear-gradient(rgba(13, 54, 71, 0.88), rgba(13, 54, 71, 0.88)), url("../images/montage/04.jpg");
  background-size: cover;
  background-position: center;
}

.footer-bg {
  background-image: linear-gradient(rgba(13, 54, 71, 0.92), rgba(13, 54, 71, 0.92)), url("../images/montage/01.jpg");
  background-size: cover;
  background-position: center;
}

.text-outline {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  color: transparent;
}

.script-accent {
  font-family: "Caveat", cursive;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.95;
  display: inline-block;
}

.neutral-dark {
  color: #73787c;
}

.nav-link-active {
  color: #fff !important;
  font-weight: 700;
}

.calc-option.is-active {
  border-color: #27aae1 !important;
  background: rgba(39, 170, 225, 0.1) !important;
}

.calc-option.is-active .material-symbols-outlined {
  color: #27aae1 !important;
}

.form-message {
  display: none;
  border-radius: 1rem;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-success {
  background: rgba(39, 170, 225, 0.18);
  color: #fff;
}

.form-message.is-error {
  background: rgba(244, 57, 0, 0.2);
  color: #fff;
}

.model-interest {
  border-radius: 1rem;
  padding: 0.875rem 1rem;
  background: rgba(39, 170, 225, 0.16);
  border: 1px solid rgba(39, 170, 225, 0.35);
}

.model-interest[hidden] {
  display: none !important;
}

.model-interest-label {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.model-interest-label strong {
  font-weight: 700;
  color: #fff;
}

.model-interest--light {
  background: rgba(39, 170, 225, 0.1);
  border-color: rgba(39, 170, 225, 0.28);
}

.model-interest--light .model-interest-label,
.model-interest--light .model-interest-label strong {
  color: #0d3647;
}

.hero-cta-row {
  max-width: 42rem;
}

.hero-cta-row > a {
  flex: 0 1 auto;
}

@media (max-width: 480px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    max-width: none;
  }

  .hero-cta-row > a {
    width: 100%;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
    white-space: normal;
  }
}

/* --- Homepage design polish --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.hero-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 170, 225, 0.28) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: hero-glow 8s ease-in-out infinite alternate;
}

.hero-bg > * {
  position: relative;
  z-index: 1;
}

@keyframes hero-glow {
  from { transform: translate(0, 0) scale(1); opacity: 0.7; }
  to { transform: translate(-8%, -6%) scale(1.12); opacity: 1; }
}

.hero-success-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 2rem;
}

.hero-success-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.section-mesh {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(39, 170, 225, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 100%, rgba(255, 154, 34, 0.08), transparent 50%),
    #f4f8fb;
}

.section-mesh-alt {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 40% at 90% 10%, rgba(39, 170, 225, 0.09), transparent 55%),
    #ffffff;
}

.success-pillar {
  position: relative;
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  transition: transform 0.35s ease;
}

.success-pillar:hover {
  transform: translateY(-4px);
}

.success-pillar-icon {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1.1rem;
  border-radius: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(39, 170, 225, 0.16), rgba(39, 170, 225, 0.04));
  color: #27aae1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.success-pillar::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(13, 54, 71, 0.12), transparent);
}

.success-pillar:last-child::after {
  display: none;
}

@media (max-width: 767px) {
  .success-pillar::after {
    display: none;
  }
}

.steps-rail {
  position: relative;
}

@media (min-width: 768px) {
  .steps-rail::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(39, 170, 225, 0.35), rgba(255, 154, 34, 0.35), transparent);
    z-index: 0;
  }
}

.step-block {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.25rem;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  border: 1px solid rgba(39, 170, 225, 0.12);
  box-shadow: 0 18px 40px -28px rgba(13, 54, 71, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -24px rgba(13, 54, 71, 0.4);
}

.step-num {
  font-family: "Caveat", cursive;
  font-size: 2.75rem;
  line-height: 1;
  color: #27aae1;
  font-weight: 700;
}

.lead-magnet-visual {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  aspect-ratio: 1;
  max-width: 28rem;
  background: #0d3647;
  box-shadow:
    0 30px 60px -30px rgba(13, 54, 71, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: rotate(-2deg);
}

.lead-magnet-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(39, 170, 225, 0.25) 0%, transparent 42%, rgba(13, 54, 71, 0.55) 100%);
  pointer-events: none;
}

.lead-magnet-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  padding: 0.55rem 0.9rem;
  border-radius: 9999px;
  background: #f43900;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(6deg);
  box-shadow: 0 10px 20px rgba(244, 57, 0, 0.35);
}

.authority-band {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.authority-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.authority-band:hover img {
  transform: scale(1.08);
}

.authority-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 54, 71, 0.88) 0%, rgba(13, 54, 71, 0.62) 48%, rgba(13, 54, 71, 0.45) 100%),
    linear-gradient(180deg, transparent 30%, rgba(13, 54, 71, 0.5) 100%);
}

.quote-panel {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.75rem;
  background: linear-gradient(165deg, #f4f8fb 0%, #eef6fb 100%);
  border: 1px solid rgba(39, 170, 225, 0.12);
}

.quote-panel .stars {
  letter-spacing: 0.08em;
  color: #e8a317;
}

.mini-quote {
  padding: 1.35rem 1.25rem;
  border-radius: 1.25rem;
  border-left: 3px solid #27aae1;
  background: rgba(39, 170, 225, 0.05);
}

.signoff-block {
  position: relative;
  padding: 2.5rem 1.5rem;
}

.signoff-block::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 48px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: linear-gradient(90deg, #27aae1, #ff9a22);
}

.expect-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, #ffffff, #f7fbfe);
  border: 1px solid rgba(13, 54, 71, 0.06);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.expect-item:hover {
  border-color: rgba(39, 170, 225, 0.35);
  transform: translateY(-2px);
}

.story-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.story-play {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  background: #fff;
  color: #0d3647;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.story-play:hover {
  transform: scale(1.06);
}

.final-cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(39, 170, 225, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 70% at 90% 30%, rgba(244, 57, 0, 0.08), transparent 55%),
    linear-gradient(135deg, #0d3647 0%, #16384a 55%, #0d3647 100%);
  color: #fff;
}

.calc-shell {
  border-radius: 2rem;
  padding: 1.25rem;
  background:
    linear-gradient(145deg, rgba(39, 170, 225, 0.14), rgba(255, 154, 34, 0.08)),
    #f4f8fb;
  border: 1px solid rgba(39, 170, 225, 0.15);
  box-shadow: 0 30px 60px -40px rgba(13, 54, 71, 0.45);
}

@media (min-width: 768px) {
  .calc-shell {
    padding: 2.25rem;
    border-radius: 2.5rem;
  }
}

.calc-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1rem 0.95rem;
  border-radius: 1.15rem;
  border: 1.5px solid rgba(13, 54, 71, 0.1);
  background: #fff;
  color: #73787c;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.calc-option .material-symbols-outlined {
  color: #9aa3a8;
}

.calc-option:hover {
  border-color: rgba(39, 170, 225, 0.45);
  transform: translateY(-1px);
}

.calc-option.is-active {
  border-color: #27aae1;
  background: rgba(39, 170, 225, 0.1);
}

.calc-option.is-active .material-symbols-outlined,
.calc-option.is-active .font-semibold {
  color: #0d3647;
}

.calc-option.is-active .material-symbols-outlined {
  color: #27aae1;
}

.calc-progress-track {
  height: 6px;
  border-radius: 9999px;
  background: rgba(13, 54, 71, 0.08);
  overflow: hidden;
}

.calc-progress-bar {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #27aae1, #ff9a22);
  transition: width 0.35s ease;
}

.calc-step-label.is-active {
  color: #0d3647;
}

.calc-step-label.is-done {
  color: #27aae1;
}

.calc-panel {
  min-height: 280px;
}

.calc-room-row {
  background: #fff;
  border: 1px solid rgba(13, 54, 71, 0.08);
  border-radius: 1.25rem;
  padding: 1rem 1.1rem 1.15rem;
}

.calc-room-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.calc-room-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0d3647;
}

.calc-room-remove {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 9999px;
  background: rgba(13, 54, 71, 0.06);
  color: #0d3647;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.calc-room-remove:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.calc-room-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .calc-room-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: end;
  }
}

.calc-room-field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #73787c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calc-room-field strong {
  color: #27aae1;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
}

.calc-room-field select,
.calc-room-field input[type="range"] {
  width: 100%;
}

.calc-room-field select {
  border: 1px solid rgba(13, 54, 71, 0.12);
  border-radius: 0.85rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
  color: #0d3647;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* Merken catalog */
.catalog-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0d3647;
}

.catalog-hero-bg {
  position: absolute;
  inset: 0;
}

.catalog-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 54, 71, 0.92) 0%, rgba(13, 54, 71, 0.72) 48%, rgba(13, 54, 71, 0.45) 100%),
    linear-gradient(180deg, rgba(13, 54, 71, 0.25) 0%, rgba(13, 54, 71, 0.75) 100%);
}

.catalog-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 9rem 1.5rem 4rem;
}

@media (min-width: 768px) {
  .catalog-hero-inner {
    padding: 11rem 3rem 5rem;
  }
}

.catalog-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.25rem;
  background: #f9f9fc;
  border: 1px solid rgba(13, 54, 71, 0.08);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.catalog-stat:hover {
  border-color: rgba(39, 170, 225, 0.45);
  transform: translateY(-2px);
}

.catalog-stat-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0d3647;
  line-height: 1;
}

.catalog-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #5b6b75;
  line-height: 1.3;
}

.brand-hub-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.brand-hub-thumbs img {
  width: 3.25rem;
  height: 2.5rem;
  object-fit: contain;
  background: #fff;
  border-radius: 0.65rem;
  border: 1px solid rgba(13, 54, 71, 0.08);
  padding: 0.2rem;
}

.brand-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(39, 170, 225, 0.18), transparent 55%),
    linear-gradient(135deg, #0d3647 0%, #16384a 55%, #1a4a5c 100%);
  padding: 8.5rem 1.5rem 3rem;
}

@media (min-width: 768px) {
  .brand-hero {
    padding: 10rem 3rem 4rem;
  }
}

@media (min-width: 1024px) {
  .brand-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 3rem;
    max-width: 100%;
    padding-left: max(1.5rem, calc((100% - 80rem) / 2 + 1.5rem));
    padding-right: max(1.5rem, calc((100% - 80rem) / 2 + 1.5rem));
  }
}

.brand-hero-product {
  background: linear-gradient(160deg, #eef6fb 0%, #ffffff 70%);
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-hero-product img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.brand-preview-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.brand-preview-tile {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  padding: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-preview-tile img {
  max-height: 3.25rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-series-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.brand-series-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #f9f9fc;
  border: 1px solid rgba(13, 54, 71, 0.1);
  color: #0d3647;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.brand-series-chip span {
  color: #27aae1;
}

.brand-series-chip:hover {
  border-color: rgba(39, 170, 225, 0.5);
  background: rgba(39, 170, 225, 0.08);
}

.product-hero {
  background:
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(39, 170, 225, 0.2), transparent 55%),
    linear-gradient(145deg, #0d3647 0%, #143c50 50%, #1a4a5c 100%);
}

.product-hero-media {
  background: linear-gradient(160deg, #eef6fb 0%, #ffffff 70%);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-hero-media img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.product-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-card-system {
  font-size: 0.8rem;
  color: #5b6b75;
  margin: -0.35rem 0 0.85rem;
}

.catalog-cta {
  display: grid;
  gap: 1.5rem;
  background: #0d3647;
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .catalog-cta {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 2.5rem 3rem;
  }
}

.catalog-inline-links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.9rem;
  color: #5b6b75;
}

.catalog-inline-links a {
  color: #27aae1;
  font-weight: 600;
  text-decoration: none;
}

.catalog-inline-links a:hover {
  text-decoration: underline;
}

.brand-hub-card,
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(13, 54, 71, 0.08);
  border-radius: 1.25rem;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.brand-hub-card {
  background: #f9f9fc;
  border-radius: 1.5rem;
}

.brand-hub-card:hover,
.product-card:hover {
  border-color: rgba(39, 170, 225, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(13, 54, 71, 0.1);
}

.product-card:hover .product-card-cta {
  background: #1f96c9;
}

.brand-hub-media,
.product-card-media,
.product-detail-media {
  background: linear-gradient(165deg, #eef6fb 0%, #f7fafc 50%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  min-height: 200px;
}

.brand-hub-media {
  min-height: 240px;
}

.product-card-media {
  aspect-ratio: 1 / 0.92;
  min-height: 0;
  padding: 1.1rem 1rem 0.75rem;
}

.brand-hub-media img,
.product-card-media img,
.product-detail-media img {
  max-width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

.product-card-media img {
  max-height: 170px;
  width: auto;
  transition: transform 0.25s ease;
}

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

.product-detail-media {
  border-radius: 1.5rem;
  border: 1px solid rgba(13, 54, 71, 0.08);
  min-height: 280px;
}

.product-detail-media img {
  max-height: 360px;
}

.brand-hub-body,
.product-card-body {
  padding: 0.85rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.brand-hub-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.product-card-meta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #27aae1;
  margin-bottom: 0.35rem;
}

.product-card-body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0d3647;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-system {
  font-size: 0.8rem;
  color: #5b6b75;
  margin: 0 0 0.95rem;
  line-height: 1.35;
  flex: 1;
}

.product-card-list,
.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.35rem;
}

.product-card-list li,
.product-feature-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  color: #5b6b75;
  line-height: 1.45;
}

.product-card-list li::before,
.product-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #27aae1;
}

.product-card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #27aae1;
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: #27aae1;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s ease;
}

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

/* Phone: 1 col; tablet+: 2 cols */
@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(13, 54, 71, 0.08);
  border-radius: 1.25rem;
  background: #f9f9fc;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(13, 54, 71, 0.06);
}

.spec-table th {
  width: 40%;
  color: #0d3647;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.6);
}

.spec-table td {
  color: #5b6b75;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-bg::before,
  .authority-band img,
  .success-pillar,
  .step-block,
  .brand-hub-card,
  .product-card,
  .catalog-stat,
  .video-gallery-item,
  .video-gallery-item img,
  .video-gallery-play,
  .video-lightbox-backdrop,
  .video-lightbox-dialog {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Kennisbank overview */
.kb-hero {
  padding: 9rem 1.5rem 3.5rem;
  background:
    radial-gradient(ellipse 55% 70% at 85% 20%, rgba(39, 170, 225, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(39, 170, 225, 0.06), transparent 50%),
    linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%);
}
@media (min-width: 768px) {
  .kb-hero {
    padding: 11rem 3rem 4.5rem;
  }
}
.kb-hero-inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.kb-hero-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #27AAE1;
}
.kb-hero-title {
  margin: 0 0 1.1rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #0d3647;
}
.kb-hero-title .script-accent {
  font-weight: 400;
  font-size: 1.05em;
}
.kb-hero-lead {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #5b6b75;
}

.kb-posts {
  padding: 1rem 0 4rem;
  background: #fff;
}
@media (min-width: 768px) {
  .kb-posts {
    padding: 1.5rem 0 5rem;
  }
}

.kb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .kb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.5rem;
  }
}
@media (min-width: 1024px) {
  .kb-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.75rem;
  }
}

.kb-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 26rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.2s ease;
}
.kb-card:hover {
  transform: translateY(-3px);
  box-shadow: none;
}
.kb-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8eef2;
  border-radius: 1rem;
}
.kb-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.kb-card:hover .kb-card-media img {
  transform: scale(1.03);
}
.kb-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 0.15rem 0;
}
.kb-card-meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #27AAE1;
}
.kb-card-title {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0d3647;
}
.kb-card-title a {
  color: inherit;
  text-decoration: none;
}
.kb-card-title a:hover {
  color: #27AAE1;
}
.kb-card-excerpt {
  margin: 0;
  flex: 1;
  color: #5b6b75;
  font-size: 0.95rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kb-card-link {
  margin-top: 0.25rem;
  font-weight: 600;
  color: #27AAE1;
  text-decoration: none;
}
.kb-card-link:hover {
  text-decoration: underline;
}

.kb-advice {
  padding: 3.5rem 1.5rem;
  background:
    radial-gradient(ellipse 50% 80% at 15% 50%, rgba(39, 170, 225, 0.1), transparent 55%),
    linear-gradient(180deg, #f4f8fb 0%, #eef5f9 100%);
  border-top: 1px solid rgba(13, 54, 71, 0.06);
  border-bottom: 1px solid rgba(13, 54, 71, 0.06);
}
@media (min-width: 768px) {
  .kb-advice {
    padding: 4.5rem 3rem;
  }
}
.kb-advice-inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
.kb-advice-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0d3647;
}
.kb-advice-text {
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #5b6b75;
}
.kb-advice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.kb-advice-primary,
.kb-advice-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.kb-advice-primary {
  background: #0d3647;
  color: #fff;
}
.kb-advice-primary:hover {
  background: #16384a;
}
.kb-advice-secondary {
  border: 1.5px solid rgba(13, 54, 71, 0.2);
  color: #0d3647;
  background: #fff;
}
.kb-advice-secondary:hover {
  border-color: #27AAE1;
  color: #27AAE1;
}

.kb-montage {
  padding: 4rem 0 5rem;
  background: #fff;
}
@media (min-width: 768px) {
  .kb-montage {
    padding: 5rem 0 6rem;
  }
}
.kb-montage-intro {
  max-width: 36rem;
  margin: 0 auto 2rem;
  text-align: center;
}
.kb-montage-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0d3647;
}
.kb-montage-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #5b6b75;
}
.kb-montage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .kb-montage-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
  }
}
.kb-montage-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 0.85rem;
  background: #e8eef2;
}
.kb-montage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.kb-montage-item:hover img {
  transform: scale(1.05);
}
@media (max-width: 639px) {
  .kb-montage-item:nth-child(5) {
    display: none;
  }
}

/* Kennisbank article */
.kb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: #7a8a94;
}
.kb-breadcrumb a {
  color: #27AAE1;
  text-decoration: none;
}
.kb-breadcrumb a:hover {
  text-decoration: underline;
}
.kb-prose {
  color: #3d4d57;
  font-size: 1.05rem;
  line-height: 1.75;
}
.kb-prose > * + * {
  margin-top: 1.15rem;
}
.kb-prose h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(13, 54, 71, 0.08);
  font-size: 1.55rem;
  line-height: 1.3;
  font-weight: 700;
  color: #0d3647;
  letter-spacing: -0.02em;
}
.kb-prose h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.kb-prose h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0d3647;
}
.kb-prose a {
  color: #27AAE1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.kb-prose ul {
  padding-left: 1.2rem;
  list-style: disc;
}
.kb-prose li + li {
  margin-top: 0.35rem;
}
.kb-callout {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(39, 170, 225, 0.08);
  border: 1px solid rgba(39, 170, 225, 0.2);
  color: #0d3647;
  text-align: center;
}
.kb-cta {
  margin-top: 3rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #0d3647 0%, #16384a 100%);
  color: #fff;
}
.kb-cta h2 {
  color: #fff !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 0.75rem !important;
  font-size: 1.45rem !important;
}
.kb-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}
.kb-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.kb-cta-primary,
.kb-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none !important;
}
.kb-cta-primary {
  background: #fff;
  color: #0d3647 !important;
}
.kb-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
}
.kb-faq {
  margin-top: 3rem;
  padding-top: 0.5rem;
}
.kb-faq-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(13, 54, 71, 0.08);
}
.kb-faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: #0d3647;
}
.kb-faq-item p {
  margin: 0;
  color: #5b6b75;
  font-size: 0.95rem;
}
.kb-source {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #7a8a94;
}
.kb-back {
  margin-top: 2.5rem;
  font-weight: 600;
}
.kb-back a {
  text-decoration: none;
}
.kb-back a:hover {
  text-decoration: underline;
}

/* Video gallery */
.video-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .video-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 140px;
    gap: 1rem;
  }
}

.video-gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  cursor: pointer;
  background: #0d3647;
  aspect-ratio: 9 / 14;
  isolation: isolate;
  box-shadow: 0 18px 40px -28px rgba(13, 54, 71, 0.55);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.video-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(13, 54, 71, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.video-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-gallery-item:hover,
.video-gallery-item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -24px rgba(13, 54, 71, 0.6);
  outline: none;
}

.video-gallery-item:hover img,
.video-gallery-item:focus-visible img {
  transform: scale(1.08);
}

.video-gallery-item:focus-visible {
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px #27aae1,
    0 26px 50px -24px rgba(13, 54, 71, 0.6);
}

@media (min-width: 768px) {
  .video-gallery-item {
    aspect-ratio: auto;
    grid-column: span 2;
    grid-row: span 2;
  }

  .video-gallery-item--tall {
    grid-row: span 3;
  }

  .video-gallery-item--wide {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.video-gallery-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0d3647;
  transform: translate(-50%, -50%) scale(0.94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.video-gallery-play .material-symbols-outlined {
  font-size: 1.75rem;
  margin-left: 2px;
}

.video-gallery-item:hover .video-gallery-play,
.video-gallery-item:focus-visible .video-gallery-play {
  transform: translate(-50%, -50%) scale(1.06);
  background: #27aae1;
  color: #fff;
}

.video-gallery-meta {
  position: absolute;
  z-index: 2;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.video-gallery-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

body.video-lightbox-open {
  overflow: hidden;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-lightbox[hidden] {
  display: none !important;
}

.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 32, 0.82);
  backdrop-filter: blur(8px);
  animation: videoLbFade 0.28s ease;
}

.video-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(92vh, 920px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  animation: videoLbRise 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  .video-lightbox-dialog {
    width: min(100%, 480px);
  }
}

.video-lightbox-stage {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.video-lightbox-stage video {
  display: block;
  width: 100%;
  max-height: min(78vh, 820px);
  background: #000;
}

.video-lightbox-caption {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 600;
}

.video-lightbox-close,
.video-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0d3647;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.video-lightbox-close:hover,
.video-lightbox-nav:hover,
.video-lightbox-close:focus-visible,
.video-lightbox-nav:focus-visible {
  background: #27aae1;
  color: #fff;
  outline: none;
  transform: scale(1.05);
}

.video-lightbox-close {
  top: -0.35rem;
  right: -0.15rem;
  width: 2.75rem;
  height: 2.75rem;
}

.video-lightbox-nav {
  top: 50%;
  width: 2.65rem;
  height: 2.65rem;
  transform: translateY(-50%);
}

.video-lightbox-prev {
  left: -0.35rem;
}

.video-lightbox-next {
  right: -0.35rem;
}

@media (min-width: 768px) {
  .video-lightbox-prev {
    left: -3.25rem;
  }

  .video-lightbox-next {
    right: -3.25rem;
  }

  .video-lightbox-close {
    top: -0.5rem;
    right: -0.5rem;
  }
}

@keyframes videoLbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes videoLbRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- Mobile / tablet polish (additive; desktop unchanged at >=1024) --- */
img:not(.site-logo-image) {
  max-width: 100%;
}

.calc-summary {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .brand-preview-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero-media {
    min-height: 240px;
    padding: 1.35rem;
  }

  .product-hero-media img {
    max-height: 280px;
  }

  .catalog-hero {
    min-height: min(62vh, 520px);
  }

  .kb-card {
    max-width: none;
  }

  .video-lightbox {
    padding: 0.75rem;
  }

  .video-lightbox-prev {
    left: 0.4rem;
  }

  .video-lightbox-next {
    right: 0.4rem;
  }

  .video-lightbox-close {
    top: 0.4rem;
    right: 0.4rem;
  }
}

@media (max-width: 767px) {
  .lead-magnet-visual {
    transform: none;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-success-line {
    gap: 0.4rem 0.5rem;
  }

  .hero-success-chip {
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
  }

  .calc-shell {
    padding: 1rem;
    border-radius: 1.5rem;
  }

  .calc-panel {
    min-height: 0;
  }

  .calc-progress .flex {
    gap: 0.35rem;
    font-size: 0.7rem;
  }

  .calc-option {
    min-height: 44px;
    padding: 0.85rem 0.9rem;
  }

  .brand-hero-product {
    min-height: 220px;
    padding: 1.25rem;
  }

  .brand-hero-product img {
    max-height: 240px;
  }

  .spec-table {
    font-size: 0.875rem;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.7rem 0.85rem;
  }

  .kb-prose {
    font-size: 1rem;
  }

  .kb-prose h2 {
    font-size: 1.3rem;
  }

  .kb-cta-actions {
    flex-direction: column;
  }

  .kb-cta-primary,
  .kb-cta-secondary {
    width: 100%;
  }

  .kb-advice-actions {
    flex-direction: column;
  }

  .kb-advice-primary,
  .kb-advice-secondary {
    width: 100%;
  }

  /* Model / brand CTA rows: full-width tap targets */
  .product-hero .flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: stretch;
  }

  .product-hero .flex.flex-wrap.gap-3 > a {
    width: 100%;
    justify-content: center;
  }

  .authority-band .flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: stretch;
  }

  .authority-band .flex.flex-wrap.gap-3 > a {
    width: 100%;
    justify-content: center;
  }

  .catalog-cta .flex.flex-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-cta .flex.flex-wrap > a {
    width: 100%;
    justify-content: center;
  }

  /* Prevent iOS zoom on focus */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  #form-wrap,
  #contact-form,
  #quote-wizard {
    max-width: 100%;
  }

  #contact-form input,
  #contact-form select,
  #contact-form textarea,
  #quote-wizard input,
  #quote-wizard select,
  #quote-wizard textarea {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 479px) {
  .hero-bg {
    min-height: auto;
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .page-hero {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .kb-hero-title {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .video-gallery {
    grid-template-columns: 1fr;
  }

  .final-cta-band .flex.flex-row.flex-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta-band .flex.flex-row.flex-wrap > a {
    width: 100%;
    justify-content: center;
  }
}
