:root {
  --ink: #0a0e1a;
  --ink-2: #0f1729;
  --slate: #1f2937;
  --muted: #6b7280;
  --mute-2: #9ca3af;
  --line: #e5e7eb;
  --line-2: #f0f1f3;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-warm: #faf7f2;
  /* Visual accent across the site — now navy (was violet).
     Violet kept for selected brand moments via --brand. */
  --accent: #0a0e1a;
  --accent-dark: #1a1f2e;
  --accent-soft: #f0f1f3;
  --brand: #7c5cfc;
  --brand-dark: #6741e8;
  --brand-soft: #ece8fd;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-optical-sizing: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== TOP UTILITY BAR ===== */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12.5px;
  padding: 9px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
}

.topbar-pill::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  margin-right: 8px;
}

.topbar-right a {
  color: #fff;
}

/* ===== STICKY NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* 10% bigger than before */
  font-size: 34px;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 9px 16px;
  margin-left: 0;
}

/* The nav header ignores the global container max-width so the logo
   sits flush against the left of the viewport, not the content rail */
.nav .container {
  max-width: none;
  padding: 0 20px;
}

.logo span {
  display: block;
}

.logo .logo-accent {
  color: var(--brand);
}

/* top-left frame bracket */
.logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 68%;
  height: 60%;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

/* bottom-right frame bracket */
.logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 68%;
  height: 60%;
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 38px;
  flex: 1;
  margin: 0 14px;
}

.nav-links > a,
.nav-links > .nav-item > a {
  font-size: 16px;
  color: var(--slate);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links > a:hover,
.nav-links > .nav-item > a:hover {
  color: var(--accent);
}

/* ===== NAV DROPDOWN ===== */
.nav-item {
  position: relative;
}

/* Invisible bridge so hover survives the gap to the dropdown */
.nav-item::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -8px;
  right: -8px;
  height: 18px;
}

/* MEGA MENU */
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 640px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 56px -16px rgba(10, 14, 26, 0.22);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

/* Column-count variants for menus with fewer sub-categories */
.mega-grid.cols-1 { grid-template-columns: 1fr; }
.mega-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.mega-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Narrower mega menus for smaller dropdowns */
.mega-menu.narrow { width: 280px; }
.mega-menu.medium { width: 460px; }

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-heading {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.mega-link {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.mega-link span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 1px;
}

.mega-link:hover {
  color: var(--accent);
  padding-left: 4px;
}

.mega-link:hover span {
  color: var(--accent);
}

.mega-cta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mega-cta-text {
  font-size: 13px;
  color: var(--muted);
}

.mega-cta-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.mega-cta-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* COMPACT SUBMENU (multi-category nav) */
.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 36px -10px rgba(10, 14, 26, 0.18);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--slate);
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.submenu a:hover {
  background: var(--bg-soft);
  color: var(--accent);
  padding-left: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background-color: #f7f8fa;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0.02) 100%),
    url('hero-bright.jpg?v=3');
  background-size: cover;
  background-position: center;
  color: var(--ink);
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--brand);
  margin-right: 12px;
}

/* Violet "." accent used on H2 headlines */
.accent {
  color: var(--brand);
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.035em;
  max-width: 880px;
  margin-bottom: 22px;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== TRUST STRIP ===== */
.trust {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-cell {
  padding: 44px 24px;
  text-align: center;
  border-right: 1px solid rgba(124, 92, 252, 0.18);
  transition: background 0.3s ease;
}

.trust-cell:last-child {
  border-right: none;
}

.trust-cell:hover {
  background: rgba(124, 92, 252, 0.04);
}

.trust-num {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 10px;
}

.trust-label {
  font-size: 13px;
  color: var(--slate);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===== SECTION HEAD ===== */
.section {
  padding: 110px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  margin-top: 12px;
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
}

.eyebrow-light {
  color: var(--brand);
}

/* ===== PRODUCT CATEGORIES ===== */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cat-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(10, 14, 26, 0.18);
}

.cat-visual {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cat-visual.windows {
  background: linear-gradient(135deg, #cdd9e3 0%, #aebccc 100%);
}

.win-frame {
  width: 160px;
  height: 200px;
  background: #fff;
  border: 4px solid #3a4d62;
  border-radius: 3px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.win-frame::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: #3a4d62;
  transform: translateY(-50%);
}

.win-frame::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #3a4d62;
  transform: translateX(-50%);
}

.cat-visual.doors {
  background: linear-gradient(135deg, #e8d6bd 0%, #c9a87b 100%);
}

.door-frame {
  width: 110px;
  height: 220px;
  background: linear-gradient(#5a3f24, #6e4f30);
  border-radius: 4px 4px 0 0;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.door-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 2px;
}

.door-panel.p1 {
  top: 22px;
  height: 50px;
}

.door-panel.p2 {
  top: 84px;
  height: 50px;
}

.door-handle {
  position: absolute;
  right: 14px;
  top: 56%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4a247;
  box-shadow: 0 0 12px rgba(124, 92, 252, 0.5);
}

.cat-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.cat-body h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.cat-body p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.tag {
  font-size: 11.5px;
  padding: 4px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--slate);
}

.cat-link {
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.cat-card:hover .cat-link {
  gap: 12px;
}

/* ===== FEATURE ROWS (Korniche-style alternating image/text) ===== */
/* ===== PRODUCT CAROUSEL ===== */
.carousel-section {
  padding: 96px 0;
  background: #fff;
}

.carousel-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 24px;
}

.carousel-head .eyebrow {
  justify-content: center;
}

.carousel-head h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  margin-top: 12px;
}

.carousel {
  /* Sits inside a gutter so the images don't touch the viewport edge */
  position: relative;
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 24px 56px -20px rgba(10, 14, 26, 0.18);
}
.carousel-section {
  padding-left: 24px;
  padding-right: 24px;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.carousel-slide .slide-img {
  min-height: 580px;
  background-size: cover;
  background-position: center;
}

.carousel-slide .slide-img.ph {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide .slide-text {
  padding: 60px clamp(32px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-soft);
}

.carousel-slide .slide-text h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
  font-weight: 500;
}

.carousel-slide .slide-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 460px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  font-size: 28px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(10, 14, 26, 0.18);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  line-height: 1;
  padding: 0 0 4px 0;
}

.carousel-arrow.prev { left: 24px; }
.carousel-arrow.next { right: 24px; }

.carousel-arrow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.08);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dots .dot.active {
  background: var(--brand);
  transform: scale(1.25);
}

@media (max-width: 900px) {
  .carousel-section {
    padding: 56px 12px;
  }
  .carousel {
    border-radius: 14px;
  }
  .carousel-head {
    margin-bottom: 32px;
  }
  .carousel-slide {
    grid-template-columns: 1fr;
  }
  .carousel-slide .slide-img {
    min-height: 340px;
  }
  .carousel-slide .slide-text {
    padding: 36px 24px;
  }
  .carousel-arrow {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
  .carousel-arrow.prev { left: 10px; }
  .carousel-arrow.next { right: 10px; }
}

/* ===== VIDEO STORY BLOCK (homepage — owner will swap placeholder for a real video) ===== */
.video-block {
  padding: 100px 24px;
  background: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

/* Dark placeholder box that mimics the look of a paused video.
   When the owner adds a real <video> element it'll inherit .video-frame styles below. */
.video-placeholder,
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0a0e1a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 56px -20px rgba(10, 14, 26, 0.28);
}

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-placeholder:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 64px -20px rgba(10, 14, 26, 0.34);
}

/* Centred white play button */
.video-play {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.video-placeholder:hover .video-play {
  transform: scale(1.08);
}

.video-play svg {
  width: 30px;
  height: 30px;
  fill: var(--ink);
  margin-left: 4px;
}

/* Right column: headline, body copy, CTA */
.video-text h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 28px;
  color: var(--ink);
}

.video-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0 0 18px;
  max-width: 540px;
}

.video-text .btn {
  margin-top: 16px;
}

@media (max-width: 900px) {
  .video-block {
    padding: 64px 12px;
  }
  .video-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .video-play {
    width: 64px;
    height: 64px;
  }
  .video-play svg {
    width: 24px;
    height: 24px;
  }
}

/* ===== THINK BLOCK (dark brand statement with violet bracket frame) ===== */
.think-block {
  padding: 110px 24px 100px;
  background: var(--ink);
  color: #fff;
}

.think-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

/* Bracket-framed headline — corner Ls mirror The Frame Yard logo */
.think-headline {
  position: relative;
  display: inline-block;
  padding: 56px 80px;
  margin-bottom: 72px;
}

.think-headline h2 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
}

.think-accent {
  color: var(--brand);
}

/* Four L-shaped corner brackets in violet */
.bracket {
  position: absolute;
  width: 72px;
  height: 72px;
  border: 4px solid var(--brand);
}
.bracket-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.bracket-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.bracket-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.bracket-br { bottom: 0; right: 0; border-left: none; border-top: none; }

/* Four-up icon row beneath */
.think-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}

