:root {
  --red: #d8212a;
  --blue: #26327d;
  --green: #3f7a2e;
  --dark: #25272c;
  --muted: #636a73;
  --line: #dfe4ea;
  --soft: #f5f7fa;
  --white: #ffffff;
  --ink: #111827;
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 12px 26px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.18);
  --radius: 11px;
  --radius-lg: 18px;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, Arial, sans-serif;
  --max: 1180px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  background: var(--white);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(216, 33, 42, 0.35);
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

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

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

.section.tight {
  padding: 62px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--red);
  border-radius: 999px;
}

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dark h1,
.dark h2,
.dark h3,
.dark h4 {
  color: var(--white);
}

h1 {
  font-size: 4rem;
  margin-bottom: 18px;
}

h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

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

.dark p {
  color: rgba(255, 255, 255, 0.76);
}

.lead {
  font-size: 1.12rem;
}

.muted {
  color: var(--muted);
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 228, 234, 0.9);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease;
}

.header.is-scrolled {
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.utility {
  border-bottom: 1px solid var(--line);
  background: var(--dark);
  color: var(--white);
  font-size: 0.86rem;
}

.utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
}

.utility-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.utility a {
  color: rgba(255, 255, 255, 0.9);
}

.utility strong {
  color: var(--white);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img {
  width: 150px;
  height: auto;
}

.brand-mark {
  display: none;
  width: 10px;
  height: 48px;
  background: linear-gradient(to bottom, var(--red) 0 33%, var(--blue) 33% 66%, var(--green) 66% 100%);
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 9px;
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: rgba(216, 33, 42, 0.07);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
}

.mobile-panel {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  background: var(--red);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.18);
}

.btn-blue {
  background: var(--blue);
}

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

.btn-dark {
  background: var(--dark);
}

.btn-light {
  background: var(--white);
  color: var(--dark);
  border-color: var(--line);
}

.btn-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.9rem;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.carousel-hero .container {
  position: relative;
  z-index: 2;
}

.carousel-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.55) 48%, rgba(17, 24, 39, 0.2)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.42), transparent 42%);
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 690px;
  padding: 94px 0 76px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.tagline {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 620px;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-metric {
  padding: 18px;
  background: rgba(17, 24, 39, 0.24);
}

.hero-metric strong {
  display: block;
  color: var(--white);
  font-size: 1.12rem;
}

.hero-metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.intro-band {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

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

.point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.point-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: rgba(94, 168, 69, 0.12);
  color: var(--green);
}

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

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 50, 125, 0.26);
  box-shadow: var(--shadow-soft);
}

.card-body {
  padding: 20px;
}

.product-card img,
.accessory-card img,
.gallery-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: var(--soft);
  transition: transform 0.45s ease;
}

.product-card:hover img,
.accessory-card:hover img,
.gallery-card:hover img {
  transform: scale(1.06);
}

.hero-metric strong {
  font-family: var(--font-head);
}

.product-card h3,
.accessory-card h3 {
  color: var(--blue);
}

.product-spec {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(94, 168, 69, 0.12);
  color: #346f24;
  font-size: 0.86rem;
  font-weight: 800;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
}

.image-panel {
  position: relative;
}

.image-panel img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: opacity 0.3s ease;
}

.image-panel img.fading {
  opacity: 0.4;
}

.btn-light.active {
  background: rgba(38, 50, 125, 0.08);
  border-color: var(--blue);
  color: var(--blue);
}

.image-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 280px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.image-note strong {
  display: block;
  color: var(--blue);
}

.visualiser-container {
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.visualiser-container img,
.visualiser-container canvas {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: none;
}
.colour-overlay {
  position: absolute;
  inset: 0;
  background-color: transparent;
  mix-blend-mode: multiply;
  transition: background-color 0.4s ease;
  pointer-events: none;
}

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

.colour-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.colour-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.colour-card h3 {
  margin: 12px 0 4px;
  font-size: 1rem;
}

.colour-chip {
  width: 100%;
  height: 10px;
  margin-top: 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
}

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

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--dark);
}

.gallery-card img {
  height: 290px;
  transition: transform 0.32s ease;
}

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

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.9), transparent);
  color: var(--white);
}

