/* ============================================================
   STEELFLANGE INDUSTRIES — MASTER STYLESHEET
   Theme: Black / White / Amber accent
   All colours + sizes are CSS variables — edit them in :root
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  --bg:            #07070a;
  --bg-alt:        #0e0e13;
  --surface:       #14141a;
  --surface-2:     #1b1b23;
  --border:        #26262f;
  --border-light:  #35353f;

  --text:          #ffffff;
  --text-muted:    #a2a2b0;
  --text-dim:      #6f6f7d;

  --accent:        #ff8a00;
  --accent-2:      #ffc400;
  --accent-dark:   #cc6a00;
  --accent-soft:   rgba(255, 138, 0, 0.12);

  --ok:            #25d366;
  --err:           #ff5b5b;

  --fb:            #1877f2;
  --ig-a:          #f09433;
  --ig-b:          #e6683c;
  --ig-c:          #dc2743;
  --ig-d:          #cc2366;
  --ig-e:          #bc1888;
  --x:             #101014;
  --pin:           #e60023;
  --in:            #0a66c2;
  --wa:            #25d366;

  --ff-head:       'Oswald', 'Arial Narrow', sans-serif;
  --ff-body:       'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius:        4px;
  --radius-lg:     10px;
  --shadow:        0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-accent: 0 12px 34px rgba(255, 138, 0, 0.28);

  --container:     1240px;
  --header-h:      78px;
  --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* reveal animations shift elements sideways before they enter view;
     clip so phones can never pan horizontally into that space */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* faint blueprint grid over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
}

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

a { color: var(--accent); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent-2); }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: .4px;
  text-transform: uppercase;
}

p { margin: 0 0 1.1em; color: var(--text-muted); }

::selection { background: var(--accent); color: #000; }

/* ---------- 3. SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* ---------- 4. UTILITIES ---------- */
/* grid/flex children default to min-width:auto, which lets wide tables and
   long unbreakable strings stretch a column past the viewport on phones */
.grid > *, .split > *, .about-intro > *, .form-row > *, .footer-grid > * { min-width: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 96px 0; position: relative; z-index: 1; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head--left { text-align: left; margin-left: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.section-head--left .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--accent); }

.section-title { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 18px; }
.section-title .hl { color: var(--accent); }
.section-sub { font-size: 17px; color: var(--text-muted); margin: 0; }

.divider {
  width: 82px; height: 4px; margin: 0 auto 26px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 4px;
}
.section-head--left .divider { margin-left: 0; }

/* ---------- BUTTONS ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #0a0a0a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  padding: 15px 34px;
  font-family: var(--ff-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), color .3s, background .3s, border-color .3s;
  z-index: 1;
  text-align: center;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: translateX(-101%);
  transition: transform .42s var(--ease);
  z-index: -1;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-accent); color: #0a0a0a; }
.btn:hover::after { transform: translateX(0); }
.btn:active { transform: translateY(-1px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn--ghost:hover { border-color: var(--accent); color: #0a0a0a; }

.btn--sm { padding: 11px 22px; font-size: 13px; letter-spacing: 1.2px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- GRID ---------- */
.grid { display: grid; gap: 28px; }
.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)); }

/* ---------- CARDS ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .38s var(--ease), border-color .38s var(--ease), box-shadow .38s var(--ease);
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .42s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: var(--border-light); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }

/* ---------- REVEAL ON SCROLL ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-left  { opacity: 0; transform: translateX(-48px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(48px);  transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: none; }

[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }
[data-delay="6"] { transition-delay: .6s; }

/* ---------- 5. PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 26px;
  transition: opacity .55s var(--ease), visibility .55s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__ring {
  width: 76px; height: 76px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-right-color: var(--accent-2);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.preloader__text {
  font-family: var(--ff-head);
  font-size: 14px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--text-dim);
  animation: pulseText 1.4s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseText { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- 6. HEADER / NAV ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(7,7,10,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease), background .35s var(--ease), border-color .35s;
}
.site-header.is-stuck {
  height: 64px;
  background: rgba(7,7,10,.95);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
}

/* The header deliberately runs wider than the 1240px content column. Logo +
   six nav entries + phone + quote button measure ~1230px unbroken, which the
   content column's 1192px of usable width cannot hold — squeezing them in is
   what wrapped "About Us" and the phone onto two lines. */
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1680px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__mark {
  width: 42px; height: 42px; flex-shrink: 0;
  transition: transform .6s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(90deg); }
