/* ═══════════════════════════════════════════
   KotróBázis – style.css
   Industrial catalog × European motorsport
   Off-white · Black · Orange accent only
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;600;700;900&family=Barlow:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────── */
:root {
  --ow:          #F5F0E8;   /* off-white – primary bg */
  --black:       #0A0A0A;
  --orange:      #E8720C;
  --orange-dk:   #C55E0A;
  --grey-lt:     #E8E2D8;   /* section variant */
  --grey-ph:     #C8C0B0;   /* photo placeholder */
  --grey-txt:    #8A8278;   /* muted on off-white */
  --text:        #1A1A1A;
  --text-muted:  #6B6560;
  --border-ow:   rgba(10, 10, 10, 0.12);
  --border-bk:   rgba(255, 255, 255, 0.09);
  --font-d:      'Barlow Condensed', sans-serif;
  --font-b:      'Barlow', sans-serif;
  --t:           0.24s ease;
  --ts:          0.38s ease;
  --nav-h:       64px;
  --max-w:       1360px;
}

/* ── Reset ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  font-weight: 400;
  background: var(--ow);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--font-d);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-b); border: none; background: none; }
input, select, textarea { font-family: var(--font-b); }
ul { list-style: none; }

/* ── Container ─────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px;
}

/* ── Eyebrow label ─────────────────────── */
.label {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
}

/* ── Buttons – three distinct types ────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 30px;
  cursor: pointer;
  transition: background var(--t), color var(--t),
              border-color var(--t), transform var(--t);
}
/* Solid – primary CTA */
.btn--solid {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
}
.btn--solid:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  transform: translateY(-1px);
}
/* Border-only – secondary */
.btn--border {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
}
.btn--border:hover {
  background: var(--black);
  color: var(--ow);
}
.btn--border-white {
  background: transparent;
  border: 2px solid var(--ow);
  color: var(--ow);
}
.btn--border-white:hover {
  background: var(--ow);
  color: var(--black);
}
/* Link-style – tertiary */
.btn--link {
  padding: 0;
  color: var(--orange);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  border: none;
  background: none;
  gap: 8px;
}
.btn--link .arr { transition: transform var(--t); }
.btn--link:hover .arr { transform: translateX(5px); }

/* ═══════════════════════════════════════════
   NAV
   Transparent → #0A0A0A at 40px scroll
═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  /* subtle top-fade so logo reads over photo */
  background: linear-gradient(to bottom, rgba(10,10,10,0.42) 0%, transparent 100%);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t);
}
.nav.scrolled {
  background: var(--black);
  border-color: var(--border-bk);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* Logo */
.nav__logo {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ow);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo .sep {
  display: inline-block;
  width: 3px;
  height: 1.1em;
  background: var(--orange);
  margin: 0 7px;
  vertical-align: middle;
  flex-shrink: 0;
}
/* Desktop phone */
.nav__phone {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--ow);
  transition: color var(--t);
  display: none;
}
.nav__phone:hover { color: var(--orange); }
.nav__right { display: flex; align-items: center; gap: 20px; }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ow);
  transition: var(--t);
}
.nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--black);
  padding: 24px 36px 36px;
  flex-direction: column;
  gap: 0;
  z-index: 999;
  border-top: 1px solid var(--border-bk);
}
.nav__drawer.open { display: flex; }
.nav__drawer a {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.65);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-bk);
  transition: color var(--t);
}
.nav__drawer a:last-of-type { border-bottom: none; }
.nav__drawer a:hover { color: var(--ow); }

/* ═══════════════════════════════════════════
   HERO – SPLIT 60 / 40
═══════════════════════════════════════════ */
.hero {
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: 60fr 40fr;
  padding-top: var(--nav-h);
}

/* Left: photo */
.hero__photo {
  position: relative;
  overflow: hidden;
  background: var(--grey-ph);
}
.hero__photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(10,10,10,0.72) 0%, transparent 100%);
  pointer-events: none;
}
.hero__photo-ph {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--grey-txt);
  font-family: var(--font-d);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Right: off-white info panel */
