/* ==========================================================================
   ALYEXO INDUSTRY — v2 design system
   Hybrid: dark hero / CTA / footer  ·  light content sections
   --------------------------------------------------------------------------
   00 Tokens · 01 Base · 02 Type · 03 Layout · 04 Buttons · 05 Header
   06 Hero · 07 Cards · 08 Products · 09 Process · 10 Stats · 11 Gallery
   12 Accordion · 13 Forms · 14 Footer · 15 Reveal · 16 Responsive
   ========================================================================== */

/* ============================== 00 TOKENS ============================== */
:root {
  --black:      #111111;
  --black-2:    #191919;
  --black-3:    #232323;
  --white:      #FFFFFF;
  --gray-50:    #FAFAFA;
  --gray-100:   #F5F5F5;
  --gray-200:   #EAEAEA;
  --gray-300:   #D8D8D8;
  --gray-500:   #8A8A8A;
  --gray-700:   #4A4A4A;
  --red:        #D60000;
  --red-dark:   #A80000;
  --red-soft:   rgba(214, 0, 0, .08);

  --text:       #111111;
  --text-soft:  #5A5A5A;
  --text-invert:#FFFFFF;

  --font-head: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(17,17,17,.05);
  --shadow:    0 12px 34px -14px rgba(17,17,17,.18);
  --shadow-lg: 0 30px 70px -28px rgba(17,17,17,.30);
  --shadow-red:0 16px 40px -16px rgba(214,0,0,.50);

  --ease: cubic-bezier(.22,1,.36,1);
  --t: .38s;
  --t-fast: .2s;

  --container: 1240px;
  --gutter: 28px;
  --header-h: 84px;
  --section-y: clamp(72px, 8vw, 128px);
}

/* ============================== 01 BASE ============================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; border: 0; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
svg { display: block; }

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--red); color: #fff; padding: 12px 22px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Icon system — inline SVG sprite, no external request */
.icon {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ============================== 02 TYPE ============================== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--text);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.028em;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.95rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); letter-spacing: -.02em; }
h4 { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }
strong, b { color: var(--text); font-weight: 600; }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.8;
  color: var(--text-soft);
  font-weight: 300;
}
.text-red { color: var(--red); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--red);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--red);
}