.logo__mark circle, .logo__mark path { stroke: var(--accent); }
.logo__text { line-height: 1.05; min-width: 0; }
.site-header .logo { min-width: 0; max-width: min(290px, calc(100vw - 110px)); }
.site-header .logo__name, .site-header .logo__tag { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-footer .logo { min-width: 0; }
.site-footer .logo__name, .site-footer .logo__tag { overflow-wrap: anywhere; }
.footer-contact span { min-width: 0; overflow-wrap: anywhere; }
.contact-info-card p { overflow-wrap: anywhere; }
.logo__name {
  display: block;
  font-family: var(--ff-head);
  font-size: 21px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: #fff;
}
.logo__name span { color: var(--accent); }
.logo__tag {
  display: block;
  font-size: 9.5px; letter-spacing: 3.2px;
  text-transform: uppercase; color: var(--text-dim);
}

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  display: block;
  padding: 10px 13px;
  white-space: nowrap;
  font-family: var(--ff-head);
  font-size: 14.5px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted);
  transition: color .28s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex; align-items: center; gap: 9px;
  white-space: nowrap;
  font-family: var(--ff-head); font-size: 15px; letter-spacing: .8px;
  color: #fff;
}
.header-phone i { color: var(--accent); font-size: 16px; }
.header-phone:hover { color: var(--accent); }

/* Burger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute; left: 12px;
  width: 20px; height: 2px;
  background: #fff;
  transition: transform .35s var(--ease), opacity .25s, width .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; width: 14px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle.is-open span { background: var(--accent); }

/* Progress bar under header */
.scroll-progress {
  position: absolute; bottom: -1px; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 2;
}

/* ---------- 7. SOCIAL FLYOUT (right edge, always visible) ---------- */
.social-flyout {
  position: fixed;
  right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 850;
}

.flyout-list { display: flex; flex-direction: column; }

.flyout-item a {
  display: flex; align-items: center;
  width: 46px; height: 46px;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  color: #fff;
  white-space: nowrap;
  transition: width .38s var(--ease), background .3s;
}
.flyout-list .flyout-item:first-child a { border-radius: 6px 0 0 0; border-top: 1px solid var(--border); }
.flyout-list .flyout-item:last-child a  { border-radius: 0 0 0 6px; }

.flyout-item i {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
.flyout-item span {
  padding-left: 16px;
  font-family: var(--ff-head);
  font-size: 13.5px; letter-spacing: 1.4px; text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s var(--ease) .1s;
}
.flyout-item a:hover { width: 168px; color: #fff; }
.flyout-item a:hover span { opacity: 1; }

.flyout-item--fb  a:hover { background: var(--fb); }
.flyout-item--ig  a:hover { background: linear-gradient(45deg, var(--ig-a), var(--ig-b), var(--ig-c), var(--ig-d), var(--ig-e)); }
.flyout-item--x   a:hover { background: #fff; color: #000 !important; }
.flyout-item--pin a:hover { background: var(--pin); }
.flyout-item--in  a:hover { background: var(--in); }

.flyout-item--fb  i { color: var(--fb); }
.flyout-item--ig  i { color: var(--ig-c); }
.flyout-item--pin i { color: var(--pin); }
.flyout-item--in  i { color: var(--in); }
.flyout-item--x   i { color: #fff; }
.flyout-item a:hover i { color: inherit; }
.flyout-item--x a:hover i { color: #000; }

/* ---------- 8. WHATSAPP PULSE (bottom-left) ---------- */
.whatsapp-float {
  position: fixed;
  left: 24px; bottom: 24px;
  z-index: 860;
  width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ok);
  border-radius: 50%;
  color: #fff;
  font-size: 31px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(-8deg);
  color: #fff;
  box-shadow: 0 14px 36px rgba(37, 211, 102, .65);
}
.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--ok);
  animation: waPulse 2.4s cubic-bezier(0.25, 0.6, 0.35, 1) infinite;
  z-index: -1;
}
.whatsapp-float::after { animation-delay: 1.2s; }
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .85; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}

.whatsapp-tip {
  position: absolute;
  left: 74px; top: 50%;
  transform: translateY(-50%) translateX(-12px);
  background: #fff;
  color: #111;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.whatsapp-tip::before {
  content: "";
  position: absolute; left: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #fff;
  border-left: 0;
}
.whatsapp-float:hover .whatsapp-tip,
.whatsapp-float.show-tip .whatsapp-tip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- 9. BACK TO TOP ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 840;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 16px;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: all .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: #000; transform: translateY(-4px); }

/* ---------- 10. HERO SLIDER ---------- */
.hero {
  position: relative;
  height: clamp(540px, 88vh, 860px);
  overflow: hidden;
  background: var(--bg);
}
/* slide host injected by js/components.js */
#heroSlider { position: absolute; inset: 0; z-index: 1; }
.hero__slide > .container { height: 100%; }

.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.05s var(--ease), visibility 1.05s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 7.5s linear;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }

