/* ==========================================================================
   SWITCH IT — Design System
   Palette: Navy #0F1B2E / Navy-2 #16263D / Orange #F26522 / Orange-D #D9540F
   Type: Sora (display) + Inter (body)
   Motif: rocker-switch interactions + circuit-trace dividers
   ========================================================================== */

:root {
  --navy: #0F1B2E;
  --navy-2: #16263D;
  --navy-3: #1E3350;
  --orange: #F26522;
  --orange-dark: #D9540F;
  --white: #FFFFFF;
  --off-white: #F6F7F9;
  --slate: #5B6B82;
  --slate-light: #8B99AC;
  --line: #E3E7ED;
  --line-dark: #2A3E5C;
  --success: #1E8E5A;

  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --container: 1180px;
  --header-h: 92px;

  --shadow-card: 0 1px 2px rgba(15, 27, 46, 0.06), 0 8px 24px rgba(15, 27, 46, 0.06);
  --shadow-pop: 0 12px 40px rgba(15, 27, 46, 0.22);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); scroll-snap-type: y mandatory; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--slate); max-width: 62ch; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 88px 0; }
.section-pad--tight { padding: 64px 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.eyebrow-tag .bolt { width: 14px; height: 14px; flex: none; }

.rotating-question {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.rotating-question .bolt { width: 15px; height: 15px; flex: none; }
.rotating-question .rotate-word {
  display: inline-block;
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.rotating-question .rotate-word.is-fading {
  opacity: 0;
  transform: translateY(4px);
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }

/* --- Circuit-trace divider: encodes "connection" between sections --- */
.trace-divider {
  width: 100%;
  height: 34px;
  display: block;
  color: var(--line);
}
.trace-divider--dark { color: var(--line-dark); }

/* --------------------------------------------------------------------
   BUTTONS — rocker-switch press interaction
   -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.96rem;
  border: 2px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 3px 0 var(--orange-dark);
}
.btn-primary:hover { background: #ff7530; transform: translateY(1px); box-shadow: 0 2px 0 var(--orange-dark); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 0 0 var(--orange-dark); }

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

.btn-dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 3px 0 #060c16;
}
.btn-dark:hover { transform: translateY(1px); box-shadow: 0 2px 0 #060c16; }
.btn-dark:active { transform: translateY(3px); box-shadow: 0 0 0 #060c16; }
.btn-block { width: 100%; }

/* small variant, used inside the hero slider */
.btn-sm { padding: 9px 19px; font-size: 0.85rem; box-shadow: 0 2px 0 var(--orange-dark); }
.btn-sm:hover { box-shadow: 0 1px 0 var(--orange-dark); }

/* --------------------------------------------------------------------
   HEADER — full width, left icon+text / right menu, slight transparency
   by default (sits over the hero slider), solid once scrolled
   -------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 500;
  display: flex;
  align-items: center;
  background: rgba(15, 27, 46, 0.32);
  backdrop-filter: blur(3px);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), height 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(15, 27, 46, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  height: 80px;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
  max-width: none; width: 100%; padding: 0 36px;
}
@media (max-width: 700px) {
  .site-header .container { padding: 0 18px; }
  .site-header, .site-header.is-scrolled {
    position: fixed;
    height: 8.5vh;
    height: 8.5svh;
    min-height: 56px;
    background: rgba(15, 27, 46, 0.96);
    backdrop-filter: saturate(140%) blur(8px);
  }
  .brand-text { line-height: 1; }
  .brand-name { font-size: 1rem; }
  .brand-tagline { font-size: 0.44rem; margin-top: 1px; line-height: 1.1; }
  /* Fixed header doesn't occupy flow space, so reserve its height at the very top of the
     page here — this is what makes hero start right after it instead of underneath it. */
  body { padding-top: 8.5vh; padding-top: 8.5svh; }
  html { scroll-padding-top: calc(8.5svh + 20px); }
}

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--white); }
.brand .brand-mark { width: 38px; height: 38px; flex: none; }
.brand .brand-mark svg, .brand .brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.25rem; }
.brand-tagline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.52rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: rgba(255,255,255,0.62);
  margin-top: 2px;
}

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--orange);
  transition: right 0.25s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-status {
  display: flex; align-items: center; gap: 7px;
  color: var(--white); font-weight: 700; font-size: 0.86rem;
  padding: 9px 16px; border-radius: 999px;
  border: none;
  background: var(--orange); font-family: inherit; cursor: pointer;
  box-shadow: 0 2px 0 var(--orange-dark);
  transition: background 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.header-status:hover { background: #ff7530; text-decoration: none; }
.header-status:active { transform: translateY(2px); box-shadow: 0 0 0 var(--orange-dark); }
.header-status svg { width: 16px; height: 16px; color: var(--white); flex: none; }
.header-status .status-label-short { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: none; background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* mobile nav drawer */
@media (max-width: 940px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 84vw);
    background: var(--navy); flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 100px 28px 28px; gap: 22px; transition: right 0.3s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,0.35);
  }
  .main-nav.is-open { right: 0; }
  .main-nav a { font-size: 1.05rem; }
  .header-status {
    padding: 6px 12px; width: auto; height: auto; border-radius: 999px;
    justify-content: center;
  }
  .header-status svg { display: none; }
  .header-status .status-label-full { display: none; }
  .header-status .status-label-short { display: inline; font-size: 0.78rem; }
  .nav-toggle { display: inline-flex; }
}