/* Dark-surface type inversion */
.is-dark { background: var(--black); color: rgba(255,255,255,.72); }
.is-dark h1, .is-dark h2, .is-dark h3, .is-dark h4 { color: #fff; }
.is-dark strong, .is-dark b { color: #fff; }
.is-dark .lead { color: rgba(255,255,255,.80); }
.is-dark .eyebrow { color: #FF4141; }
.is-dark .eyebrow::before { background: #FF4141; }

/* ============================== 03 LAYOUT ============================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(52px, 6vw, 88px); }
.section--gray { background: var(--gray-100); }
.section--soft { background: var(--gray-50); }

.grid { display: grid; gap: 26px; }
.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)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 78px); align-items: center; }
.split--60 { grid-template-columns: 1.3fr 1fr; }
.split--40 { grid-template-columns: 1fr 1.3fr; }
.split--top { align-items: start; }

.center { text-align: center; }
.mt-2 { margin-top: 1.4rem; } .mt-3 { margin-top: 2.2rem; } .mt-4 { margin-top: 3rem; }

.section-head { max-width: 760px; margin-bottom: clamp(38px, 4.5vw, 62px); }
.section-head.center { margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--text-soft); font-size: 1.02rem; margin: 0; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row.center { justify-content: center; }

/* ============================== 04 BUTTONS ============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  border-radius: var(--r-pill);
  position: relative; overflow: hidden; isolation: isolate;
  white-space: nowrap;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              background-color var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.btn .icon { font-size: 1.05em; transition: transform var(--t) var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn:hover .icon:last-child { transform: translateX(4px); }

.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red-dark); opacity: 0; transition: opacity var(--t) var(--ease);
}
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover { box-shadow: 0 22px 50px -18px rgba(214,0,0,.68); }

.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--black-3); box-shadow: var(--shadow); }

.btn--outline { border: 1.5px solid var(--gray-300); color: var(--text); background: #fff; }
.btn--outline:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow-sm); }

.btn--ghost-light { border: 1.5px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }

.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1eb757; }

.btn--sm { padding: 11px 22px; font-size: .71rem; }
.btn--lg { padding: 19px 42px; font-size: .86rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--red);
}
.link-arrow .icon { transition: transform var(--t) var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ============================== 05 HEADER ============================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0);
  transition: height var(--t) var(--ease), background-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}
/* Over a dark hero the header starts light-on-dark, then flips on scroll */
.site-header .logo-name { color: #fff; }
.site-header .nav a { color: rgba(255,255,255,.86); }
.site-header .header-phone { color: rgba(255,255,255,.86); }
.site-header .burger span { background: #fff; }

.site-header.is-stuck {
  height: 70px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--gray-200);
  box-shadow: 0 6px 26px -18px rgba(17,17,17,.5);
}
.site-header.is-stuck .logo-name { color: var(--text); }
.site-header.is-stuck .nav a { color: var(--text-soft); }
.site-header.is-stuck .header-phone { color: var(--text-soft); }
.site-header.is-stuck .burger span { background: var(--text); }

/* Pages without a dark hero start in the light state immediately */
.header-solid .site-header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--gray-200);
}
.header-solid .site-header .logo-name { color: var(--text); }
.header-solid .site-header .nav a { color: var(--text-soft); }
.header-solid .site-header .header-phone { color: var(--text-soft); }
.header-solid .site-header .burger span { background: var(--text); }

.header-inner {
  width: 100%; max-width: 1440px; margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-img {
  height: 48px; width: auto; object-fit: contain;
  transition: transform var(--t) var(--ease);
  filter: brightness(0) invert(1);
}
.logo:hover .logo-img { transform: scale(1.03); }
.site-header.is-stuck .logo-img { filter: none; }
.header-solid .site-header .logo-img { filter: none; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.24rem;
  letter-spacing: -.04em;
  box-shadow: var(--shadow-red);
  transition: transform var(--t) var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--font-head); font-weight: 800; font-size: 1.16rem; letter-spacing: -.01em; transition: color var(--t) var(--ease); }
.logo-sub { font-size: .55rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gray-500); margin-top: 4px; font-weight: 600; }
.footer-logo-img { height: 64px; width: 64px; object-fit: contain; filter: brightness(0) invert(1); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative; display: block; padding: 9px 15px;
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .03em;
  border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 16px; height: 2px; border-radius: 2px; background: var(--red);
  transform: translateX(-50%) scaleX(0); transform-origin: center;
  transition: transform var(--t) var(--ease);
}
.nav a:hover { color: var(--red) !important; }
.nav a.is-active { color: var(--red) !important; }
.nav a.is-active::after { transform: translateX(-50%) scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; font-weight: 500;
  transition: color var(--t) var(--ease);
}
.header-phone .icon { color: var(--red); font-size: 1rem; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid rgba(128,128,128,.28);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 19px; height: 2px; border-radius: 2px; transition: transform var(--t) var(--ease), opacity var(--t-fast); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(390px, 88vw); z-index: 999;
  background: var(--white);
  border-left: 1px solid var(--gray-200);
  padding: calc(var(--header-h) + 22px) 28px 40px;
  transform: translateX(100%);
  /* visibility keeps the closed drawer out of the scroll area (a fixed element
     is not clipped by overflow-x) and out of the keyboard tab order. The 0s
     delay lets the slide-out finish before it disappears. */
  visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
  overflow-y: auto;
  box-shadow: -24px 0 60px -30px rgba(17,17,17,.4);
}
.mobile-nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 2px; font-family: var(--font-head); font-size: 1.12rem; font-weight: 700;
  color: var(--text); border-bottom: 1px solid var(--gray-200);
}
.mobile-nav a .icon { color: var(--red); font-size: .8rem; opacity: 0; transform: translateX(-6px); transition: all var(--t) var(--ease); }
.mobile-nav a:hover, .mobile-nav a.is-active { color: var(--red); }
.mobile-nav a:hover .icon, .mobile-nav a.is-active .icon { opacity: 1; transform: none; }
.mobile-nav .btn { margin-top: 26px; }
.mobile-nav-meta { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--gray-200); }
.mobile-nav-meta a { border: 0; font-family: var(--font-body); font-size: .92rem; font-weight: 400; color: var(--text-soft); padding: 7px 0; justify-content: flex-start; gap: 11px; }
.mobile-nav-meta a .icon { opacity: 1; transform: none; }

.nav-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(17,17,17,.45); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity var(--t) var(--ease), visibility var(--t);
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
body.nav-locked { overflow: hidden; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1001;
  background: var(--red);
  transition: width .1s linear;
}