/* layered overlays */
.hero__layer {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 22% 55%, rgba(255,138,0,.20), transparent 58%),
    linear-gradient(105deg, rgba(7,7,10,.96) 0%, rgba(7,7,10,.80) 42%, rgba(7,7,10,.35) 100%);
}
.hero__layer--grid {
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(to right, #000 0%, transparent 72%);
}
.hero__layer--stripe {
  background: repeating-linear-gradient(
    135deg, transparent 0 46px, rgba(255,138,0,.045) 46px 48px);
}

.hero__content {
  position: relative; z-index: 5;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 24px) 0 130px;
  max-width: 780px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px;
  background: rgba(255,138,0,.12);
  border: 1px solid rgba(255,138,0,.35);
  border-radius: 100px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--accent-2);
  width: fit-content;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(34px, 6.2vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .5px;
  margin-bottom: 22px;
  text-shadow: 0 6px 34px rgba(0,0,0,.7);
}
.hero__title .hl {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero__title .hl::after {
  content: "";
  position: absolute; left: 0; bottom: 6px;
  width: 100%; height: 8px;
  background: rgba(255,138,0,.22);
  z-index: -1;
}
.hero__text {
  font-size: clamp(15px, 1.5vw, 19px);
  color: #d4d4de;
  max-width: 620px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* animated-in hero elements */
.hero__slide .anim {
  opacity: 0;
  transform: translateY(34px);
}
.hero__slide.is-active .anim {
  animation: heroIn .9s var(--ease) forwards;
}
.hero__slide.is-active .anim:nth-child(1) { animation-delay: .18s; }
.hero__slide.is-active .anim:nth-child(2) { animation-delay: .32s; }
.hero__slide.is-active .anim:nth-child(3) { animation-delay: .46s; }
.hero__slide.is-active .anim:nth-child(4) { animation-delay: .60s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* slider arrows */
.hero__arrow {
  position: absolute; top: 50%; z-index: 8;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,20,26,.62);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: #fff; font-size: 16px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all .3s var(--ease);
}
.hero__arrow:hover { background: var(--accent); color: #000; border-color: var(--accent); transform: translateY(-50%) scale(1.08); }
.hero__arrow--prev { left: 26px; }
.hero__arrow--next { right: 26px; }
/* tablets in landscape stay above the 992px breakpoint, so hide the chevrons
   by input type too: touch users swipe or use the dots */
@media (hover: none) and (pointer: coarse) {
  .hero__arrow { display: none; }
}

/* slider dots */
.hero__dots {
  position: absolute; left: 50%; bottom: 96px;
  transform: translateX(-50%);
  z-index: 8;
  display: flex; gap: 12px;
}
.hero__dot {
  width: 40px; height: 4px;
  background: rgba(255,255,255,.25);
  border: 0; border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: background .3s;
  padding: 0;
}
/* the bar itself is 4px tall, so pad an invisible hit area around it for thumbs */
.hero__dot::before { content: ""; position: absolute; inset: -16px -4px; }
.hero__dot:hover { background: rgba(255,255,255,.5); }
.hero__dot.is-active { background: rgba(255,255,255,.28); }
.hero__dot.is-active::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--accent);
  transform-origin: left;
  animation: dotProgress var(--slide-ms, 6500ms) linear forwards;
}
@keyframes dotProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* hero bottom stat strip */
.hero__strip {
  position: absolute; left: 0; right: 0; bottom: 0;
  z-index: 7;
  background: rgba(10,10,14,.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.hero__strip-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 14px; }
.strip-item { display: flex; align-items: center; gap: 12px; }
.strip-item i { color: var(--accent); font-size: 22px; }
.strip-item b {
  display: block; font-family: var(--ff-head);
  font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: #fff;
}
.strip-item small { color: var(--text-dim); font-size: 12px; letter-spacing: .6px; }

/* ---------- 11. PAGE BANNER (inner pages) ---------- */
.page-banner {
  position: relative;
  min-height: 400px;
  padding: calc(var(--header-h) + 84px) 0 84px;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg-alt);
}
.page-banner__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: slowZoom 22s ease-in-out infinite alternate;
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.14); } }
.page-banner__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(255,138,0,.16), transparent 60%),
    linear-gradient(100deg, rgba(7,7,10,.97) 0%, rgba(7,7,10,.86) 55%, rgba(7,7,10,.6) 100%);
}
.page-banner__content { position: relative; z-index: 2; }
.page-banner h1 {
  font-size: clamp(34px, 5.6vw, 62px);
  margin-bottom: 14px;
}
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13.5px; letter-spacing: 1.4px; text-transform: uppercase; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 10px; color: var(--accent); }
.breadcrumb .current { color: var(--accent); }
.banner-rule {
  width: 92px; height: 4px; margin: 22px 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 4px;
}