.nav-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease); z-index: 490;
}
.nav-scrim.is-visible { opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------------
   FLOATING BUTTONS — 3 independent buttons (bottom-left / bottom-center /
   bottom-right). Hidden by default, revealed once the page is scrolled.
   -------------------------------------------------------------------- */
.fbar-btn-solo {
  position: fixed;
  bottom: 20px;
  z-index: 480;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.fbar-btn-solo svg { width: 23px; height: 23px; }

.fbar-btn-solo--call { left: 20px; background: #2E7D46; transform: translateY(30px) scale(0.75); transition-delay: 0s; }
.fbar-btn-solo--whatsapp { right: 20px; background: #25D366; transform: translateY(30px) scale(0.75); transition-delay: 0.08s; }
.fbar-btn-solo--nav {
  left: 50%;
  width: 64px; height: 64px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(242,101,34,0.18), 0 10px 26px rgba(0,0,0,0.28);
  transform: translateX(-50%) translateY(30px) scale(0.75);
  transition-delay: 0.04s;
}
.fbar-btn-solo--nav svg { width: 27px; height: 27px; }

body.is-scrolled-past .fbar-btn-solo { opacity: 1; pointer-events: auto; }
body.is-scrolled-past .fbar-btn-solo--call,
body.is-scrolled-past .fbar-btn-solo--whatsapp { transform: translateY(0) scale(1); }
body.is-scrolled-past .fbar-btn-solo--nav { transform: translateX(-50%) translateY(0) scale(1); }

.fbar-btn-solo--nav::after {
  content: "";
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(242,101,34,0.5);
  animation: pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.9; }
  80% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}
.fbar-btn-solo:hover { filter: brightness(1.08); }
.fbar-label {
  position: absolute; bottom: 66px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: var(--white); font-size: 0.72rem; font-weight: 600;
  padding: 4px 9px; border-radius: 5px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.18s var(--ease);
}
.fbar-btn-solo:hover .fbar-label { opacity: 1; }

/* --------------------------------------------------------------------
   HERO — 6-slide carousel
   -------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 50vh; min-height: 440px;
  height: 50svh;
  overflow: hidden;
  background: var(--navy);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.hero-slides { position: relative; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s var(--ease);
}
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  transition: transform 7s linear;
}
.hero-slide.is-active .hero-slide-bg { transform: scale(1); }
.hero-slide-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,27,46,0.92) 0%, rgba(15,27,46,0.72) 42%, rgba(15,27,46,0.35) 100%);
}
.hero-slide-content { position: relative; z-index: 2; color: var(--white); max-width: 620px; padding: 0 24px; margin-top: calc(var(--header-h) / 2); }
.hero-slide-content .eyebrow-tag { color: var(--orange); }
.hero-slide-content h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  color: var(--white);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease) 0.25s, transform 0.6s var(--ease) 0.25s;
}
.hero-slide-content p {
  color: rgba(255,255,255,0.78);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease) 0.38s, transform 0.6s var(--ease) 0.38s;
}
.hero-slide-content .btn {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease) 0.5s, transform 0.6s var(--ease) 0.5s;
}
.hero-slide.is-active .hero-slide-content h1,
.hero-slide.is-active .hero-slide-content p,
.hero-slide.is-active .hero-slide-content .btn { opacity: 1; transform: translateY(0); }

.hero-dots {
  position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.hero-dot {
  width: 28px; height: 4px; border: none; background: rgba(255,255,255,0.32); border-radius: 3px;
  position: relative; overflow: hidden;
}
.hero-dot::after {
  content: ""; position: absolute; inset: 0; background: var(--orange);
  transform: scaleX(0); transform-origin: left; border-radius: 3px;
}
.hero-dot.is-active::after { animation: dot-fill 2s linear forwards; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(15,27,46,0.35); color: var(--white); display: none; align-items: center; justify-content: center;
}
.hero-arrow svg { width: 17px; height: 17px; }
.hero-arrow--prev { left: 16px; }
.hero-arrow--next { right: 16px; }
@media (min-width: 700px) { .hero-arrow { display: flex; } }

@media (max-width: 700px) {
  .hero { height: 20vh; min-height: 220px; height: 20svh; }
  .hero-slide-content p { display: none; }
  .hero-slide-content h1 { font-size: 1.4rem; }
  .hero-slide-content .btn { padding: 6px 14px; font-size: 0.74rem; }
}

/* --------------------------------------------------------------------
   BOOK-A-SERVICE FOLD — sits directly under the hero, completing the
   first 100vh. Desktop: 40/60 split (copy / 2x2 icon grid).
   Mobile: stacked, 20vh title + 50vh icon grid (30vh hero + these = 100vh).
   -------------------------------------------------------------------- */
.book-service { background: var(--white); }
.book-service-inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 24px 48px;
  align-items: center;
  min-height: 50vh;
  min-height: 50svh;
  padding: 36px 0;
}
.book-service-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.book-service-flash {
  text-align: center;
  margin: 0;
  color: var(--orange);
  font-weight: 800;
  font-size: 1.3rem;
  animation: flash-text 1.6s ease-in-out infinite;
}
@keyframes flash-text {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
.book-service-copy h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 14px; }
.book-service-copy p { margin-bottom: 24px; }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 14px;
  height: 100%;
  place-items: center;
}
.quick-card {
  background: none;
  border: none;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.quick-card-circle {
  width: 104px; height: 104px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--orange);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.quick-card:hover .quick-card-circle,
.quick-card:active .quick-card-circle {
  transform: translateY(-5px) scale(1.06);
  box-shadow: var(--shadow-pop);
}
.quick-card-label {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 860px) {
  .book-service-inner { grid-template-columns: 1fr; height: auto; gap: 28px; padding: 48px 0; }
  .quick-grid { min-height: 360px; }
}
@media (max-width: 700px) {
  .book-service-inner {
    display: flex; flex-direction: column;
    justify-content: flex-start;
    min-height: 73vh; min-height: 73svh;
    gap: 16px; padding: 32px 0 16px;
  }
  .book-service-copy {
    height: auto;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  }
  .book-service-actions {
    height: auto;
    display: flex; flex-direction: column; justify-content: center;
    gap: 22px;
  }
  .book-service-flash { font-size: 0.9rem; padding: 0 10px; }
  .rotating-question { justify-content: center; margin-bottom: 10px; }
  .book-service-copy h2 { font-size: 1.2rem; margin-bottom: 0; margin-top: 8px; }
  .book-service-copy p { display: none; }
  .quick-grid {
    height: auto;
    min-height: 0;
    place-items: center;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 8px;
    padding: 0 12px;
  }
  .quick-card { padding: 2px; gap: 3px; }
  .quick-card-circle { width: 80px; height: 80px; border-width: 2px; }
  .quick-card-label { font-size: 0.68rem; line-height: 1.2; }
}

/* --------------------------------------------------------------------
   MODAL (quick enquiry popup)
   -------------------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,27,46,0.6);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  z-index: 900; opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease);
  overscroll-behavior: contain;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg); width: 100%; max-width: 440px;
  padding: 30px; position: relative; box-shadow: var(--shadow-pop);
  transform: translateY(14px) scale(0.98); opacity: 0; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  max-height: 90vh; overflow-y: auto; overscroll-behavior: contain;
}
.modal-overlay.is-open .modal-box { transform: translateY(0) scale(1); opacity: 1; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--off-white); color: var(--navy); display: flex; align-items: center; justify-content: center;
}
.modal-close svg { width: 16px; height: 16px; }
.modal-box h3 { font-size: 1.3rem; margin-bottom: 4px; }
.modal-service-tag { display: inline-block; background: rgba(242,101,34,0.12); color: var(--orange-dark); font-weight: 700; font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }

/* --------------------------------------------------------------------
   FORM FIELDS (shared)
   -------------------------------------------------------------------- */
.field { margin-bottom: 16px; }
.field-hint { font-size: 0.74rem; color: var(--slate-light); margin: 6px 0 0; }
.field-hint a { color: var(--orange); text-decoration: underline; }
.modal-dark .field-hint { color: rgba(255,255,255,0.5); }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 13px; font-family: var(--font-body); font-size: 0.95rem; color: var(--navy);
  background: var(--white); transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,101,34,0.14); outline: none;
}
.field textarea { resize: vertical; min-height: 84px; }
.field-file {
  border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 16px; text-align: center; cursor: pointer;
  font-size: 0.86rem; color: var(--slate); position: relative;
}
.field-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--slate-light); margin-top: -6px; margin-bottom: 16px; }
.form-status { font-size: 0.88rem; font-weight: 600; margin-top: 12px; display: none; padding: 10px 12px; border-radius: var(--radius-sm); }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(30,142,90,0.1); color: var(--success); }
.form-status.is-error { background: rgba(217,84,15,0.1); color: var(--orange-dark); }