/* ============================== 06 HERO ============================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--black);
  color: rgba(255,255,255,.78);
  padding-top: calc(var(--header-h) + 70px);
  padding-bottom: 96px;
  min-height: min(94svh, 900px);
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  background-color: var(--black);
  transform: scale(1.05);
  animation: heroDrift 30s var(--ease) infinite alternate;
}
@keyframes heroDrift { to { transform: scale(1.13) translate3d(-1.2%,-1.4%,0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(17,17,17,.96) 0%, rgba(17,17,17,.84) 44%, rgba(17,17,17,.42) 78%, rgba(17,17,17,.66) 100%),
    linear-gradient(0deg, var(--black) 1%, transparent 40%);
}
/* Signature diagonal red rule */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(104deg, transparent 0 110px, rgba(214,0,0,.14) 110px 112px, transparent 112px 222px);
  -webkit-mask-image: linear-gradient(72deg, transparent 34%, #000 100%);
  mask-image: linear-gradient(72deg, transparent 34%, #000 100%);
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero-inner { max-width: 880px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 20px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  font-size: .71rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #fff;
  margin-bottom: 26px;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }
.hero-sub {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(.85rem, 1.2vw, 1rem);
  letter-spacing: .22em; text-transform: uppercase;
  color: #FF4141; margin-bottom: 20px;
}
.hero-copy { max-width: 620px; font-size: clamp(1rem,1.3vw,1.14rem); color: rgba(255,255,255,.82); font-weight: 300; line-height: 1.8; margin-bottom: 38px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(214,0,0,.18), rgba(214,0,0,.06));
  border: 1px solid rgba(214,0,0,.4);
  font-size: .85rem; color: #fff; font-weight: 600;
  letter-spacing: .03em; margin-bottom: 32px;
  backdrop-filter: blur(6px);
}
.hero-badge .icon { color: #FF4141; font-size: 1.1rem; flex-shrink: 0; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  font-size: .82rem; color: #fff; font-weight: 500;
}
.hero-chip .icon { color: #FF4141; font-size: 1rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255,255,255,.16); padding-top: 30px; }
.hero-stat { padding-right: 40px; margin-right: 40px; border-right: 1px solid rgba(255,255,255,.16); }
.hero-stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: clamp(1.7rem,2.5vw,2.2rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.03em; }
.hero-stat span { display: block; margin-top: 8px; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.58); font-weight: 500; }

/* Inner page hero — dark but shorter */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--black); color: rgba(255,255,255,.78);
  padding-top: calc(var(--header-h) + 74px);
  padding-bottom: 82px;
}
.page-hero .hero-bg { animation: none; transform: scale(1.03); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(96deg, rgba(17,17,17,.95) 6%, rgba(17,17,17,.80) 58%, rgba(17,17,17,.60) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem,4.4vw,3.5rem); margin-bottom: 16px; }
.page-hero p { max-width: 640px; color: rgba(255,255,255,.80); }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 18px; font-weight: 500;
}
.breadcrumb a:hover { color: #FF4141; }
.breadcrumb .icon { font-size: .62rem; }
.breadcrumb [aria-current] { color: #FF4141; }

/* ============================== 07 CARDS ============================== */
.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3, .card h4 { margin-bottom: 10px; }
.card p { font-size: .94rem; margin-bottom: 0; }

.section--gray .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.section--gray .card:hover { box-shadow: var(--shadow-lg); }

.card-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--red-soft); color: var(--red);
  font-size: 1.45rem; margin-bottom: 22px;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.card:hover .card-icon { background: var(--red); color: #fff; transform: translateY(-3px) rotate(-6deg); }
.card-icon--dark { background: rgba(255,255,255,.08); color: #fff; }

.card-num {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800;
  color: var(--gray-200); line-height: 1; letter-spacing: -.04em;
  margin-bottom: 14px; transition: color var(--t) var(--ease);
}
.card:hover .card-num { color: var(--red); }

.check-list { display: grid; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; line-height: 1.6; }
.check-list .icon {
  flex-shrink: 0; margin-top: 5px; width: 20px; height: 20px; padding: 4px;
  border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3;
}
.is-dark .check-list li { color: rgba(255,255,255,.78); }

.media { border-radius: var(--r-lg); overflow: hidden; background: var(--gray-100); box-shadow: var(--shadow); }
.media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1s var(--ease); }
.media:hover img { transform: scale(1.05); }
.media--tall img { aspect-ratio: 3/4; }
.media--wide img { aspect-ratio: 16/10; }

.media-badge {
  position: absolute; right: -16px; bottom: -16px; z-index: 3;
  background: var(--red); color: #fff;
  padding: 20px 26px; border-radius: var(--r);
  box-shadow: var(--shadow-red);
}
.media-badge b { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.media-badge span { display: block; margin-top: 6px; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; opacity: .9; }
.media-wrap { position: relative; }

/* ============================== 08 PRODUCTS ============================== */
.product-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); overflow: hidden; height: 100%;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--gray-100); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-size: .6rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1.14rem; margin-bottom: 8px; }
.product-body p { font-size: .9rem; margin-bottom: 18px; }
.product-body .link-arrow { margin-top: auto; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 42px; }
.filter-btn {
  padding: 10px 20px; border-radius: var(--r-pill);
  border: 1.5px solid var(--gray-200); background: #fff;
  font-family: var(--font-head); font-size: .73rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft);
  transition: all var(--t-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.is-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.product-card.is-hidden { display: none; }

/* Industry / small pill cards */
.pill-card {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 22px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--gray-200);
  transition: all var(--t) var(--ease);
}
.pill-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow); }
.pill-card .icon { color: var(--red); font-size: 1.3rem; }
.pill-card b { font-family: var(--font-head); font-size: .96rem; color: var(--text); }