/* ---------- 12. HOME: FEATURE / INFO BLOCKS ---------- */
.feature-card {
  padding: 38px 30px;
  height: 100%;
}
.feature-card__icon {
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(255,138,0,.3);
  border-radius: var(--radius-lg);
  color: var(--accent);
  font-size: 27px;
  margin-bottom: 24px;
  transition: transform .4s var(--ease), background .4s, color .4s;
}
.feature-card:hover .feature-card__icon {
  transform: rotateY(180deg);
  background: var(--accent);
  color: #000;
}
.feature-card h3 { font-size: 21px; margin-bottom: 12px; }
.feature-card p { font-size: 15px; margin: 0; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
/* map + info on the contact page: map gets the wider column */
.split--map { grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.split__frame {
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .45;
}
.split__badge {
  position: absolute; right: -18px; bottom: 40px;
  background: var(--accent);
  color: #0a0a0a;
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-accent);
  animation: floaty 4.5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.split__badge b { display: block; font-family: var(--ff-head); font-size: 34px; line-height: 1; }
.split__badge span { font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }

.check-list { margin: 26px 0 32px; display: grid; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-muted); font-size: 15.5px; }
.check-list i { color: var(--accent); font-size: 14px; margin-top: 6px; flex-shrink: 0; }

/* ---------- STATS COUNTERS ---------- */
.stats { position: relative; padding: 78px 0; overflow: hidden; background: var(--bg-alt); }
.stats__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .13;
}
.stats::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 50%, var(--bg) 100%);
}
.stat { text-align: center; position: relative; z-index: 2; }
.stat__icon { font-size: 30px; color: var(--accent); margin-bottom: 12px; }
.stat__num {
  font-family: var(--ff-head);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700; line-height: 1;
  color: #fff;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat__num .suffix { color: var(--accent); font-size: .62em; }
.stat__label {
  margin-top: 10px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- PRODUCT CARDS ---------- */
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s;
  filter: grayscale(35%);
}
.product-card:hover .product-card__media img { transform: scale(1.1); filter: grayscale(0%); }
.product-card__tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(7,7,10,.82);
  border: 1px solid rgba(255,138,0,.4);
  color: var(--accent);
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.product-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card__body h3 { font-size: 19px; margin-bottom: 10px; }
.product-card__body p { font-size: 14.5px; margin-bottom: 16px; }
.product-specs {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: grid; gap: 7px;
}
.product-specs li {
  display: flex; gap: 9px;
  font-size: 13px; color: var(--text-dim);
}
.product-specs li b { color: var(--text-muted); font-weight: 600; min-width: 66px; }
.product-card__link {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-head);
  font-size: 13.5px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent);
}
.product-card__link i { transition: transform .3s var(--ease); }
.product-card:hover .product-card__link i { transform: translateX(6px); }

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative;
  padding: 82px 0;
  overflow: hidden;
  background: linear-gradient(120deg, var(--accent-dark), var(--accent) 45%, var(--accent-2));
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 30px, rgba(0,0,0,.07) 30px 32px);
}
.cta-band__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap;
}
.cta-band h2 { color: #0a0a0a; font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 8px; }
.cta-band p { color: rgba(0,0,0,.72); margin: 0; font-size: 16.5px; }
.cta-band .btn { --btn-bg: #0a0a0a; --btn-fg: #fff; border-color: #0a0a0a; }
.cta-band .btn::after { background: #fff; }
.cta-band .btn:hover { color: #0a0a0a; }
/* the band is orange, so the ghost variant outlines in the same near-black
   the solid button uses rather than in white */
.cta-band .btn--ghost { --btn-bg: transparent; --btn-fg: #0a0a0a; border-color: rgba(10, 10, 10, .5); }
.cta-band .btn--ghost:hover { border-color: #0a0a0a; }

/* ---------- 13. ABOUT PAGE ---------- */
.about-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; }
.lead { font-size: 19px; color: #d9d9e3; line-height: 1.75; }

.value-card { padding: 32px 28px; height: 100%; text-align: left; }
.value-card__num {
  font-family: var(--ff-head);
  font-size: 44px; font-weight: 700; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.6px var(--border-light);
  margin-bottom: 18px;
  transition: -webkit-text-stroke-color .4s, color .4s;
}
.value-card:hover .value-card__num { -webkit-text-stroke-color: var(--accent); color: rgba(255,138,0,.08); }
.value-card h3 { font-size: 19px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; margin: 0; }

/* Timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--border));
}
.timeline__item { position: relative; padding-bottom: 38px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute; left: -34px; top: 5px;
  width: 18px; height: 18px;
  background: var(--bg);
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,138,0,.12);
}
.timeline__year {
  font-family: var(--ff-head);
  font-size: 14px; letter-spacing: 2.4px;
  color: var(--accent);
  margin-bottom: 6px;
}
.timeline__item h3 { font-size: 19px; margin-bottom: 8px; }
.timeline__item p { font-size: 15px; margin: 0; }

/* Certifications */
.cert-strip { display: flex; flex-wrap: wrap; gap: 16px; }
.cert {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--ff-head);
  font-size: 14px; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--text-muted);
  transition: all .3s var(--ease);
}
.cert i { color: var(--accent); }
.cert:hover { border-color: var(--accent); color: #fff; transform: translateY(-3px); }

/* Team */
.team-card { text-align: center; }
.team-card__media { aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .5s, transform .6s var(--ease); }
.team-card:hover .team-card__media img { filter: grayscale(0%); transform: scale(1.07); }
.team-card__body { padding: 22px 18px; }
.team-card__body h3 { font-size: 18px; margin-bottom: 4px; }
.team-card__body span { font-size: 12.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }

/* ---------- 14. PRODUCTS PAGE ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-family: var(--ff-head);
  font-size: 13.5px; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: #fff; }
.filter-btn.is-active { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }

.product-item { animation: fadeUp .5s var(--ease) both; }
.product-item.is-hidden { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.spec-table th, .spec-table td { padding: 15px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.spec-table th {
  background: var(--surface-2);
  font-family: var(--ff-head);
  font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent);
}
.spec-table td { color: var(--text-muted); }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table tbody tr { transition: background .25s; }
.spec-table tbody tr:hover { background: rgba(255,138,0,.05); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); }

/* Accordion / FAQ */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.accordion__item + .accordion__item { border-top: 1px solid var(--border); }
.accordion__head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px;
  background: transparent; border: 0;
  color: #fff;
  font-family: var(--ff-head);
  font-size: 16.5px; font-weight: 500;
  letter-spacing: .8px; text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.accordion__head:hover { background: rgba(255,138,0,.06); color: var(--accent); }
.accordion__head i { color: var(--accent); transition: transform .35s var(--ease); flex-shrink: 0; }
.accordion__item.is-open .accordion__head i { transform: rotate(180deg); }
.accordion__panel { display: none; padding: 0 24px 22px; }
.accordion__panel p { margin: 0; font-size: 15px; }

/* ---------- 15. GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--bg-alt);
}
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s;
  filter: grayscale(45%);
}
.gallery-item:hover img { transform: scale(1.09); filter: grayscale(0%); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(0deg, rgba(7,7,10,.92) 0%, rgba(255,138,0,.14) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  padding: 16px; text-align: center;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay i { font-size: 26px; color: var(--accent); transform: translateY(12px); transition: transform .4s var(--ease); }
.gallery-item:hover .gallery-item__overlay i { transform: none; }
.gallery-item__overlay span {
  font-family: var(--ff-head);
  font-size: 15px; letter-spacing: 1.3px; text-transform: uppercase;
  transform: translateY(12px); transition: transform .4s var(--ease) .05s;
}
.gallery-item:hover .gallery-item__overlay span { transform: none; }
.gallery-item.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(3,3,6,.95);
  backdrop-filter: blur(8px);
  padding: 40px;
}
.lightbox.is-open { display: flex; animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { margin: 0; max-width: 1000px; width: 100%; text-align: center; }
.lightbox__figure img {
  max-height: 74vh; width: auto; margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  animation: lbZoom .4s var(--ease);
}
@keyframes lbZoom { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.lightbox__caption { margin-top: 18px; font-family: var(--ff-head); letter-spacing: 1.4px; text-transform: uppercase; font-size: 15px; color: var(--text-muted); }
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: #fff; font-size: 17px;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 36px; left: 32px; font-size: 13px; letter-spacing: 2px; color: var(--text-dim); }

/* ---------- 16. CONTACT ---------- */
.contact-info-card {
  display: flex; gap: 18px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s;
}
.contact-info-card:hover { transform: translateX(6px); border-left-color: var(--accent-2); }
.contact-info-card__icon {
  width: 50px; height: 50px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius);
  color: var(--accent); font-size: 19px;
}
.contact-info-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { font-size: 14.5px; color: var(--text-muted); margin: 0; word-break: break-word; }
.contact-info-card a:hover { color: var(--accent); }

.map-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface);
}
.map-wrap iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(100%) invert(92%) contrast(88%);
  transition: filter .5s;
}
.map-wrap:hover iframe { filter: grayscale(30%) invert(92%) contrast(88%); }

/* FORM */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 42px;
  position: relative;
  overflow: hidden;
}
.form-panel::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.field { margin-bottom: 22px; }
.field > label, .field-label {
  display: block;
  margin-bottom: 9px;
  font-family: var(--ff-head);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--text-muted);
}
.req { color: var(--accent); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field input[type="date"],
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 15px;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus, .field select:focus,
.ms.is-open .ms-toggle {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,138,0,.14);
  background: #0b0b10;
}
.field input[type="date"] { color-scheme: dark; }
.field.has-error input, .field.has-error textarea, .field.has-error .ms-toggle { border-color: var(--err); }
.field-error {
  display: none;
  margin-top: 7px;
  font-size: 12.5px; color: var(--err);
}
.field.has-error .field-error { display: block; animation: fadeUp .3s var(--ease); }
.field-hint { margin-top: 7px; font-size: 12.5px; color: var(--text-dim); }