.hero__panel {
  background: var(--ow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 52px;
  border-left: 4px solid var(--orange);
  position: relative;
}
.hero__panel-label {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.hero__panel-title {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(64px, 8vw, 120px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.88;
  color: var(--black);
  margin-bottom: 32px;
}
.hero__panel-phone {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(30px, 3.5vw, 48px);
  letter-spacing: -0.01em;
  color: var(--black);
  display: block;
  margin-bottom: 30px;
  line-height: 1;
  transition: color var(--t);
}
.hero__panel-phone:hover { color: var(--orange); }

/* ═══════════════════════════════════════════
   TICKER – marquee
═══════════════════════════════════════════ */
.ticker {
  background: var(--black);
  overflow: hidden;
  padding: 13px 0;
  white-space: nowrap;
  user-select: none;
  border-top: 1px solid rgba(232,114,12,0.3);
  border-bottom: 1px solid rgba(232,114,12,0.3);
}
.ticker__track {
  display: inline-flex;
  animation: marquee 22s linear infinite;
}
.ticker__item {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ow);
  padding: 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.ticker__item::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--orange);
  border-radius: 50%;
  margin-left: 40px;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   MACHINES – alternating split rows
═══════════════════════════════════════════ */
.machines {
  background: var(--ow);
}
.machines__intro {
  padding: 100px 0 52px;
  border-bottom: 2px solid var(--black);
}
.machines__intro .label { margin-bottom: 14px; }
.machines__intro h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }

.machine-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  border-bottom: 2px solid var(--black);
}
.machine-row__photo {
  background: var(--grey-ph);
  position: relative;
  overflow: hidden;
}
.machine-row__photo-ph {
  width: 100%; height: 100%;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--grey-txt);
  font-family: var(--font-d);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.machine-row__photo-ph svg { opacity: 0.55; }
/* Photo hover overlay */
.machine-row__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}
.machine-row__photo:hover::before { opacity: 0.18; }

.machine-row__info {
  padding: 64px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 2px solid var(--black);
}
/* Reverse: photo right, info left */
.machine-row--rev .machine-row__photo {
  order: 2;
  border-left: 2px solid var(--black);
}
.machine-row--rev .machine-row__info {
  order: 1;
  border-left: none;
}

.machine-row__badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.machine-row__name {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  color: var(--black);
  margin-bottom: 6px;
}
.machine-row__cat {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-txt);
  margin-bottom: 28px;
}
.machine-row__when {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.72;
  margin-bottom: 32px;
  padding-left: 18px;
  border-left: 3px solid var(--orange);
}
.machine-row__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-bottom: 36px;
}
.spec-inline strong {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  display: block;
  color: var(--black);
  line-height: 1.1;
}
.spec-inline span {
  font-size: 0.7rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-txt);
}

/* ═══════════════════════════════════════════
   SERVICES – two distinct blocks
═══════════════════════════════════════════ */