.think-icon {
  text-align: center;
}

.think-icon svg {
  width: 44px;
  height: 44px;
  fill: var(--brand);
  margin: 0 auto 14px;
  display: block;
}

.think-icon-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
  font-weight: 500;
}

@media (max-width: 900px) {
  .think-block { padding: 72px 12px; }
  .think-headline { padding: 36px 32px; margin-bottom: 48px; }
  .bracket { width: 44px; height: 44px; border-width: 3px; }
  .think-icons { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

/* ===== COVERAGE (UK service-area reassurance block) ===== */
.coverage {
  padding: 110px 24px 100px;
  background: #fff;
  text-align: center;
}

.coverage-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Bold uppercase headline, fits on 2–3 lines on desktop */
.coverage-headline {
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
  max-width: 920px;
  margin: 0 auto 32px;
}

.coverage-intro {
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  max-width: 760px;
  margin: 0 auto 36px;
}

/* Flow-wrapped checklist of regions */
.coverage-regions {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 880px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 30px;
}

.coverage-regions li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
}

.coverage-regions .check {
  color: var(--brand);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.coverage-close {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .coverage { padding: 64px 16px; }
  .coverage-regions { gap: 12px 20px; }
  .coverage-regions li { font-size: 16px; }
}

/* ===== GALLERY (Our work) ===== */
.gallery {
  padding: 100px 0;
  background: var(--bg-soft);
}

.gallery-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.gallery-head .eyebrow {
  justify-content: center;
}

.gallery-head h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
}

.gallery-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-tile {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.6) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -16px rgba(10, 14, 26, 0.28);
}

.gallery-tile:hover::after {
  opacity: 1;
}

