/* ============================================================
   ТОО АЛУА — Industrial pile-foundation brand
   Heavy construction + Kazakh steppe character.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --teal:        #00857C;
  --teal-deep:   #006A63;
  --teal-darker: #00524C;
  --yellow:      #FEC50C;
  --yellow-deep: #E5AE00;
  --sand:        #D9C9A8;
  --sand-soft:   #E8DCC4;
  --slag:        #3A3D42;
  --slag-deep:   #24262A;
  --concrete:    #B8B5AE;
  --concrete-2:  #D6D3CC;
  --sky:         #00ADE7;
  --ink:         #0E1116;
  --paper:       #F4F1EA;
  --paper-2:     #ECE7DB;

  --d-ink:       #F2EFE7;
  --d-bg:        #0E1116;
  --d-bg-2:      #15181D;
  --d-bg-3:      #1C2026;

  --f-display:   'Archivo Black', 'Noto Sans', 'Noto Sans SC', sans-serif;
  --f-display-2: 'Archivo', 'Noto Sans', sans-serif;
  --f-body:      'IBM Plex Sans', 'Noto Sans', 'Noto Sans SC', system-ui, sans-serif;
  --f-mono:      'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --max:     1440px;
  --gutter:  clamp(20px, 4vw, 56px);
  --hairline: rgba(14, 17, 22, 0.10);
  --hairline-strong: rgba(14, 17, 22, 0.22);

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --transition: 240ms var(--ease);
  --radius: 2px;
}

/* Light theme */
:root, [data-theme="light"] {
  --bg:        var(--paper);
  --bg-2:      var(--paper-2);
  --bg-3:      #FBF8F1;
  --fg:        var(--ink);
  --fg-muted:  #4A4E55;
  --fg-soft:   #6C7079;
  --border:    var(--hairline);
  --border-2:  var(--hairline-strong);
  --card:      #FFFFFF;
  --card-fg:   var(--ink);
  --grain-opacity: 0.035;

  --color-bg: var(--bg);
  --color-bg-alt: var(--bg-2);
  --color-bg-card: var(--card);
  --color-accent: var(--teal);
  --color-accent-hover: var(--teal-deep);
  --color-text: var(--fg);
  --color-text-secondary: var(--fg-muted);
  --color-border: var(--border);
}

[data-theme="dark"] {
  --bg:        var(--d-bg);
  --bg-2:      var(--d-bg-2);
  --bg-3:      var(--d-bg-3);
  --fg:        var(--d-ink);
  --fg-muted:  #B7B3A8;
  --fg-soft:   #8B8B86;
  --border:    rgba(242, 239, 231, 0.10);
  --border-2:  rgba(242, 239, 231, 0.22);
  --card:      #181B21;
  --card-fg:   var(--d-ink);
  --grain-opacity: 0.05;

  --color-bg: var(--bg);
  --color-bg-alt: var(--bg-2);
  --color-bg-card: var(--card);
  --color-accent: #4dd9cc;
  --color-text: var(--fg);
  --color-text-secondary: var(--fg-muted);
  --color-border: var(--border);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv02";
  transition: background 0.4s, color 0.4s;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; background: transparent; border: none; outline: none; }
a { color: inherit; text-decoration: none; transition: color 160ms var(--ease); }
ul, ol { list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }

.container, .shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type utilities ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* ---------- Hazard tape ---------- */
.hazard {
  height: 28px;
  background: repeating-linear-gradient(135deg, var(--yellow) 0 22px, var(--ink) 22px 32px);
}
.hazard--thin { height: 12px; }