/* Block A – VIO 57 – black background */
.svc-a {
  background: var(--black);
  color: var(--ow);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.svc-a__ghost {
  position: absolute;
  top: -20px; right: -10px;
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(6rem, 16vw, 14rem);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.svc-a__header {
  margin-bottom: 52px;
  position: relative;
}
.svc-a__label { margin-bottom: 12px; }
.svc-a__title { font-size: clamp(2rem, 4vw, 3.2rem); }

/* Block B – VIO 17 – grey-light background */
.svc-b {
  background: var(--grey-lt);
  color: var(--black);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.svc-b__ghost {
  position: absolute;
  top: -20px; right: -10px;
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(6rem, 16vw, 14rem);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: rgba(10,10,10,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.svc-b__header {
  margin-bottom: 48px;
  position: relative;
}
.svc-b__label { margin-bottom: 12px; }
.svc-b__title { font-size: clamp(2rem, 4vw, 3.2rem); }

/* Shared service grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}
.svc-card {
  padding: 36px 30px;
  position: relative;
  transition: background var(--t);
}
.svc-a .svc-card { background: rgba(255,255,255,0.03); }
.svc-a .svc-card:hover { background: rgba(255,255,255,0.06); }
.svc-b .svc-card { background: rgba(10,10,10,0.04); }
.svc-b .svc-card:hover { background: rgba(10,10,10,0.08); }
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--orange);
  transition: width var(--ts);
}
.svc-card:hover::before { width: 100%; }
.svc-card__num {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  display: block;
  margin-bottom: 20px;
  opacity: 0.28;
}
.svc-card__icon {
  width: 30px; height: 30px;
  color: var(--orange);
  margin-bottom: 18px;
}
.svc-card__title { font-size: 1.2rem; margin-bottom: 9px; }
.svc-card__desc {
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.65;
  opacity: 0.58;
}

/* ═══════════════════════════════════════════
   REFERENCES – CSS masonry
═══════════════════════════════════════════ */
.refs {
  background: var(--ow);
  padding: 100px 0;
}
.refs__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 2px solid var(--black);
  padding-bottom: 24px;
}
.refs__head-left .label { margin-bottom: 10px; }
.refs__head-left h2 { font-size: clamp(2rem, 4vw, 3rem); }
.refs__masonry {
  columns: 3;
  column-gap: 10px;
}
.ref-item {
  break-inside: avoid;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--grey-ph);
  display: block;
}
.ref-item--tall { aspect-ratio: 3 / 4; }
.ref-item--sq   { aspect-ratio: 4 / 3; }
.ref-item--wide { aspect-ratio: 16 / 9; }
.ref-item__ph {
  width: 100%; height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--grey-txt);
  font-family: var(--font-d);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ref-item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Hover overlay */
.ref-item__over {
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  transition: opacity 0.3s ease;
}
.ref-item:hover .ref-item__over { opacity: 0.85; }
.ref-item__txt {
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ref-item:hover .ref-item__txt {
  transform: translateY(0);
  opacity: 1;
}
.ref-item__cat {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 5px;
}
.ref-item__name {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--ow);
  line-height: 1.1;
}
.ref-item__loc {
  font-size: 0.76rem;
  color: rgba(245,240,232,0.5);
  font-weight: 300;
  margin-top: 4px;
}
.refs__empty {
  column-span: all;
  padding: 60px 0;
  text-align: center;
  color: var(--grey-txt);
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ═══════════════════════════════════════════
   TRUST BAR – 4 stats
═══════════════════════════════════════════ */
.trust {
  background: var(--grey-lt);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  padding: 72px 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  padding: 0 40px 0 0;
  margin-right: 40px;
  border-right: 1px solid var(--border-ow);
}
.trust__item:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: none;
}
.trust__num {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(3rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.trust__label {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grey-txt);
}

/* ═══════════════════════════════════════════
   CONTACT – fullwidth black
═══════════════════════════════════════════ */
.contact {
  background: var(--black);
  color: var(--ow);
  padding: 120px 0;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.contact__info .label { margin-bottom: 20px; }
.contact__title {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 40px;
  line-height: 0.95;
}
.contact__phone {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.01em;
  color: var(--ow);
  display: block;
  margin-bottom: 16px;
  line-height: 1;
  transition: color var(--t);
}
.contact__phone:hover { color: var(--orange); }
.contact__wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 22px;
  margin-bottom: 40px;
  transition: background var(--t);
}
.contact__wa:hover { background: #128C7E; }
.contact__meta {
  font-size: 0.84rem;
  color: rgba(245,240,232,0.38);
  font-weight: 300;
  line-height: 2.1;
}
.contact__meta strong {
  color: rgba(245,240,232,0.7);
  font-weight: 500;
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.38);
}
.form-ctrl {
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.14);
  color: var(--ow);
  padding: 14px 18px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--t);
  border-radius: 0;
  width: 100%;
}
.form-ctrl:focus { border-color: var(--orange); }
select.form-ctrl { appearance: none; cursor: pointer; }
textarea.form-ctrl { resize: vertical; min-height: 100px; }
.btn-submit {
  align-self: flex-start;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 36px;
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}
.btn-submit:hover { background: var(--orange-dk); transform: translateY(-1px); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border-bk);
  padding: 44px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__logo {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ow);
  display: flex;
  align-items: center;
}
.footer__logo .sep {
  display: inline-block;
  width: 3px;
  height: 1.05em;
  background: var(--orange);
  margin: 0 7px;
  vertical-align: middle;
}
.footer__copy {
  font-size: 0.76rem;
  color: rgba(245,240,232,0.28);
  font-weight: 300;
  margin-top: 5px;
}
.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer__links a {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.38);
  transition: color var(--t);
}
.footer__links a:hover { color: var(--orange); }

