/* ==========================================================================
   Al-Sama Group — main stylesheet
   Brand colours taken from the Al-Sama logo: red #BC2326, grey #ACACAC
   ========================================================================== */

:root {
  --red: #bc2326;
  --red-600: #a51d20;
  --red-700: #8c1719;
  --red-50: #fbeeee;
  --grey: #acacac;
  --steel: #6b7173;
  --steel-700: #4a4f51;
  --ink: #1b1e20;
  --ink-2: #26292c;
  --text: #3d4245;
  --muted: #6c7276;
  --line: #e4e4e2;
  --paper: #f4f4f2;
  --white: #ffffff;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
  --shadow: 0 18px 40px -18px rgba(27, 30, 32, .28);
  --shadow-sm: 0 6px 18px -8px rgba(27, 30, 32, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-700); }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.sr-only {
  position: absolute !important; 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: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
  background: var(--red); color: #fff; font-weight: 600; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #c9cccd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.text-center { text-align: center; }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Eyebrow + section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 10px; flex: none;
  background: linear-gradient(115deg, var(--red) 0 55%, transparent 55% 64%, var(--grey) 64%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.section--dark .eyebrow { color: #ff6b6e; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.text-center { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--dark .section-head p { color: #a9aeb0; }
.section-head--split {
  max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.section-head--split > div { max-width: 680px; }
.section-head--split h2 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 28px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bg); border-radius: var(--radius);
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .2s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateX(-102%) skewX(-18deg); transform-origin: left; transition: transform .45s var(--ease);
  width: 125%; left: -12%;
}
.btn:hover { color: #fff; border-color: var(--ink); }
.btn:hover::after { transform: translateX(0) skewX(-18deg); }
.btn .icon { font-size: 1.05em; transition: transform .3s; }
.btn:hover .icon { transform: translateX(4px); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light::after { background: var(--red); }
.btn--light:hover { border-color: var(--red); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost::after { background: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem;
}
.link-arrow .icon { transition: transform .3s; }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #b9bdbf; font-size: .9rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar a { color: #e3e5e6; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--red); font-size: 1rem; }
.topbar__vendor {
  font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: #fff;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.topbar__vendor span { background: var(--red); padding: 2px 10px; border-radius: 2px; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 64px; height: 64px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--ink); letter-spacing: .04em; }
.brand__tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: none; border: 0; cursor: pointer;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: var(--red); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__link .icon { font-size: .8rem; transition: transform .25s; }

.submenu {
  list-style: none; position: absolute; top: 100%; left: 0; min-width: 270px; padding: 10px 0;
  background: #fff; border-top: 3px solid var(--red); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease);
}
.nav__item--has-sub:hover .submenu, .nav__item--has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.nav__item--has-sub:hover .nav__link .icon { transform: rotate(180deg); }
.submenu a {
  display: block; padding: 10px 22px; color: var(--ink); font-weight: 500;
  transition: background .2s, color .2s, padding .2s;
}
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--paper); color: var(--red); padding-left: 28px; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 10px; color: var(--ink); line-height: 1.2; }
.header-phone__icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--red-50); color: var(--red); font-size: 1.15rem;
}
.header-phone small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.header-phone strong { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .03em; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: var(--radius);
  background: var(--red); color: #fff; cursor: pointer; place-items: center; font-size: 1.5rem;
}

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__track { position: relative; height: clamp(560px, 86vh, 820px); }
.hero__slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media picture, .page-banner__media picture { display: block; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.hero__slide.is-active .hero__media img { transform: scale(1); }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,17,18,.92) 0%, rgba(15,17,18,.72) 42%, rgba(15,17,18,.15) 80%),
    linear-gradient(0deg, rgba(15,17,18,.55), transparent 40%);
}
/* signature diagonal "swoosh" taken from the logo */
.hero__slash {
  position: absolute; z-index: 1; pointer-events: none; right: -6%; bottom: -10%; width: 58%; height: 75%;
  background: linear-gradient(115deg, transparent 0 40%, rgba(188,35,38,.85) 40% 52%, transparent 52% 56%, rgba(172,172,172,.55) 56% 60%, transparent 60%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  opacity: .9; transform: translateX(14%); transition: transform 1.2s var(--ease);
}
.hero__slide.is-active .hero__slash { transform: none; }
.hero__content { position: relative; z-index: 2; width: 100%; }
.hero__inner { max-width: 720px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; margin-bottom: 22px;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .92rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 40px; backdrop-filter: blur(4px);
}
.hero__eyebrow b { background: var(--red); padding: 3px 12px; border-radius: 40px; font-weight: 700; }
.hero__title { color: #fff; font-size: clamp(2.5rem, 6.6vw, 5.2rem); line-height: .98; margin-bottom: 22px; text-transform: uppercase; }
.hero__title em { font-style: normal; color: var(--red); -webkit-text-stroke: 0; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d6d9da; max-width: 580px; margin-bottom: 34px; }
.hero__slide .hero__inner > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__slide.is-active .hero__inner > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__inner > :nth-child(2) { transition-delay: .15s; }
.hero__slide.is-active .hero__inner > :nth-child(3) { transition-delay: .3s; }
.hero__slide.is-active .hero__inner > :nth-child(4) { transition-delay: .45s; }

.hero__controls {
  position: absolute; z-index: 5; left: 0; right: 0; 
  /* bottom: clamp(24px, 5vw, 48px); */ bottom: clamp(20px, 5vw, 22px);
}
.hero__controls .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero__dots { display: flex; gap: 10px; align-items: center; }
.hero__dot {
  position: relative; width: 46px; height: 4px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255,255,255,.3); overflow: hidden;
}
.hero__dot::before { content: ""; position: absolute; inset: -12px 0; }
.hero__dot span { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active span { animation: dotfill var(--hero-delay, 6500ms) linear forwards; }
.hero.is-paused .hero__dot.is-active span { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__counter { font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; color: #fff; margin-left: 14px; }
.hero__counter span { color: var(--red); font-size: 1.4rem; }
.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
  width: 54px; height: 54px; display: grid; place-items: center; cursor: pointer; font-size: 1.2rem;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.3); border-radius: 50%;
  transition: background .25s, border-color .25s;
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }

/* service strip under hero */
.service-strip { position: relative; z-index: 6; margin-top: -1px; background: var(--ink); }
.service-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-card {
  position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 30px 26px;
  color: #c9cccd; border-right: 1px solid rgba(255,255,255,.08); transition: background .3s;
}
.strip-card:first-child { border-left: 1px solid rgba(255,255,255,.08); }
.strip-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.strip-card:hover { background: var(--ink-2); color: #fff; }
.strip-card:hover::before { transform: scaleX(1); }
.strip-card__icon { font-size: 2.3rem; color: var(--red); }
.strip-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .03em; }
.strip-card p { margin: 0; font-size: .95rem; line-height: 1.5; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.page-banner__media { position: absolute; inset: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,17,18,.93), rgba(15,17,18,.7) 55%, rgba(15,17,18,.35));
}
.page-banner .hero__slash { width: 46%; height: 100%; bottom: -20%; transform: none; }
.page-banner .container { position: relative; z-index: 2; padding-block: clamp(44px, 6vw, 80px) clamp(40px, 5vw, 68px); }
.page-banner h1 { color: #fff; text-transform: uppercase; margin-bottom: 10px; max-width: 820px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-banner p { max-width: 640px; color: #d6d9da; font-size: 1.1rem; line-height: 1.6; margin-bottom: 0; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: #fff; }
.breadcrumb li + li::before { content: "/"; color: var(--red); }
.breadcrumb a { color: #c9cccd; }
.breadcrumb a:hover { color: #fff; }

/* ---------- About block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: 1.1fr .9fr; }
.about-media { position: relative; padding: 0 0 40px 40px; }
.about-media__main { position: relative; clip-path: polygon(0 0, 100% 0, 100% 86%, 82% 100%, 0 100%); }
.about-media__main img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.about-media::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 70%; z-index: -1;
  background: repeating-linear-gradient(135deg, var(--red) 0 2px, transparent 2px 12px); opacity: .35;
}
.about-media__badge {
  position: absolute; right: -10px; bottom: 6px; z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 20px 26px; background: var(--red); color: #fff; box-shadow: var(--shadow);
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
}
.about-media__badge strong { font-family: var(--font-head); font-size: 3rem; line-height: 1; }
.about-media__badge span { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; line-height: 1.2; font-weight: 600; }
.about-media__inset {
  position: absolute; left: 0; top: 40px; width: 38%; border: 8px solid #fff; box-shadow: var(--shadow);
}
.about-media__inset img { aspect-ratio: 1; object-fit: cover; width: 100%; }

.lead { font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.checklist { list-style: none; display: grid; gap: 12px; margin: 24px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: #fff; background: var(--red); border-radius: 50%; padding: 5px; width: 24px; height: 24px; margin-top: 3px; }
.checklist--2 { grid-template-columns: 1fr 1fr; }

.signature-note {
  border-left: 4px solid var(--red); padding: 4px 0 4px 18px; margin: 26px 0 30px;
  font-family: var(--font-head); font-size: 1.35rem; color: var(--red); font-weight: 600; line-height: 1.3;
}

/* ---------- Stats ---------- */
.stats { position: relative; background: var(--red); color: #fff; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 0 62%, rgba(0,0,0,.14) 62% 74%, transparent 74% 77%, rgba(255,255,255,.08) 77% 82%, transparent 82%);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.18); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; }
.stat__label { font-family: var(--font-head); letter-spacing: .14em; text-transform: uppercase; font-size: .98rem; margin-top: 8px; opacity: .92; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service-card {
  position: relative; display: grid; grid-template-columns: 44% 1fr; background: #fff;
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__media { position: relative; overflow: hidden; min-height: 260px; }
.service-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__body { padding: 30px 28px; display: flex; flex-direction: column; }
.service-card__icon {
  width: 60px; height: 60px; display: grid; place-items: center; margin: 0 0 18px;
  background: var(--red); color: #fff; font-size: 1.8rem;
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px);
}
.service-card__num { position: absolute; right: 22px; top: 14px; font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; color: var(--paper); line-height: 1; }
.service-card h3 { text-transform: uppercase; }
.service-card h3 a { color: inherit; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; } /* whole card clickable */
.service-card h3 a:hover { color: var(--red); }
.service-card p { color: var(--muted); font-size: 1rem; }
.service-card .link-arrow { margin-top: auto; }

/* ---------- Feature / info cards ---------- */
.card-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.info-card {
  position: relative; padding: 34px 30px; background: #fff; border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; overflow: hidden;
}
.info-card::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 90px; height: 90px; background: var(--red);
  transform: rotate(45deg) scale(0); transition: transform .4s var(--ease);
}
.info-card:hover { border-color: transparent; transform: translateY(-5px); box-shadow: var(--shadow); }
.info-card:hover::after { transform: rotate(45deg) scale(1); }
.info-card__icon { font-size: 2.6rem; color: var(--red); margin-bottom: 18px; }
.info-card h3 { text-transform: uppercase; }
.info-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.section--dark .info-card { background: var(--ink-2); border-color: rgba(255,255,255,.08); }
.section--dark .info-card p { color: #a9aeb0; }

/* values (big numbered) */
.values { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value { padding: 36px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .3s; }
.value:hover { background: var(--paper); }
.value__num { font-family: var(--font-head); font-weight: 800; color: var(--red); font-size: 1rem; letter-spacing: .14em; }
.value .icon { font-size: 2.4rem; color: var(--ink); margin: 16px 0; }
.value h3 { text-transform: uppercase; margin-bottom: 8px; }
.value p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Why choose us ---------- */
.why { position: relative; overflow: hidden; }
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%); }
.why__media .vendor-badge { position: absolute; left: -1px; bottom: 30px; }
.why-list { list-style: none; display: grid; gap: 4px; }
.why-item { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.why-item:last-child { border-bottom: 0; }
.why-item__icon {
  width: 64px; height: 64px; display: grid; place-items: center; font-size: 1.8rem; color: #fff;
  border: 1px solid rgba(255,255,255,.18); transition: background .3s, border-color .3s;
}
.why-item:hover .why-item__icon { background: var(--red); border-color: var(--red); }
.why-item h3 { margin-bottom: 4px; text-transform: uppercase; font-size: 1.35rem; }
.why-item p { margin: 0; color: #a9aeb0; font-size: 1rem; }

.vendor-badge {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; background: var(--red); color: #fff;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; line-height: 1.2; box-shadow: var(--shadow);
}
.vendor-badge .icon { font-size: 2.2rem; }
.vendor-badge small { display: block; font-size: .85rem; opacity: .9; }
.vendor-badge strong { font-size: 1.35rem; letter-spacing: .06em; }

/* ---------- Equipment grid ---------- */
.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.equip-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.equip-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.equip-card__media { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; background: #fff; overflow: hidden; }
.equip-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.equip-card:hover .equip-card__media img { transform: scale(1.06); }
.equip-card__media--photo { padding: 0; }
.equip-card__media--photo img { object-fit: cover; }
.equip-card__media--icon { background: var(--paper); color: var(--steel); font-size: 4.2rem; }
.equip-card__body {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; border-top: 1px solid var(--line); background: var(--paper);
}
.equip-card h3 { margin: 0; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.equip-card__tag { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.equip-card:hover .equip-card__body { background: var(--red); }
.equip-card:hover h3, .equip-card:hover .equip-card__tag { color: #fff; }

/* spec cards (waste fleet) */
.spec-card { display: grid; grid-template-columns: 42% 1fr; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.spec-card__media { background: #fff; display: grid; place-items: center; padding: 16px; border-right: 1px solid var(--line); }
.spec-card__media img { width: 100%; height: 100%; max-height: 220px; object-fit: contain; }
.spec-card__body { padding: 28px 26px; }
.spec-card h3 { text-transform: uppercase; margin-bottom: 6px; }
.spec-card p { color: var(--muted); font-size: 1rem; margin-bottom: 14px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: var(--font-head); font-weight: 700; letter-spacing: .05em; padding: 4px 12px;
  background: var(--red-50); color: var(--red-700); border-radius: 2px; font-size: 1rem;
}
.chips--dark li { background: var(--ink); color: #fff; }

/* ---------- Media + text feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 110px); }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__media { position: relative; }
.feature-row__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.feature-row__media::before {
  content: ""; position: absolute; z-index: -1; width: 60%; height: 60%; right: -18px; bottom: -18px; background: var(--red);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.feature-row--reverse .feature-row__media::before { right: auto; left: -18px; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.feature-row__duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: end; }
.feature-row__duo img:last-child { aspect-ratio: 3/4; }

/* ---------- Positions list (manpower) ---------- */
.positions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.position-group { background: #fff; border-top: 4px solid var(--red); box-shadow: var(--shadow-sm); padding: 28px 26px; }
.position-group h3 { display: flex; align-items: center; gap: 12px; text-transform: uppercase; font-size: 1.35rem; }
.position-group h3 .icon { color: var(--red); font-size: 1.6rem; }
.position-group ul { list-style: none; }
.position-group li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-weight: 500; color: var(--ink); }
.position-group li:last-child { border-bottom: 0; }
.position-group li::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--red); transform: rotate(45deg); }

.sector-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.sector-list li {
  padding: 8px 18px; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--ink); background: #fff;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff;
  font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
}
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }

/* ---------- Vision / mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { position: relative; padding: clamp(32px, 4vw, 48px); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.vm-card--dark { background: var(--ink); color: #c9cccd; }
.vm-card--dark h3 { color: #fff; }
.vm-card__icon { font-size: 3rem; color: var(--red); margin-bottom: 18px; }
.vm-card h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); text-transform: uppercase; }
.vm-card::after {
  content: ""; position: absolute; right: 0; top: 0; width: 110px; height: 110px;
  background: linear-gradient(135deg, transparent 50%, var(--red) 50%); opacity: .12;
}
.vm-card .checklist { margin-bottom: 0; }

/* ---------- Clients ---------- */
.clients-marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-track { display: flex; gap: 22px; width: max-content; animation: marquee 45s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }
.client-logo {
  flex: none; width: 210px; height: 120px; display: grid; place-items: center; padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s;
}
.client-logo img { max-height: 76px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.client-logo:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }
.client-logo:hover img { filter: none; opacity: 1; }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.clients-grid .client-logo { width: auto; }
.clients-grid .client-logo img { filter: none; opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(27,30,32,.6); }
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px 100px; padding-block: clamp(56px, 7vw, 90px); }
/* red panel sized to the text: extends to the left edge, slanted edge sits just past the text */
.cta-band__text { position: relative; z-index: 0; flex: 0 1 620px; min-width: 0; }
.cta-band__text::before {
  content: ""; position: absolute; z-index: -1; top: -300px; bottom: -300px; left: -100vw; right: -110px;
  background: rgba(188,35,38,.96);
  clip-path: polygon(0 0, 100% 0, calc(100% - 110px) 100%, 0 100%);
}
.cta-band .btn-row { flex: none; }
.cta-band h2 { color: #fff; text-transform: uppercase; margin-bottom: 8px; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 520px; }

/* ---------- Commitment band ---------- */
.quote-block {
  position: relative; padding: clamp(32px, 5vw, 56px); background: var(--paper); border-left: 6px solid var(--red);
}
.section--paper .quote-block { background: #fff; box-shadow: var(--shadow-sm); }
.quote-block p { font-size: 1.15rem; color: var(--ink); }
.quote-block p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--line); transition: border-color .3s; }
.contact-card:hover { border-color: var(--red); }
.contact-card__icon {
  flex: none; width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.5rem;
  background: var(--red); color: #fff; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.contact-card h3 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: 4px; }
.contact-card p, .contact-card a { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--red); }

.form-card { padding: clamp(28px, 4vw, 48px); background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); font-size: .95rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #d5d6d4; border-radius: var(--radius);
  background: var(--paper); transition: border-color .2s, background .2s; font-size: 1rem;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.form-note { font-size: .92rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 14px; font-weight: 600; color: var(--red-700); }

.map-embed { margin-top: 0; line-height: 0; filter: grayscale(.4); }
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #121415; color: #9da2a4; font-size: 1rem; position: relative; }
.site-footer::before {
  content: ""; display: block; height: 6px;
  background: linear-gradient(90deg, var(--red) 0 70%, var(--grey) 70%);
}
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; gap: 40px; padding-block: clamp(56px, 7vw, 84px); }
.footer-brand img { width: 92px; height: 92px; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.site-footer h2 { color: #fff; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; background: var(--red); }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #b9bdbf; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .icon { color: var(--red); font-size: 1.2rem; margin-top: 4px; }
.footer-contact a { color: #e3e5e6; overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.footer-badge { padding: 8px 14px; border: 1px solid rgba(255,255,255,.14); font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: #e3e5e6; }
.footer-badge b { color: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-block: 22px; font-size: .92rem; }
.footer-bottom a { color: #b9bdbf; }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--red); color: #fff; border: 0; cursor: pointer; font-size: 1.2rem; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 100px; }
.error-page__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 20vw, 11rem); line-height: 1; color: var(--red); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .header-phone { display: none; }
  .nav__link { padding: 10px 10px; font-size: 1.05rem; }
  .nav__link::after { left: 10px; right: 10px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .equip-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
  :root { --header-h: 74px; }
  .brand img { width: 54px; height: 54px; }
  .nav-toggle { display: grid; }
  .topbar__vendor { display: none; }
  .topbar .container { justify-content: center; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(360px, 88vw);
    flex-direction: column; align-items: stretch; gap: 0; padding: 90px 0 30px; overflow-y: auto;
    background: var(--ink); transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { width: 100%; justify-content: space-between; color: #fff; padding: 15px 26px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.2rem; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: #ff6b6e; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    background: rgba(255,255,255,.04); padding: 0; display: none; min-width: 0;
  }
  .nav__item--has-sub.is-open .submenu { display: block; }
  .nav__item--has-sub.is-open .nav__link .icon { transform: rotate(180deg); }
  .nav__item--has-sub:hover .nav__link .icon { transform: none; }
  .nav__item--has-sub.is-open:hover .nav__link .icon { transform: rotate(180deg); }
  .submenu a { color: #c9cccd; padding: 13px 26px 13px 40px; border-bottom: 1px solid rgba(255,255,255,.05); }
  .submenu a:hover, .submenu a[aria-current="page"] { background: transparent; color: #fff; padding-left: 44px; }
  .nav__cta { display: block; padding: 26px; }
  .nav__cta .btn { width: 100%; }
  .nav__close {
    position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; display: grid; place-items: center;
    background: var(--red); color: #fff; border: 0; cursor: pointer; font-size: 1.4rem;
  }
  .nav-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .nav-overlay.is-visible { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }

  .service-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip-card { border-bottom: 1px solid rgba(255,255,255,.08); }
  .split, .split--wide-left, .why__grid, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .feature-row--reverse .feature-row__media { order: 0; }
  .about-media { max-width: 640px; }
  .why__media { max-width: 560px; }
  .services-grid { grid-template-columns: 1fr; }
  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .positions { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .vm-grid { grid-template-columns: 1fr; }
  .cta-band::before { background: linear-gradient(110deg, rgba(188,35,38,.96), rgba(140,23,25,.9)); }
  .cta-band__text::before { display: none; }
  .cta-band .container { flex-wrap: wrap; }
  .cta-band__text { flex-basis: 100%; }
}
@media (min-width: 1024px) {
  .nav__close, .nav__cta, .nav-overlay { display: none; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  .topbar__vendor { display: none; }
  .topbar .container { justify-content: center; }
  .topbar li.topbar__loc { display: none; }
  .topbar ul { justify-content: center; gap: 4px 18px; font-size: .85rem; }
  .brand__tag { display: none; }
  .brand__name { font-size: 1.3rem; }

  .hero__track { height: clamp(560px, 92svh, 720px); }
  .hero__slide { align-items: flex-end; padding-bottom: 120px; }
  .hero__media::after { background: linear-gradient(0deg, rgba(15,17,18,.95) 0%, rgba(15,17,18,.75) 50%, rgba(15,17,18,.35) 100%); }
  .hero__slash { width: 90%; height: 40%; top: 0; bottom: auto; right: -20%; opacity: .55; }
  .hero__eyebrow { font-size: .78rem; letter-spacing: .1em; margin-bottom: 16px; }
  .hero__arrow { width: 46px; height: 46px; }
  .hero__dot { width: 30px; }
  .hero__counter { display: none; }
  .hero .btn-row .btn { flex: 1 1 auto; }

  .service-strip__grid { grid-template-columns: 1fr; }
  .strip-card { border-left: 0 !important; border-right: 0; padding: 22px 0; margin-inline: var(--gutter); }

  .service-card { grid-template-columns: 1fr; }
  .service-card__media { min-height: 0; aspect-ratio: 16 / 9; }
  .service-card__num { display: none; }
  .card-grid, .card-grid--4, .card-grid--2, .values, .positions { grid-template-columns: 1fr; }
  .equip-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .equip-card__media { padding: 10px; }
  .equip-card__body { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; }
  .equip-card h3 { font-size: 1.05rem; }
  .spec-card { grid-template-columns: 1fr; }
  .spec-card__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .spec-card__media img { max-height: 180px; }
  .checklist--2 { grid-template-columns: 1fr; }
  .stat { padding: 30px 12px; }
  .about-media { padding: 0 0 30px 20px; }
  .about-media__inset { width: 42%; top: 20px; border-width: 5px; }
  .about-media__badge { right: 0; padding: 14px 18px; }
  .about-media__badge strong { font-size: 2.3rem; }
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .gallery .g-wide { grid-column: span 2; }
  .gallery .g-tall { grid-row: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .cta-band::before { background: linear-gradient(180deg, rgba(188,35,38,.95), rgba(140,23,25,.92)); }
  .cta-band .btn-row, .cta-band .btn-row .btn { width: 100%; }
  .client-logo { width: 170px; height: 100px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .clients-grid .client-logo { height: 96px; padding: 12px; }
  .why-item { grid-template-columns: 52px 1fr; gap: 16px; }
  .why-item__icon { width: 52px; height: 52px; font-size: 1.5rem; }
  .map-embed iframe { height: 320px; }
  .feature-row__media::before { right: -8px; bottom: -8px; }
  .feature-row--reverse .feature-row__media::before { left: -8px; }
}

@media (max-width: 379px) {
  .brand img { width: 46px; height: 46px; }
  .brand__name { font-size: 1.15rem; }
  .nav-toggle { width: 44px; height: 44px; }
  .hero__title { font-size: 2.15rem; }
  .equip-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .equip-card h3 { font-size: .95rem; }
  .equip-card__tag { font-size: .7rem; }
  .btn { padding-inline: 20px; }
  .topbar ul { font-size: .8rem; gap: 2px 12px; }
}

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

@media print {
  .topbar, .site-header, .hero__controls, .to-top, .cta-band, .map-embed { display: none !important; }
}

/* ---------- Footer: Vision 2030 + credit ---------- */
.footer-vision { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.footer-vision img { width: 96px; height: auto; flex: none; }
.footer-vision span { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; line-height: 1.3; color: #9da2a4; }
.footer-bottom a { color: #fff; font-weight: 600; }
.footer-bottom a:hover { color: var(--red); }
@media (max-width: 767px) {
  .footer-bottom .container { padding-right: 84px; }
}

/* ---------- Horizontal tabs ---------- */
.tabs__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.tabs__tab {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 84px; padding: 16px 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: #fff; border: 0; border-right: 1px solid var(--line); cursor: pointer; transition: background .3s, color .3s;
}
.tabs__tab:last-child { border-right: 0; }
.tabs__tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tabs__tab:hover { color: var(--red); }
.tabs__tab:hover::before { transform: scaleX(1); }
.tabs__tab-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: none; font-size: 1.45rem; color: var(--red); background: var(--red-50); border-radius: 50%; transition: background .3s, color .3s; }
.tabs__tab[aria-selected="true"] { background: var(--red); color: #fff; }
.tabs__tab[aria-selected="true"]::before { transform: scaleX(1); background: var(--red-700); }
.tabs__tab[aria-selected="true"] .tabs__tab-icon { background: rgba(255,255,255,.16); color: #fff; }
.tabs__tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: -11px; width: 22px; height: 12px; transform: translateX(-50%);
  background: var(--red); clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.tabs__panel { display: grid; grid-template-columns: 1fr 1.1fr; margin-top: 28px; background: #fff; box-shadow: var(--shadow-sm); animation: tabIn .5s var(--ease); }
html:not(.no-js) .tabs__panel[data-hidden] { display: none; }
.no-js .tabs__panel + .tabs__panel { margin-top: 20px; }
@keyframes tabIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tabs__media { position: relative; overflow: hidden; min-height: 380px; }
.tabs__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tabs__num {
  position: absolute; left: 0; bottom: 0; padding: 10px 22px; background: var(--ink); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; letter-spacing: .06em;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}
.tabs__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.tabs__body h3 { text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tabs__body p { color: var(--muted); }
.tabs__body .checklist { margin: 8px 0 28px; }
.tabs__body .btn { align-self: flex-start; }
@media (max-width: 1023px) {
  .tabs__tab { flex-direction: column; gap: 8px; font-size: 1.05rem; padding: 16px 10px; text-align: center; }
  .tabs__panel { grid-template-columns: 1fr; }
  .tabs__media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .tabs__list { grid-template-columns: 1fr 1fr; }
  .tabs__tab { min-height: 74px; font-size: .98rem; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
  .tabs__tab:nth-child(2n) { border-right: 0; }
  .tabs__tab-icon { width: 40px; height: 40px; font-size: 1.25rem; }
  .tabs__tab[aria-selected="true"]::after { display: none; }
  .tabs__panel { margin-top: 18px; }
  .tabs__media { aspect-ratio: 16 / 10; }
  .tabs__body .btn { align-self: stretch; }
}
/* ---------- Clients page ---------- */
.clients-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.clients-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 38px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-stat:nth-child(2n) { border-right: 0; }
.clients-stat:nth-child(n+3) { border-bottom: 0; }
.clients-stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--red); }
.clients-stat__label { margin-top: 8px; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); font-size: .95rem; }
.client-cards { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.client-cards > .client-card { flex: 0 0 calc((100% - 66px) / 4); }
.client-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.client-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.client-card:hover::after { transform: scaleX(1); }
.client-card__logo { height: 170px; display: grid; place-items: center; padding: 26px 30px; }
.client-card__logo img { max-height: 100px; width: auto; max-width: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.client-card:hover .client-card__logo img { transform: scale(1.06); }
.client-card__name {
  margin: 0; padding: 14px 16px; text-align: center; border-top: 1px solid var(--line); background: var(--paper);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); font-size: 1rem; line-height: 1.3;
}
@media (max-width: 1023px) { .client-cards > .client-card { flex-basis: calc((100% - 44px) / 3); } }
@media (max-width: 767px) {
  .client-cards { gap: 12px; }
  .client-cards > .client-card { flex-basis: calc((100% - 12px) / 2); }
  .client-card__logo { height: 120px; padding: 16px; }
  .client-card__logo img { max-height: 70px; }
  .client-card__name { font-size: .85rem; padding: 10px 8px; }
  .clients-stat { padding: 26px 12px; }
}