.gallery-tile .label {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 20px;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  z-index: 2;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-tile:hover .label {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .gallery {
    padding: 64px 0;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-head {
    margin-bottom: 36px;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== USP / VALUE-PROP CARDS ===== */
.usp {
  padding: 100px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.usp-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.usp-head h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.usp-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

.usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px 56px;
}

.usp-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.usp-icon {
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usp-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.usp-text h4 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.usp-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .usp {
    padding: 64px 0;
  }
  .usp-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .usp-head {
    margin-bottom: 40px;
  }
}

.feature {
  /* Adds the side gutter so the image rows don't touch the viewport edge */
  padding: 96px 24px 0;
}

.feature .feature-intro {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
  padding: 0 32px;
}

.feature .feature-intro .eyebrow {
  justify-content: center;
}

.feature .feature-intro h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
}

.feature .feature-intro p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto 20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px -16px rgba(10, 14, 26, 0.14);
}

.feature-img {
  min-height: 580px;
  background-size: cover;
  background-position: center;
}

.feature-img.ph {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 41, 0.45);
  font-weight: 500;
}

.feature-text {
  padding: 72px clamp(32px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-row:nth-child(even) .feature-text {
  background: var(--bg-soft);
}

.feature-text h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.03em;
  margin: 12px 0 16px;
}

.feature-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 460px;
}

/* reverse = image on the right */
.feature-row.reverse .feature-img {
  order: 2;
}

@media (max-width: 900px) {
  .feature {
    padding: 64px 12px 0;
  }

  .feature .feature-intro {
    margin-bottom: 40px;
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    border-radius: 14px;
    margin-bottom: 14px;
  }

  .feature-row.reverse .feature-img {
    order: 0;
  }

  .feature-img {
    min-height: 380px;
  }

  .feature-text {
    padding: 44px 24px;
  }
}

/* ===== WHY US ===== */
.why {
  background: var(--bg-soft);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ===== PROCESS (4 steps with violet bracket frames + big numbers) ===== */
.process {
  background: #fff;
  color: var(--ink);
  padding: 56px 0 90px;
}

.process-head {
  margin-bottom: 48px;
}

.process-head .eyebrow {
  color: var(--brand);
}
.process-head .eyebrow::before {
  background: var(--brand);
}

.process-head h2 {
  font-size: clamp(36px, 5.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 14px 0 0;
  color: var(--ink);
}
.process-head h2 .accent {
  color: var(--brand);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  border-top: none;
}

.step {
  position: relative;
  padding: 36px 0 0;
  border: none;
}

/* Top-left bracket — single violet L corner, like the bracket frames on the logo */
.step-bracket {
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-top: 3px solid var(--brand);
  border-left: 3px solid var(--brand);
}

.step-num {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(40px, 4.5vw, 60px);
  color: var(--brand);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.step h4 {
  color: var(--ink);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.step h4 .accent {
  color: var(--brand);
}

.step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  padding-right: 8px;
}

@media (max-width: 900px) {
  .process { padding: 64px 0; }
  .process-head { margin-bottom: 48px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .step-bracket { width: 24px; height: 24px; border-width: 2px; }
}

@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== PARTNERS ===== */
.partners {
  padding: 64px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.partners-label {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  font-weight: 500;
}

.partners-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  align-items: center;
}

.partner {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--mute-2);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.partner:hover {
  color: var(--ink);
}

/* ===== TESTIMONIAL ===== */
.testimonial {
  padding: 110px 0;
  background: var(--bg-warm);
}

.quote-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.quote-mark {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 80px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  font-style: italic;
}

.quote-text {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.quote-attr {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.quote-attr strong {
  color: var(--ink);
  font-weight: 500;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 110px 0;
  background: var(--ink);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(124, 92, 252, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(124, 92, 252, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.final-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.final-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: #06080f;
  color: rgba(255, 255, 255, 0.55);
  padding: 64px 0 32px;
  font-size: 14px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.foot-brand .logo {
  color: #fff;
  display: inline-flex;
  margin-bottom: 16px;
}

.foot-brand .logo .logo-accent {
  color: var(--brand);
}

.foot-desc {
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 20px;
}

.foot-meta {
  font-size: 13px;
}

.foot-col h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.foot-col ul li {
  margin-bottom: 10px;
}

.foot-col ul a {
  transition: color 0.2s ease;
}

.foot-col ul a:hover {
  color: #fff;
}

.foot-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.foot-bottom-right a {
  margin: 0 4px;
  transition: color 0.2s ease;
}

.foot-bottom-right a:hover {
  color: #fff;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.8s ease both;
}

.reveal.d1 { animation-delay: 0.1s; }
.reveal.d2 { animation-delay: 0.2s; }
.reveal.d3 { animation-delay: 0.3s; }
.reveal.d4 { animation-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .container {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 80px 0;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-cell:nth-child(1),
  .trust-cell:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .trust-cell:nth-child(2) {
    border-right: none;
  }

  .trust-cell:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .step {
    padding: 28px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .step:nth-child(odd) {
    border-right: 1px solid var(--line);
    padding-right: 24px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .topbar {
    font-size: 11px;
  }

  .section {
    padding: 72px 0;
  }

  .testimonial,
  .final-cta {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .partners-row {
    gap: 28px;
  }

  .partner {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .topbar-pill {
    display: none;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }
}

/* ============================================
   WINDOWS / PRODUCT-LISTING PAGE
   ============================================ */

/* Active nav link */
.nav-links a.active {
  color: var(--accent);
  position: relative;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--accent);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--ink-2);
  color: #fff;
  padding: 80px 0 60px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
}

.breadcrumb a {
  color: #fff;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.page-header .lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  line-height: 1.6;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  background: #fff;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 128px;
  z-index: 40;
}

.filter-bar .container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.filter-pill {
  font-size: 13px;
  padding: 5px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.filter-pill:hover {
  border-color: var(--ink);
}

.filter-pill.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ===== PRODUCT GRID ===== */
.products {
  padding: 80px 0;
  background: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(10, 14, 26, 0.18);
}

.product-visual {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-visual.upvc {
  background: linear-gradient(135deg, #cdd9e3 0%, #aebccc 100%);
}

.product-visual.aluminium {
  background: linear-gradient(135deg, #d4d6d8 0%, #a8acaf 100%);
}

.product-visual.timber {
  background: linear-gradient(135deg, #e8d6bd 0%, #c9a87b 100%);
}

/* Reusable window drawing primitive */
.win {
  --frame: #3a4d62;
  background: #fff;
  border: 4px solid var(--frame);
  border-radius: 3px;
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.win.alu { --frame: #4a5158; }
.win.timber { --frame: #5a3f24; }

/* Mullions: horizontal & vertical */
.win > .mh {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--frame);
}

.win > .mv {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--frame);
}

.win > .mh.t33 { top: 33%; }
.win > .mh.b33 { top: 66%; }
.win > .mh.center { top: 50%; transform: translateY(-50%); }
.win > .mh.thick { height: 6px; }

.win > .mv.center { left: 50%; transform: translateX(-50%); }
.win > .mv.l33 { left: 33%; }
.win > .mv.r33 { left: 66%; }

/* Window size variants per product */
.w-casement   { width: 140px; height: 170px; }
.w-tilt       { width: 130px; height: 180px; }
.w-sash       { width: 110px; height: 180px; }
.w-alu-cas    { width: 150px; height: 160px; }
.w-bifold     { width: 200px; height: 140px; }
.w-fixed      { width: 200px; height: 130px; }
.w-tim-cas    { width: 140px; height: 170px; }
.w-tim-sash   { width: 110px; height: 180px; }

/* Bay window (3 frames in perspective) */
.win-bay {
  display: flex;
  height: 170px;
  align-items: stretch;
  perspective: 600px;
}

.win-bay .win {
  height: 100%;
  border-radius: 2px;
}

.win-bay .bay-side {
  width: 50px;
  transform: rotateY(35deg);
  transform-origin: right center;
}

.win-bay .bay-side.right {
  transform: rotateY(-35deg);
  transform-origin: left center;
}

.win-bay .bay-center {
  width: 90px;
  z-index: 2;
}

/* Product card body */
.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 500;
}

.product-body h3 {
  font-size: 18px;
  margin: 6px 0 8px;
}

.product-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-lead {
  font-size: 12px;
  color: var(--slate);
  font-weight: 500;
}

.product-quote {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s ease;
}

.product-card:hover .product-quote {
  gap: 8px;
}

/* ===== CTA STRIP ===== */
.cta-strip {
  padding: 80px 0;
  background: var(--bg-soft);
  text-align: center;
}

.cta-strip h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-strip p {
  color: var(--muted);
  font-size: 16px;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ===== RESPONSIVE OVERRIDES (windows page) ===== */
@media (max-width: 900px) {
  .page-header {
    padding: 56px 0 40px;
  }

  .filter-bar {
    padding: 16px 0;
    top: 128px;
  }

  .filter-bar .container {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .filter-pill {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .products {
    padding: 56px 0;
  }

  .cta-strip {
    padding: 56px 0;
  }
}

@media (max-width: 560px) {
  .page-header {
    padding: 40px 0 32px;
  }

  .breadcrumb {
    margin-bottom: 20px;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ===== FORM HEAD ===== */
.form-head h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.form-subtitle {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 32px;
  line-height: 1.55;
}

/* ===== FORM ===== */
.contact-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 18px;
}

.form-row.cols-2 {
  grid-template-columns: 1fr 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  display: block;
}

.form-label .req {
  color: var(--brand);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  line-height: 1.5;
}

.form-help {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-submit {
  padding: 14px 28px;
  font-size: 14.5px;
  justify-self: start;
}

/* ===== FORM SUCCESS ===== */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success.is-active {
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brand);
  margin: 0 auto 20px;
  position: relative;
}

.success-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 48%;
  width: 20px;
  height: 11px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translate(-50%, -55%) rotate(-45deg);
  border-bottom-left-radius: 2px;
}

.form-success h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.form-success > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 14px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.success-note {
  font-size: 13px;
  color: var(--muted);
}

/* ===== RIGHT COLUMN — CONTACT INFO ===== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-head h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.contact-blocks {
  display: flex;
  flex-direction: column;
}

.contact-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--ink);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
  font-family: 'Apple Symbols', 'Segoe UI Symbol', sans-serif;
}

.contact-text {
  flex: 1;
  min-width: 0;
}

.contact-label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  display: block;
  transition: color 0.2s ease;
}

a.contact-value:hover {
  color: var(--accent);
}

.contact-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 400;
}

/* ===== NEXT STEPS CARD ===== */
.next-steps {
  background: var(--bg-soft);
  padding: 24px;
  border-radius: 10px;
}

.next-steps h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
}

.next-steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.next-steps li {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  color: var(--slate);
}

.next-steps li:last-child {
  margin-bottom: 0;
}

.next-num {
  width: 22px;
  height: 22px;
  background: var(--brand);
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== REASSURANCE STRIP ===== */
.reassure {
  padding: 60px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reassure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.reassure-cell {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.reassure-cell:last-child {
  border-right: none;
}

.reassure-icon {
  width: 24px;
  height: 24px;
  background: var(--ink);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.reassure-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.reassure-sub {
  font-size: 12px;
  color: var(--muted);
}

/* ===== CONTACT PAGE RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-section {
    padding: 56px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .form-row.cols-2 {
    grid-template-columns: 1fr;
  }

  .form-submit {
    justify-self: stretch;
    width: 100%;
    justify-content: center;
  }

  .reassure {
    padding: 40px 0;
  }

  .reassure-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }

  .reassure-cell {
    border-right: 1px solid var(--line);
  }

  .reassure-cell:nth-child(2),
  .reassure-cell:nth-child(4) {
    border-right: none;
  }
}

@media (max-width: 560px) {
  .reassure-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .reassure-cell {
    border-right: none;
  }
}

/* ============================================
   DOORS PAGE — door drawing primitives
   ============================================ */

/* Composite warm gradient (same as homepage door tile) */
.product-visual.composite {
  background: linear-gradient(135deg, #e8d6bd 0%, #c9a87b 100%);
}

/* Reusable door */
.door {
  --door-bg: #2a2e36;
  --frame: rgba(0, 0, 0, 0.35);
  --handle: #d4c587;
  background: var(--door-bg);
  border: 3px solid var(--frame);
  border-radius: 4px 4px 0 0;
  position: relative;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Subtle highlight overlay for depth */
.door::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
  border-radius: inherit;
}

/* Colour variants */
.door.anthracite { --door-bg: #2a2e36; }
.door.cream      { --door-bg: #e6dcc8; --frame: #a89472; }
.door.blue       { --door-bg: #2c4a6b; }
.door.white      { --door-bg: #f4f2ee; --frame: #b9b3a8; }
.door.graphite   { --door-bg: #3a3d40; }

/* Glass panels */
.glass {
  position: absolute;
  background: linear-gradient(160deg, rgba(186, 215, 235, 0.82) 0%, rgba(140, 175, 205, 0.55) 100%);
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 1px;
  z-index: 2;
}

.glass.strip-3 {
  top: 18px; left: 14px; right: 14px; height: 38px;
  background:
    linear-gradient(to right, transparent 32%, rgba(0,0,0,0.35) 32%, rgba(0,0,0,0.35) 34%, transparent 34%, transparent 66%, rgba(0,0,0,0.35) 66%, rgba(0,0,0,0.35) 68%, transparent 68%),
    linear-gradient(160deg, rgba(186, 215, 235, 0.82) 0%, rgba(140, 175, 205, 0.55) 100%);
}

.glass.leaded {
  top: 16px; left: 14px; right: 14px; height: 80px;
  background:
    linear-gradient(45deg, transparent 47%, rgba(0,0,0,0.35) 49%, rgba(0,0,0,0.35) 51%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(0,0,0,0.35) 49%, rgba(0,0,0,0.35) 51%, transparent 53%),
    linear-gradient(160deg, rgba(186, 215, 235, 0.82) 0%, rgba(140, 175, 205, 0.55) 100%);
  background-size: 16px 16px, 16px 16px, 100% 100%;
}

.glass.full-side {
  top: 14px; bottom: 14px; left: 14px; width: 22px;
}

.glass.twin-top {
  top: 36px; left: 18px; width: 28px; height: 28px;
}

.glass.twin-top-2 {
  top: 36px; right: 18px; width: 28px; height: 28px;
}

.glass.upper {
  top: 14px; left: 14px; right: 14px; height: 70px;
}

.glass.full-pane {
  inset: 14px;
}

.glass.full-pane-mid {
  inset: 14px;
}

.glass.full-pane-mid::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 2px;
  background: rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

/* Stable door divider */
.stable-divider {
  position: absolute;
  left: -3px; right: -3px;
  top: 50%;
  height: 5px;
  background: rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
  z-index: 3;
}

/* Door handles */
.door-handle-pill {
  position: absolute;
  width: 4px;
  height: 24px;
  background: var(--handle);
  border-radius: 999px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(124, 92, 252, 0.35);
  z-index: 3;
}

.door-handle-pull {
  position: absolute;
  width: 4px;
  height: 50px;
  background: #c5cdd3;
  border-radius: 999px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

/* Size variants for single-leaf doors */
.door.size-front  { width: 110px; height: 220px; }
.door.size-stable { width: 110px; height: 220px; }

/* Pair / multi-leaf groupings */
.door-pair {
  display: flex;
  height: 220px;
}

.door-pair .door {
  flex: 1;
  height: 100%;
  border-radius: 4px 4px 0 0;
}

.door-pair .door:first-child {
  border-right-width: 1.5px;
}

.door-pair .door:last-child {
  border-left-width: 1.5px;
}

.door-bifold {
  display: flex;
  height: 200px;
}

.door-bifold .door {
  width: 50px;
  height: 100%;
  border-left-width: 2px;
  border-right-width: 2px;
}

.door-patio {
  display: flex;
  height: 170px;
}

.door-patio .door {
  width: 95px;
  height: 100%;
}

.door-patio .door:first-child {
  border-right-width: 2px;
}

/* Slider track suggestion */
.door-patio::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 4px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  width: 100%;
}

.door-patio {
  position: relative;
}

/* ============================================
   TRADE ACCOUNT PAGE
   ============================================ */

.benefits {
  padding: 80px 0;
  background: var(--bg-soft);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 18px;
}

.benefit-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.benefit-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* What we need (requirements) */
.requirements {
  padding: 80px 0;
  background: #fff;
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.requirements-text h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.requirements-text p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 460px;
}

.requirements-list {
  background: var(--bg-soft);
  padding: 28px;
  border-radius: 10px;
  list-style: none;
}

.requirements-list li {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.55;
}

.requirements-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.requirements-list li:first-child {
  padding-top: 0;
}

.req-check {
  width: 20px;
  height: 20px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Apply form section */
.apply-section {
  padding: 80px 0;
  background: var(--bg-soft);
}

.apply-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.apply-section .form-head {
  text-align: center;
  margin-bottom: 36px;
}

.apply-section .form-head p {
  max-width: 520px;
  margin: 0 auto;
}

.apply-section .contact-form {
  background: #fff;
  padding: 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.terms-link {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .benefits {
    padding: 56px 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .requirements {
    padding: 56px 0;
  }

  .requirements-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .apply-section {
    padding: 56px 0;
  }

  .apply-section .contact-form {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FLOATING SOCIAL WIDGET
   ============================================ */

.social-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  filter: brightness(1.05);
}

.social-btn:active {
  transform: translateY(0) scale(1);
}

.social-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Email icon uses violet so it pops on both light and dark backgrounds.
   Strong white border + shadow ring guarantees the circle is visible
   even when scrolling over the dark navy "think" or "process" sections. */
.social-btn.email {
  background: var(--brand);
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(124, 92, 252, 0.4);
}

.social-btn.instagram,
.social-btn.whatsapp {
  border: 2px solid #fff;
}

.social-btn.whatsapp {
  background: #25D366;
}

@media (max-width: 560px) {
  .social-widget {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
  .social-btn {
    width: 44px;
    height: 44px;
  }
  .social-btn svg {
    width: 20px;
    height: 20px;
  }
}


/* ============================================
   PRODUCT PAGE TEMPLATE
   ============================================ */

/* Product page breadcrumb */
.pp-breadcrumb {
  padding: 22px 0;
  font-size: 13.5px;
  color: var(--muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.pp-breadcrumb a {
  color: var(--slate);
  transition: color 0.2s ease;
}
.pp-breadcrumb a:hover {
  color: var(--accent);
}
.pp-breadcrumb .sep {
  margin: 0 8px;
  color: var(--mute-2);
}

/* Product hero (split: text left, image right) */
.product-hero {
  padding: 80px 0 100px;
  background: #fff;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
  font-weight: 500;
}
.product-hero-text .tagline {
  font-size: 19px;
  color: var(--slate);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 18px;
}
.product-hero-text p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}
.product-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost-dark:hover {
  background: var(--bg-soft);
  border-color: var(--ink);
}
.product-hero-img {
  min-height: 540px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 28px 64px -20px rgba(10, 14, 26, 0.22);
}
.product-hero-img.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

/* ===== KEY BENEFITS (icon-led checklist inside product-hero, left col) ===== */
.key-benefits-heading {
  font-size: 17px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
  margin: 28px 0 14px;
}

/* Single-column for consistent line breaks — each benefit gets a violet
   check icon at the start, not a generic bullet dot */
.key-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.key-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--slate);
}

.kb-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--brand);
  margin-top: 2px;
}

/* ===== SPEC GRID (trade-level benefits, 2-col icon list under hero) ===== */
.spec-grid-section {
  padding: 90px 0 100px;
  background: var(--bg-soft);
}

/* Heading row that gives the spec grid context */
.spec-grid-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.spec-grid-head .eyebrow {
  justify-content: center;
}
.spec-grid-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 12px 0 0;
  color: var(--ink);
  line-height: 1.15;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 64px;
  max-width: 1080px;
  margin: 0 auto;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}

.spec-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  fill: var(--brand);
}

@media (max-width: 900px) {
  .spec-grid-section { padding: 56px 0; }
  .spec-grid-head { margin-bottom: 36px; }
  .spec-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 8px; }
  .spec-item { font-size: 15px; gap: 14px; }
  .spec-icon { width: 28px; height: 28px; }
}

/* FAQ accordion (uses native <details>/<summary>) */
.pp-faq-section {
  padding: 90px 0;
  background: var(--bg-soft);
}
.pp-faq {
  max-width: 820px;
  margin: 0 auto;
}
.pp-faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
}
.pp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  letter-spacing: -0.01em;
}
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after {
  content: '+';
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.2s ease;
  margin-left: 16px;
  line-height: 1;
}
.pp-faq details[open] summary::after {
  content: '\2212';
}
.pp-faq details p {
  padding: 0 24px 22px;
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .product-hero {
    padding: 48px 0 64px;
  }
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .product-hero-img {
    min-height: 360px;
  }
  .pp-faq-section {
    padding: 56px 0;
  }
}

/* ============================================
   CATEGORY LANDING PAGE (doors/windows/blinds/glass)
   ============================================ */
/* Outer section provides the side gutter so the photo doesn't touch the viewport edge */
.cp-hero {
  padding: 24px;
  background: transparent;
}

/* Inner wrapper holds the actual photo + tint + text */
.cp-hero-bg {
  position: relative;
  min-height: 56vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 90px 0;
  background-color: var(--bg-soft);
  border-radius: 20px;
  overflow: hidden;
}

/* Dark tint overlay — fades in on hover so the product name has contrast */
.cp-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.35) 0%, rgba(10, 14, 26, 0.62) 100%);
  opacity: 1;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.cp-hero-bg .container {
  position: relative;
  z-index: 2;
}

/* Hero text — white over the tinted image. Fades in alongside the tint. */
.cp-hero-card {
  max-width: 680px;
  color: #fff;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.cp-hero-card .eyebrow {
  color: #fff;
  margin-bottom: 16px;
}
.cp-hero-card .eyebrow::before {
  background: #fff;
}
.cp-hero-card h1 {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 18px;
  font-weight: 500;
  line-height: 1.05;
}
.cp-hero-card .tagline {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  margin: 0;
}

/* On hover-capable devices: hide tint + text by default, reveal on hover.
   Touch devices fall back to the always-visible state above. */
@media (hover: hover) {
  .cp-hero-bg::before { opacity: 0; }
  .cp-hero-card {
    opacity: 0;
    transform: translateY(12px);
  }
  .cp-hero-bg:hover::before { opacity: 1; }
  .cp-hero-bg:hover .cp-hero-card {
    opacity: 1;
    transform: translateY(0);
  }
}

.cp-intro {
  padding: 90px 0 60px;
  background: #fff;
}
.cp-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: center;
}
.cp-intro h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.03em;
  font-weight: 500;
}
.cp-intro p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.cp-intro p:last-child { margin-bottom: 0; }

.cp-featured-img {
  padding: 40px 0 110px;
  background: #fff;
}
.cp-featured-img-wrap {
  width: 100%;
  height: clamp(400px, 55vw, 680px);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 28px 64px -20px rgba(10, 14, 26, 0.18);
}

.cp-grid-section {
  padding: 90px 0;
  background: var(--bg-soft);
}
.cp-grid-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.cp-grid-head .eyebrow {
  justify-content: center;
}
.cp-grid-head h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  margin-top: 12px;
  font-weight: 500;
}
.cp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cp-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  color: var(--ink);
}
.cp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(10, 14, 26, 0.18);
}
.cp-card-img {
  height: 320px;
  background-size: cover;
  background-position: center;
}
.cp-card-img.ph {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp-card-body {
  padding: 22px 24px 26px;
}
.cp-card h3 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 500;
}
.cp-card-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .cp-hero { padding: 12px; }
  .cp-hero-bg { min-height: 48vh; padding: 60px 0; border-radius: 14px; }
  .cp-hero-card { padding: 0; }
  .cp-intro { padding: 56px 0 40px; }
  .cp-intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .cp-featured-img { padding: 24px 0 56px; }
  .cp-grid-section { padding: 56px 0; }
  .cp-grid { grid-template-columns: 1fr; gap: 20px; }
  .cp-card-img { height: 280px; }
}

/* ============================================
   MOBILE NAV (hamburger + full-screen overlay)
   ============================================ */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  position: relative;
  z-index: 110;
  margin-left: auto;
  margin-right: -10px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  /* Show hamburger, hide quote button next to logo on phone */
  .nav-toggle { display: block; }

  /* Hide the desktop quote button next to logo; the menu overlay has its own */
  .nav .container > .btn-primary { display: none; }

  /* Turn nav-links into a full-screen sliding panel */
  .nav-links {
    position: fixed;
    inset: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 100px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 100;
    margin: 0;
    overflow-y: auto;
  }

  body.menu-open .nav-links {
    transform: translateX(0);
  }

  body.menu-open {
    overflow: hidden;
  }

  .nav-links > a,
  .nav-links > .nav-item > a {
    font-size: 22px;
    color: var(--ink);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
    display: block;
    white-space: normal;
    text-align: left;
  }

  /* In mobile menu, simplify dropdowns — show sub-items inline below the top-level */
  .nav-item .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    box-shadow: none;
    background: transparent;
    padding: 0 0 18px;
    width: auto;
    border: 0;
    min-width: 0;
  }

  .nav-item .mega-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .nav-item .mega-heading {
    text-align: left;
    font-size: 13px;
    color: var(--muted);
    border-bottom: 0;
    padding: 4px 0 0;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
  }

  .nav-item .mega-link {
    padding: 8px 0 8px 12px;
    font-size: 16px;
    color: var(--slate);
    border-bottom: 0;
  }

  /* Add an explicit "Get a quote" inside the mobile menu */
  .nav-links::after {
    content: '';
    display: block;
    height: 24px;
  }

  /* Body-level scrim behind the open menu */
  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, 0.4);
    z-index: 95;
    pointer-events: none;
  }
}


/* ============================================================
   V2 REBUILD — Checkatrade-format layout system
   All rules scoped to body.page-v2 so unmigrated pages keep
   their original look. As each page is migrated, add
   class="page-v2" to its <body> tag.
   ============================================================ */

body.page-v2 {
  background: #fff;
  color: var(--ink);
}

body.page-v2 .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Nav restyle (keeps existing HTML structure + mega menus) --- */
body.page-v2 .nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.page-v2 .nav .container {
  max-width: 1240px;
  padding: 0 32px;
}
body.page-v2 .logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  flex-direction: row;
  gap: 3px;
  padding: 6px 0;
  margin: 0;
  color: var(--ink);
}
body.page-v2 .logo::before,
body.page-v2 .logo::after {
  display: none;
}
body.page-v2 .logo .logo-accent { color: var(--brand); }
body.page-v2 .nav-links {
  gap: 32px;
  justify-content: center;
  flex: 1;
  margin: 0 24px;
}
body.page-v2 .nav-links > a,
body.page-v2 .nav-links > .nav-item > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate);
  padding: 6px 0;
}
body.page-v2 .nav-links > a:hover,
body.page-v2 .nav-links > .nav-item > a:hover { color: var(--brand); }
body.page-v2 .nav .btn-primary {
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(124, 92, 252, 0.28);
  border: 0;
}
body.page-v2 .nav .btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 6px 14px rgba(124, 92, 252, 0.34);
}

/* --- V2 HERO — rating badge + big headline + pill search --- */
body.page-v2 .hero-v2 {
  padding: 84px 0 68px;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(124, 92, 252, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 80%, rgba(124, 92, 252, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
}
body.page-v2 .rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13.5px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(10, 14, 26, 0.05);
}
body.page-v2 .rating-badge .stars {
  color: var(--star);
  letter-spacing: -1px;
  font-size: 15px;
  line-height: 1;
}
body.page-v2 .rating-badge b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
body.page-v2 .rating-badge span { color: var(--muted); }

body.page-v2 .hero-v2 h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 0 auto 22px;
  max-width: 940px;
  color: var(--ink);
  text-wrap: balance;
}
body.page-v2 .hero-v2 h1 em {
  font-style: normal;
  color: var(--brand);
}
body.page-v2 .hero-v2 .lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--slate);
  max-width: 620px;
  margin: 0 auto 40px;
}

/* Pill search form — Checkatrade signature */
body.page-v2 .quote-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 12px 32px -10px rgba(10, 14, 26, 0.14), 0 4px 10px rgba(10, 14, 26, 0.04);
}
body.page-v2 .qs-cell {
  flex: 1;
  padding: 12px 22px;
  text-align: left;
  position: relative;
}
body.page-v2 .qs-cell + .qs-cell {
  border-left: 1px solid var(--line-soft, #eef0f4);
}
body.page-v2 .qs-cell .lbl {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 4px;
}
body.page-v2 .qs-cell select,
body.page-v2 .qs-cell input {
  border: 0;
  padding: 0;
  background: transparent;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  width: 100%;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
body.page-v2 .qs-cell select:focus,
body.page-v2 .qs-cell input:focus { outline: none; }
body.page-v2 .qs-submit {
  background: var(--brand);
  color: #fff;
  border: 0;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 14px rgba(124, 92, 252, 0.32);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}
body.page-v2 .qs-submit:hover {
  background: var(--brand-dark);
  box-shadow: 0 8px 18px rgba(124, 92, 252, 0.38);
}

/* --- V2 TRUST STRIP --- */
body.page-v2 .trust-strip-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
body.page-v2 .trust-cell-v2 {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}
body.page-v2 .trust-cell-v2:last-child { border-right: none; }
body.page-v2 .trust-cell-v2 .num {
  font-size: 36px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}
body.page-v2 .trust-cell-v2 .lbl {
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 10px;
}

/* --- V2 CATEGORY TILES --- */
body.page-v2 .cats-v2 { padding: 96px 0; background: #fff; }
body.page-v2 .cats-v2-head { text-align: center; margin-bottom: 52px; }
body.page-v2 .cats-v2-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  text-wrap: balance;
  color: var(--ink);
}
body.page-v2 .cats-v2-head h2 em { font-style: normal; color: var(--brand); }
body.page-v2 .cats-v2-head p { margin: 0; font-size: 15px; color: var(--muted); }
body.page-v2 .cats-v2-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
body.page-v2 .cat-tile {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  display: block;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
body.page-v2 .cat-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(10, 14, 26, 0.2);
  border-color: var(--brand-soft);
}
body.page-v2 .cat-tile .cat-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}
body.page-v2 .cat-tile .cat-body { padding: 18px 20px 22px; }
body.page-v2 .cat-tile .cat-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
body.page-v2 .cat-tile .cat-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
body.page-v2 .cat-tile .stars-sm { color: var(--star); letter-spacing: -0.5px; font-size: 13px; }
body.page-v2 .cat-tile .dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }

/* --- V2 HOW IT WORKS --- */
body.page-v2 .how-v2 {
  padding: 56px 0 80px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
body.page-v2 .how-v2-head { text-align: center; margin-bottom: 36px; }
body.page-v2 .how-v2-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  color: var(--ink);
  text-wrap: balance;
}
body.page-v2 .how-v2-head h2 em { font-style: normal; color: var(--brand); }
body.page-v2 .how-v2-head p { margin: 0; font-size: 14px; color: var(--muted); }
body.page-v2 .how-v2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
body.page-v2 .how-v2-step {
  text-align: center;
  padding: 34px 20px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
body.page-v2 .how-v2-step .num {
  width: 52px;
  height: 52px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(124, 92, 252, 0.32);
  font-variant-numeric: tabular-nums;
}
body.page-v2 .how-v2-step h4 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
body.page-v2 .how-v2-step p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* --- V2 REVIEWS --- */
body.page-v2 .reviews-v2 { padding: 96px 0; background: #fff; }
body.page-v2 .reviews-v2-head { text-align: center; margin-bottom: 52px; }
body.page-v2 .reviews-v2-head .overall {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 20px;
  background: var(--brand-soft);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-dark);
}
body.page-v2 .reviews-v2-head .overall .stars { color: var(--star); font-size: 14px; letter-spacing: -0.5px; }
body.page-v2 .reviews-v2-head .overall b { font-variant-numeric: tabular-nums; }
body.page-v2 .reviews-v2-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
}
body.page-v2 .reviews-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
body.page-v2 .review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
body.page-v2 .review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
body.page-v2 .rev-avatar { display: flex; align-items: center; gap: 12px; }
body.page-v2 .rev-avatar .a-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.page-v2 .rev-avatar .name { font-size: 14px; font-weight: 600; color: var(--ink); }
body.page-v2 .rev-avatar .job { font-size: 12px; color: var(--muted); }
body.page-v2 .rev-stars { color: var(--star); font-size: 14px; letter-spacing: -0.5px; }
body.page-v2 .review-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
}
body.page-v2 .rev-date {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

/* --- V2 FINAL CTA — inverted to white so it contrasts with the dark
   "think" block sitting just above --- */
body.page-v2 .final-cta-v2 {
  background: var(--ink);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  border-top: 0;
}
body.page-v2 .final-cta-v2 h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  text-wrap: balance;
}
body.page-v2 .final-cta-v2 h2 em { font-style: normal; color: var(--brand); }
body.page-v2 .final-cta-v2 p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  margin: 0 auto 36px;
  max-width: 580px;
  line-height: 1.55;
}
body.page-v2 .final-cta-v2 .cta-row {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
body.page-v2 .final-cta-v2 .btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 20px -6px rgba(124, 92, 252, 0.5);
}
body.page-v2 .final-cta-v2 .btn-primary:hover {
  background: var(--brand-dark, #5f43e6);
  color: #fff;
}
body.page-v2 .final-cta-v2 .btn-ghost {
  padding: 14px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  background: transparent;
}
body.page-v2 .final-cta-v2 .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* --- V2 FOOTER --- */
body.page-v2 .footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
body.page-v2 .footer .foot-brand .logo { color: #fff; }
body.page-v2 .footer .foot-brand .logo::before,
body.page-v2 .footer .foot-brand .logo::after { display: none; }
body.page-v2 .footer h5 { color: #fff; }
body.page-v2 .footer .foot-desc { color: rgba(255, 255, 255, 0.65); }

/* --- Responsive --- */
@media (max-width: 900px) {
  body.page-v2 .hero-v2 { padding: 56px 0 44px; }
  body.page-v2 .quote-search {
    flex-direction: column;
    border-radius: 20px;
    padding: 12px;
    gap: 0;
  }
  body.page-v2 .qs-cell {
    border-left: none !important;
    border-bottom: 1px solid var(--line-soft, #eef0f4);
    padding: 12px 18px;
    width: 100%;
  }
  body.page-v2 .qs-cell:nth-last-of-type(1) { border-bottom: none; }
  body.page-v2 .qs-submit {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
    padding: 16px;
  }
  body.page-v2 .trust-strip-v2 { grid-template-columns: 1fr 1fr; }
  body.page-v2 .trust-cell-v2:nth-child(2) { border-right: none; }
  body.page-v2 .trust-cell-v2:nth-child(1),
  body.page-v2 .trust-cell-v2:nth-child(2) { border-bottom: 1px solid var(--line); }
  body.page-v2 .cats-v2 { padding: 64px 0; }
  body.page-v2 .cats-v2-grid { grid-template-columns: 1fr 1fr; }
  body.page-v2 .how-v2 { padding: 64px 0; }
  body.page-v2 .how-v2-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  body.page-v2 .reviews-v2 { padding: 64px 0; }
  body.page-v2 .reviews-v2-grid { grid-template-columns: 1fr; }
  body.page-v2 .final-cta-v2 { padding: 64px 0; }
}

@media (max-width: 560px) {
  body.page-v2 .cats-v2-grid { grid-template-columns: 1fr; }
  body.page-v2 .trust-strip-v2 { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   V2 CATEGORY PAGE (Slice 02)
   Filter sidebar + product-card grid — for doors / windows / blinds / glass
   ============================================================ */

body.page-v2 .catp-hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
body.page-v2 .catp-crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
body.page-v2 .catp-crumb a { color: var(--muted); transition: color 0.2s; }
body.page-v2 .catp-crumb a:hover { color: var(--brand); }
body.page-v2 .catp-crumb .here { color: var(--brand); font-weight: 500; }
body.page-v2 .catp-hero h1 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.05;
}
body.page-v2 .catp-hero .sub {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  max-width: 760px;
  line-height: 1.5;
}
body.page-v2 .catp-hero .sub b { color: var(--ink); font-weight: 600; }

body.page-v2 .catp-body {
  padding: 40px 0 80px;
}

/* Filter sidebar */
body.page-v2 .catp-filters h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 700;
}
body.page-v2 .filter-group { margin-bottom: 28px; }
body.page-v2 .filter-group h5 {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--ink);
}
body.page-v2 .filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page-v2 .filter-list li {
  font-size: 13.5px;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: color 0.15s;
}
body.page-v2 .filter-list li:hover { color: var(--brand); }
body.page-v2 .filter-list li .cb {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}
body.page-v2 .filter-list li .cb.on {
  background: var(--brand);
  border-color: var(--brand);
}
body.page-v2 .filter-list li .cb.on::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") no-repeat center / contain;
}
body.page-v2 .filter-list li .count {
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

/* Product card grid */
body.page-v2 .prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-content: start;
}
body.page-v2 .prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
body.page-v2 .prod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -14px rgba(10, 14, 26, 0.18);
  border-color: var(--brand-soft);
}
body.page-v2 .prod-img {
  aspect-ratio: 4 / 3;
  position: relative;
  background-size: cover;
  background-position: center;
}
body.page-v2 .prod-img .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 100px;
  text-transform: uppercase;
}
body.page-v2 .prod-img .badge.dark { background: var(--ink); }
body.page-v2 .prod-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
body.page-v2 .prod-meta {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
body.page-v2 .prod-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
body.page-v2 .prod-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
body.page-v2 .prod-rating .stars-sm { color: var(--star); letter-spacing: -0.5px; font-size: 13.5px; }
body.page-v2 .prod-rating .rev { color: var(--muted); }
body.page-v2 .prod-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft, #eef0f4);
  margin-top: auto;
}
body.page-v2 .prod-lead {
  font-size: 12.5px;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}
body.page-v2 .prod-lead b { color: var(--ink); }
body.page-v2 .prod-quote {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

/* Responsive */
@media (max-width: 900px) {
  body.page-v2 .catp-body { padding: 32px 0 56px; }
  body.page-v2 .prod-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  body.page-v2 .prod-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   V2 PRODUCT DETAIL PAGE (Slice 03)
   Rating headline · tabs · reviews · delivery · FAQ
   ============================================================ */

body.page-v2 .prodp-crumb {
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
body.page-v2 .prodp-crumb a { color: var(--muted); transition: color 0.2s; }
body.page-v2 .prodp-crumb a:hover { color: var(--brand); }
body.page-v2 .prodp-crumb .here { color: var(--brand); font-weight: 500; }

body.page-v2 .prodp-hero { padding: 44px 0 56px; background: #fff; }
body.page-v2 .prodp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}
body.page-v2 .prodp-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  box-shadow: 0 24px 48px -24px rgba(10, 14, 26, 0.28);
}
body.page-v2 .prodp-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 14px;
}
body.page-v2 .prodp-info h1 {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--ink);
}
body.page-v2 .prodp-info h1::after {
  content: '.';
  color: var(--brand);
}
body.page-v2 .prodp-rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
body.page-v2 .rating-block { display: flex; align-items: center; gap: 10px; }
body.page-v2 .rating-block .score {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
body.page-v2 .rating-block .out { color: var(--muted); font-size: 14px; }
body.page-v2 .rating-block .stars-md {
  color: var(--star);
  font-size: 16px;
  letter-spacing: -0.5px;
  line-height: 1;
}
body.page-v2 .rating-block .reviews-link {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}
body.page-v2 .prodp-tag {
  padding: 5px 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
body.page-v2 .prodp-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 26px;
}
body.page-v2 .prodp-kb {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.page-v2 .prodp-kb li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.45;
}
body.page-v2 .prodp-kb .chk {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: var(--brand);
  margin-top: 2px;
}
body.page-v2 .prodp-cta-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
body.page-v2 .prodp-cta-row .btn-primary {
  background: var(--brand);
  color: #fff;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 6px 14px rgba(124, 92, 252, 0.32);
}
body.page-v2 .prodp-cta-row .btn-primary:hover { background: var(--brand-dark); }
body.page-v2 .prodp-cta-row .btn-ghost {
  padding: 13px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
}
body.page-v2 .prodp-cta-row .prodp-info-inline {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.45;
  text-align: right;
}
body.page-v2 .prodp-cta-row .prodp-info-inline b {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

/* Anchor tabs bar */
body.page-v2 .prodp-tabs-wrap {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
body.page-v2 .prodp-tabs {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
body.page-v2 .prodp-tabs::-webkit-scrollbar { display: none; }
body.page-v2 .prodp-tab {
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
body.page-v2 .prodp-tab:hover { color: var(--brand); }
body.page-v2 .prodp-tab .count { color: var(--muted); font-weight: 500; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* Content sections below tabs */
body.page-v2 .prodp-section { padding: 64px 0; scroll-margin-top: 60px; }
body.page-v2 .prodp-section.alt { background: var(--bg-soft); }
body.page-v2 .prodp-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
  color: var(--ink);
}
body.page-v2 .prodp-section h2::after {
  content: '.';
  color: var(--brand);
}
body.page-v2 .prodp-section h2 + p.section-lead {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 720px;
}

/* Specification 2-col */
body.page-v2 .prodp-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  max-width: 960px;
}
body.page-v2 .prodp-spec-item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
body.page-v2 .prodp-spec-item .label { color: var(--slate); }
body.page-v2 .prodp-spec-item .val { color: var(--ink); font-weight: 600; text-align: right; }

/* Reviews on product page */
body.page-v2 .prodp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Delivery cards */
body.page-v2 .prodp-delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
body.page-v2 .prodp-delivery-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
body.page-v2 .prodp-delivery-card .icon {
  width: 40px;
  height: 40px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
body.page-v2 .prodp-delivery-card .icon svg { width: 20px; height: 20px; fill: currentColor; }
body.page-v2 .prodp-delivery-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink);
}
body.page-v2 .prodp-delivery-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}

/* FAQ */
body.page-v2 .prodp-faq { max-width: 820px; }
body.page-v2 .prodp-faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
body.page-v2 .prodp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
body.page-v2 .prodp-faq summary::-webkit-details-marker { display: none; }
body.page-v2 .prodp-faq summary::after {
  content: '+';
  font-size: 22px;
  color: var(--brand);
  font-weight: 400;
  transition: transform 0.2s;
  line-height: 1;
}
body.page-v2 .prodp-faq details[open] summary::after { transform: rotate(45deg); }
body.page-v2 .prodp-faq .answer {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
}

/* Responsive */
@media (max-width: 900px) {
  body.page-v2 .prodp-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  body.page-v2 .prodp-img { aspect-ratio: 4 / 3; }
  body.page-v2 .prodp-cta-row .prodp-info-inline { margin-left: 0; text-align: left; width: 100%; }
  body.page-v2 .prodp-specs { grid-template-columns: 1fr; }
  body.page-v2 .prodp-reviews-grid,
  body.page-v2 .prodp-delivery-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   V2 CONTACT PAGE
   ============================================================ */

body.page-v2 .contact-hero { padding: 40px 0 32px; background: #fff; border-bottom: 1px solid var(--line); }
body.page-v2 .contact-hero h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -0.03em; margin: 12px 0 10px; }
body.page-v2 .contact-hero p { font-size: 16px; color: var(--slate); margin: 0; max-width: 640px; line-height: 1.55; }

body.page-v2 .contact-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding: 56px 0 88px;
}
body.page-v2 .contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
}
body.page-v2 .contact-form h2 { font-size: 22px; font-weight: 600; margin: 0 0 20px; letter-spacing: -0.02em; }
body.page-v2 .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
body.page-v2 .form-field { display: flex; flex-direction: column; gap: 6px; }
body.page-v2 .form-field.full { grid-column: 1 / -1; }
body.page-v2 .form-field label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--slate); }
body.page-v2 .form-field input,
body.page-v2 .form-field select,
body.page-v2 .form-field textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
body.page-v2 .form-field input:focus,
body.page-v2 .form-field select:focus,
body.page-v2 .form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.15);
}
body.page-v2 .form-field textarea { min-height: 120px; resize: vertical; }
body.page-v2 .contact-form .submit-row {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
body.page-v2 .contact-form button {
  background: var(--brand);
  color: #fff;
  border: 0;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 6px 14px rgba(124, 92, 252, 0.32);
  cursor: pointer;
  font-family: inherit;
}
body.page-v2 .contact-form button:hover { background: var(--brand-dark); }
body.page-v2 .contact-form .submit-note { font-size: 12.5px; color: var(--muted); }

body.page-v2 .contact-info { display: flex; flex-direction: column; gap: 20px; }
body.page-v2 .contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
body.page-v2 .contact-card h3 { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: var(--ink); }
body.page-v2 .contact-card p, body.page-v2 .contact-card a { font-size: 14px; color: var(--slate); line-height: 1.5; margin: 0; }
body.page-v2 .contact-card a { color: var(--brand); font-weight: 600; }
body.page-v2 .contact-card .icon {
  width: 36px; height: 36px;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
body.page-v2 .contact-card .icon svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 900px) {
  body.page-v2 .contact-body { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 64px; }
  body.page-v2 .form-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   V2 BLOG LISTING PAGE
   ============================================================ */

body.page-v2 .blog-hero { padding: 40px 0 32px; background: #fff; border-bottom: 1px solid var(--line); }
body.page-v2 .blog-hero h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 600; letter-spacing: -0.03em; margin: 12px 0 10px; }
body.page-v2 .blog-hero p { font-size: 16px; color: var(--slate); margin: 0; max-width: 640px; }

body.page-v2 .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 56px 0 88px;
}
body.page-v2 .blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
body.page-v2 .blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -14px rgba(10, 14, 26, 0.18);
}
body.page-v2 .blog-card .cover {
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
}
body.page-v2 .blog-card .body { padding: 20px 22px 24px; }
body.page-v2 .blog-card .meta {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 10px;
}
body.page-v2 .blog-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--ink);
}
body.page-v2 .blog-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 14px;
}
body.page-v2 .blog-card .date {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 900px) {
  body.page-v2 .blog-grid { grid-template-columns: 1fr 1fr; padding: 40px 0 64px; }
}
@media (max-width: 560px) {
  body.page-v2 .blog-grid { grid-template-columns: 1fr; }
}

