:root {
  --navy: #0a1f5c;
  --navy-deep: #061433;
  --gold: #c9a227;
  --gold-soft: #e4c35a;
  --cream: #f7f4ec;
  --header-h: 129px;
  --page-hero-h: 480px;
  color-scheme: only light;
  supported-color-schemes: light;
}

html {
  scroll-behavior: smooth;
  color-scheme: only light;
  background: #ffffff;
  forced-color-adjust: none;
}

body {
  font-family: Inter, system-ui, sans-serif;
  color: #1b2433;
  background: #ffffff;
  overflow-x: hidden;
  color-scheme: only light;
  forced-color-adjust: none;
}

html, body {
  background-color: #ffffff !important;
}

.site-footer {
  background: #0a1f5c;
  color: #ffffff;
  color-scheme: only light;
  forced-color-adjust: none;
}

.site-footer h3 {
  color: #ffffff;
}

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

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

.site-footer .footer-logo {
  display: block;
  height: 8.5rem;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  margin-bottom: 0;
  mix-blend-mode: screen;
}

.site-footer .footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
}

.footer-list {
  list-style: disc;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-list ::marker {
  color: var(--gold);
}

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

@media (prefers-color-scheme: dark) {
  :root,
  html,
  body {
    color-scheme: only light;
    background: #ffffff !important;
    color: #1b2433 !important;
  }

  .visiting-card,
  .visit-panel-light {
    background: #ffffff !important;
    color: #0a1f5c !important;
  }

  .site-footer,
  #site-footer footer {
    background: #0a1f5c !important;
    color: #ffffff !important;
  }
}

img {
  max-width: 100%;
}

.hero-slideshow img.hero-slide {
  max-width: none;
}

.font-display {
  font-family: Montserrat, Inter, sans-serif;
}

.gold-rule {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.gold-rule::before,
.gold-rule::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
}

.eyebrow {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
}

.section-title {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.btn-gold {
  background: linear-gradient(180deg, #e0c04a 0%, #c9a227 100%);
  color: var(--navy-deep);
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(201, 162, 39, 0.28);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-navy:hover {
  background: #0d2a78;
  transform: translateY(-2px);
}

.site-header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(10, 31, 92, 0.08);
}

.nav-link {
  position: relative;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu .nav-link {
  color: #fff;
}

#site-header.is-scrolled .site-header {
  box-shadow: none;
}

#site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(10, 31, 92, 0.08);
}

.hero-overlay {
  background:
    linear-gradient(105deg, rgba(6, 20, 51, 0.88) 0%, rgba(10, 31, 92, 0.62) 52%, rgba(6, 20, 51, 0.28) 100%);
}

.hero-panel {
  background:
    radial-gradient(circle at top right, rgba(201, 162, 39, 0.16), transparent 36%),
    linear-gradient(160deg, #061433 0%, #0a1f5c 100%);
}

.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px rgba(10, 31, 92, 0.12);
}

.product-card img,
.gallery-card img {
  transition: transform 0.6s ease;
}

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

.auto-scroll {
  overflow: hidden;
}

.auto-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: auto-scroll-x 42s linear infinite;
}

.auto-scroll.is-paused .auto-track,
.auto-scroll:hover .auto-track {
  animation-play-state: paused;
}

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

.photo-slide {
  flex: 0 0 auto;
  width: min(78vw, 280px);
  height: 200px;
  object-fit: cover;
  border-radius: 1rem;
  scroll-snap-align: start;
  cursor: zoom-in;
}

@media (min-width: 768px) {
  .photo-slide {
    width: 320px;
    height: 240px;
    border-radius: 1.25rem;
  }
}

.blog-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.blog-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  scrollbar-width: none;
}

.blog-scroller::-webkit-scrollbar {
  display: none;
}

.blog-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.blog-slide {
  flex: 0 0 auto;
  width: min(78vw, 320px);
  display: block;
  scroll-snap-align: start;
}

.blog-arrow {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(10, 31, 92, 0.15);
  background: #fff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(10, 31, 92, 0.08);
}