/* ---------- Marquee ---------- */
.marquee {
  display: flex; overflow: hidden;
  background: var(--yellow); color: var(--ink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.marquee__track {
  display: flex; gap: 48px;
  padding: 14px 24px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.04em;
}
.marquee__track > span {
  display: inline-flex; align-items: center; gap: 48px;
}
.marquee__track > span::after {
  content: ""; width: 14px; height: 14px; flex: 0 0 14px;
  background: var(--ink); transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  border-radius: var(--radius);
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 180ms var(--ease);
  position: relative;
}
.btn-primary {
  background: var(--yellow); color: var(--ink); border-color: var(--yellow);
}
.btn-primary:hover {
  background: var(--yellow-deep); border-color: var(--ink); color: var(--ink);
}
.btn-outline {
  background: transparent; color: var(--fg); border-color: currentColor;
}
.btn-outline:hover {
  background: var(--teal); border-color: var(--teal); color: #fff;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: var(--yellow);
  z-index: 200;
  width: 0%;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  min-height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 17px;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--fg);
}
.logo-icon {
  flex-shrink: 0;
  height: 40px;
  width: auto;      /* artwork is 320x309 — keep it from being squashed */
  display: block;
}
.logo-text {
  display: inline-flex; flex-direction: column;
  line-height: 1.1;
}
.logo-tagline {
  display: block;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 400;
}
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }
@media (max-width: 720px) {
  .logo-tagline { display: none; }
  .logo { font-size: 15px; }
}
.nav {
  display: flex; gap: 24px;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}
.nav a {
  position: relative; padding: 6px 0;
}
.nav a:hover { color: var(--fg); }
.nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--sky);
}
.header-actions {
  display: flex; gap: 8px; align-items: center; flex-shrink: 0;
}
.theme-toggle, .lang-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border-2);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--fg);
  transition: all 160ms var(--ease);
  background: transparent;
}
.theme-toggle { width: 36px; height: 36px; justify-content: center; padding: 0; }
.theme-toggle:hover, .lang-dropdown-toggle:hover {
  border-color: var(--sky); color: var(--sky);
}
.theme-icon { font-size: 14px; line-height: 1; }
.lang-flag { font-size: 13px; line-height: 1; }
.lang-arrow { font-size: 9px; opacity: 0.7; }
.lang-dropdown { position: relative; }
.lang-dropdown-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 160px;
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 2px;
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 90;
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
}
.lang-dropdown-menu.open { display: flex; }
.lang-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  color: var(--fg);
  background: transparent;
  text-align: left;
  border: 0;
  width: 100%;
}
.lang-btn:hover { background: var(--bg-2); }
.lang-btn.active { background: var(--teal); color: #fff; }

.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border-2);
  border-radius: 2px;
  cursor: pointer;
  font-size: 18px;
  color: var(--fg);
  background: transparent;
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .nav.mobile-open {
    display: flex;
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-2);
    padding: 24px var(--gutter) 32px;
    flex-direction: column;
    gap: 4px;
    z-index: 70;
    box-shadow: 0 24px 48px rgba(0,0,0,0.08);
  }
  .nav.mobile-open a {
    padding: 14px 0;
    font-family: var(--f-mono);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
  }
  .nav.mobile-open a:last-of-type { border-bottom: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 0;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Hero slideshow — the illustration is slide 0, the photos fade in over it.
   Each slide carries an opaque backdrop so the drawing does not show through
   the half-transparent photo. */
.hero-photos { position: absolute; inset: 0; }
.hero-photo {
  position: absolute; inset: 0;
  background: var(--bg);
  opacity: 0;
  transition: opacity 1400ms var(--ease);
}
.hero-photo.is-active { opacity: 1; }
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.4;              /* keeps the headline and buttons readable */
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo { transition: none; }
}
.hero-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 60% 10%, color-mix(in oklab, var(--teal) 8%, var(--bg)) 0%, var(--bg) 60%),
    linear-gradient(180deg, color-mix(in oklab, var(--bg) 92%, var(--teal)) 0%, var(--bg) 70%);
}
.hero-mountains {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 62%;
  color: var(--slag);
}
[data-theme="dark"] .hero-mountains { color: var(--d-ink); }
.hero-cross-section {
  position: absolute; left: 0; bottom: 0;
  width: clamp(180px, 22vw, 320px);
  height: 100%;
  color: var(--ink);
  opacity: 0.85;
}
[data-theme="dark"] .hero-cross-section { color: var(--d-ink); opacity: 0.55; }
.hero-rig {
  position: absolute; right: 0; bottom: 0;
  width: clamp(280px, 38vw, 560px);
  height: clamp(380px, 56vw, 720px);
  color: var(--ink);
  opacity: 0.78;
}
[data-theme="dark"] .hero-rig { color: var(--d-ink); opacity: 0.6; }

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: clamp(40px, 7vh, 96px);
  padding-bottom: clamp(60px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 92vh;
  justify-content: flex-end;
}
.hero-badge { margin-bottom: auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  padding: 6px 6px 6px 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-badge::after {
  content: ""; width: 36px; height: 14px;
  background: repeating-linear-gradient(135deg, var(--yellow) 0 5px, var(--ink) 5px 7px);
}
.hero-badge strong { font-weight: 500; color: var(--yellow); }

.hero h1 {
  max-width: 18ch;
  font-family: var(--f-display);
  font-size: clamp(44px, 7.4vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--fg);
  font-weight: 900;
}

.hero-subtitle, .hero p {
  max-width: 60ch;
  margin-top: 18px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--fg-muted);
  line-height: 1.55;
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 24px;
}