.gallery-caption p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.logo-marquee {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.dark .logo-marquee {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  width: 190px;
  height: 112px;
  display: grid;
  place-items: center;
  padding: 18px;
  flex: 0 0 auto;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.logo-item img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.cert-grid .logo-item,
.client-grid .logo-item {
  width: auto;
  height: 126px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.stat {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.stat strong {
  display: block;
  color: var(--blue);
  font-size: 1.42rem;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cta-inner h2,
.cta-inner p {
  color: var(--white);
}

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

.quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.quick-link span {
  color: var(--muted);
  font-size: 0.88rem;
}

.quick-link strong {
  display: block;
  color: var(--ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.page-hero {
  position: relative;
  padding: 112px 0 82px;
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(100deg, rgba(17, 24, 39, 0.9) 0%, rgba(38, 50, 125, 0.64) 65%, rgba(38, 50, 125, 0.46) 100%),
    var(--page-image);
  background-size: cover;
  background-position: center;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--white);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.spec-table th,
.spec-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  color: var(--blue);
  width: 32%;
  background: #f9fafb;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 14px;
}

.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.form-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

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

.form-field {
  display: grid;
  gap: 7px;
}

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

.form-field label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--dark);
  background: var(--white);
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(38, 50, 125, 0.1);
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(94, 168, 69, 0.35);
  border-radius: var(--radius);
  color: #236b28;
  background: rgba(94, 168, 69, 0.1);
  font-weight: 800;
}

.form-success.show {
  display: block;
}

.map-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px dashed rgba(38, 50, 125, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(38, 50, 125, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(38, 50, 125, 0.05) 1px, transparent 1px),
    var(--white);
  background-size: 32px 32px;
  text-align: center;
}

.map-pin {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: #1d2025;
}

.footer-top {
  padding: 62px 0 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 1fr 1fr;
  gap: 34px;
}

.footer h3,
.footer h4 {
  color: var(--white);
}

.footer p,
.footer li,
.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-logo {
  width: 176px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--white);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.72);
}

.modal-overlay.open {
  display: flex;
}

.modal {
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-head {
  position: relative;
  padding: 28px 28px 10px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
}

.modal-body {
  padding: 0 28px 28px;
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
}

.float-primary {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: #1a7d43;
  box-shadow: 0 14px 30px rgba(26, 125, 67, 0.34);
  animation: pulse 2.3s ease-in-out infinite;
}

.float-primary .icon {
  width: 27px;
  height: 27px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(26, 125, 67, 0.34), 0 14px 30px rgba(26, 125, 67, 0.34);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(26, 125, 67, 0), 0 14px 30px rgba(26, 125, 67, 0.34);
  }
}

.float-menu {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 214px;
  display: grid;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-cta:hover .float-menu,
.floating-cta.open .float-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-action {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--dark);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(17, 24, 39, 0.84);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-height: 84vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .mobile-toggle {
    display: inline-flex;
  }

  .mobile-panel {
    position: fixed;
    inset: calc(var(--header-height) + 37px) 0 auto;
    z-index: 75;
    display: none;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }

  .mobile-panel.open {
    display: block;
  }

  .mobile-panel a,
  .mobile-panel button {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 6px;
  }
}

@media (max-width: 940px) {
  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.12rem;
  }

  .hero {
    min-height: 620px;
  }

  .intro-grid,
  .split,
  .contact-layout,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .colour-grid,
  .quick-links,
  .gallery-grid,
  .stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner {
    align-items: start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .utility .container {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 0;
  }

  .utility-links {
    gap: 10px;
  }

  .nav {
    min-height: 70px;
  }

  .brand img {
    width: 146px;
  }

  .mobile-panel {
    inset: 106px 0 auto;
  }

  .section {
    padding: 64px 0;
  }

  h1 {
    font-size: 2.48rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .tagline {
    font-size: 1.25rem;
  }

  .hero-content {
    padding: 80px 0 56px;
  }

  .hero-metrics,
  .intro-points,
  .grid-4,
  .grid-3,
  .grid-2,
  .colour-grid,
  .quick-links,
  .gallery-grid,
  .stat-row,
  .feature-list,
  .form-grid,
  .modal-actions {
    grid-template-columns: 1fr;
  }

  .product-card img,
  .accessory-card img,
  .gallery-card img {
    height: 220px;
  }

  .image-panel img {
    min-height: 280px;
  }

  .image-note {
    position: static;
    margin-top: 12px;
    max-width: none;
  }

  .page-hero {
    padding: 84px 0 62px;
  }

  .modal-head,
  .modal-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .floating-cta {
    right: 14px;
    bottom: 14px;
  }
}

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

/* Hero Video Background Styles */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 35, 80, 0.68) 0%, rgba(5, 20, 50, 0.92) 100%);
  z-index: 2;
}