/* ═══════════════════════════════════════════
   FLOATING WHATSAPP
═══════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 998;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t);
  animation: waPulse 3.2s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); animation: none; }
.wa-float svg { width: 25px; height: 25px; fill: #fff; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 3px 14px rgba(37,211,102,0.38); }
  50%       { box-shadow: 0 3px 22px rgba(37,211,102,0.62); }
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL – only opacity + translateY
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* ═══════════════════════════════════════════
   PAGE HERO – inner pages (black bg)
═══════════════════════════════════════════ */
.page-hero {
  background: var(--black);
  color: var(--ow);
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -52deg, transparent 0, transparent 80px,
    rgba(232,114,12,0.035) 80px, rgba(232,114,12,0.035) 81px
  );
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .label { margin-bottom: 14px; }
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  margin-bottom: 18px;
}
.page-hero p {
  color: rgba(245,240,232,0.52);
  font-weight: 300;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════
   SERVICE PAGES
═══════════════════════════════════════════ */
.svc-page { background: var(--ow); }
.svc-content { padding: 100px 0; }
.svc-grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 72px; }
.svc-article h2 {
  font-size: 1.7rem;
  margin: 48px 0 16px;
  border-left: 4px solid var(--orange);
  padding-left: 16px;
}
.svc-article h2:first-child { margin-top: 0; }
.svc-article p {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.78;
  margin-bottom: 18px;
  font-size: 0.96rem;
}
.svc-article ul { margin-bottom: 24px; }
.svc-article ul li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border-ow);
  font-weight: 300;
  color: var(--text-muted);
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc-article ul li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange);
  flex-shrink: 0;
}
.svc-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.sidebar-box {
  background: var(--grey-lt);
  border-top: 3px solid var(--orange);
  padding: 28px;
  margin-bottom: 16px;
}
.sidebar-box h3 { font-size: 1rem; margin-bottom: 16px; }
.sidebar-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}
.sidebar-phone {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--orange);
  display: block;
  margin: 8px 0 18px;
  line-height: 1;
}
.photo-ph {
  aspect-ratio: 16 / 10;
  background: var(--grey-ph);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--grey-txt);
  font-family: var(--font-d);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