/* Tag pill row on product page (replaces old rating row) */
body.page-v2 .prodp-tag-row {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  min-height: 30px;
}
body.page-v2 .prodp-tag-row:empty,
body.page-v2 .prodp-tag-row:not(:has(*)) {
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: none;
  min-height: 0;
}

/* Call-back option on the contact form */
body.page-v2 .form-callback {
  margin-top: 18px;
  padding: 14px 18px;
  background: var(--brand-soft);
  border-radius: 10px;
}
body.page-v2 .callback-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--brand-dark);
  line-height: 1.5;
  margin: 0;
}
body.page-v2 .callback-check input[type="checkbox"] {
  margin: 3px 0 0;
  accent-color: var(--brand);
  cursor: pointer;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
body.page-v2 .callback-check b { color: var(--ink); }

/* Contact form success state — shown after Web3Forms confirms submission */
body.page-v2 .form-success {
  text-align: center;
  padding: 40px 20px 24px;
}
body.page-v2 .form-success .tick {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 32px;
  font-weight: 700;
  line-height: 64px;
  margin: 0 auto 20px;
}
body.page-v2 .form-success h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
body.page-v2 .form-success p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0 auto 8px;
  max-width: 440px;
}
body.page-v2 .form-success .sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}
body.page-v2 .form-success .sub a {
  color: var(--brand);
  font-weight: 600;
}
body.page-v2 .contact-form .submit-note {
  transition: color 0.2s;
}