/* White background wrapper for header logo */
.brand img {
  background: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
}

/* Stats Strip styles */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item {
  padding: 16px;
  transition: transform 0.2s ease;
}
.stat-item:hover {
  transform: translateY(-2px);
}

/* Geometry Section / Architectural Roof Designs */
.geometries-section {
  background: var(--soft);
}
.geometry-grid {
  margin-top: 32px;
}
.geometry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.geometry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(38, 50, 125, 0.25);
}
.geometry-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.roof-svg {
  width: 100%;
  height: 100%;
}
.geometry-card h3 {
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: 8px;
}
.geometry-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

/* 3RIB Innovation Cross-Section Diagram hover scaling */
.innovation-section svg {
  transition: transform 0.3s ease;
}
.innovation-section svg:hover {
  transform: scale(1.015);
}

/* Certifications page card styling */
.certifications-grid {
  margin-top: 32px;
}
.cert-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cert-img-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.cert-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cert-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}
.cert-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.cert-card .subtitle {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.4;
  margin: 0;
  text-transform: none;
}

/* FAQ Accordion Styling */
.faq-item {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item:hover {
  box-shadow: var(--shadow-soft);
  border-color: rgba(38, 50, 125, 0.2);
}
.faq-item[open] {
  border-color: var(--blue);
  box-shadow: var(--shadow-soft);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary {
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--red);
  font-weight: bold;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}

/* Spec table hover row background and shading */
.spec-table tr:nth-child(even) td {
  background: #f9fafb;
}
.spec-table tr:hover td,
.spec-table tr:hover th {
  background: rgba(38, 50, 125, 0.03);
}

/* Responsive adjustments */
@media (max-width: 940px) {
  .geometry-grid, .certifications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .geometry-grid, .certifications-grid, .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* Enhancements for new UI additions */
.try-now-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulse 2s infinite;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mascot Assistant styles (Magical Tour Guide Robot) */
.mascot-assistant {
  position: absolute;
  z-index: 100;
  width: 110px;
  height: 138px;
  pointer-events: none;
  /* Curved flight paths via mismatched coordinates transitions */
  transition: 
    left 1.3s cubic-bezier(0.25, 1, 0.5, 1), 
    top 1.3s cubic-bezier(0.35, 0, 0.25, 1), 
    transform 0.6s ease, 
    opacity 0.6s ease;
  opacity: 0;
}

/* Minimized helper state */
.mascot-assistant.minimized {
  transform: scale(0.65);
  opacity: 0.65;
}
.mascot-assistant.minimized:hover {
  transform: scale(0.78);
  opacity: 1;
}

/* Directional layouts for speech bubbles */
.bubble-top .mascot-bubble {
  position: absolute;
  bottom: 148px;
  left: 55px;
  transform: translate(-50%, 10px);
}
.bubble-top.bubble-open .mascot-bubble {
  transform: translate(-50%, 0);
}

.bubble-bottom .mascot-bubble {
  position: absolute;
  top: 148px;
  left: 55px;
  transform: translate(-50%, -10px);
}
.bubble-bottom.bubble-open .mascot-bubble {
  transform: translate(-50%, 0);
}

.bubble-left .mascot-bubble {
  position: absolute;
  right: 120px;
  top: 20px;
  transform: translate(10px, 0);
}
.bubble-left.bubble-open .mascot-bubble {
  transform: translate(0, 0);
}

.bubble-right .mascot-bubble {
  position: absolute;
  left: 120px;
  top: 20px;
  transform: translate(-10px, 0);
}
.bubble-right.bubble-open .mascot-bubble {
  transform: translate(0, 0);
}

.mascot-bubble {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.88rem;
  line-height: 1.4;
  box-shadow: var(--shadow);
  width: max-content;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mascot-assistant.bubble-open .mascot-bubble {
  opacity: 1;
  pointer-events: all;
}

/* Pointer for bubble-top: triangle at bottom pointing down */
.bubble-top .mascot-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: var(--white) transparent;
  display: block;
  width: 0;
}
.bubble-top .mascot-bubble::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 12px 12px 0;
  border-style: solid;
  border-color: var(--line) transparent;
  display: block;
  width: 0;
  z-index: -1;
}

/* Pointer for bubble-bottom: triangle at top pointing up */
.bubble-bottom .mascot-bubble::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 10px 10px;
  border-style: solid;
  border-color: var(--white) transparent;
  display: block;
  width: 0;
}
.bubble-bottom .mascot-bubble::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 12px 12px;
  border-style: solid;
  border-color: var(--line) transparent;
  display: block;
  width: 0;
  z-index: -1;
}