/* Multi-select dropdown */
.ms { position: relative; }
.ms-toggle {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-family: var(--ff-body);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color .3s, box-shadow .3s;
}
.ms-toggle.has-value { color: #fff; }
.ms-toggle i { color: var(--accent); font-size: 13px; transition: transform .3s var(--ease); }
.ms.is-open .ms-toggle i { transform: rotate(180deg); }
.ms-menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  z-index: 60;
  max-height: 274px;
  overflow-y: auto;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
  padding: 7px;
}
.ms.is-open .ms-menu { display: block; animation: fadeUp .28s var(--ease); }
.ms-search { padding: 4px 6px 9px; position: sticky; top: -7px; background: var(--surface-2); z-index: 2; }
/* `.ms .ms-search` — the search box sits inside a .field, so it needs the extra
   class to beat the `.field input[type="text"]` rule above */
.ms .ms-search input {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: #fff; font-size: 13.5px;
}
.ms .ms-search input:focus { outline: none; border-color: var(--accent); }
.ms-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14.5px;
  color: var(--text-muted);
  transition: background .2s, color .2s;
}
.ms-opt:hover { background: rgba(255,138,0,.09); color: #fff; }
.ms-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.ms-opt__box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1.5px solid var(--border-light);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #0a0a0a;
  transition: all .2s var(--ease);
}
.ms-opt input:checked + .ms-opt__box { background: var(--accent); border-color: var(--accent); }
.ms-opt input:checked ~ .ms-opt__label { color: #fff; }
.ms-opt.is-selected { background: rgba(255,138,0,.07); }
.ms-actions {
  display: flex; gap: 8px;
  padding: 9px 6px 4px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
  position: sticky; bottom: -7px; background: var(--surface-2);
}
.ms-actions button {
  flex: 1;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
}
.ms-actions button:hover { border-color: var(--accent); color: var(--accent); }

/* chips showing selection */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,138,0,.3);
  border-radius: 100px;
  font-size: 12.5px; font-weight: 600;
  color: var(--accent-2);
  animation: fadeUp .3s var(--ease);
}
.chip button {
  background: none; border: 0; color: inherit;
  cursor: pointer; font-size: 13px; line-height: 1; padding: 0;
  opacity: .7;
}
.chip button:hover { opacity: 1; }