.blog-arrow:hover:not(:disabled) {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.blog-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.g-reviews-head {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.g-reviews-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.g-reviews-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: #202124;
}

.g-reviews-score {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #5f6368;
  font-size: 0.92rem;
  margin-top: 0.15rem;
}

.g-reviews-sub {
  color: #5f6368;
  font-size: 0.95rem;
}

.g-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.g-logo-sm {
  width: 18px;
  height: 18px;
  margin-left: auto;
}

.g-stars::before {
  content: "★★★★★";
  color: #fbbc04;
  letter-spacing: 1px;
  font-size: 14px;
}

.g-review {
  flex: 0 0 auto;
  width: min(86vw, 340px);
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.g-review-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.g-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.g-name {
  color: #202124;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
}

.g-when {
  color: #5f6368;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.g-review .g-stars {
  margin: 0.55rem 0 0.45rem;
}

.g-text {
  color: #3c4043;
  font-size: 0.9rem;
  line-height: 1.5;
}

.stat-card {
  border: 1px solid rgba(201, 162, 39, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.stat-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: reveal-up 0.8s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }
.reveal-delay-4 { animation-delay: 0.48s; }

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.quote-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quote-modal.open {
  opacity: 1;
  visibility: visible;
}

.filter-btn.active {
  background: var(--navy);
  color: #fff;
}

.gallery-item.hide {
  display: none;
}

.float-btn {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 10px 24px rgba(10, 31, 92, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.float-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.float-btn-left {
  left: max(20px, env(safe-area-inset-left));
}

.float-btn-right {
  right: max(20px, env(safe-area-inset-right));
}

.form-field:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
}

.visiting-card {
  box-shadow: 0 24px 60px rgba(10, 31, 92, 0.16);
  background: #fff;
  color-scheme: only light;
  forced-color-adjust: none;
}

.visit-panel-navy {
  background: #0a1f5c;
  color: #fff;
}

.visit-panel-light {
  background: #fff;
  color: #0a1f5c;
}

@media (max-width: 767px) {
  .visiting-card {
    margin-bottom: 4.5rem;
  }
}

#site-footer footer {
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  text-align: center;
  color: #fff;
}

.loader-logo {
  width: min(148px, 38vw);
  height: auto;
  margin: 0 auto 12px;
  animation: loader-pop 0.8s ease both;
}

.loader-name {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 1.7rem;
}

.loader-sub {
  margin-top: 6px;
  letter-spacing: 0.42em;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
}

.loader-progress {
  width: 168px;
  height: 2px;
  margin: 22px auto 0;
  background: rgba(10, 31, 92, 0.12);
  overflow: hidden;
}

.loader-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
  animation: loader-bar 1.25s ease forwards;
}

.loader-since {
  margin-top: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
}

@keyframes loader-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

@keyframes loader-bar {
  to { width: 100%; }
}

.top-ticker {
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  max-height: 42px;
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  transition: transform 0.35s ease, box-shadow 0.3s ease;
}


.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
}

.top-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.7rem 0;
  white-space: nowrap;
}

.ticker-group span,
.ticker-group a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
  flex: 0 0 auto;
}

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

#site-header.header-hidden {
  transform: translateY(-100%);
}


.hero-slideshow {
  position: relative;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background: #061433;
}

@supports (height: 100dvh) {
  .hero-slideshow {
    height: 100dvh;
    max-height: 100vh;
  }
}

.hero-shell {
  position: relative;
  z-index: 2;
  height: 100%;
  box-sizing: border-box;
  padding-top: var(--header-h, 118px);
  display: flex;
  flex-direction: column;
}

.hero-video-content {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-slideshow h1 {
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 56rem;
  margin-top: 0.75rem;
  font-size: clamp(1.7rem, 4.6vw, 4rem);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 40rem;
  margin-top: 1rem;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}

.hero-secondary:hover {
  background: #fff;
  color: var(--navy);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slideshow .hero-slide.is-active {
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 20, 51, 0.62) 0%, rgba(6, 20, 51, 0.28) 55%, rgba(6, 20, 51, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 20, 51, 0.2) 0%, transparent 36%, rgba(6, 20, 51, 0.4) 100%);
}


.hero-slide-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0.25rem 1rem 1.1rem;
}

@media (max-height: 740px) {
  .hero-slideshow h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero-lead {
    margin-top: 0.6rem;
  }

  .hero-actions {
    margin-top: 0.85rem;
  }
}

.lead-card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 24px 50px rgba(6, 20, 51, 0.22);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero-systems {
  background:
    radial-gradient(circle at top right, rgba(201, 162, 39, 0.14), transparent 34%),
    linear-gradient(160deg, #061433 0%, #0a1f5c 100%);
}

.hero-chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
}

.hero-system-card {
  position: relative;
  min-height: 460px;
  border-radius: 1.6rem;
  overflow: hidden;
  display: block;
  border: 1px solid rgba(201, 162, 39, 0.22);
}

.hero-system-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.hero-system-card:hover img {
  transform: scale(1.05);
}

.hero-system-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 51, 0.18) 0%, rgba(6, 20, 51, 0.88) 72%);
}

.hero-system-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 460px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.hero-spec li {
  font-size: 0.78rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.hero-slider {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  background: #061433;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s ease;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(22px);
}

.hero-slide.is-active .hero-copy > * {
  animation: reveal-up 0.75s ease forwards;
}

.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: 0.22s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: 0.32s; }

.hero-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(6, 20, 51, 0.35);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-nav-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.3s ease, background 0.3s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--gold);
}

.hero-progress {
  height: 2px;
  width: 120px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold);
}

.hero-progress.is-running span {
  animation: hero-progress 6.5s linear forwards;
}

.scroll-hint {
  animation: bounce-hint 1.8s ease infinite;
}