/* Pointer for bubble-left: triangle at right pointing right */
.bubble-left .mascot-bubble::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent transparent var(--white);
  display: block;
  width: 0;
}
.bubble-left .mascot-bubble::before {
  content: "";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 12px 0 12px 12px;
  border-style: solid;
  border-color: transparent transparent transparent var(--line);
  display: block;
  width: 0;
  z-index: -1;
}

/* Pointer for bubble-right: triangle at left pointing left */
.bubble-right .mascot-bubble::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent var(--white) transparent transparent;
  display: block;
  width: 0;
}
.bubble-right .mascot-bubble::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 12px 12px 12px 0;
  border-style: solid;
  border-color: transparent var(--line) transparent transparent;
  display: block;
  width: 0;
  z-index: -1;
}

.mascot-bubble-text {
  font-weight: 500;
}
.mascot-bubble-text strong {
  color: var(--red);
  font-weight: 700;
}
.mascot-bubble-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.mascot-character-wrapper {
  display: flex;
  align-items: end;
  pointer-events: none;
}

.mascot-container {
  width: 110px;
  height: 138px;
  pointer-events: all;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.mascot-container:hover {
  transform: scale(1.04);
}
.mascot-container.tilt-left {
  transform: rotate(-10deg);
}
.mascot-container.tilt-right {
  transform: rotate(10deg);
}

/* Floating Action Card */
.mascot-action-card {
  margin-left: 12px;
  margin-bottom: 6px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
  opacity: 0;
  transform: translateX(-15px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mascot-assistant.card-open .mascot-action-card {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}
.mascot-action-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}
.mascot-action-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
}
.mascot-card-buttons {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* Animations for Mascot Parts */
/* Idle floating */
.mascot-svg {
  animation: mascotFloat 4s infinite ease-in-out;
}
.mascot-shadow {
  transform-origin: 60px 138px;
  animation: shadowScale 4s infinite ease-in-out;
}
@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shadowScale {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.75); opacity: 0.65; }
}

/* Blinking eyes animation */
.mascot-eyes {
  transform-origin: 60px 63px;
  animation: blinkEyes 4.5s infinite ease-in-out;
}
@keyframes blinkEyes {
  0%, 95%, 100% { transform: scaleY(1); }
  97.5% { transform: scaleY(0.1); }
}

/* Wave gesture for Left Arm */
.mascot-left-arm.wave {
  animation: waveArm 0.6s ease-in-out 3;
}
@keyframes waveArm {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(35deg); }
  75% { transform: rotate(-10deg); }
}

/* Point gesture for Right Arm */
.mascot-right-arm.point {
  animation: pointArm 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
@keyframes pointArm {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-55deg); }
}

/* Nod gesture for Head */
.mascot-head.nod {
  animation: nodHead 0.35s ease-in-out 3;
}
@keyframes nodHead {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  45% { transform: translateY(5px) rotate(1deg); }
  80% { transform: translateY(-2px); }
}