/* --------------------------------------------------------------------
   DETAIL SECTIONS — points (left) + quotation form (right)
   -------------------------------------------------------------------- */
.detail-section:nth-of-type(even) { background-color: var(--off-white); }
.detail-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: center;
  animation: section-bg-zoom 22s ease-in-out infinite alternate;
}
@keyframes section-bg-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}
@media (max-width: 700px) {
  .section-bg {
    background-size: 220% 100%;
    animation: section-bg-slide 26s ease-in-out infinite alternate;
  }
  @keyframes section-bg-slide {
    from { background-position: 15% center; }
    to   { background-position: 85% center; }
  }
}
.footer-bottom .footer-credit { color: var(--orange); font-weight: 600; }
.footer-bottom .footer-credit:hover { text-decoration: underline; }
/* The overlay veil is capped to the content width (not the full section), so its fade
   lines up with the text/quote-panel regardless of how wide the browser window is. */
.detail-section::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100%;
  max-width: calc(var(--container) + 72px);
  z-index: 1;
  background: linear-gradient(100deg, var(--white) 0%, rgba(255,255,255,0.8) 30%, rgba(255,255,255,0.45) 60%, rgba(255,255,255,0.1) 100%);
}
.detail-section:nth-of-type(even)::before {
  background: linear-gradient(100deg, var(--off-white) 0%, rgba(246,247,249,0.8) 30%, rgba(246,247,249,0.45) 60%, rgba(246,247,249,0.1) 100%);
}
@media (max-width: 860px) {
  .detail-section::before, .detail-section:nth-of-type(even)::before {
    background: linear-gradient(180deg, var(--white) 0%, rgba(255,255,255,0.8) 40%, rgba(255,255,255,0.45) 70%, rgba(255,255,255,0.1) 100%);
  }
  .detail-section:nth-of-type(even)::before {
    background: linear-gradient(180deg, var(--off-white) 0%, rgba(246,247,249,0.8) 40%, rgba(246,247,249,0.45) 70%, rgba(246,247,249,0.1) 100%);
  }
}
.detail-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start;
  width: 100%;
}
@media (max-width: 700px) {
  .detail-section.section-pad { padding: 20px 0 28px; }
  .detail-section { align-items: flex-start; }
}
.detail-grid .eyebrow-tag {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  background: var(--orange);
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 0;
  text-transform: none;
  gap: 10px;
  margin-bottom: 16px;
}
.detail-grid .eyebrow-tag .bolt { width: clamp(15px, 2vw, 19px); height: clamp(15px, 2vw, 19px); flex: none; fill: var(--white); }
.detail-grid h2 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-bottom: 18px; }
.detail-grid > div > p { font-size: 0.9rem; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; gap: 40px; } }