.hero-corner {
  position: absolute;
  z-index: 3;
  top: 100px;
  right: var(--gutter);
  text-align: right;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  line-height: 1.7;
}
@media (max-width: 880px) {
  .hero-corner { display: none; }
  .hero-rig { opacity: 0.28; width: 70vw; }
  .hero-cross-section { display: none; }
}

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  color: var(--fg-muted);
  opacity: 0.7;
  animation: scroll-bounce 2.2s ease-in-out infinite;
  z-index: 3;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

/* ============================================================
   Section general
   ============================================================ */
.section {
  padding: clamp(60px, 9vw, 120px) 0;
  background: var(--bg);
  position: relative;
}
.section-alt { background: var(--bg-2); }

.section h2,
#clients h2,
.contact-section h2 {
  font-family: var(--f-display);
  text-transform: uppercase;
  line-height: 0.95;
  font-size: clamp(36px, 5vw, 72px);
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin: 0 0 36px;
  color: var(--fg);
}

.section-rule {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 48px;
}
.section-rule .sec-idx { color: var(--teal); font-weight: 700; }
.section-rule .sec-grow { flex: 1; height: 1px; background: var(--border); }

.section-desc {
  max-width: 64ch;
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Scroll reveal */
.scroll-reveal, .scroll-stagger {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.scroll-reveal.visible, .scroll-stagger.visible {
  opacity: 1; transform: none;
}
.scroll-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.scroll-stagger.visible > * { opacity: 1; transform: none; }
.scroll-stagger.visible > *:nth-child(2)  { transition-delay: 60ms; }
.scroll-stagger.visible > *:nth-child(3)  { transition-delay: 120ms; }
.scroll-stagger.visible > *:nth-child(4)  { transition-delay: 180ms; }
.scroll-stagger.visible > *:nth-child(5)  { transition-delay: 240ms; }
.scroll-stagger.visible > *:nth-child(6)  { transition-delay: 300ms; }
.scroll-stagger.visible > *:nth-child(7)  { transition-delay: 360ms; }
.scroll-stagger.visible > *:nth-child(8)  { transition-delay: 420ms; }

/* ============================================================
   STATS (dark band)
   ============================================================ */
.stats-section {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.stats-section .container { position: relative; z-index: 1; }
.stats-section .hazard--thin { margin-bottom: 48px; opacity: 0.85; }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.10);
}
.stat-item {
  background: var(--ink);
  padding: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
  position: relative;
  display: flex; flex-direction: column;
}
.stat-icon {
  width: 56px; height: 56px;
  margin-bottom: 28px;
  color: var(--yellow);
}
.stat-number {
  font-family: var(--f-display);
  font-size: clamp(72px, 11vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  display: block;
}
.stat-rule {
  width: 64px; height: 2px;
  background: var(--teal);
  margin: 24px 0 14px;
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.66);
  max-width: 32ch;
  line-height: 1.5;
}
@media (max-width: 880px) { .stats-row { grid-template-columns: 1fr; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-content {
  display: grid; gap: 18px;
  max-width: 64ch;
  color: var(--fg-muted);
  font-size: 16px; line-height: 1.75;
  margin-bottom: 48px;
}
.about-content p:first-child {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--fg);
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.mv-card {
  background: var(--card);
  color: var(--card-fg);
  border: 1px solid var(--border-2);
  border-left: 4px solid var(--yellow);
  padding: 32px 28px;
  position: relative;
}
.mv-card h3 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.4vw, 30px);
  text-transform: uppercase;
  margin-bottom: 14px;
  line-height: 1.05;
  color: var(--fg);
}
.mv-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.65;
}
@media (max-width: 880px) {
  .mission-vision { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES (numbered grid cards)
   ============================================================ */
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-2);
  border-left: 1px solid var(--border-2);
  counter-reset: svc;
  margin: 0;
}
.services-list li {
  border-right: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  background: var(--bg);
  padding: 32px 28px 26px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 240ms var(--ease), color 240ms var(--ease);
  min-height: 280px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.services-list li:hover { background-color: var(--teal); color: #fff; }
.services-list li:hover .service-text { color: #fff; }
.services-list li:hover::before { color: rgba(255,255,255,0.65); }
.services-list li:hover::after { color: var(--yellow); transform: translateX(8px); }
.services-list li::before {
  counter-increment: svc;
  content: counter(svc, decimal-leading-zero) " / 06";
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-soft);
  text-transform: uppercase;
}
.services-list li::after {
  content: "→";
  margin-top: auto;
  align-self: flex-end;
  font-family: var(--f-display);
  font-size: 30px;
  color: var(--teal);
  transition: transform 240ms var(--ease), color 240ms var(--ease);
  line-height: 1;
}
.service-thumb { display: none; }
.service-text {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 26px);
  text-transform: uppercase;
  line-height: 1.06;
  color: var(--fg);
  max-width: 18ch;
}
@media (max-width: 1100px) { .services-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .services-list { grid-template-columns: 1fr; } .services-list li { min-height: 200px; } }

/* ============================================================
   EQUIPMENT
   ============================================================ */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.equipment-card {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 2px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}
.equipment-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
}
.equipment-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--slag);
  display: block;
}
/* Portrait shots (drill masts) lose their top and bottom to the 4:3 cover
   crop — up to 58% of the machine. Show those whole instead; the class is
   set from the natural aspect ratio in renderEquipment(). */