/* Bounce gesture for Mascot container */
.mascot-container.bounce {
  animation: mascotBounce 0.45s ease 2;
}
@keyframes mascotBounce {
  0%, 100% { transform: translateY(0) scaleY(1); }
  40% { transform: translateY(-16px) scaleY(1.05); }
  75% { transform: translateY(2px) scaleY(0.95); }
}

/* Celebrate gesture sparkles */
.mascot-sparkles.celebrate {
  animation: sparklesPulse 0.6s ease 3 forwards;
}
@keyframes sparklesPulse {
  0%, 100% { transform: scale(0.7) rotate(0deg); opacity: 0; }
  50% { transform: scale(1.1) rotate(15deg); opacity: 1; }
}

/* Fading trail particle */
.mascot-trail-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 10%, #ffd700 50%, rgba(255, 215, 0, 0) 80%);
  pointer-events: none;
  z-index: 99;
  animation: fadeOutParticle 0.8s ease-out forwards;
}
@keyframes fadeOutParticle {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(0.2); opacity: 0; }
}

/* Confetti explosion */
.mascot-confetti-particle {
  position: absolute;
  pointer-events: none;
  z-index: 98;
  border-radius: 2px;
  animation: confettiExplode 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}
@keyframes confettiExplode {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dest-x), var(--dest-y)) scale(0) rotate(720deg); opacity: 0; }
}

/* Roof sparkle animation */
.roof-sparkle {
  position: absolute;
  background: radial-gradient(circle, #fff 10%, #ffd700 40%, rgba(255, 215, 0, 0) 80%);
  pointer-events: none;
  z-index: 15;
  animation: roofSparkleAnim 0.8s ease-out forwards;
}
@keyframes roofSparkleAnim {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(45deg); opacity: 1; }
  100% { transform: scale(0.2) rotate(90deg); opacity: 0; }
}

/* Palette glowing pulse */
@keyframes paletteGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(33, 150, 243, 0.2); }
  50% { box-shadow: 0 0 25px rgba(33, 150, 243, 0.75); }
}
.glowing-pulse {
  animation: paletteGlow 1.5s infinite;
  border-radius: var(--radius);
}

/* Responsive fixes */
@media (max-width: 580px) {
  .mascot-assistant {
    width: 80px;
    height: 100px;
  }
  .mascot-character-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .mascot-action-card {
    margin-left: 0;
    margin-top: 8px;
    max-width: 260px;
    transform: translateY(-15px);
  }
  .mascot-assistant.card-open .mascot-action-card {
    transform: translateY(0);
  }
  .mascot-container {
    width: 80px;
    height: 100px;
  }
  .mascot-bubble {
    position: absolute;
    bottom: 110px;
    left: 40px;
    transform: translate(-50%, 10px);
    margin: 0;
    max-width: 200px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .bubble-open .mascot-bubble {
    transform: translate(-50%, 0);
  }
  /* Force top pointer for mobile stacking */
  .mascot-bubble::after {
    bottom: -10px !important;
    left: 50% !important;
    top: auto !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    border-width: 10px 10px 0 !important;
    border-color: var(--white) transparent !important;
  }
  .mascot-bubble::before {
    bottom: -12px !important;
    left: 50% !important;
    top: auto !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    border-width: 12px 12px 0 !important;
    border-color: var(--line) transparent !important;
  }
}

.visualiser-promo-card {
  background: linear-gradient(135deg, rgba(38, 50, 125, 0.05) 0%, rgba(94, 168, 69, 0.05) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-soft);
}
.visualiser-promo-content {
  flex: 1 1 350px;
}
.visualiser-promo-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 8px;
  animation: pulse 2s infinite;
}
.visualiser-promo-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 6px;
}
.visualiser-promo-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.schematic-svg-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 12px;
  overflow: hidden;
  display: block;
}

/* Custom color picker panel styling */
.custom-colour-picker-section {
  background: rgba(38, 50, 125, 0.02);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px dashed var(--line);
}
.custom-colour-picker-section input[type="color"] {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 4px;
}

/* Roofie bubble action animations */
.guide-bot-actions, .guide-bot-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}


.form-success.error{color:#c0392b;}