.detail-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.detail-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--navy); }
.detail-points .tick {
  flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--navy);
  color: var(--orange); display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.detail-points .tick svg { width: 13px; height: 13px; }

@media (max-width: 700px) {
  .detail-points { gap: 7px; }
  .detail-points li { font-size: 0.82rem; line-height: 1.28; gap: 8px; }
  .detail-points .tick { width: 17px; height: 17px; border-radius: 5px; margin-top: 1px; }
  .detail-points .tick svg { width: 9px; height: 9px; }
}

.quote-panel {
  background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-pop);
  position: relative;
}
.quote-panel h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 12px; }
.quote-panel p { color: rgba(255,255,255,0.65); }
.quote-intro-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.quote-intro-row .quote-desc { margin: 0; flex: 1; font-size: 0.86rem; }
.quote-intro-row .quote-trigger {
  flex: none;
  width: auto;
  padding: 8px 16px;
  font-size: 0.78rem;
  line-height: 1.3;
  text-align: center;
}
.quote-panel .field label { color: rgba(255,255,255,0.85); }
.quote-panel .field input, .quote-panel .field textarea, .quote-panel .field select {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: var(--white);
}
.quote-panel .field input::placeholder, .quote-panel .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.quote-panel .field-file { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.6); }

/* Native <select> popup list — dark-theme it where the browser allows (Chrome/Edge/Firefox on
   Windows honour this; macOS/iOS ignore it and fall back to the system list). */