/* ============================== 09 PROCESS ============================== */
.process { position: relative; display: grid; gap: 26px; grid-template-columns: repeat(4, minmax(0,1fr)); }
/* Connector drawn per step, so an 8-step process gets a timeline on BOTH rows
   rather than only the first. Hidden on the last item of each row. */
.step::after {
  content: ""; position: absolute; top: 33px; height: 2px;
  left: calc(50% + 44px); right: calc(-50% + 18px);
  background: repeating-linear-gradient(90deg, var(--gray-300) 0 8px, transparent 8px 16px);
}
.process .step:nth-child(4n)::after, .process .step:last-child::after { display: none; }
.step { position: relative; text-align: center; }
.step-dot {
  position: relative; z-index: 2;
  width: 68px; height: 68px; margin: 0 auto 20px;
  border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--gray-200);
  color: var(--red); font-size: 1.3rem;
  transition: all var(--t) var(--ease);
}
.step:hover .step-dot { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-5px); box-shadow: var(--shadow-red); }
.step-num {
  position: absolute; top: -4px; right: -4px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--black); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-size: .64rem; font-weight: 800;
  border: 3px solid #fff;
}
.step h4 { margin-bottom: 8px; font-size: 1rem; }
.step p { font-size: .87rem; margin: 0; }
.section--gray .step-dot { background: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }

/* ============================== 10 STATS ============================== */
.stats-band { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(104deg, transparent 0 100px, rgba(214,0,0,.16) 100px 102px, transparent 102px 202px);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: clamp(2.2rem,4vw,3.3rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.04em; }
.stat-num .suffix { color: #FF4141; }
.stat-label { margin-top: 12px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); font-weight: 500; }

/* ============================== 11 GALLERY ============================== */
.masonry { columns: 3; column-gap: 22px; }
.masonry-item {
  break-inside: avoid; margin-bottom: 22px;
  border-radius: var(--r); overflow: hidden;
  background: var(--gray-100); position: relative;
  box-shadow: var(--shadow-sm);
}
.masonry-item img { width: 100%; display: block; transition: transform .9s var(--ease); }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 20px 16px;
  background: linear-gradient(0deg, rgba(17,17,17,.85), transparent);
  color: #fff; font-size: .84rem; font-weight: 500;
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.masonry-item:hover figcaption { opacity: 1; transform: none; }

/* ============================== 12 ACCORDION ============================== */
.accordion { display: grid; gap: 12px; }
.acc-item { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--r); overflow: hidden; transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.acc-item.is-open { border-color: var(--red); box-shadow: var(--shadow); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; text-align: left;
  font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--text);
}
.acc-head:hover { color: var(--red); }
.acc-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gray-100); color: var(--red);
  transition: all var(--t) var(--ease);
}
.acc-item.is-open .acc-icon { background: var(--red); color: #fff; transform: rotate(180deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.acc-panel-inner { padding: 0 24px 22px; font-size: .94rem; line-height: 1.8; }

/* ============================== 13 FORMS ============================== */
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(28px,4vw,46px); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: .71rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border-radius: var(--r-sm); border: 1.5px solid var(--gray-200);
  background: var(--gray-50); color: var(--text); font-size: .95rem;
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray-500); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px var(--red-soft);
}
.field select {
  cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23D60000' stroke-width='1.8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
.field .error-msg { display: block; max-height: 0; overflow: hidden; font-size: .77rem; color: var(--red); transition: max-height var(--t) var(--ease), margin-top var(--t) var(--ease); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: var(--red-soft); }
.field.has-error .error-msg { max-height: 42px; margin-top: 6px; }

.form-consent { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 11px; font-size: .85rem; color: var(--text-soft); }
.form-consent > label { flex: 1 1 260px; min-width: 0; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .85rem; color: var(--text-soft); margin: 0; }
.form-consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px;
  border-radius: 5px; border: 1.5px solid var(--gray-300); background: #fff; cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.form-consent input[type="checkbox"]:checked {
  background: var(--red); border-color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M2.5 7.5 5.5 10.5 11.5 4'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.form-consent a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.form-submit-row { grid-column: 1/-1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: .8rem; color: var(--gray-500); display: inline-flex; align-items: center; gap: 7px; }
.form-note .icon { color: var(--red); }

.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn-label { visibility: hidden; }
.btn.is-loading::before {
  content: ""; position: absolute; width: 18px; height: 18px;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .7s linear infinite; left: 50%; top: 50%; margin: -9px 0 0 -9px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { display: none; text-align: center; padding: clamp(30px,4vw,54px) 20px; }
.form-success.is-visible { display: block; animation: popIn .5s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.success-mark {
  width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
  font-size: 1.9rem; box-shadow: var(--shadow-red);
}

.contact-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--gray-200); transition: all var(--t) var(--ease); }
.contact-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .icon-wrap { flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 1.15rem; transition: all var(--t) var(--ease); }
.contact-card:hover .icon-wrap { background: var(--red); color: #fff; }
.contact-card h5 { font-family: var(--font-head); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); margin: 0 0 6px; font-weight: 700; }
.contact-card a, .contact-card p { display: block; color: var(--text); font-size: .96rem; margin: 0 0 2px; }
.contact-card a:hover { color: var(--red); }

.map-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

.hours-list li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--gray-200); font-size: .92rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list b { color: var(--text); font-weight: 600; }
.hours-list .closed { color: var(--red); }

