/* =========================================================
   Dolphin Windows — public site styles
   Theme taken from the Dolphin Windows logo & brochure:
   deep navy panels, bright blue slanted bands, white frames,
   with the logo's lime and the brochure's red used sparingly.
   ========================================================= */

:root {
  /* Brand (sampled from the logo / brochure) */
  --navy: #002448;          /* brochure panels & emblem background */
  --navy-deep: #001a43;     /* footer, emblem background */
  --navy-ink: #0c2448;      /* "Manufacturer of uPVC..." headline text */
  --blue: #0c84f0;          /* DOLPHIN WINDOWS wordmark */
  --blue-dark: #0a6ccc;
  --stripe: #099ffd;        /* slanted bands */
  --aqua: #009cd8;          /* the "D" */
  --mist: #cfeaf8;          /* dolphin body */
  --lime: #8dc63f;          /* accent inside the "D" */
  --green: #0c6c30;         /* "21 Years" */
  --red: #d7261e;           /* "uPVC GRILL WINDOWS SECTIONS" */

  /* Neutrals */
  --paper: #ffffff;
  --sky: #f1f7fd;
  --line: #d7e4f1;
  --text: #22324a;
  --muted: #56667d;

  --font-head: 'Lexend', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 6px;
  --frame: 8px;             /* white "uPVC profile" frame around photos */
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--stripe); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: var(--section) 0; }
.alt-bg { background: var(--sky); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.kicker {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: .6em;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85em 1.6em; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
  text-align: center; line-height: 1.2;
}
.btn.solid { background: var(--blue); color: #fff; }
.btn.solid:hover { background: var(--blue-dark); color: #fff; }
.btn.ghost { border-color: var(--blue); color: var(--blue-dark); background: transparent; }
.btn.ghost:hover { background: var(--blue); color: #fff; }
.btn.light { border-color: #fff; color: #fff; background: transparent; }
.btn.light:hover { background: #fff; color: var(--navy); }
.btn.white { background: #fff; color: var(--navy); }
.btn.white:hover { background: var(--mist); color: var(--navy); }

/* ---------- Top bar ---------- */
.top-bar { background: var(--navy); color: #dbe9f8; font-size: .9rem; }
.topbar-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.top-bar a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.top-bar a:hover { color: var(--mist); }
.top-bar i { color: var(--stripe); }
.topbar-years strong { color: var(--lime); font-family: var(--font-head); font-size: 1.05rem; }
.topbar-tag { color: var(--mist); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 8px 24px rgba(0, 33, 72, .12); }
.nav-row { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { flex-shrink: 0; display: block; }
.brand img { width: clamp(220px, 24vw, 310px); height: auto;
  filter: drop-shadow(0 1px 1px rgba(0,36,72,.35)) drop-shadow(0 3px 6px rgba(0,36,72,.18));
  animation: brand-in .8s cubic-bezier(.2,.8,.2,1) both; transition: transform .25s ease; }
.brand:hover img { transform: scale(1.03); }
@keyframes brand-in { from { opacity: 0; transform: translateY(-8px) scale(.97); } to { opacity: 1; transform: none; } }
nav[aria-label="Main"] { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 1rem;
  color: var(--navy-ink); padding: 10px 14px; display: block; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--stripe); transform: skewX(-30deg) scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: skewX(-30deg) scaleX(1); }
.nav-links a.active { color: var(--blue-dark); }
.nav-mobile-cta { display: none; }
.nav-quote { padding: .75em 1.3em; }
.menu-toggle {
  display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: var(--radius);
  background: var(--navy); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-toggle span { width: 22px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay { display: none; }

/* ---------- Slanted stripes (the brochure's signature device) ---------- */
.stripes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.stripes span {
  position: absolute; top: -10%; bottom: -10%;
  background: var(--stripe); transform: skewX(-22deg);
}

/* ---------- Hero ---------- */
.hero { padding: 0; background: var(--navy); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 50% 50%; min-height: clamp(500px, 68vh, 640px); position: relative; }
.hero-panel {
  color: #fff; position: relative; z-index: 1;
  display: flex; align-items: center;
  padding: clamp(48px, 6vw, 80px) 4% clamp(48px, 6vw, 80px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.hero-panel > div { max-width: 510px; }
.hero-panel h1 { color: #fff; font-size: clamp(2rem, 3.3vw, 2.9rem); margin-bottom: .5em; }
.hero-panel .lede { color: #c9d9ec; font-size: 1.12rem; }
.hero-mark { width: 84px; margin-bottom: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-facts { display: grid; grid-template-columns: auto auto auto; justify-content: start; gap: 8px 30px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(207, 234, 248, .2); }
.hero-facts li { color: var(--mist); font-size: .95rem; line-height: 1.3; max-width: 13ch; }
.hero-facts strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.hero-facts .lime { color: var(--lime); }

/* The white "brochure" side is cut on a slant and edged with two blue bands */
.hero-visual {
  position: relative; z-index: 1; background: var(--sky);
  margin-left: -14%; /* % of the grid column, i.e. 7% of the hero */
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 17.2% 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: clamp(40px, 5vw, 64px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) clamp(40px, 5vw, 64px) 26%;
}
.hero-bands { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-bands polygon { fill: var(--stripe); }
.hero-visual figure { margin: 0; width: 100%; max-width: 540px; background: #fff; padding: 10px; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 22px 44px -24px rgba(0, 33, 72, .45); }
.hero-visual img { width: 100%; border-radius: 2px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 18px; }
.hero-badges span {
  font-family: var(--font-head); font-weight: 600; color: var(--blue-dark);
  border: 2px solid var(--blue); padding: 6px 14px; border-radius: var(--radius); background: #fff;
}
.specialised { text-align: center; margin: 16px 0 0; }
.specialised small { display: block; font-family: var(--font-head); font-weight: 600; color: var(--navy-ink); font-size: .9rem; letter-spacing: .02em; }
.specialised strong { font-family: var(--font-head); color: var(--red); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }

/* ---------- Brochure-style product tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile {
  position: relative; display: grid; grid-template-columns: 38% 1fr;
  background: var(--navy); color: #fff; overflow: hidden; min-height: 280px;
  border-radius: 4px;
}
.tile.feature { grid-column: 1 / -1; grid-template-columns: 30% 1fr; min-height: 340px; }
.tile-side {
  position: relative; z-index: 2; padding: 26px 44px 26px 22px; display: flex; flex-direction: column; align-items: flex-start;
}
.tile-side img { width: 92px; margin-bottom: auto; }
.tile-label {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: #fff;
  border: 2px solid #fff; border-radius: 4px; padding: 8px 12px; margin: 22px 0 12px; line-height: 1.3;
}
.tile-finish { font-size: .95rem; color: var(--mist); margin: 0; display: flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 2px; display: inline-block; border: 1px solid rgba(255,255,255,.6); }
.swatch.grain, .finish-chip.grain { background-image: repeating-linear-gradient(100deg, rgba(255,255,255,.14) 0 3px, rgba(0,0,0,.12) 3px 6px, transparent 6px 10px); }
.tile-photo { position: relative; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); background: #fff; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile.feature .tile-photo img { object-fit: contain; background: #fbfbf8; padding: 10px 6% 10px 14%; }
.tile-bands { position: absolute; top: 0; bottom: 0; left: 38%; width: 0; z-index: 3; pointer-events: none; }
.tile.feature .tile-bands { left: 30%; }
.tile-bands span { position: absolute; top: -5%; bottom: -5%; background: var(--stripe); transform: skewX(-11deg); }
.tile-bands span:nth-child(1) { left: -22px; width: 10px; }
.tile-bands span:nth-child(2) { left: -4px; width: 22px; }
.tile-link { position: absolute; inset: 0; z-index: 4; }
.tile-link:focus-visible { outline-offset: -4px; }
.tile:hover .tile-label { background: #fff; color: var(--navy); }
.tile-cta { margin-top: 14px; font-family: var(--font-head); font-weight: 500; color: var(--mist); font-size: .95rem; }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.framed {
  background: #fff; padding: var(--frame); border-radius: 4px;
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(0, 33, 72, .35);
  position: relative; z-index: 1;
}
.framed img { width: 100%; border-radius: 2px; }
.split-media .media-band {
  position: absolute; z-index: 0; top: 14%; bottom: -26px; right: -26px; width: 55%;
  background: var(--navy); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.split-media .media-band::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 18%; width: 12%;
  background: var(--stripe); transform: skewX(-17deg);
}
.split.reverse .media-band { right: auto; left: -26px; clip-path: polygon(0 0, 70% 0, 100% 100%, 0 100%); }
.split.reverse .media-band::before { left: auto; right: 18%; transform: skewX(17deg); }

.check-list { margin: 18px 0 26px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(-45deg);
}

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.benefit { padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); }
.benefit:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.benefit i { font-size: 1.6rem; color: var(--blue); margin-bottom: 14px; display: block; }
.benefit h3 { margin-bottom: .35em; }
.benefit p { color: var(--muted); margin: 0; }

/* ---------- Finishes ---------- */
.finish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.finish { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; background: #fff; padding: 22px; border: 1px solid var(--line); border-radius: 4px; }
.finish-chip { height: 120px; border-radius: 2px; position: relative; box-shadow: inset 0 0 0 10px #fff, 0 0 0 1px var(--line); }

.finish h3 { margin-bottom: .25em; }
.finish p { margin: 0; color: var(--muted); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 0 22px 0 0; }
.process-step + .process-step { padding-left: 22px; }
.step-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: #fff;
  width: 54px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); margin-bottom: 18px;
}
.process-step::after {
  content: ''; position: absolute; top: 21px; left: 70px; right: 0; height: 2px; background: var(--line);
}
.process-step + .process-step::after { left: 92px; }
.process-step:last-child::after { display: none; }
.process-step p { color: var(--muted); }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 64px); background: var(--navy); border-radius: 4px; overflow: hidden; }
.stat { padding: 28px 24px; color: var(--mist); border-left: 1px solid rgba(207, 234, 248, .15); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; color: #fff; line-height: 1.1; }
.stat .num.lime { color: var(--lime); }
.stat .label { font-size: .98rem; }

/* ---------- Values (About) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue); padding: 30px 26px; border-radius: 4px; }
.value-card i { font-size: 1.7rem; color: var(--aqua); margin-bottom: 14px; display: block; }
.value-card p { color: var(--muted); margin: 0; }
.brochure { max-width: 640px; margin: 0 auto; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; text-align: center; }
.cta-band .stripes span:nth-child(1) { left: 6%; width: 18px; }
.cta-band .stripes span:nth-child(2) { left: calc(6% + 34px); width: 46px; }
.cta-band .stripes span:nth-child(3) { right: 8%; width: 46px; }
.cta-band .stripes span:nth-child(4) { right: calc(8% + 62px); width: 18px; }
.cta-band .container { position: relative; z-index: 1; max-width: 820px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d9ec; font-size: 1.15rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

/* ---------- Page header (inner pages) ---------- */
.page-header { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0; }
.page-header .stripes span:nth-child(1) { right: 22%; width: 20px; }
.page-header .stripes span:nth-child(2) { right: calc(22% - 44px); width: 54px; }
.page-header .stripes span:nth-child(3) { right: -40px; width: 22%; background: var(--blue); opacity: .35; }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; margin-bottom: .3em; }
.page-header p { color: #c9d9ec; max-width: 56ch; font-size: 1.15rem; }
.breadcrumb { margin: 0 0 18px; font-size: .95rem; color: var(--mist); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--stripe); }
.breadcrumb a { color: #fff; }

/* ---------- Products page ---------- */
.product-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(40px, 6vw, 64px); }
.product-nav a { border: 2px solid var(--line); color: var(--navy-ink); font-family: var(--font-head); font-weight: 500; padding: 8px 16px; border-radius: var(--radius); }
.product-nav a:hover { border-color: var(--blue); color: var(--blue-dark); }
.product-block { scroll-margin-top: calc(var(--header-h) + 24px); }
.product-block + .product-block { margin-top: clamp(64px, 9vw, 110px); }
.finish-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--muted); margin-bottom: 10px; }
.finish-tag .swatch { border-color: var(--line); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Gallery ---------- */
.view-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
.view-tab { font-family: var(--font-head); font-weight: 600; font-size: 1rem; border: 0; background: var(--sky); color: var(--navy-ink); padding: 10px 22px; border-radius: var(--radius); cursor: pointer; }
.view-tab.active { background: var(--navy); color: #fff; }
.portfolio-view { display: none; }
.portfolio-view.active { display: block; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter-btn { font-family: var(--font-body); font-size: .98rem; font-weight: 600; border: 2px solid var(--line); background: #fff; color: var(--navy-ink); padding: 7px 16px; border-radius: var(--radius); cursor: pointer; }
.filter-btn:hover { border-color: var(--blue); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { position: relative; cursor: zoom-in; background: #fff; padding: 6px; border: 1px solid var(--line); border-radius: 4px; }
.gallery-item.hide { display: none; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.gallery-item .tag { position: absolute; left: 6px; bottom: 6px; background: var(--navy); color: #fff; font-size: .88rem; font-weight: 600; padding: 5px 12px 5px 10px; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); padding-right: 22px; }
.portfolio-empty { text-align: center; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 1500; background: rgba(0, 20, 45, .92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 90vw); max-height: 85vh; background: #fff; padding: 6px; }
.lightbox-close, .lightbox-nav { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; padding: 10px; }
.lightbox-close { top: 14px; right: 18px; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.info-list { display: grid; gap: 20px; margin: 26px 0; }
.info-item { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; }
.info-item .icon { width: 50px; height: 50px; background: var(--navy); color: var(--stripe); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); }
.info-item h3 { font-size: 1.05rem; margin: 0 0 2px; }
.info-item p { margin: 0; color: var(--muted); }
.contact-form { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: 4px; padding: clamp(22px, 4vw, 38px); }
.contact-form h2 { font-size: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; color: var(--navy-ink); margin-bottom: 6px; font-size: .98rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--sky);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(12, 132, 240, .18); }
.form-note { font-size: .92rem; color: var(--muted); margin: 14px 0 0; }
.form-success { display: none; background: #eaf6e0; border-left: 4px solid var(--lime); padding: 14px 16px; margin-bottom: 18px; color: #2b4a12; }
.form-success.show { display: block; }
.form-error { display: none; color: var(--red); font-weight: 600; margin: 0 0 12px; }
.form-error.show { display: block; }
.map-wrap { border: 1px solid var(--line); padding: 6px; background: #fff; border-radius: 4px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; padding: 20px 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy-ink);
}
.faq-q .plus { flex-shrink: 0; width: 30px; height: 30px; background: var(--sky); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: transform .25s; border-radius: var(--radius); }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }
.faq-a p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9cbe0; position: relative; overflow: hidden; padding-top: clamp(56px, 7vw, 80px); }
.footer-stripes { position: absolute; top: 0; left: 0; right: 0; height: 8px; display: flex; }
.footer-stripes span:nth-child(1) { flex: 3; background: var(--stripe); }
.footer-stripes span:nth-child(2) { flex: 1; background: var(--lime); clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 36px; }
.footer-brand img { width: 96px; margin-bottom: 10px; }
.footer-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: #fff; margin-bottom: .4em; }
.footer-brand p { max-width: 36ch; }
.footer-h { font-size: 1.05rem; color: #fff; margin-bottom: 16px; font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #b9cbe0; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.footer-contact i { color: var(--stripe); margin-top: 5px; }
.footer-follow { margin: 18px 0 0; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #fff; letter-spacing: .02em; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.social-row a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; border-radius: 50%; font-size: 1rem; transition: background .2s, transform .2s, border-color .2s; }
.social-row a:hover, .social-row a:focus-visible { transform: translateY(-3px); border-color: transparent; color: #fff; }

/* Top-bar social icons */
.topbar-social { display: inline-flex; align-items: center; gap: 6px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); }
.top-bar .topbar-social a { width: 26px; height: 26px; justify-content: center; gap: 0; border-radius: 50%; background: rgba(255,255,255,.08); font-size: .8rem; transition: background .2s, transform .2s; }
.top-bar .topbar-social a i { color: #fff; }
.top-bar .topbar-social a:hover, .top-bar .topbar-social a:focus-visible { transform: translateY(-2px); }

/* Brand colour on hover (top bar + footer) */
a.soc-facebook:hover,  a.soc-facebook:focus-visible  { background: #1877f2 !important; }
a.soc-instagram:hover, a.soc-instagram:focus-visible { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important; }
a.soc-youtube:hover,   a.soc-youtube:focus-visible   { background: #ff0000 !important; }
a.soc-linkedin:hover,  a.soc-linkedin:focus-visible  { background: #0a66c2 !important; }
a.soc-whatsapp:hover,  a.soc-whatsapp:focus-visible  { background: #25d366 !important; }
@media (prefers-reduced-motion: reduce) { .social-row a, .top-bar .topbar-social a { transition: none; } .social-row a:hover, .top-bar .topbar-social a:hover { transform: none; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(207, 234, 248, .12); margin-top: 48px; padding: 22px 0; font-size: .92rem; }
.credit-link { color: #fff; font-weight: 600; }

/* Floating buttons */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 950; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.wa-float:hover { color: #fff; background: #1ebe5b; }
.to-top {
  position: fixed; right: 26px; bottom: 88px; z-index: 950; width: 44px; height: 44px; border: 0; border-radius: var(--radius);
  background: var(--navy); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; }

/* Reveal: a single gentle entrance for the hero only */
.hero-panel > div { animation: hero-in .7s ease-out both; }
.hero-visual figure { animation: hero-in .7s .15s ease-out both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- 404 ---------- */
.not-found { text-align: center; }
.not-found .code { font-family: var(--font-head); font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; color: var(--blue); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-quote { display: none; }
  .topbar-tag { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .menu-toggle { display: flex; }
  nav[aria-label="Main"] { margin-left: 0; }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); z-index: 1001;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--navy);
    padding: 90px 24px 32px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: #fff; font-size: 1.15rem; padding: 14px 4px; border-bottom: 1px solid rgba(207, 234, 248, .12); }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--stripe); }
  .nav-mobile-cta { display: block; margin-top: 24px; }
  .nav-mobile-cta .btn { width: 100%; border: 0; color: #fff; }
  .menu-toggle { position: relative; z-index: 1002; }
  .nav-overlay { display: block; position: fixed; inset: 0; background: rgba(0, 20, 45, .55); z-index: 850; /* below the sticky header, which holds the menu panel */ opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-overlay.open { opacity: 1; visibility: visible; }

  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel { padding: 44px var(--gutter) 52px; }
  .hero-bands { display: none; }
  .hero-visual { margin-left: 0; clip-path: polygon(0 7%, 100% 0, 100% 100%, 0 100%); padding: 56px var(--gutter) 44px; border-top: 0; }

  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit, .benefit:not(:nth-child(3n+1)) { padding: 26px 22px 26px 0; border-left: 0; }
  .benefit:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
  .process { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .process-step:nth-child(3) { padding-left: 0; }
  .process-step::after { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(207, 234, 248, .15); }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .tile-grid { grid-template-columns: 1fr; }
  .tile, .tile.feature { grid-template-columns: 1fr; min-height: 0; }
  .tile-side { padding: 22px 20px 26px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 16px; order: 2; }
  .tile-side img { width: 58px; margin: 0; }
  .tile-label { margin: 0; }
  .tile-finish { width: 100%; margin-top: 12px; }
  .tile-cta { width: 100%; }
  .tile-photo { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); aspect-ratio: 16 / 10; }
  .tile.feature .tile-photo img { padding: 10px; }
  .tile-bands { display: none; }
  .finish-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hide-sm { display: none !important; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .topbar-wrapper { justify-content: center; flex-wrap: wrap; gap: 4px 18px; padding-top: 6px; padding-bottom: 6px; }
  .brand img { width: 210px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .benefits { grid-template-columns: 1fr; }
  .benefit:nth-child(2n) { padding-left: 0; border-left: 0; }
  .process { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { padding: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .finish { grid-template-columns: 90px 1fr; }
  .finish-chip { height: 90px; }
  .split-media .media-band { right: -8px; }
  .split.reverse .media-band { left: -8px; }
  .map-wrap iframe { height: 300px; }
}

/* list resets for semantic ordered lists */
ol.process { list-style: none; margin: 0; padding: 0; }
body.nav-open .wa-float, body.nav-open .to-top { display: none; }

/* ---------- Products page: category sections ---------- */
.product-nav .count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; background: var(--sky); color: var(--blue-dark); border-radius: 11px; font-size: .8rem; }
.category-block { scroll-margin-top: calc(var(--header-h) + 24px); }
.category-block + .category-block { margin-top: clamp(72px, 10vw, 120px); }
.category-head { position: relative; background: var(--navy); color: #fff; padding: 28px clamp(22px, 4vw, 40px); border-radius: 4px; margin-bottom: clamp(40px, 6vw, 64px); overflow: hidden; }
.category-head::after { content: ''; position: absolute; top: -10%; bottom: -10%; right: 8%; width: 46px; background: var(--stripe); transform: skewX(-22deg); }
.category-head::before { content: ''; position: absolute; top: -10%; bottom: -10%; right: calc(8% + 62px); width: 16px; background: var(--stripe); transform: skewX(-22deg); }
.category-head h2 { color: #fff; margin-bottom: .3em; position: relative; z-index: 1; }
.category-head .lede { color: #c9d9ec; margin-bottom: 14px; position: relative; z-index: 1; max-width: 60ch; }
.category-chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.category-chips a { display: inline-block; border: 2px solid #fff; color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .95rem; padding: 5px 12px; border-radius: 4px; }
.category-chips a:hover { background: #fff; color: var(--navy); }
.product-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
.product-block + .product-block { margin-top: clamp(56px, 8vw, 96px); }
@media (max-width: 720px) {
  .category-head::before, .category-head::after { display: none; }
}
.footer-col li.footer-sub { margin: -4px 0 8px 14px; font-size: .95rem; }
.footer-col li.footer-sub a::before { content: "– "; color: var(--stripe); }

/* =========================================================
   Products page — category banners + four product layouts
   ========================================================= */
section.category-block { padding: 0; scroll-margin-top: calc(var(--header-h) + 20px); }
section.category-block + section.category-block { margin-top: clamp(56px, 7vw, 88px); }

/* Category banner: navy text panel + slanted photo, like the brochure tiles */
.category-banner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--navy); border-radius: 4px; overflow: hidden; margin-bottom: clamp(28px, 4vw, 44px); min-height: 230px; }
.category-banner-text { position: relative; z-index: 2; padding: clamp(24px, 3.5vw, 40px); color: #c9d9ec; }
.category-banner-text h2 { color: #fff; margin: 0 0 .35em; }
.category-banner-text p { margin: 0 0 16px; max-width: 54ch; }
.category-count { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--lime); margin-bottom: 6px !important; }
.category-banner-photo { position: relative; clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); background: #fff; }
.category-banner-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.category-banner-bands { position: absolute; top: 0; bottom: 0; left: 53.5%; z-index: 3; pointer-events: none; }
.category-banner-bands span { position: absolute; top: -10%; bottom: -10%; background: var(--stripe); transform: skewX(-15deg); }
.category-banner-bands span:nth-child(1) { left: -30px; width: 8px; }
.category-banner-bands span:nth-child(2) { left: -16px; width: 18px; }
.category-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.category-chips a { display: inline-block; border: 2px solid rgba(255,255,255,.85); color: #fff; font-family: var(--font-head); font-weight: 500; font-size: .9rem; padding: 4px 11px; border-radius: 4px; }
.category-chips a:hover { background: #fff; color: var(--navy); }

/* Shared bits */
.finish-pill { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.95); color: var(--navy-ink); font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,36,72,.12); }
.finish-pill .swatch { border-color: var(--line); }
.finish-pill.on-dark { position: static; background: rgba(255,255,255,.1); color: var(--mist); box-shadow: none; margin-bottom: 14px; }
.check-list.sm { margin: 12px 0 18px; gap: 6px; font-size: .96rem; }
.check-list.two-col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.check-list.on-dark li { color: #dbe8f6; }
.btn.sm { padding: .6em 1.1em; font-size: .92rem; }
.btn svg { flex-shrink: 0; }
.btn-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); border: 2px solid var(--line); color: #1a9c4b; }
.btn-icon:hover { background: #25d366; border-color: #25d366; color: #fff; }
.pcard-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: auto; }

/* grid — 3-column cards */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 20px); transition: border-color .2s, box-shadow .2s; }
.pcard:hover { border-color: #b9d3ee; box-shadow: 0 16px 34px -22px rgba(0,36,72,.45); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--sky); border-bottom: 4px solid var(--stripe); overflow: hidden; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.pcard-body h3 { font-size: 1.2rem; margin-bottom: .4em; }
.pcard-body > p { color: var(--muted); margin: 0; font-size: 1rem; }

/* split — two large cards */
.psplit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.pcard.tall .pcard-media { aspect-ratio: 5 / 4; }
.pcard.tall .pcard-body { padding: 26px 28px 30px; }
.pcard.tall h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.pcard.tall .lede { font-size: 1.08rem; margin-bottom: 4px; }
.pcard.tall .check-list { margin: 16px 0 22px; }

/* feature — full-width navy spotlight */
.pfeature { position: relative; border-top: 6px solid var(--stripe); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--navy); color: #c9d9ec; border-radius: 4px; overflow: hidden; padding: clamp(24px, 4vw, 48px); scroll-margin-top: calc(var(--header-h) + 20px); }
.pfeature + .pfeature { margin-top: 28px; }
.pfeature .stripes { display: none; }
.pfeature-media { position: relative; z-index: 1; background: #fff; padding: 10px; border-radius: 4px; box-shadow: 0 24px 44px -24px rgba(0,0,0,.6); }
.pfeature-media img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; }
.pfeature-body { position: relative; z-index: 1; }
.pfeature-body h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: .4em; }
.pfeature-body .lede { color: #c9d9ec; }
.pfeature-body .check-list { margin: 18px 0 26px; }

/* compact — small horizontal cards */
.pcompact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pmini { display: grid; grid-template-columns: 150px 1fr; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 4px; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 20px); }
.pmini-media { background: var(--sky); }
.pmini-media img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.pmini-body { padding: 16px 18px; display: flex; flex-direction: column; }
.pmini-body h3 { font-size: 1.08rem; margin-bottom: .3em; }
.pmini-body > p { font-size: .96rem; color: var(--muted); margin: 0 0 10px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.chip-list li { font-size: .82rem; font-weight: 600; color: var(--blue-dark); background: var(--sky); border: 1px solid var(--line); padding: 2px 9px; border-radius: 3px; }
.pmini-actions { display: flex; gap: 18px; margin-top: auto; }
.text-link { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--blue-dark); display: inline-flex; align-items: center; gap: 6px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: rgba(12,132,240,.35); }
.text-link:hover { text-decoration-color: currentColor; }
.text-link.wa { color: #178a42; text-decoration-color: rgba(23,138,66,.35); }

@media (max-width: 1024px) {
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .category-banner { grid-template-columns: 1fr; }
  .category-banner-photo { clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); height: 220px; margin-top: -12px; }
  .category-banner-bands { display: none; }
  .psplit, .pcompact { grid-template-columns: 1fr; }
  .pfeature { grid-template-columns: 1fr; }
  .pfeature-media img { max-height: 380px; }
}
@media (max-width: 560px) {
  .pgrid { grid-template-columns: 1fr; }
  .check-list.two-col { grid-template-columns: 1fr; }
  .pmini { grid-template-columns: 110px 1fr; }
  .pmini-media img { min-height: 120px; }
}

/* Finishes: one row for up to 3 finishes */
.finish-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 1100px; }

/* small home tiles: category label would run under the blue bands */
.tile:not(.feature) .tile-cta { display: none; }

/* ---------- Home banner poster with entrance animation ---------- */
.hero-poster {
  position: relative; margin: 0; width: 100%; max-width: 560px;
  border-radius: 10px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 6px #fff, 0 30px 60px -28px rgba(0, 36, 72, .65);
  animation: poster-in 1s cubic-bezier(.2, .8, .2, 1) .15s both, poster-float 7s ease-in-out 1.4s infinite;
}
.hero-poster img { display: block; width: 100%; height: auto; }
.hero-poster-sheen {
  position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  transform: skewX(-18deg); animation: poster-sheen 1.4s ease-out 1.1s both;
}
@keyframes poster-in {
  from { opacity: 0; transform: translateX(40px) scale(.94) rotate(1.5deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes poster-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes poster-sheen {
  from { left: -60%; }
  to   { left: 130%; }
}
.hero-bands polygon { animation: bands-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-bands polygon:nth-child(2) { animation-delay: .12s; }
@keyframes bands-in { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
.hero-visual { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.hero-grid { min-height: clamp(540px, 74vh, 700px); }

/* Tall project photos in the About sections */
.split-media .framed img { max-height: 640px; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  .hero-poster, .hero-poster-sheen, .hero-bands polygon { animation: none !important; }
  .hero-poster-sheen { display: none; }
}

/* =========================================================
   Mega menu (Products)
   ========================================================= */
.nav-links a.mega-trigger { display: inline-flex; align-items: center; gap: 6px; }
.mega-trigger .chev { width: 12px; height: 12px; transition: transform .2s; }
.mega-toggle { display: none; }
.mega-cat-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--muted); }

@media (min-width: 961px) {
  nav[aria-label="Main"] { align-self: stretch; display: flex; }
  nav[aria-label="Main"] .nav-links { height: 100%; }
  .nav-links > li { display: flex; align-items: center; height: 100%; }
  .has-mega { position: static; }
  .mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 950;
    background: #fff; border-top: 3px solid var(--stripe); border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 40px -24px rgba(0, 36, 72, .45);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
  }
  .has-mega:hover .chev, .has-mega.open .chev { transform: rotate(180deg); }
  .mega-inner { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 30px; display: flex; gap: 26px; }
  .mega-col { flex: 1 1 0; min-width: 0; }
  .nav-links .mega a { padding: 0; }
  .nav-links .mega a::after { display: none; }
  .mega-cat { display: block; color: var(--navy-ink); margin-bottom: 12px; }
  .mega-thumb { display: block; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: var(--sky); margin-bottom: 10px; position: relative; }
  .mega-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
  .mega-thumb::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--stripe); }
  .mega-cat:hover .mega-thumb img { transform: scale(1.05); }
  .mega-cat-name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; }
  .mega-cat:hover .mega-cat-name { color: var(--blue-dark); }
  .mega-list li + li { margin-top: 2px; }
  .nav-links .mega-list a { display: block; font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: var(--text); padding: 4px 0 4px 12px; border-left: 2px solid var(--line); }
  .nav-links .mega-list a:hover { color: var(--blue-dark); border-left-color: var(--stripe); background: var(--sky); }
  .mega-promo { flex: 0 0 250px; background: var(--navy); color: #c9d9ec; border-radius: 4px; padding: 22px; position: relative; overflow: hidden; }
  .mega-promo::after { content: ''; position: absolute; top: -20%; bottom: -20%; right: 18px; width: 14px; background: var(--stripe); transform: skewX(-18deg); opacity: .8; }
  .mega-promo-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; margin: 0 0 8px; }
  .mega-promo p { font-size: .93rem; position: relative; z-index: 1; }
  .nav-links .mega-promo .btn { position: relative; z-index: 1; padding: .6em 1.1em; color: var(--navy); margin: 4px 0 14px; }
  .nav-links .mega-promo a.mega-call { display: flex; align-items: center; gap: 8px; color: #fff; font-size: .92rem; font-family: var(--font-body); position: relative; z-index: 1; padding: 3px 0; }
  .nav-links .mega-promo a.mega-call i { color: var(--stripe); width: 16px; }
  .nav-links .mega-promo a.mega-call:hover { color: var(--mist); }
}

@media (max-width: 960px) {
  .has-mega { display: grid; grid-template-columns: 1fr 48px; align-items: center; }
  .nav-links .has-mega > a.mega-trigger { border-bottom: 1px solid rgba(207, 234, 248, .12); }
  .mega-trigger .chev { display: none; }
  .mega-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; justify-self: end;
    background: rgba(255,255,255,.08); border: 0; border-radius: var(--radius); color: #fff; cursor: pointer;
  }
  .mega-toggle svg { width: 14px; height: 14px; transition: transform .2s; }
  .has-mega.open .mega-toggle svg { transform: rotate(180deg); }
  .mega { grid-column: 1 / -1; display: none; padding: 6px 0 10px 10px; border-left: 2px solid var(--stripe); margin: 6px 0 4px; }
  .has-mega.open .mega { display: block; }
  .mega-thumb, .mega-promo { display: none; }
  .nav-links .mega a { border-bottom: 0; padding: 6px 4px; font-size: 1rem; }
  .nav-links .mega-cat { color: var(--stripe); font-weight: 600; padding-top: 10px; }
  .mega-cat-name small { display: none; }
  .nav-links .mega-list a { color: #dbe8f6; font-family: var(--font-body); font-weight: 400; font-size: .98rem; padding-left: 12px; }
}
@media (min-width: 961px) {
  .nav-links > li.nav-mobile-cta { display: none; }
  .nav-links > li > a { white-space: nowrap; }
  .nav-links .mega a { white-space: normal; }
}

/* About: recent projects strip */
.project-strip { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; gap: 20px; align-items: stretch; }
.project-strip figure { margin: 0; display: flex; flex-direction: column; }
.project-strip img { width: 100%; height: 300px; object-fit: cover; }
.project-strip figcaption { font-family: var(--font-head); font-weight: 600; color: var(--navy-ink); padding: 10px 4px 2px; }
@media (max-width: 860px) { .project-strip { grid-template-columns: 1fr; } .project-strip img { height: 240px; } }

/* product titles & photos link to product pages */
.pcard-body h3 a, .pmini-body h3 a { color: inherit; }
.pcard-body h3 a:hover, .pmini-body h3 a:hover { color: var(--blue-dark); }
.pfeature-body h3 a { color: #fff; }
.media-link { display: contents; }
.btn-icon.on-dark { border-color: rgba(255,255,255,.4); color: #fff; }

/* =========================================================
   Product detail + category pages
   ========================================================= */
.page-header.slim { padding: 22px 0 18px; }
.page-header.slim .breadcrumb { margin: 0; }
.product-detail { padding-top: clamp(32px, 5vw, 56px); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pd-media { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-main { margin: 0; }
.pd-main img { width: 100%; max-height: 600px; object-fit: contain; background: var(--sky); }
.pd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; margin-top: 12px; }
.pd-thumb { padding: 3px; border: 2px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; aspect-ratio: 1; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--blue); }
.pd-cat { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--blue-dark); background: var(--sky); border: 1px solid var(--line); padding: 4px 12px; border-radius: 4px; margin-bottom: 14px; }
.pd-info h1 { color: var(--navy-ink); font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .35em; }
.pd-sub { font-size: 1.1rem; margin: 22px 0 4px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.pd-promises { display: grid; gap: 10px; padding: 18px 20px; background: var(--sky); border-left: 4px solid var(--stripe); border-radius: 4px; }
.pd-promises li { display: flex; gap: 12px; align-items: center; color: var(--navy-ink); font-size: .98rem; }
.pd-promises i { color: var(--blue); width: 20px; text-align: center; }
.other-cats { margin-top: clamp(56px, 7vw, 88px); }
.other-cats h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.other-cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.other-cat { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; color: var(--navy-ink); font-family: var(--font-head); font-weight: 600; }
.other-cat img { width: 96px; height: 80px; object-fit: cover; }
.other-cat small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .88rem; }
.other-cat:hover { border-color: var(--blue); color: var(--blue-dark); }
@media (max-width: 860px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-media { position: static; }
}

.category-banner-text h2 a { color: #fff; }
.category-banner-text h2 a:hover { color: var(--mist); }

/* ---------- Home banner: window photo blended into the navy panel ---------- */
.hero-photo {
  position: absolute; top: 0; bottom: 0; left: 0; width: 58%; z-index: 0; overflow: hidden; pointer-events: none;
}
.hero-photo::before {
  content: ''; position: absolute; inset: -4%;
  background: url('../images/hero/upvc-window-depth.webp') center 40% / cover no-repeat;
  opacity: .34; filter: saturate(.6) contrast(1.05);
  mix-blend-mode: luminosity;
  animation: hero-photo-zoom 22s ease-in-out infinite alternate;
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,36,72,.92) 0%, rgba(0,36,72,.55) 55%, rgba(0,36,72,.85) 100%),
    linear-gradient(0deg, rgba(0,36,72,.9) 0%, rgba(0,36,72,0) 35%);
}
@keyframes hero-photo-zoom { from { transform: scale(1.12) translateX(-2%); } to { transform: scale(1) translateX(1%); } }
.hero-grid { position: relative; z-index: 1; }
.hero-bands { z-index: 2; }

/* ---------- Home stats band with count-up animation ---------- */
.stats-band { padding: 0; position: relative; z-index: 3; margin-top: -46px; }
.stats-band .stat-row { margin-top: 0; box-shadow: 0 24px 40px -24px rgba(0,36,72,.55); position: relative; overflow: hidden; }
.stats-band .stat-row::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -30%; width: 18%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.08), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.stats-band .stat-row.in::after { animation: stats-sheen 2.4s ease-out .9s both; }
@keyframes stats-sheen { from { left: -30%; } to { left: 120%; } }
.stat-row-anim .stat { position: relative; opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.stat-row-anim.in .stat { opacity: 1; transform: none; }
.stat-row-anim.in .stat:nth-child(2) { transition-delay: .12s; }
.stat-row-anim.in .stat:nth-child(3) { transition-delay: .24s; }
.stat-row-anim.in .stat:nth-child(4) { transition-delay: .36s; }
.stat-row-anim .stat::after {
  content: ''; position: absolute; left: 24px; bottom: 18px; height: 3px; width: 0; background: var(--stripe);
  transition: width 1.2s cubic-bezier(.2,.8,.2,1) .5s;
}
.stat-row-anim.in .stat::after { width: 42px; }
.stat-row-anim .num { font-variant-numeric: tabular-nums; }
.stats-band + section { padding-top: clamp(72px, 9vw, 120px); }
@media (max-width: 960px) {
  .hero-photo { width: 100%; height: 62%; }
  .stats-band { margin-top: -30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo::before { animation: none; }
  .stat-row-anim .stat { opacity: 1; transform: none; transition: none; }
  .stat-row-anim .stat::after { width: 42px; transition: none; }
  .stats-band .stat-row::after { display: none; }
}

/* ---------- About page banner: showroom photo merged into the navy header ---------- */
.page-header.has-photo { padding: clamp(64px, 9vw, 120px) 0; }
.page-header.has-photo .container { z-index: 2; }
.page-header.has-photo .container > * { max-width: 44%; }
.page-header-photo {
  position: absolute; top: 0; bottom: 0; right: -14%; width: 64%; z-index: 0; overflow: hidden;
  transform: skewX(-22deg); background: #0a2f57;
  animation: about-photo-in 1s cubic-bezier(.2,.8,.2,1) .1s both;
}
.page-header-photo .php-inner { position: absolute; top: 0; bottom: 0; left: -16%; right: 21%; transform: skewX(22deg); overflow: hidden; }
.page-header-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 45%;
  animation: about-photo-zoom 24s ease-in-out 1s infinite alternate;
}
.page-header-photo .php-inner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,36,72,.7) 0%, rgba(0,36,72,.1) 22%, rgba(0,36,72,0) 40%),
    linear-gradient(0deg, rgba(0,36,72,.45) 0%, rgba(0,36,72,0) 30%);
}
.page-header.has-photo .stripes { z-index: 1; }
.page-header.has-photo .stripes span:nth-child(1) { right: calc(50% + 30px); width: 14px; }
.page-header.has-photo .stripes span:nth-child(2) { right: calc(50% - 15px); width: 30px; background: var(--blue); }
.page-header.has-photo .stripes span:nth-child(3) { display: none; }
@keyframes about-photo-in { from { opacity: 0; transform: skewX(-22deg) translateX(80px); } to { opacity: 1; transform: skewX(-22deg); } }
@keyframes about-photo-zoom { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }

@media (max-width: 1500px) {
  .page-header-photo img { object-position: 40% 45%; }
}
@media (max-width: 1100px) {
  .page-header.has-photo { padding-bottom: 0; }
  .page-header.has-photo .container > * { max-width: none; }
  .page-header-photo {
    position: relative; right: auto; width: 100%; height: clamp(190px, 52vw, 380px); margin-top: 28px;
    transform: none; clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%);
    animation-name: about-photo-in-sm;
  }
  .page-header-photo .php-inner { left: 0; right: 0; transform: none; }
  .page-header-photo .php-inner::after { background: linear-gradient(180deg, rgba(0,36,72,.35) 0%, rgba(0,36,72,0) 35%); }
  .page-header.has-photo .stripes { display: none; }
}
@keyframes about-photo-in-sm { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