.field select option { background: var(--navy-2); color: var(--white); }
.quote-panel .field select option { background: var(--navy-2); color: var(--white); }

/* Trigger + close controls only exist for the mobile popup pattern (hidden elsewhere). */
.quote-trigger { display: none; align-items: center; justify-content: center; gap: 8px; }
.quote-trigger svg { width: 16px; height: 16px; }
.quote-close { display: none; }
.quote-form > .field:first-child { margin-top: 22px; }

/* ---- Desktop / tablet: form stays permanently open; the whole panel slides in from
   the right the first time its section scrolls into view. ---- */
@media (min-width: 701px) {
  .quote-panel {
    opacity: 0;
    transform: translateX(64px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .quote-panel.is-visible { opacity: 1; transform: translateX(0); }
}

/* ---- Mobile: compact "Get a Free Quotation" box with a single button; tapping it
   pops the full form up as a centered modal. ---- */
.quote-backdrop {
  position: fixed; inset: 0; background: rgba(15, 27, 46, 0.62);
  z-index: 940; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
  overscroll-behavior: contain;
}
.quote-backdrop.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 700px) {
  .quote-panel h3 { display: none; }
  .quote-intro-row .quote-desc { flex: 0 0 65%; width: 65%; }
  .quote-intro-row .quote-trigger { flex: 0 0 35%; width: 35%; padding-left: 8px; padding-right: 8px; }
  .quote-trigger { display: flex; }
  .quote-panel.is-expanded .quote-trigger { display: none; }

  .quote-form {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), opacity 0.35s var(--ease);
  }
  .quote-panel.is-expanded .quote-form { max-height: none; opacity: 1; }

  .quote-panel.is-expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92vw;
    max-width: 440px;
    max-height: 84vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 950;
    box-shadow: var(--shadow-pop);
    border: 2px solid var(--orange);
    animation: quote-pop-in 0.3s var(--ease);
  }
  .quote-panel.is-expanded .quote-close {
    display: flex;
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.14); color: var(--white);
    border: none; align-items: center; justify-content: center;
  }
  .quote-panel.is-expanded .quote-close svg { width: 15px; height: 15px; }
}
@keyframes quote-pop-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.94); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* --------------------------------------------------------------------
   BRAND CAROUSEL (placeholder — hidden until logos are supplied)
   -------------------------------------------------------------------- */