.equipment-card img.fit-contain {
  object-fit: contain;
  padding: 6px;
}
.equipment-info {
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 4px solid var(--yellow);
  background: var(--card);
  flex: 1;
}
.equipment-info strong {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.15;
  color: var(--fg);
  letter-spacing: 0.01em;
}
.equipment-info span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  line-height: 1.6;
}
.equipment-card.hidden-item { display: none; }
.equipment-grid.show-all .equipment-card.hidden-item { display: flex; }
@media (max-width: 1100px) { .equipment-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .equipment-grid { grid-template-columns: 1fr; } }

/* Show-all button */
.show-all-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 32px auto 0;
  padding: 14px 22px;
  background: transparent;
  border: 2px solid var(--fg);
  color: var(--fg);
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all 180ms var(--ease);
}
.show-all-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.show-all-btn.expanded { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.show-all-arrow { font-size: 13px; }

#equipment .equipment-grid + .show-all-btn,
#gallery .gallery-grid + .show-all-btn {
  display: flex; margin-left: auto; margin-right: auto;
  width: fit-content;
}

/* ============================================================
   GALLERY (bento)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--slag);
  cursor: pointer;
  border-radius: 2px;
  grid-column: span 3;
  grid-row: span 2;
}
.gallery-item:nth-child(8n+1) { grid-column: span 6; grid-row: span 3; }
.gallery-item:nth-child(8n+2) { grid-column: span 3; grid-row: span 3; }
.gallery-item:nth-child(8n+3) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(8n+4) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(8n+5) { grid-column: span 8; grid-row: span 2; }
.gallery-item:nth-child(8n+6) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(8n+7) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(8n+8) { grid-column: span 5; grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,17,22,0.55));
  pointer-events: none;
}
.gallery-item.hidden-item { display: none; }
.gallery-grid.show-all .gallery-item.hidden-item { display: block; }
@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .gallery-item, .gallery-item:nth-child(8n+1), .gallery-item:nth-child(8n+2),
  .gallery-item:nth-child(8n+3), .gallery-item:nth-child(8n+4),
  .gallery-item:nth-child(8n+5), .gallery-item:nth-child(8n+6),
  .gallery-item:nth-child(8n+7), .gallery-item:nth-child(8n+8) {
    grid-column: span 3; grid-row: span 2;
  }
}

/* ============================================================
   CERTIFICATES
   ============================================================ */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.certificate-item {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-top: 4px solid var(--teal);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 200ms var(--ease), border-top-color 200ms var(--ease);
}
.certificate-item:hover {
  transform: translateY(-2px);
  border-top-color: var(--yellow);
}
.certificate-item img {
  width: 100%;
  aspect-ratio: 1 / 1.4;
  object-fit: contain;
  background: var(--bg-2);
  display: block;
}
@media (max-width: 1100px) { .certificates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .certificates-grid { grid-template-columns: 1fr; } }