/* Floating success toast — shown after Web3Forms confirms submission */
.form-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: var(--brand);
  color: #fff;
  padding: 14px 22px 14px 16px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 12px 32px -8px rgba(124, 92, 252, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: calc(100vw - 32px);
}
.form-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.form-toast .toast-tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* ============================================================
   V2 POLISH — brands strip, hero CTA row, install gallery,
   about section, footer address
   ============================================================ */

/* Hero simplified CTA (replaces the pill quote form) */
body.page-v2 .hero-cta-row {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
body.page-v2 .btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  box-shadow: 0 10px 24px rgba(124, 92, 252, 0.34);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
body.page-v2 .btn-hero:hover {
  background: var(--brand-dark);
  box-shadow: 0 12px 28px rgba(124, 92, 252, 0.42);
  transform: translateY(-1px);
}
body.page-v2 .hero-cta-sub {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: -0.005em;
}

/* Brands strip — sits between trust strip and category tiles */
body.page-v2 .brands-strip {
  padding: 44px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
body.page-v2 .brands-strip .brands-label {
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 22px;
}
body.page-v2 .brands-strip .brands-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
body.page-v2 .brand-name,
body.page-v2 .brand-fallback {
  font-size: 18px;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
body.page-v2 .brand-name:hover,
body.page-v2 .brand-fallback:hover {
  color: var(--brand);
  opacity: 1;
}

/* Each brand cell holds an <img> logo (or a text fallback if the file is
   missing). Logos render at consistent height, desaturated by default,
   full colour on hover. */
body.page-v2 .brand-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  flex: 0 1 auto;
  min-width: 0;
}
body.page-v2 .brand-cell img {
  max-height: 75px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
/* Saint-Gobain mark has stacked text below the icon so its bounding
   box is naturally taller — cap it so it reads as the same visual
   size as the others in the row. */
body.page-v2 .brand-cell img[src*="saint-gobain"] {
  max-height: 58px;
}
body.page-v2 .brand-cell img:hover {
  transform: scale(1.04);
}

/* Install gallery — 3-up spotlight row with prev/next arrows + dot pager */
body.page-v2 .install-gallery {
  padding: 96px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

/* Header row: title block on the left, "Get a quote →" on the right */
body.page-v2 .ig-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
body.page-v2 .ig-head { max-width: 540px; }
body.page-v2 .ig-head h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 12px 0 12px;
  color: var(--ink);
  line-height: 1.05;
}
body.page-v2 .ig-head p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 480px;
}
body.page-v2 .ig-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 0;
  transition: color 0.2s;
}
body.page-v2 .ig-cta:hover { color: var(--brand-dark); }
body.page-v2 .ig-cta .arrow { transition: transform 0.2s; }
body.page-v2 .ig-cta:hover .arrow { transform: translateX(3px); }

/* Carousel: arrows sit outside the viewport, viewport clips the track */
body.page-v2 .ig-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
body.page-v2 .ig-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
}
body.page-v2 .ig-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
body.page-v2 .ig-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px -24px rgba(10, 14, 26, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body.page-v2 .ig-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 48px -20px rgba(10, 14, 26, 0.34);
}
body.page-v2 .ig-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prev/next arrows — outside the viewport, always visible */
body.page-v2 .ig-arrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(10, 14, 26, 0.08);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  padding: 0 0 3px 0;
}
body.page-v2 .ig-arrow:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: scale(1.05);
}