.brand-carousel { display: none; }

/* --------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 72px 0 28px; scroll-snap-align: start; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 50px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 700px) {
  .footer-brand { order: 1; }
  .footer-contact { order: 2; }
  .footer-hours { order: 3; }
}
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; }
.footer-brand .brand { color: var(--white); margin-bottom: 14px; }
.footer-info-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.92rem; }
.footer-info-item svg { width: 19px; height: 19px; flex: none; color: var(--orange); margin-top: 2px; }
.footer-hours-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 7px 0; border-bottom: 1px dashed rgba(255,255,255,0.12); }
.footer-hours-row span:last-child { color: var(--white); font-weight: 600; }
.site-footer .field input, .site-footer .field textarea {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: var(--white);
}
.site-footer .field label { color: rgba(255,255,255,0.8); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: var(--orange); }
@media (max-width: 700px) {
  .footer-bottom { justify-content: center; text-align: center; }
  .footer-bottom .footer-copyright,
  .footer-bottom .footer-domain { display: none; }
}

/* utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------
   AD POPUP — shown once on page load. Slot 1 (Water Level) is fixed;
   slot 2 is randomly chosen between CCTV / Inverter / Automation.
   -------------------------------------------------------------------- */
.ad-popup-overlay {
  position: fixed; inset: 0; z-index: 980;
  background: rgba(15, 27, 46, 0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  overscroll-behavior: contain;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.ad-popup-overlay.is-visible { opacity: 1; pointer-events: auto; }

.ad-popup {
  position: relative;
  width: 100%;
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: 0;
  box-shadow: var(--shadow-pop);
  padding: 0;
  opacity: 0;
}
.ad-popup-overlay.is-visible .ad-popup {
  animation: ad-popup-entrance 0.55s cubic-bezier(.2, .8, .3, 1.3) forwards;
}
@keyframes ad-popup-entrance {
  0%   { opacity: 0; transform: translateY(-60px) scale(0.9); }
  70%  { opacity: 1; transform: translateY(6px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.ad-popup-close {
  position: absolute; top: -16px; right: -16px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: var(--white); border: 3px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-pop);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  cursor: not-allowed;
}
.ad-popup-close:not(:disabled) { cursor: pointer; }
.ad-popup-close .ad-close-icon { display: none; width: 18px; height: 18px; }
.ad-popup-close:not(:disabled) .ad-countdown { display: none; }
.ad-popup-close:not(:disabled) .ad-close-icon { display: block; }

.ad-popup-wrap { width: 100%; max-width: 780px; }
.ad-special-offer {
  text-align: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 10px;
  animation: ad-offer-flash 0.5s steps(1, end) infinite, ad-offer-heartbeat 0.6s ease-in-out infinite;
}
@keyframes ad-offer-flash {
  0%, 49%  { opacity: 1; }
  50%, 100% { opacity: 0.15; }
}
@keyframes ad-offer-heartbeat {
  0%, 100% { transform: scale(1); }
  15%      { transform: scale(1.16); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.16); }
  60%      { transform: scale(1); }
}

.ad-popup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.ad-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy);
}
.ad-card-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  display: flex; align-items: flex-end;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.ad-card-media.is-out-left  { transform: translateX(-100%); opacity: 0; }
.ad-card-media.is-out-right { transform: translateX(100%); opacity: 0; }
.ad-card-media.is-in-left   { transform: translateX(-100%); opacity: 0; }
.ad-card-media.is-in-right  { transform: translateX(100%); opacity: 0; }
.ad-card-overlay {
  position: relative; z-index: 1;
  width: 100%;
  padding: 16px;
  background: linear-gradient(0deg, rgba(15,27,46,0.94) 0%, rgba(15,27,46,0.6) 55%, rgba(15,27,46,0.1) 100%);
}
.ad-card-overlay h3 {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.ad-solution {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 8px;
  animation: ad-solution-flash 0.9s ease-in-out infinite;
}
@keyframes ad-solution-flash {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.ad-price {
  margin: 0;
}
.ad-price span {
  display: inline-block;
  background: none;
  border: 2px solid var(--orange);
  border-radius: 0;
  color: var(--orange);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 10px;
}
.ad-enquire-btn {
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-pop);
}
.ad-enquire-btn svg { width: 20px; height: 20px; }

@media (min-width: 701px) {
  .ad-popup-wrap { max-width: 960px; }
  .ad-card-overlay { padding: 22px; }
  .ad-card-overlay h3 { font-size: 1.3rem; margin-bottom: 8px; }
  .ad-solution { font-size: 1.15rem; margin-bottom: 12px; }
  .ad-price span { font-size: 0.98rem; padding: 6px 14px; }
  .ad-enquire-btn { width: 56px; height: 56px; bottom: 16px; right: 16px; }
  .ad-enquire-btn svg { width: 24px; height: 24px; }
  .ad-special-offer { font-size: 1.4rem; }
}

@media (max-width: 700px) {
  .ad-popup-grid { grid-template-columns: 1fr; }
  .ad-card { aspect-ratio: 4 / 3; }
  .ad-card-overlay { padding: 12px; }
  .ad-card-overlay h3 { font-size: 0.95rem; }
  .ad-popup-close { top: -14px; right: -14px; width: 36px; height: 36px; }
}

/* --------------------------------------------------------------------
   THANK YOU / NOTIFY ADMIN POPUP
   -------------------------------------------------------------------- */
.ty-box { text-align: center; }
.ty-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  border-radius: 50%; background: rgba(30,142,90,0.12); color: var(--success);
  display: flex; align-items: center; justify-content: center;
}
.ty-icon svg { width: 26px; height: 26px; }
.ty-box h3 { font-size: 1.2rem; margin-bottom: 8px; }
.ty-box p { max-width: none; }
.ty-ref {
  font-size: 0.92rem; color: var(--navy); background: var(--off-white);
  border-radius: var(--radius-sm); padding: 8px 14px; margin-bottom: 18px; display: inline-block;
}
.ty-ref strong { color: var(--orange-dark); }
.btn-notify {
  background: var(--orange); color: var(--white); box-shadow: 0 3px 0 var(--orange-dark);
}
.btn-notify:hover { background: #ff7530; transform: translateY(1px); box-shadow: 0 2px 0 var(--orange-dark); }
.btn-notify:active { transform: translateY(3px); box-shadow: 0 0 0 var(--orange-dark); }

.modal-logo { width: 46px; height: 46px; margin: 0 auto 14px; }
.modal-logo img { width: 100%; height: 100%; object-fit: contain; }

.modal-box.modal-dark {
  background: var(--navy);
  color: var(--white);
}
.modal-box.modal-dark h3 { color: var(--white); }
.modal-box.modal-dark p { color: rgba(255,255,255,0.65); }
.modal-box.modal-dark .field label { color: rgba(255,255,255,0.85); }
.modal-box.modal-dark .field input {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: var(--white);
}
.modal-box.modal-dark .field input::placeholder { color: rgba(255,255,255,0.35); }
.modal-box.modal-dark .modal-close { background: rgba(255,255,255,0.12); color: var(--white); }
.modal-box.modal-dark .ty-ref { background: rgba(255,255,255,0.08); color: var(--white); }

.alert-warning {
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(234,179,8,0.55);
  border-radius: var(--radius-sm);
  background: rgba(234,179,8,0.12);
  color: #eab308;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: left;
}