/* Ornament divider */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; padding: 48px 0 0;
  opacity: 0.5;
}
.ornament svg { width: 40px; height: 12px; color: var(--teal); }
.ornament .ornament-line { flex: 1; max-width: 140px; height: 1px; background: var(--border-2); }

/* ============================================================
   CLIENTS (dark band)
   ============================================================ */
#clients {
  background: var(--slag-deep);
  color: var(--paper);
  padding: clamp(60px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
#clients .container { position: relative; z-index: 1; }
#clients .hazard--thin { margin-bottom: 56px; opacity: 0.92; }
#clients h2 { color: #fff; }
.clients-intro {
  color: rgba(255,255,255,0.7);
  max-width: 48ch;
  margin: 0 0 40px;
  font-size: 16px;
  line-height: 1.6;
}
.clients-count {
  display: inline-flex; align-items: baseline; gap: 18px;
  cursor: pointer;
  padding: 18px 28px;
  border: 2px solid var(--yellow);
  background: transparent;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.clients-count:hover { background: var(--yellow); }
.count-num {
  font-family: var(--f-display);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--yellow);
}
.clients-count:hover .count-num { color: var(--ink); }
.clients-count > span:last-child {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  max-width: 24ch;
}
.clients-count:hover > span:last-child { color: var(--ink); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contact-left { display: flex; flex-direction: column; gap: 18px; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border-2);
  padding: 18px 18px 20px;
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.contact-card-icon {
  position: absolute; top: 14px; right: 14px;
  font-size: 16px;
  opacity: 0.35;
}
.contact-card strong {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-soft);
  font-weight: 600;
}
.contact-card span,
.contact-card a,
.contact-card #contact-phones {
  font-family: var(--f-body);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--fg);
  font-weight: 500;
  word-break: break-word;
}
.contact-card a:hover { color: var(--teal); }

.contact-chatbot {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 20px 20px;
  border-radius: 2px;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
}
.contact-chatbot::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(135deg, var(--yellow) 0 8px, var(--ink) 8px 12px);
}
.chatbot-header { display: flex; align-items: center; gap: 12px; }
.chatbot-avatar {
  font-size: 20px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--ink);
  border-radius: 2px;
}
.chatbot-header h4 {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
}
.chatbot-subtitle {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.chatbot-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chatbot-pill {
  padding: 8px 12px;
  background: rgba(255,255,255,0.06);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--paper);
  border-radius: 2px;
}
.chatbot-pill:hover {
  background: var(--yellow); color: var(--ink); border-color: var(--yellow);
}