@keyframes hero-progress {
  to { width: 100%; }
}

@keyframes bounce-hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

section.page-hero {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: var(--page-hero-h);
  min-height: var(--page-hero-h);
  max-height: var(--page-hero-h);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
  background-color: #061433;
  background-size: cover;
  background-position: center;
}

.page-hero-about { background-image: url("../assets/products/about-workshop.png"); }
.page-hero-services { background-image: url("../assets/products/aluminium-casement-window.png"); }
.page-hero-products { background-image: url("../assets/products/upvc-sliding-window.png"); }
.page-hero-gallery { background-image: url("../assets/products/aluminium-sliding-door.png"); }
.page-hero-blog { background-image: url("../assets/products/upvc-casement-window.png"); }
.page-hero-contact { background-image: url("../assets/products/aluminium-entrance-door.png"); }
.page-hero-article-upvc { background-image: url("../assets/products/upvc-sliding-window.png"); }
.page-hero-article-choose { background-image: url("../assets/products/upvc-casement-window.png"); }
.page-hero-article-alu { background-image: url("../assets/products/aluminium-sliding-door.png"); }

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem 2.75rem;
}

.page-hero h1 {
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.55rem 0 0;
  max-width: 46rem;
  min-height: 2.3em;
  font-size: 2.55rem;
}

.page-hero-lead {
  display: none;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 20, 51, 0.9) 0%, rgba(10, 31, 92, 0.72) 52%, rgba(6, 20, 51, 0.5) 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(201, 162, 39, 0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: page-shine 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes page-shine {
  0%, 30% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

.js-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 20, 51, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 1.6rem;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 16px;
}


.quote-sheet {
  max-height: min(90vh, 720px);
  overflow-y: auto;
}

@media (max-width: 1279px) {
  .nav-desktop {
    display: none !important;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 109px;
    --page-hero-h: 360px;
  }

  .top-ticker {
    max-height: 34px;
  }

  .ticker-group {
    padding: 0.5rem 0;
  }
  .product-card .h-52,
  .product-card img.h-44 {
    height: 9rem;
  }

  .product-card .p-6,
  .product-card .p-7,
  article.card-lift .p-7 {
    padding: 0.75rem;
  }

  .product-card h3,
  article.card-lift h3 {
    font-size: 0.92rem;
  }

  .service-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .eyebrow {
    letter-spacing: 0.16em;
    font-size: 0.64rem;
  }

  .gold-rule::before,
  .gold-rule::after {
    width: 1.1rem;
  }

  body[data-page="home"] {
    padding-top: var(--header-h, 110px);
  }

  .hero-slideshow {
    width: 100%;
    height: calc(100vw * 5 / 4);
    max-height: none;
    aspect-ratio: unset;
  }

  .hero-shell {
    padding-top: 0;
  }

  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(6, 20, 51, 0.28) 0%, rgba(6, 20, 51, 0.72) 48%, rgba(6, 20, 51, 0.9) 100%);
  }

  .hero-video-content {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.75rem 1.15rem 0.5rem;
  }

  .hero-video-content .gold-rule {
    justify-content: center;
  }

  .hero-slideshow h1 {
    font-size: clamp(1.55rem, 7.4vw, 2rem);
    margin-top: 0.45rem;
  }

  .hero-lead {
    margin-top: 0.65rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.9rem;
    width: 100%;
    max-width: 22rem;
  }

  .hero-actions .btn-gold,
  .hero-secondary {
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 0.82rem;
    text-align: center;
  }

  .hero-slide-nav {
    padding: 0 1rem 0.75rem;
  }

  .hero-nav-btn {
    width: 40px;
    height: 40px;
  }

  .section-title,
  .font-display.text-4xl {
    line-height: 1.15;
  }

  .hero-panel {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 1.4rem;
  }

  .mobile-menu nav {
    overflow-y: auto;
    padding-bottom: 2rem;
    max-height: calc(100svh - 84px);
  }

  section.py-20,
  section.py-16 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  section.page-hero {
    height: var(--page-hero-h);
    min-height: var(--page-hero-h);
    max-height: var(--page-hero-h);
    margin: 0;
    padding: 0;
  }

  .page-hero-inner {
    padding: 0 1rem 1.6rem;
  }

  .page-hero h1 {
    font-size: 1.7rem;
    min-height: 2.3em;
  }

  h2.section-title,
  h2.font-display {
    font-size: 1.75rem;
  }
}

@media (max-width: 479px) {
  .brand-logo {
    height: 2.4rem;
    max-width: 148px;
  }

  .stat-card {
    padding: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .product-card img,
  .gallery-card img,
  .card-lift,
  .ticker-track,
  .auto-track,
  .hero-video video,
  .hero-slide img,
  .loader-progress span,
  .hero-progress span,
  .page-hero::after,
  .scroll-hint {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }

  .js-reveal {
    opacity: 1;
    transform: none;
  }
}