/* ═══════════════════════════════════════════
   ADMIN PANEL  (unchanged)
═══════════════════════════════════════════ */
.adm-body { background: #0E0E0E; color: #F0EDE8; min-height: 100vh; font-family: var(--font-b); }
.adm-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.adm-login__box { background: #161616; border: 1px solid rgba(255,255,255,0.07); padding: 48px; width: 100%; max-width: 400px; }
.adm-login__logo { font-family: var(--font-d); font-weight: 900; font-size: 1.5rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; margin-bottom: 8px; }
.adm-login__logo .sep { color: var(--orange); }
.adm-login__sub { font-size: 0.8rem; color: #555; text-align: center; margin-bottom: 36px; font-weight: 300; }
.adm-login__err { background: rgba(224,82,82,0.12); border: 1px solid rgba(224,82,82,0.3); color: #E05252; font-size: 0.82rem; padding: 10px 14px; margin-bottom: 16px; display: none; }
.adm-nav { position: sticky; top: 0; z-index: 100; height: 62px; background: #161616; border-bottom: 1px solid rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: space-between; padding: 0 32px; }
.adm-nav__logo { font-family: var(--font-d); font-weight: 900; font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.adm-nav__logo .sep { color: var(--orange); }
.adm-nav__badge { font-family: var(--font-d); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); background: rgba(232,114,12,0.12); padding: 3px 10px; border: 1px solid rgba(232,114,12,0.25); }
.adm-nav__right { display: flex; align-items: center; gap: 16px; }
.btn-logout { background: none; border: 1px solid rgba(255,255,255,0.07); color: #999; font-family: var(--font-d); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 16px; cursor: pointer; transition: border-color 0.22s ease, color 0.22s ease; }
.btn-logout:hover { border-color: var(--orange); color: var(--orange); }
.adm-main { padding: 36px 32px; max-width: 1160px; margin: 0 auto; }
.adm-tabs { display: flex; border-bottom: 2px solid rgba(255,255,255,0.07); margin-bottom: 40px; }
.adm-tab { font-family: var(--font-d); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase; color: #555; padding: 13px 28px; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: color 0.22s ease, border-color 0.22s ease; }
.adm-tab.active { color: var(--orange); border-color: var(--orange); }
.adm-tab-pane { display: none; }
.adm-tab-pane.active { display: block; }
.adm-sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.adm-sec-head h2 { font-size: 1.4rem; }
.btn-adm { background: var(--orange); color: #000; font-family: var(--font-d); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 11px 22px; border: none; cursor: pointer; transition: background 0.22s ease; }
.btn-adm:hover { background: var(--orange-dk); }
.btn-adm-sec { background: none; border: 1px solid rgba(255,255,255,0.07); color: #999; font-family: var(--font-d); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 18px; cursor: pointer; transition: border-color 0.22s ease, color 0.22s ease; }
.btn-adm-sec:hover { border-color: var(--orange); color: var(--orange); }
.btn-del { background: none; border: 1px solid rgba(224,82,82,0.28); color: #E05252; font-family: var(--font-d); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 12px; cursor: pointer; }
.btn-del:hover { background: rgba(224,82,82,0.1); }
.btn-edit { background: none; border: 1px solid rgba(255,255,255,0.07); color: #999; font-family: var(--font-d); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 12px; cursor: pointer; transition: border-color 0.22s ease, color 0.22s ease; }
.btn-edit:hover { border-color: var(--orange); color: var(--orange); }
.adm-list { display: flex; flex-direction: column; gap: 10px; }
.adm-item { background: #161616; border: 1px solid rgba(255,255,255,0.07); padding: 18px 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.adm-item__thumb { width: 60px; height: 45px; background: #2A2A2A; flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.adm-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm-item__info { flex: 1; min-width: 0; }
.adm-item__name { font-family: var(--font-d); font-weight: 700; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-item__meta { font-size: 0.78rem; color: #555; font-weight: 300; margin-top: 3px; }
.adm-item__actions { display: flex; gap: 8px; flex-shrink: 0; }
.adm-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 2000; align-items: center; justify-content: center; padding: 24px; }
.adm-modal.open { display: flex; }
.adm-modal__box { background: #161616; border: 1px solid rgba(255,255,255,0.07); padding: 40px; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; }
.adm-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.adm-modal__head h3 { font-size: 1.25rem; }
.btn-x { background: none; border: none; color: #555; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.btn-x:hover { color: #F0EDE8; }
.export-bar { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07); flex-wrap: wrap; }
.export-bar__lbl { font-family: var(--font-d); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: #555; }
.adm-toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px); background: #1F1F1F; border: 1px solid rgba(255,255,255,0.07); border-left: 3px solid var(--orange); padding: 14px 24px; font-family: var(--font-d); font-size: 0.88rem; letter-spacing: 0.08em; z-index: 3000; transition: transform 0.3s ease, opacity 0.3s ease; opacity: 0; white-space: nowrap; }
.adm-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
/* admin form reuse */
.adm-body .form-group { margin-bottom: 22px; }
.adm-body .form-label { font-family: var(--font-d); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: #999; margin-bottom: 8px; display: block; }
.adm-body .form-ctrl { background: #1F1F1F; border: 1px solid rgba(255,255,255,0.07); color: #F0EDE8; padding: 13px 16px; font-size: 0.95rem; outline: none; transition: border-color 0.22s ease; width: 100%; border-radius: 0; }
.adm-body .form-ctrl:focus { border-color: var(--orange); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .nav__phone { display: block; }
}
@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: 100svh; }
  .hero__photo { min-height: 52vw; }
  .hero__panel { border-left: none; border-top: 4px solid var(--orange); padding: 48px 36px; }
  .machine-row { grid-template-columns: 1fr; min-height: auto; }
  .machine-row__photo-ph { min-height: 54vw; }
  .machine-row__info { border-left: none; border-top: 2px solid var(--black); padding: 48px 36px; }
  .machine-row--rev .machine-row__photo { order: 1; border-left: none; border-top: 2px solid var(--black); }
  .machine-row--rev .machine-row__info { order: 2; }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .trust__item { border-right: none; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--border-ow); padding-bottom: 28px; margin-bottom: 0; }
  .trust__item:nth-child(2n+1) { border-right: 1px solid var(--border-ow); padding-right: 32px; margin-right: 32px; }
  .trust__item:nth-child(3), .trust__item:last-child { border-bottom: none; padding-bottom: 0; }
  .contact__inner { grid-template-columns: 1fr; gap: 52px; }
  .refs__masonry { columns: 2; }
  .svc-grid-2 { grid-template-columns: 1fr; }
  .svc-sidebar { position: static; }
}
@media (max-width: 767px) {
  .container { padding: 0 20px; }
  .nav__burger { display: flex; }
  .hero__photo { min-height: 64vw; }
  .hero__panel { padding: 36px 20px; }
  .hero__panel-title { font-size: clamp(52px, 18vw, 88px); }
  .machine-row__info { padding: 36px 20px; }
  .svc-a { padding: 72px 0; }
  .svc-b { padding: 60px 0; }
  .refs__masonry { columns: 1; }
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .trust__item { border-right: none !important; margin-right: 0 !important; padding-right: 0 !important; border-bottom: 1px solid var(--border-ow) !important; padding-bottom: 24px !important; }
  .trust__item:nth-child(3), .trust__item:last-child { border-bottom: none !important; padding-bottom: 0 !important; }
  .contact { padding: 72px 0; }
  .contact__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .wa-float { bottom: 16px; right: 16px; width: 46px; height: 46px; }
  .adm-main { padding: 24px 16px; }
  .adm-nav { padding: 0 16px; }
  .adm-modal__box { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .hero__panel-title { font-size: clamp(48px, 20vw, 80px); }
  .machines__intro { padding: 64px 0 40px; }
}