.contact-map-wrap iframe {
  border-radius: 2px !important;
  border: 1px solid var(--border-2) !important;
  display: block;
  width: 100%;
}

/* Centered chatbot balloon */
.chatbot-balloon {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--border-2);
  padding: 28px;
  width: min(440px, 92vw);
  border-radius: 2px;
  z-index: 150;
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.chatbot-balloon::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(135deg, var(--yellow) 0 8px, var(--ink) 8px 12px);
}
.chatbot-balloon.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.chatbot-balloon-options {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 16px;
}
.chatbot-balloon-choice {
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  color: var(--fg);
}
.chatbot-balloon-choice.active {
  background: var(--teal); color: #fff; border-color: var(--teal);
}
.chatbot-balloon-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.whatsapp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 12px 18px;
  background: #25D366; color: #fff;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
}
.whatsapp-btn:hover { background: #1eb755; color: #fff; }

/* Contact form */
.contact-right {
  background: var(--card);
  border: 1px solid var(--border-2);
  border-radius: 2px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.contact-right::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(135deg, var(--yellow) 0 14px, var(--ink) 14px 20px);
}
.contact-form-title {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  margin-top: 8px;
  margin-bottom: 18px;
  color: var(--fg);
}
.contact-form {
  display: grid;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  padding: 13px 14px;
  border: 1px solid var(--border-2);
  background: var(--bg);
  color: var(--fg);
  font-size: 14px;
  font-family: var(--f-body);
  border-radius: 2px;
  transition: border-color 160ms var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--sky) 20%, transparent);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button[type="submit"] {
  margin-top: 4px;
  align-self: flex-start;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14,17,22,0.86);
  display: none;
  place-items: center;
  padding: 5vw;
}
.modal-overlay.active { display: grid; }
.modal {
  background: var(--card);
  color: var(--card-fg);
  width: min(900px, 100%);
  max-height: 86vh;
  display: flex; flex-direction: column;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border-2);
  position: relative;
}
.modal-wide { width: min(1100px, 100%); }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border: 1px solid var(--border-2);
  background: var(--card);
  color: var(--fg);
  font-size: 22px;
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 3;
  border-radius: 2px;
}
.modal-close:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.modal-img {
  width: 100%; max-height: 60vh;
  object-fit: cover;
  background: var(--slag);
  display: block;
}
.modal-body {
  padding: 28px 32px 32px;
  overflow: auto;
}
.modal-body h3 {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--fg);
}
.modal-body p {
  color: var(--fg-muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.lightbox .modal { background: transparent; border: 0; }
.lightbox .modal-close {
  background: var(--yellow); color: var(--ink); border-color: var(--yellow);
}
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; display: block; }

/* Lightbox prev / next */
.lightbox .modal { position: relative; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow);
  color: var(--ink);
  border: 2px solid var(--yellow);
  border-radius: 2px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease);
  z-index: 2;
}
.lightbox-nav:hover { background: var(--ink); color: var(--yellow); }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-counter {
  position: absolute;
  bottom: -34px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #fff;
}
@media (max-width: 680px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 24px; }
  .lightbox-prev { left: 2px; }
  .lightbox-next { right: 2px; }
}

/* Clients projects list */
.projects-list {
  display: flex; flex-direction: column; gap: 28px;
}
.projects-city-group { display: flex; flex-direction: column; gap: 8px; }
.projects-city-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 2px solid var(--border-2);
}
.projects-city-name {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--fg);
}
.projects-city-count {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--teal);
  padding: 4px 10px;
  border: 1px solid var(--teal);
}
.projects-city-list { display: flex; flex-direction: column; }
.projects-city-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-2);
  font-size: 14px;
  gap: 16px;
}
.projects-city-list li:last-child { border-bottom: 0; }
.project-name { color: var(--fg); }
.project-date {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
  white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--slag-deep);
  color: var(--paper);
  padding: 0;
  position: relative;
}
.footer::before {
  content: ""; display: block;
  height: 8px;
  background: repeating-linear-gradient(135deg, var(--yellow) 0 14px, var(--ink) 14px 20px);
}
.footer .container { padding-top: 72px; padding-bottom: 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 34ch;
}
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  flex-wrap: wrap; gap: 12px;
}
.footer-credit { opacity: 0.5; }
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* ============================================================
   Toast — industrial status chip (matches admin)
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  padding: 14px 20px 14px 16px;
  background: var(--ink);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  max-width: min(380px, calc(100vw - 48px));
  z-index: 1000;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}