/* Dot pager below the carousel */
body.page-v2 .ig-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
body.page-v2 .ig-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, width 0.2s;
}
body.page-v2 .ig-dot:hover { background: var(--muted); }
body.page-v2 .ig-dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 4px;
}

/* Full-range lightbox — hidden until a slide is clicked */
body.page-v2 .ig-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.94);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
body.page-v2 .ig-lightbox.open {
  display: flex;
  opacity: 1;
}
body.page-v2 .ig-lb-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
body.page-v2 .ig-lb-image {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
body.page-v2 .ig-lb-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}
body.page-v2 .ig-lb-close,
body.page-v2 .ig-lb-arrow {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.15s;
}
body.page-v2 .ig-lb-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 24px;
  line-height: 1;
}
body.page-v2 .ig-lb-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 30px;
}
body.page-v2 .ig-lb-arrow.prev { left: 24px; }
body.page-v2 .ig-lb-arrow.next { right: 24px; }
body.page-v2 .ig-lb-close:hover,
body.page-v2 .ig-lb-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}
body.page-v2 .ig-lb-arrow:hover { transform: translateY(-50%) scale(1.05); }
body.page-v2 .ig-lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  font-variant-numeric: tabular-nums;
}

/* About section — text left, address card right */
body.page-v2 .about-section {
  padding: 96px 0;
  background: #fff;
}
body.page-v2 .about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}
body.page-v2 .about-copy h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 12px 0 22px;
  color: var(--ink);
  text-wrap: balance;
}
body.page-v2 .about-copy h2 em { font-style: normal; color: var(--brand); }
body.page-v2 .about-copy p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 18px;
  max-width: 580px;
}
body.page-v2 .about-copy p:last-child { margin-bottom: 0; }
body.page-v2 .about-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body.page-v2 .about-card-block { }
body.page-v2 .about-card-lbl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
}
body.page-v2 .about-card-block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--slate);
}
body.page-v2 .about-card-block p b { color: var(--ink); font-weight: 600; }
body.page-v2 .about-card-block p a {
  color: var(--brand);
  font-weight: 600;
}
body.page-v2 .about-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  align-self: flex-start;
  box-shadow: 0 6px 14px rgba(124, 92, 252, 0.32);
  transition: background 0.2s;
}
body.page-v2 .about-card-cta:hover { background: var(--brand-dark); }