/* CTA band */
.cta-band {
  background: var(--black); color: rgba(255,255,255,.78);
  border-radius: var(--r-xl); padding: clamp(44px,5.5vw,76px) clamp(28px,4.5vw,64px);
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: repeating-linear-gradient(104deg, transparent 0 90px, rgba(214,0,0,.15) 90px 92px, transparent 92px 182px);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }

/* ============================== 14 FOOTER ============================== */
.site-footer { background: var(--black); color: rgba(255,255,255,.62); padding-top: clamp(56px,6vw,88px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(28px,4vw,52px); padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--red); border-radius: 2px; }
.footer-about { font-size: .92rem; line-height: 1.8; margin-bottom: 22px; max-width: 360px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: .9rem; display: inline-flex; align-items: center; gap: 8px; transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; font-size: .9rem; line-height: 1.6; }
.footer-contact .icon { color: var(--red); margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.footer-newsletter { display: flex; gap: 8px; margin-top: 14px; }
.footer-newsletter input {
  flex: 1; min-width: 0; padding: 12px 15px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-size: .88rem;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,.42); }
.footer-newsletter input:focus { outline: none; border-color: var(--red); }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8); transition: all var(--t) var(--ease);
}
.social-btn:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .84rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { color: #fff; }

/* Floating UI */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff; font-size: 1.6rem;
  box-shadow: 0 14px 34px -12px rgba(37,211,102,.8);
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease);
}
.wa-float:hover { transform: scale(1.08); background: #1eb757; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.55); animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 70%,100% { transform: scale(1.4); opacity: 0; } }

.to-top {
  position: fixed; right: 20px; bottom: 88px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--black); color: #fff;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all var(--t) var(--ease);
  box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }

/* ============================== 15 REVEAL ============================== */
/* Self-contained scroll reveal — no external animation library */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
/* If JS never runs, content must still be readable */
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Broken-image safety net */
.img-fallback {
  background: linear-gradient(135deg, var(--gray-200), var(--gray-100)) !important;
  position: relative;
}
.img-fallback img { opacity: 0 !important; }
.img-fallback::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(17,17,17,.05) 0 10px, transparent 10px 20px);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================== 16 RESPONSIVE ============================== */
@media (max-width: 1100px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process .step:nth-child(2n)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .split, .split--60, .split--40 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); padding-bottom: 72px; }
  .media-badge { position: relative; right: auto; bottom: auto; display: inline-block; margin-top: 14px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .btn { padding: 14px 26px; font-size: .76rem; }
  .btn--lg { padding: 16px 30px; font-size: .8rem; }
  .btn-row .btn { width: 100%; }
  .hero-stat { border-right: 0; padding-right: 0; margin-right: 0; width: 50%; }
  .hero-stat:nth-child(n+3) { margin-top: 22px; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; }
  .filter-btn { flex-shrink: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .logo-sub { display: none; }
}

@media print {
  .site-header, .mobile-nav, .nav-overlay, .wa-float, .to-top, .scroll-progress { display: none !important; }
  body { background: #fff; color: #000; }
}