.toast.visible { opacity: 1; transform: translateY(0); }
.toast.success { border-left-color: #1F9D55; }
.toast.error { border-left-color: #D64545; }

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-consent {
  position: fixed;
  left: 24px; bottom: 24px;
  max-width: 420px;
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--border-2);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 20px 22px;
  z-index: 1100;
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cookie-consent.visible { opacity: 1; transform: none; pointer-events: auto; }
.cookie-consent__text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.cookie-consent__actions {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.cookie-consent__link {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-right: auto;
}
.cookie-consent__btn {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 160ms var(--ease);
}
.cookie-consent__btn--ghost { background: transparent; color: var(--fg-muted); border-color: var(--border-2); }
.cookie-consent__btn--ghost:hover { color: var(--fg); border-color: var(--fg-soft); }
.cookie-consent__btn--accept { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.cookie-consent__btn--accept:hover { background: var(--yellow-deep); border-color: var(--ink); }
@media (max-width: 520px) {
  .cookie-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* Honeypot — visually & semantically hidden, stays in DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* ============================================================
   Misc
   ============================================================ */
[id] { scroll-margin-top: 80px; }

/* ============================================================
   Polish pass — micro-interactions & detail work
   ============================================================ */

/* Industrial scrollbar */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: var(--concrete);
  border: 3px solid var(--bg-2);
}
::-webkit-scrollbar-thumb:hover { background: var(--teal); }
html { scrollbar-width: thin; scrollbar-color: var(--concrete) var(--bg-2); }

/* Placeholder tone */
::placeholder { color: var(--fg-soft); opacity: 1; }

/* Section heading underline tick */
.section h2::after,
#clients h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--yellow);
  margin-top: 18px;
}

/* Marquee pauses for reading */
.marquee:hover .marquee__track { animation-play-state: paused; }

/* Button lift */
.btn { transition: all 180ms var(--ease), transform 140ms var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(254, 197, 12, 0.3); }

/* Services — faint technical line drawings per card */
.services-list li {
  background-repeat: no-repeat;
  background-position: right -24px bottom -24px;
  background-size: 150px 150px;
}
.services-list li:nth-child(1) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23808080' stroke-opacity='0.18' stroke-width='1.5'%3E%3Crect x='92' y='10' width='16' height='170'/%3E%3Cpath d='M80 30 Q100 22 120 30M80 52 Q100 44 120 52M80 74 Q100 66 120 74M80 96 Q100 88 120 96M80 118 Q100 110 120 118M80 140 Q100 132 120 140M80 162 Q100 154 120 162'/%3E%3C/svg%3E");
}
.services-list li:nth-child(2) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23808080' stroke-opacity='0.18' stroke-width='1.5'%3E%3Crect x='60' y='20' width='80' height='36'/%3E%3Cline x1='80' y1='56' x2='80' y2='180'/%3E%3Cline x1='100' y1='56' x2='100' y2='180'/%3E%3Cline x1='120' y1='56' x2='120' y2='180'/%3E%3Cpath d='M36 110 Q48 98 60 110 Q72 122 84 110M116 130 Q128 118 140 130 Q152 142 164 130'/%3E%3C/svg%3E");
}
.services-list li:nth-child(3) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23808080' stroke-opacity='0.18' stroke-width='1.5'%3E%3Cline x1='10' y1='50' x2='190' y2='50'/%3E%3Cpath d='M10 80 L60 80 Q100 80 100 120 Q100 160 140 160 L190 160'/%3E%3Crect x='6' y='72' width='14' height='14'/%3E%3Crect x='180' y='152' width='14' height='14'/%3E%3C/svg%3E");
}
.services-list li:nth-child(4) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23808080' stroke-opacity='0.18' stroke-width='1.5'%3E%3Crect x='20' y='96' width='160' height='24'/%3E%3Cline x1='60' y1='96' x2='60' y2='120'/%3E%3Cline x1='100' y1='96' x2='100' y2='120'/%3E%3Cline x1='140' y1='96' x2='140' y2='120'/%3E%3Cline x1='10' y1='60' x2='190' y2='60'/%3E%3C/svg%3E");
}
.services-list li:nth-child(5) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23808080' stroke-opacity='0.18' stroke-width='1.5'%3E%3Crect x='90' y='20' width='20' height='130'/%3E%3Cpath d='M90 150 L68 180 L132 180 L110 150'/%3E%3Cline x1='30' y1='70' x2='90' y2='70'/%3E%3Cline x1='110' y1='70' x2='170' y2='70'/%3E%3Cline x1='30' y1='120' x2='90' y2='120'/%3E%3Cline x1='110' y1='120' x2='170' y2='120'/%3E%3C/svg%3E");
}
.services-list li:nth-child(6) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23808080' stroke-opacity='0.18' stroke-width='1.5'%3E%3Crect x='30' y='30' width='40' height='40'/%3E%3Crect x='80' y='30' width='40' height='40'/%3E%3Crect x='130' y='30' width='40' height='40'/%3E%3Crect x='30' y='80' width='40' height='40'/%3E%3Crect x='80' y='80' width='40' height='40'/%3E%3Crect x='130' y='80' width='40' height='40'/%3E%3Cline x1='50' y1='50' x2='150' y2='100'/%3E%3C/svg%3E");
}