/* Footer address (added by polish pass) */
body.page-v2 .footer .foot-address {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  margin: 6px 0 14px;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 900px) {
  body.page-v2 .brands-strip { padding: 32px 0; }
  body.page-v2 .brands-strip .brands-row { gap: 14px 28px; }
  body.page-v2 .brand-name { font-size: 15px; }
  body.page-v2 .install-gallery { padding: 64px 0; }
  body.page-v2 .ig-head-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  body.page-v2 .ig-carousel { gap: 8px; }
  body.page-v2 .ig-track { gap: 12px; }
  body.page-v2 .ig-slide { flex: 0 0 100%; aspect-ratio: 4 / 5; }
  body.page-v2 .ig-arrow { width: 40px; height: 40px; font-size: 22px; }
  body.page-v2 .ig-dots { margin-top: 22px; }
  body.page-v2 .ig-lightbox { padding: 20px; }
  body.page-v2 .ig-lb-arrow { width: 44px; height: 44px; font-size: 22px; }
  body.page-v2 .ig-lb-arrow.prev { left: 10px; }
  body.page-v2 .ig-lb-arrow.next { right: 10px; }
  body.page-v2 .about-section { padding: 64px 0; }
  body.page-v2 .about-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
}


/* ============================================================
   V2 MEGA MENU (Trade-Village-style two-column dropdown)
   Left: category list with chevrons + soft-violet active state
   Right: brand tiles that swap based on which category is hovered
   Narrow ("medium") variant: single-column brand-tile list, no
   categories sidebar (used for Windows, Blinds, Glass, Roofing).
   ============================================================ */