/* form status */
.form-status {
  display: none;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14.5px;
  border: 1px solid;
}
.form-status.is-success { display: block; background: rgba(37,211,102,.1); border-color: rgba(37,211,102,.4); color: #7dffc0; animation: fadeUp .4s var(--ease); }
.form-status.is-error   { display: block; background: rgba(255,91,91,.1);  border-color: rgba(255,91,91,.4);  color: #ffabab; animation: fadeUp .4s var(--ease); }

.spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(0,0,0,.28);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-label { opacity: .6; }

/* ---------- 17. FOOTER ---------- */
.site-footer {
  position: relative;
  background: #050507;
  border-top: 1px solid var(--border);
  padding: 78px 0 0;
  z-index: 1;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 46px; padding-bottom: 54px; }
.footer-col h4 {
  font-size: 15px; letter-spacing: 2px;
  margin-bottom: 24px;
  position: relative; padding-bottom: 12px;
}
.footer-col h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 2px; background: var(--accent);
}
.footer-col p { font-size: 14.5px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; color: var(--text-muted);
}
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover::before { opacity: 1; transform: none; }

.footer-contact li { display: flex; gap: 13px; margin-bottom: 17px; font-size: 14.5px; color: var(--text-muted); }
.footer-contact i { color: var(--accent); margin-top: 5px; flex-shrink: 0; width: 15px; }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 15px;
  transition: all .3s var(--ease);
}
.footer-social a:hover { transform: translateY(-4px); color: #fff; }
.footer-social a.fs-fb:hover  { background: var(--fb);  border-color: var(--fb); }
.footer-social a.fs-ig:hover  { background: var(--ig-c); border-color: var(--ig-c); }
.footer-social a.fs-x:hover   { background: #fff; border-color: #fff; color: #000; }
.footer-social a.fs-pin:hover { background: var(--pin); border-color: var(--pin); }
.footer-social a.fs-in:hover  { background: var(--in);  border-color: var(--in); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- 18. MOBILE NAV DRAWER ---------- */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  z-index: 890;
  width: min(340px, 86vw);
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  padding: calc(var(--header-h) + 26px) 28px 32px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.6); }
.mobile-nav a:not(.btn) {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--ff-head);
  font-size: 17px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--text-muted);
}
.mobile-nav a:not(.btn).is-active, .mobile-nav a:not(.btn):hover { color: var(--accent); }
.mobile-nav .btn { margin-top: 26px; }
.nav-overlay {
  position: fixed; inset: 0; z-index: 880;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

body.nav-locked { overflow: hidden; }

/* ---------- 19. NO-JS / MISC ---------- */
.noscript-note {
  background: var(--accent);
  color: #000;
  text-align: center;
  padding: 12px;
  font-size: 14px;
}

/* ---------- 20. RESPONSIVE ---------- */
/* Measured unbroken widths: logo 270 + nav 567 + phone/CTA 344 + the two 24px
   gaps = 1229px with the phone, 1021px without it. The header column is capped
   at 1680px (1632 usable), so the phone survives down to 1361px of viewport;
   below that it is the widest non-essential item — the drawer, the footer and
   the WhatsApp button all carry it — so it is the first to go. */
@media (max-width: 1360px) {
  .header-phone { display: none; }
}

@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  /* below this the six entries no longer fit beside the logo and the button,
     so the drawer takes over the navigation while the quote button stays */
  .main-nav { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 992px) {
  .main-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .split, .split--map { grid-template-columns: 1fr; gap: 46px; }
  .split__frame { display: none; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero { height: clamp(520px, 78vh, 700px); }
  .section { padding: 74px 0; }
  /* the chevrons sit at 50% height and land on top of the hero copy once the
     text spans most of the width; touch users have swipe + dots instead */
  .hero__arrow { display: none; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .section { padding: 62px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-panel { padding: 28px 20px; }
  /* iOS Safari force-zooms the page when focusing a control below 16px.
     Selectors mirror the desktop ones so specificity still wins inside .field */
  .field input[type="text"], .field input[type="tel"], .field input[type="email"],
  .field input[type="number"], .field input[type="date"], .field textarea, .field select,
  .ms-toggle, .ms .ms-search input { font-size: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item--tall { grid-row: span 1; }
  .hero__strip { display: none; }
  .hero__dots { bottom: 34px; }
  /* on phones the hero copy can outgrow a fixed-height box; give the hero the
     full viewport and use safe centering so the copy clamps below the fixed
     header instead of overflowing under it (and into the dots) */
  .hero { height: max(620px, 100vh); height: max(620px, 100svh); }
  .hero__content {
    justify-content: center;
    justify-content: safe center;
    padding: calc(var(--header-h) + 22px) 0 110px;
  }
  .hero__actions .btn { flex: 1 1 auto; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .social-flyout { top: auto; bottom: 104px; transform: none; }
  .flyout-item a { width: 42px; height: 42px; }
  .flyout-item i { width: 42px; height: 42px; font-size: 15px; }
  .whatsapp-float { left: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 26px; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .page-banner { min-height: 330px; padding-block: calc(var(--header-h) + 56px) 56px; }
  .split__badge { right: 10px; bottom: -18px; padding: 14px 18px; }
  .split__badge b { font-size: 26px; }
  .lightbox { padding: 20px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__count { top: 24px; left: 16px; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item--wide { grid-column: span 1; }
  /* keep the hero copy compact enough to fit small phone screens */
  .hero__eyebrow { font-size: 11px; padding: 7px 14px; margin-bottom: 16px; }
  .hero__title { font-size: 30px; margin-bottom: 18px; }
  .hero__text { font-size: 14.5px; margin-bottom: 26px; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { padding: 12px 22px; }
  .btn { padding: 13px 24px; font-size: 14px; }
  .logo__name { font-size: 17px; }
  .logo__tag { font-size: 8px; letter-spacing: 2.2px; }
  .cert-strip { gap: 10px; }
  .cert { padding: 10px 16px; font-size: 12.5px; }
  .whatsapp-tip { display: none; }
}

/* ---------- 21. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
}