/* Gallery — zoom badge on hover */
.gallery-item::before {
  content: "+";
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.gallery-item:hover::before { opacity: 1; transform: translateY(0); }

/* Equipment — image zoom on hover */
.equipment-card img { transition: transform 600ms var(--ease); }
.equipment-card:hover img { transform: scale(1.05); }

/* Contact cards — hover accent */
.contact-card { transition: border-color 200ms var(--ease); }
.contact-card:hover { border-color: var(--teal); }

/* Mission/vision cards — accent shift */
.mv-card { transition: border-left-color 240ms var(--ease); }
.mv-card:hover { border-left-color: var(--teal); }

/* Footer links — nudge */
.footer-col a { display: inline-block; transition: color 160ms var(--ease), transform 160ms var(--ease); }
.footer-col a:hover { transform: translateX(4px); }

/* Modal — depth via blur */
.modal-overlay {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Lang dropdown — entry motion */
.lang-dropdown-menu.open { animation: dd-in 160ms var(--ease); }
@keyframes dd-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* Accessibility — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .scroll-reveal, .scroll-stagger, .scroll-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee__track { animation: none; }
  .scroll-hint { animation: none; }
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-card);
  overflow: hidden;
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item > summary:hover { color: var(--color-accent); }
.faq-item > p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- Language suggestion bar (root page only) --------------------------- */
/* Offered instead of an automatic redirect; see showLangSuggestion() in
   js/i18n.js for why. Sits above everything, dismissible, never blocks. */
.lang-suggest {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter);
  background: var(--slag-deep);
  color: var(--d-ink);
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.4;
}
.lang-suggest-text { flex: 1 1 auto; }
.lang-suggest-go {
  flex: 0 0 auto;
  color: var(--yellow);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.lang-suggest-go:hover { color: var(--yellow-deep); }
.lang-suggest-close {
  flex: 0 0 auto;
  background: none;
  border: 0;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  opacity: 0.7;
}
.lang-suggest-close:hover { opacity: 1; }
@media (max-width: 560px) {
  .lang-suggest { font-size: 13px; gap: 8px; padding: 9px 16px; }
}