body.page-v2 .nav-links > .nav-item > a .chev {
  display: inline-block;
  margin-left: 5px;
  font-size: 15px;
  color: var(--muted);
  transition: transform 0.2s, color 0.2s;
  position: relative;
  top: 1px;
}
body.page-v2 .nav-item:hover > a .chev,
body.page-v2 .nav-item:focus-within > a .chev { transform: rotate(180deg); color: var(--brand); }

/* Auto-active state: nav.js adds .is-active to the current nav-item */
body.page-v2 .nav-links > .nav-item.is-active > a,
body.page-v2 .nav-links > a.is-active { color: var(--brand); font-weight: 600; }

body.page-v2 .mega-menu.mega-v2 {
  padding: 0;
  border-radius: 14px;
  box-shadow: 0 30px 70px -20px rgba(10, 14, 26, 0.28);
  overflow: hidden;
  border: 1px solid var(--line);
}
body.page-v2 .mega-menu.mega-v2.wide {
  width: 720px;
  left: 0;
  transform: translateX(0) translateY(-6px);
}
body.page-v2 .nav-item:hover .mega-menu.mega-v2.wide,
body.page-v2 .nav-item:focus-within .mega-menu.mega-v2.wide {
  transform: translateX(0) translateY(0);
}
body.page-v2 .mega-menu.mega-v2.medium { width: 380px; }

/* Two-column split (categories left, brand tiles right) */
body.page-v2 .mega-menu.mega-v2.wide > .mega-cats,
body.page-v2 .mega-menu.mega-v2.wide > .mega-brands {
  display: inline-block;
  vertical-align: top;
}
body.page-v2 .mega-menu.mega-v2.wide { display: flex; }
body.page-v2 .mega-menu.mega-v2.wide .mega-cats { width: 260px; flex-shrink: 0; background: #fff; padding: 22px 0 20px; border-right: 1px solid var(--line); }
body.page-v2 .mega-menu.mega-v2.wide .mega-brands { flex: 1; background: var(--bg-soft); padding: 22px 22px 26px; }

/* Narrow variant — brands panel only */
body.page-v2 .mega-menu.mega-v2.medium .mega-brands { padding: 22px 22px 24px; background: #fff; }

/* ---- Categories column ---- */
body.page-v2 .mega-cats-head {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  padding: 0 22px 12px;
  margin: 0;
  border-bottom: 0;
  text-align: left;
}
body.page-v2 .mega-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.page-v2 .mega-cat > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
body.page-v2 .mega-cat > a .arrow {
  font-size: 16px;
  color: var(--muted);
  line-height: 1;
  transition: color 0.15s, transform 0.15s;
}
body.page-v2 .mega-cat:hover > a,
body.page-v2 .mega-cat.is-active > a {
  background: var(--brand-soft, #efeaff);
  color: var(--brand);
}
body.page-v2 .mega-cat:hover > a .arrow,
body.page-v2 .mega-cat.is-active > a .arrow {
  color: var(--brand);
  transform: translateX(2px);
}
body.page-v2 .mega-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 14px 22px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  text-decoration: none;
}
body.page-v2 .mega-viewall .arrow { transition: transform 0.15s; }
body.page-v2 .mega-viewall:hover .arrow { transform: translateX(3px); }

/* ---- Brands column / brand tiles ---- */
body.page-v2 .mega-brands-head {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 12px;
  text-align: left;
  border-bottom: 0;
  padding-bottom: 0;
}
body.page-v2 .mega-brand-panel { display: none; }
body.page-v2 .mega-brand-panel.is-active { display: block; }
body.page-v2 .mega-menu.mega-v2.medium .mega-brands.single .mega-brand-panel,
body.page-v2 .mega-menu.mega-v2.medium .mega-brands.single { display: block; }

body.page-v2 .brand-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.15s;
}
body.page-v2 .brand-tile:hover { background: rgba(124, 92, 252, 0.08); }
body.page-v2 .brand-tile-logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.page-v2 .brand-tile-logo img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}
body.page-v2 .brand-tile-logo.brand-tile-logo-text {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--slate);
  padding: 2px 4px;
  text-align: center;
  line-height: 1.1;
}
body.page-v2 .brand-tile-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
body.page-v2 .brand-tile-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
body.page-v2 .brand-tile-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.3;
}
body.page-v2 .brand-tile:hover .brand-tile-name { color: var(--brand); }

/* Mobile: mega dropdowns become full-width stacked (existing nav.js handles panel visibility) */
@media (max-width: 900px) {
  body.page-v2 .mega-menu.mega-v2,
  body.page-v2 .mega-menu.mega-v2.wide,
  body.page-v2 .mega-menu.mega-v2.medium {
    width: 100%;
    flex-direction: column;
    border-radius: 0;
    box-shadow: none;
    border: 0;
  }
  body.page-v2 .mega-menu.mega-v2.wide .mega-cats,
  body.page-v2 .mega-menu.mega-v2.wide .mega-brands {
    width: 100%;
    border-right: 0;
  }
  body.page-v2 .mega-brand-panel { display: block; margin-top: 14px; }
  body.page-v2 .mega-menu.mega-v2.wide .mega-brands { background: transparent; }
}
