/* =====================================================================
   King Heavy Equipment — v2 Light Industrial Theme
   Bebas Neue display · Inter body · JetBrains Mono numerals/labels
   Light off-white background · charcoal ink · brand yellow · hazard stripes
   ===================================================================== */

/* ---------- TOKENS ---------- */
:root {
  --bg:      #FAFAF7;
  --bg-2:    #F2F0E8;
  --bg-3:    #FFFFFF;
  --ink:     #0D0F12;
  --ink-2:   #3A3F47;
  --mu:      #6B7280;
  --y:       #FFD000;
  --y-2:     #FFC107;
  --ln:      #E5E2D8;
  --ln-2:    #C9C5B5;
  --ok:      #1F8A4C;
  --er:      #C8412C;

  --mw: 1240px;
  --t: 150ms ease;

  --ff-d: 'Bebas Neue', Impact, sans-serif;
  --ff-b: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-m: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  --hz: repeating-linear-gradient(135deg, #FFD000 0 18px, #0D0F12 18px 36px);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- LAYOUT ---------- */
.wrap, .container {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) { .wrap, .container { padding: 0 32px; } }
@media (min-width: 1024px) { .wrap, .container { padding: 0 40px; } }

.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section.bg-alt { background: var(--bg-2); }
.section.bg-card { background: var(--bg-3); }

/* ---------- HAZARD STRIPE ---------- */
.hazard { height: 6px; background: var(--hz); }
.hazard-tall { height: 8px; background: var(--hz); }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--ff-d); font-weight: 400; line-height: .95; letter-spacing: .005em; color: var(--ink); text-transform: uppercase; }
h1 { font-size: clamp(40px, 7vw, 92px); }
h2 { font-size: clamp(30px, 5vw, 52px); }
h3 { font-size: clamp(22px, 3vw, 30px); letter-spacing: .01em; }
h4 { font-size: 20px; letter-spacing: .02em; }
p  { color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-m); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink);
  padding: 6px 12px;
  border: 1px solid var(--ink);
  background: transparent;
  margin-bottom: 18px;
}
.eyebrow.y { color: var(--ink); border-color: var(--y); background: rgba(255,208,0,.08); }
.eyebrow::before { content: '▸'; color: var(--y); font-weight: 700; }

.mono { font-family: var(--ff-m); }
.up   { text-transform: uppercase; letter-spacing: .12em; }

.yel  { color: var(--ink); background: linear-gradient(180deg, transparent 60%, rgba(255,208,0,.4) 60%); padding: 0 2px; }
.y-text { color: var(--y); }

.lead { font-size: 18px; color: var(--ink-2); max-width: 60ch; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  font-family: var(--ff-d);
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { background: #000; transform: translateY(-1px); }

.btn-y { background: var(--y); color: var(--ink); border-color: var(--y); }
.btn-y:hover { background: var(--y-2); border-color: var(--y-2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,208,0,.35); }

.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ln-2); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn-xl { min-height: 60px; padding: 0 32px; font-size: 20px; }
.btn-full { width: 100%; }

/* ---------- TOPBAR ---------- */
.topbar {
  background: var(--ink);
  color: #FAFAF7;
  font-family: var(--ff-m);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.topbar-in {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; padding-top: 6px; padding-bottom: 6px;
  gap: 14px; flex-wrap: wrap;
}
.tb-contacts { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.tb-link { display: inline-flex; align-items: center; gap: 7px; color: #FAFAF7; opacity: .85; transition: opacity var(--t), color var(--t); }
.tb-link:hover { opacity: 1; color: var(--y); }
.tb-link i { color: var(--y); }
.tb-sms { display: inline-flex; align-items: center; gap: 7px; color: var(--y); border: 1px solid var(--y); padding: 4px 12px; transition: all var(--t); }
.tb-sms:hover { background: var(--y); color: var(--ink); }
@media (max-width: 768px) { .tb-hide-md { display: none; } }
@media (max-width: 480px) { .tb-hide-sm { display: none; } }

/* ---------- NAVBAR ---------- */
.navbar {
  background: var(--bg);
  border-bottom: 1px solid var(--ln);
  position: sticky; top: 0; z-index: 80;
  transition: box-shadow var(--t), background var(--t);
}
.navbar.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.06); background: rgba(250,250,247,.96); backdrop-filter: blur(6px); }
.nav-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; }
.logo img, .logo svg { height: 48px; width: auto; }

.nav-list { display: flex; gap: 4px; align-items: center; margin-left: auto; }
.nav-list > li { position: relative; }
.nav-a {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  font-family: var(--ff-d);
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--t);
  position: relative;
}
.nav-a::after {
  content: ''; position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--y);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-a:hover, .nav-a.current { color: var(--ink); }
.nav-a:hover::after, .nav-a.current::after { transform: scaleX(1); }

/* Dropdown (Service Areas) */
.nav-dd { position: relative; }
.nav-dd-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  background: var(--bg-3);
  border: 1px solid var(--ln);
  border-top: 3px solid var(--y);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  z-index: 90;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-menu a {
  display: block;
  padding: 10px 18px;
  font-family: var(--ff-b);
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  border-left: 3px solid transparent;
  transition: all var(--t);
}
.nav-dd-menu a:hover { background: var(--bg-2); border-left-color: var(--y); color: var(--ink); }
.nav-dd-menu a small { display: block; font-family: var(--ff-m); font-size: 10px; color: var(--mu); margin-top: 2px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }

.nav-end { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-m); font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: .04em; }
.nav-phone i { color: var(--y); }
@media (max-width: 1100px) { .nav-phone span { display: none; } }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform var(--t), opacity var(--t); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-list {
    position: fixed; inset: 108px 0 0 0;
    background: var(--bg);
    flex-direction: column; align-items: stretch;
    padding: 24px 24px 80px;
    gap: 4px;
    transform: translateY(-100%);
    transition: transform 300ms ease;
    overflow-y: auto;
    border-top: 1px solid var(--ln);
  }
  .nav-list.open { transform: translateY(0); }
  .nav-a { padding: 16px 12px; font-size: 22px; border-bottom: 1px dashed var(--ln); }
  .nav-a::after { display: none; }
  .nav-dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-top: none; padding: 0 0 8px 20px; background: transparent; }
  .nav-dd-menu a { border-left: 2px solid var(--ln); margin-bottom: 2px; }
  .burger { display: inline-flex; }
  .nav-quote { display: none; }
}

/* ---------- HERO (homepage) ---------- */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13,15,18,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,15,18,.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero h1 { font-size: clamp(48px, 9vw, 108px); line-height: .9; }
.hero h1 .y { position: relative; color: var(--ink); display: inline-block; }
.hero h1 .y::after { content: ''; position: absolute; left: -4px; right: -4px; bottom: 8px; height: 14px; background: rgba(255,208,0,.45); z-index: -1; }
.hero p.lead { margin: 22px 0 32px; font-size: 18px; max-width: 540px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--ln); display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust div { font-family: var(--ff-m); font-size: 11px; font-weight: 600; color: var(--ink-2); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.hero-trust div::before { content: '✓'; color: var(--y); font-weight: 800; }

.hero-img-frame {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-frame::before { content: ''; position: absolute; top: 0; left: 0; width: 36%; height: 6px; background: var(--y); z-index: 2; }
.hero-img-frame::after  { content: ''; position: absolute; bottom: 0; right: 0; width: 48%; height: 6px; background: var(--y); z-index: 2; }
.hero-tag {
  position: absolute; top: -12px; right: -12px;
  background: var(--y); color: var(--ink);
  padding: 10px 18px;
  font-family: var(--ff-d); font-size: 18px; letter-spacing: .08em;
  transform: rotate(3deg);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  z-index: 3;
}

/* ---------- PAGE HERO (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: 64px 0 56px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--ln);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13,15,18,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,15,18,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(38px, 6vw, 72px); margin-bottom: 14px; }
.page-hero h1 span { position: relative; display: inline-block; }
.page-hero h1 span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 10px; background: rgba(255,208,0,.45); z-index: -1; }
.page-hero p { max-width: 720px; font-size: 17px; color: var(--ink-2); }

/* Section headers */
.sec-hd { max-width: 880px; margin-bottom: 40px; }
.sec-hd.center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-tag {
  font-family: var(--ff-m); font-size: 11px; font-weight: 700;
  color: var(--ink); letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-tag::before { content: '▸ '; color: var(--y); }
.sec-h2 { font-size: clamp(28px, 4.5vw, 48px); }
.sec-h2 .yl, .sec-h2 span { color: var(--ink); position: relative; display: inline-block; }
.sec-h2 .yl::after, .sec-h2 span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px; background: rgba(255,208,0,.45); z-index: -1; }
.sec-p { margin-top: 14px; font-size: 16px; color: var(--ink-2); max-width: 720px; }

/* ---------- TRUST TICKER ---------- */
.trust-strip {
  background: var(--y); color: var(--ink);
  padding: 16px 0; overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.trust-ticker { display: flex; gap: 48px; animation: ticker 28s linear infinite; white-space: nowrap; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-m); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.trust-item::before { content: '◆'; color: var(--ink); }

/* ---------- GALLERY CARDS (machine fleet) ---------- */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.gal-card {
  display: flex; flex-direction: column;
  background: var(--bg-3);
  border: 1px solid var(--ln);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.gal-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); border-color: var(--y); }
.gal-card-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.gal-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-card:hover .gal-card-img img { transform: scale(1.04); }
.gal-card-img::before { content: ''; position: absolute; top: 0; left: 0; width: 32%; height: 5px; background: var(--y); z-index: 2; }
.gal-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--y); color: var(--ink);
  padding: 5px 12px;
  font-family: var(--ff-m); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  z-index: 2;
}
.gal-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.gal-card-cat { font-family: var(--ff-m); font-size: 11px; color: var(--mu); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.gal-card-name { font-family: var(--ff-d); font-size: 30px; line-height: 1; color: var(--ink); letter-spacing: .01em; }
.gal-card-price { font-family: var(--ff-m); font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.gal-card-price strong { font-size: 22px; color: var(--ink); font-weight: 700; }
.gal-card-price span { color: var(--mu); font-size: 12px; margin-left: 2px; }
.gal-card-link { margin-top: 12px; font-family: var(--ff-d); font-size: 16px; color: var(--ink); letter-spacing: .06em; display: inline-flex; align-items: center; gap: 8px; }
.gal-card-link::after { content: '→'; transition: transform var(--t); }
.gal-card:hover .gal-card-link::after { transform: translateX(4px); color: var(--y); }

/* ---------- QUICK LINKS ---------- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.quick-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 22px;
  background: var(--bg-3);
  border: 1px solid var(--ln);
  transition: all var(--t);
}
.quick-card:hover { border-color: var(--y); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,208,0,.18); }
.quick-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: var(--y); font-size: 18px; margin-bottom: 6px; }
.quick-card h3 { font-size: 22px; letter-spacing: .02em; }
.quick-card p { font-size: 14px; color: var(--ink-2); }

/* ---------- STATS BAR ---------- */
.stats-bar { background: var(--ink); color: #FAFAF7; padding: 56px 0; }
.stats-in {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-box { padding: 12px 8px; border-right: 1px dashed rgba(255,255,255,.12); }
.stat-box:last-child { border-right: none; }
.stat-box strong { display: block; font-family: var(--ff-m); font-size: 38px; color: var(--y); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.stat-box span { display: block; font-family: var(--ff-m); font-size: 11px; color: rgba(255,255,255,.6); margin-top: 8px; letter-spacing: .12em; text-transform: uppercase; }
.stats-note { text-align: center; margin-top: 32px; font-family: var(--ff-m); font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .08em; }
.stats-note .sep { margin: 0 14px; color: rgba(255,255,255,.2); }

/* ---------- EQUIPMENT BLOCKS ---------- */
.eq-block { padding: 56px 0; }
.eq-block + .eq-block { border-top: 1px dashed var(--ln); }
.eq-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .eq-layout { grid-template-columns: 1fr; gap: 28px; } }
.eq-img-panel { position: relative; background: var(--ink); overflow: hidden; aspect-ratio: 4/3; }
.eq-img-panel img { width: 100%; height: 100%; object-fit: cover; }
.eq-img-panel::before { content: ''; position: absolute; top: 0; left: 0; width: 36%; height: 5px; background: var(--y); z-index: 2; }
.eq-img-panel::after  { content: ''; position: absolute; bottom: 0; right: 0; width: 48%; height: 5px; background: var(--y); z-index: 2; }
.eq-info-panel { display: flex; flex-direction: column; gap: 14px; }
.eq-model { font-family: var(--ff-m); font-size: 11px; color: var(--mu); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.eq-name { font-family: var(--ff-d); font-size: clamp(36px, 5vw, 56px); line-height: .95; color: var(--ink); }
.eq-desc { color: var(--ink-2); font-size: 16px; }
.eq-specs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px; margin: 8px 0;
}
.eq-spec {
  background: var(--bg-3); border: 1px solid var(--ln);
  padding: 12px 14px;
}
.eq-spec label { display: block; font-family: var(--ff-m); font-size: 10px; color: var(--mu); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.eq-spec span { display: block; font-family: var(--ff-m); font-size: 15px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.eq-atts-hd { font-family: var(--ff-m); font-size: 11px; color: var(--ink); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin: 8px 0; }
.att-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.att-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--bg-3); border: 1px solid var(--ln);
  font-family: var(--ff-m); font-size: 12px; font-weight: 600;
  color: var(--ink);
}
.att-chip i { color: var(--y); font-size: 12px; }

.eq-pricing-row {
  display: flex; gap: 20px;
  background: var(--ink); color: #fff;
  padding: 18px 22px;
  margin: 12px 0 6px;
  align-items: baseline;
}
.eq-price-item strong { display: inline-block; font-family: var(--ff-d); font-size: 36px; color: var(--y); line-height: 1; letter-spacing: .01em; }
.eq-price-item span { font-family: var(--ff-m); font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: .12em; text-transform: uppercase; margin-left: 6px; }
.eq-delivery-note { font-family: var(--ff-m); font-size: 12px; color: var(--mu); letter-spacing: .08em; text-transform: uppercase; padding: 8px 0; }
.eq-delivery-note i { color: var(--y); margin-right: 6px; }
.eq-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* Equipment "feature bullets" inside eq-block */
.eq-feat { display: grid; gap: 8px; margin-top: 8px; }
.eq-feat-row {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-3); border-left: 3px solid var(--y);
  padding: 12px 14px;
}
.eq-feat-row i { color: var(--y); margin-top: 3px; flex-shrink: 0; }
.eq-feat-row strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.eq-feat-row p { font-size: 13px; color: var(--ink-2); margin-top: 3px; }

/* ---------- ATTACHMENT DETAIL CARDS ---------- */
.att-detail-grid { display: grid; gap: 56px; }
.att-detail-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  background: var(--bg-3);
  border: 1px solid var(--ln);
  overflow: hidden;
}
.att-detail-card:nth-child(even) { direction: rtl; }
.att-detail-card:nth-child(even) > * { direction: ltr; }
.att-photo-wrap { position: relative; background: var(--ink); overflow: hidden; min-height: 320px; }
.att-photo-wrap img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .5s ease; }
.att-detail-card:hover .att-photo-wrap img { transform: scale(1.03); }
.att-photo-wrap::before { content: ''; position: absolute; top: 0; left: 0; width: 38%; height: 5px; background: var(--y); z-index: 2; }
.att-photo-label {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: var(--y);
  font-family: var(--ff-m); font-size: 10px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 6px 12px; z-index: 3;
}
.att-detail-body { padding: 36px 36px 36px 0; display: flex; flex-direction: column; gap: 16px; }
.att-detail-card:nth-child(even) .att-detail-body { padding: 36px 0 36px 36px; }
.att-number { font-family: var(--ff-m); font-size: 14px; color: var(--mu); letter-spacing: .2em; font-weight: 700; }
.att-detail-name { font-family: var(--ff-d); font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.att-detail-name span { color: var(--ink); position: relative; display: inline-block; }
.att-detail-name span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: rgba(255,208,0,.45); z-index: -1; }
.att-detail-desc { color: var(--ink-2); font-size: 15px; }
.att-specs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.att-spec-item { background: var(--bg-2); padding: 10px 14px; }
.att-spec-item label { display: block; font-family: var(--ff-m); font-size: 10px; color: var(--mu); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 3px; }
.att-spec-item span { font-family: var(--ff-m); font-size: 13px; font-weight: 700; color: var(--ink); }
.att-use-list { display: flex; flex-direction: column; gap: 6px; }
.att-use-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.att-use-item i { color: var(--ok); font-size: 11px; flex-shrink: 0; }
.att-compat-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.att-compat-label { font-family: var(--ff-m); font-size: 10px; color: var(--mu); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.att-compat-chip { background: var(--ink); color: var(--y); font-family: var(--ff-m); font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 4px 12px; }
.att-detail-ctas { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }

@media (max-width: 768px) {
  .att-detail-card, .att-detail-card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .att-photo-wrap, .att-photo-wrap img { min-height: 240px; }
  .att-detail-body, .att-detail-card:nth-child(even) .att-detail-body { padding: 28px 24px; }
}
@media (max-width: 480px) { .att-specs-list { grid-template-columns: 1fr; } }

.att-note { text-align: center; padding: 24px; background: var(--bg-2); font-family: var(--ff-m); font-size: 13px; color: var(--ink-2); }
.att-note a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--y); }
.att-note i { color: var(--y); margin-right: 6px; }

/* ---------- USE-CASE GRID ---------- */
.uc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.uc-card {
  background: var(--bg-3); border: 1px solid var(--ln);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: all var(--t);
}
.uc-card:hover { border-color: var(--y); transform: translateY(-2px); }
.uc-icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: var(--y); font-size: 16px; margin-bottom: 4px; }
.uc-card h3 { font-size: 22px; letter-spacing: .02em; }
.uc-card p { font-size: 14px; color: var(--ink-2); }
.uc-machine { display: inline-block; margin-top: 8px; padding: 4px 10px; background: var(--bg-2); border: 1px solid var(--ln); font-family: var(--ff-m); font-size: 10px; font-weight: 700; color: var(--ink); letter-spacing: .12em; text-transform: uppercase; align-self: flex-start; }

/* ---------- OPERATOR / DELIVERY (services page) ---------- */
.ot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.ot-card { background: var(--bg-3); border: 1px solid var(--ln); display: flex; flex-direction: column; overflow: hidden; transition: all var(--t); }
.ot-card:hover { border-color: var(--y); box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.ot-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.ot-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ot-img-wrap::before { content: ''; position: absolute; top: 0; left: 0; width: 32%; height: 5px; background: var(--y); z-index: 2; }
.ot-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.25) 100%); }
.ot-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ot-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-m); font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: .15em; text-transform: uppercase; padding: 4px 10px; background: var(--bg-2); border-left: 3px solid var(--y); align-self: flex-start; }
.ot-card h3 { font-size: 28px; }
.ot-card p { font-size: 15px; color: var(--ink-2); }
.ot-card ul { display: flex; flex-direction: column; gap: 8px; }
.ot-card ul li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.ot-card ul li i { color: var(--ok); font-size: 12px; }
.ot-card .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- DELIVERY MAP / ZONES ---------- */
.del-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
@media (max-width: 880px) { .del-layout { grid-template-columns: 1fr; } }
.del-map { background: var(--bg-3); border: 1px solid var(--ln); padding: 28px; display: grid; place-items: center; }
.del-map svg { width: 100%; max-width: 360px; height: auto; }
.del-zones { display: flex; flex-direction: column; gap: 12px; }
.del-zone {
  display: grid; grid-template-columns: 46px 1fr auto;
  gap: 14px; align-items: center;
  background: var(--bg-3); border: 1px solid var(--ln);
  padding: 16px 18px;
  transition: all var(--t);
}
.del-zone:hover { border-color: var(--y); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.dz-icon { font-size: 24px; }
.dz-info h3 { font-size: 18px; letter-spacing: .02em; }
.dz-info p { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.dz-info a { color: var(--ink); border-bottom: 1px dashed var(--ln-2); }
.dz-info a:hover { border-bottom-color: var(--y); }
.dz-price { font-family: var(--ff-m); font-size: 13px; font-weight: 700; color: var(--ink); background: var(--y); padding: 6px 12px; letter-spacing: .04em; white-space: nowrap; }

/* ---------- REVIEWS ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.rev-card {
  background: var(--bg-3);
  border: 1px solid var(--ln);
  border-left: 4px solid var(--y);
  padding: 26px 24px;
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
.rev-card::before { content: '"'; position: absolute; top: -10px; right: 18px; font-family: var(--ff-d); font-size: 80px; color: var(--y); line-height: 1; opacity: .4; }
.rev-stars { color: var(--y); font-size: 14px; letter-spacing: .14em; }
.rev-quote { font-size: 15px; color: var(--ink-2); font-style: italic; line-height: 1.55; }
.rev-author { display: flex; align-items: center; gap: 12px; }
.rev-av {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--ink); color: var(--y);
  font-family: var(--ff-d); font-size: 16px; letter-spacing: .06em;
}
.rev-author span { display: block; }
.rev-name { font-family: var(--ff-m); font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.rev-loc { font-family: var(--ff-m); font-size: 11px; color: var(--mu); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 880px; margin: 0 auto; }
.faq-item { background: var(--bg-3); border: 1px solid var(--ln); transition: border-color var(--t); }
.faq-item:hover { border-color: var(--ln-2); }
.faq-item.open { border-color: var(--y); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 18px 22px;
  text-align: left;
  font-family: var(--ff-m); font-size: 13px; font-weight: 700;
  color: var(--ink); letter-spacing: .04em;
  cursor: pointer;
}
.faq-item.open .faq-q { color: var(--ink); }
.faq-q > span:first-child { padding-right: 16px; font-size: 14px; }
.faq-icon { display: grid; place-items: center; width: 30px; height: 30px; background: var(--bg-2); transition: all var(--t); flex-shrink: 0; }
.faq-item.open .faq-icon { background: var(--y); transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-in { padding: 0 22px 22px; font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.faq-a-in a { color: var(--ink); border-bottom: 1.5px solid var(--y); }

/* ---------- CTA BAND ---------- */
.cta-band {
  position: relative;
  background: var(--y); color: var(--ink);
  padding: 56px 0;
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 40px, rgba(13,15,18,.04) 40px 41px);
  pointer-events: none;
}
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); }
.cta-band h2 span { display: block; font-family: var(--ff-m); font-size: 12px; font-weight: 700; color: rgba(13,15,18,.6); letter-spacing: .2em; margin-bottom: 4px; text-transform: uppercase; }
.cta-band p { font-size: 16px; color: var(--ink); opacity: .85; margin-top: 4px; }
.cta-band .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn { background: var(--ink); color: var(--y); border-color: var(--ink); }
.cta-band .btn:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.cta-band .btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.cta-band .btn-ghost:hover { background: var(--ink); color: var(--y); }

/* ---------- WHY GRID (city pages) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.why-card {
  background: var(--bg-3); border: 1px solid var(--ln);
  padding: 22px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: all var(--t);
}
.why-card:hover { border-color: var(--y); }
.why-icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: var(--y); font-size: 16px; flex-shrink: 0; }
.why-text h3 { font-size: 20px; letter-spacing: .02em; }
.why-text p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: #FAFAF7; padding: 64px 0 0; border-top: 8px solid var(--y); position: relative; }
.footer::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 6px; background: var(--hz); }
.ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  margin-bottom: 44px;
}
@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .ft-grid { grid-template-columns: 1fr; } }
.ft-brand p { color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.75; margin: 16px 0; }
.ft-logo img, .ft-logo svg { height: 56px; width: auto; }
.ft-social { display: flex; gap: 8px; }
.ft-social a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.7); transition: all var(--t); }
.ft-social a:hover { background: var(--y); color: var(--ink); border-color: var(--y); }

.ft-col h4 { font-family: var(--ff-m); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--y); margin-bottom: 18px; text-transform: uppercase; }
.ft-col ul { display: flex; flex-direction: column; gap: 9px; }
.ft-col ul a, .ft-col ul span { color: rgba(255,255,255,.65); font-size: 13px; transition: color var(--t); display: inline-flex; align-items: center; gap: 8px; }
.ft-col ul a:hover { color: var(--y); }
.ft-col ul i { color: var(--y); width: 14px; font-size: 12px; }
.ft-contact a { color: rgba(255,255,255,.65); }

.ft-areas {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 16px 0; background: rgba(255,208,0,.03);
  font-family: var(--ff-m); font-size: 11px; color: rgba(255,255,255,.5);
  letter-spacing: .08em; text-align: center;
}
.ft-areas strong { color: var(--y); margin-right: 8px; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.ft-bot-in { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--ff-m); font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- FLOATING / BACK TO TOP ---------- */
.btt {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--y); color: var(--ink);
  display: none; place-items: center;
  z-index: 90;
  box-shadow: 0 6px 18px rgba(255,208,0,.4);
  transition: transform var(--t);
}
.btt.show { display: grid; }
.btt:hover { transform: translateY(-2px); }

.float-wrap { position: fixed; bottom: 24px; left: 24px; display: none; gap: 8px; z-index: 90; }
.float-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; font-family: var(--ff-d); font-size: 14px; letter-spacing: .06em; background: var(--ink); color: var(--y); border: 2px solid var(--ink); }
.float-btn.float-sms { background: var(--y); color: var(--ink); border-color: var(--y); }
@media (max-width: 768px) { .float-wrap { display: none; } }

/* ---------- 404 ---------- */
.nf-hero { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg-2); padding: 64px 20px; text-align: center; }
.nf-code { font-family: var(--ff-d); font-size: clamp(7rem, 18vw, 12rem); color: var(--ink); line-height: .9; letter-spacing: .04em; }
.nf-code span { color: var(--y); }
.nf-h1 { font-family: var(--ff-d); font-size: clamp(2rem, 5vw, 3.4rem); margin: 8px 0 16px; }
.nf-p { font-size: 16px; color: var(--ink-2); max-width: 540px; line-height: 1.7; margin: 0 auto 32px; }
.nf-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.nf-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; max-width: 760px; width: 100%; }
.nf-link { display: flex; align-items: center; gap: 12px; background: var(--bg-3); border: 1px solid var(--ln); padding: 14px 16px; color: var(--ink); transition: all var(--t); font-family: var(--ff-m); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nf-link:hover { border-color: var(--y); background: var(--bg-2); }
.nf-link i { color: var(--y); font-size: 14px; }

/* ---------- WELD-MARK ACCENT (utility) ---------- */
.weld { position: relative; }
.weld::before, .weld::after { content: ''; position: absolute; background: var(--y); z-index: 2; }
.weld::before { top: 0; left: 0; width: 32%; height: 5px; }
.weld::after { bottom: 0; right: 0; width: 44%; height: 5px; }

/* ---------- DASHED DIVIDER ---------- */
.divider { height: 1px; background-image: repeating-linear-gradient(90deg, var(--ln-2) 0 6px, transparent 6px 12px); margin: 32px 0; }

/* ---------- REVEAL animation (progressive enhancement) ---------- */
.reveal { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

/* =====================================================================
   QUOTE MODAL
   ===================================================================== */
.qm-backdrop {
  position: fixed; inset: 0;
  background: rgba(13,15,18,.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: flex-start; justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  animation: fadeIn .2s ease;
}
.qm-backdrop.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.qm-card {
  width: 100%; max-width: 640px;
  background: var(--bg-3);
  border: 2px solid var(--ink);
  position: relative;
  margin: 24px 0 80px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.qm-card::before { content: ''; position: absolute; top: -2px; left: 24px; width: 56px; height: 8px; background: var(--y); }

.qm-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: var(--ink); color: var(--y);
  display: grid; place-items: center;
  font-size: 18px; z-index: 5;
  transition: transform var(--t);
}
.qm-close:hover { transform: rotate(90deg); background: #000; }

.qm-head { padding: 32px 32px 18px; border-bottom: 1px solid var(--ln); }
.qm-eyebrow { font-family: var(--ff-m); font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.qm-eyebrow::before { content: '▸'; color: var(--y); }
.qm-title { font-family: var(--ff-d); font-size: clamp(30px, 5vw, 44px); line-height: .95; }
.qm-title em { font-style: normal; color: var(--ink); position: relative; display: inline-block; }
.qm-title em::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px; background: rgba(255,208,0,.45); z-index: -1; }
.qm-sub { margin-top: 8px; color: var(--ink-2); font-size: 14px; }

.qm-progress { padding: 14px 32px; background: var(--bg-2); border-bottom: 1px solid var(--ln); display: flex; align-items: center; gap: 14px; }
.qm-prog-track { flex: 1; height: 4px; background: var(--ln); position: relative; overflow: hidden; }
.qm-prog-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--y); width: 25%; transition: width .45s cubic-bezier(.4,1.4,.5,1); }
.qm-prog-text { font-family: var(--ff-m); font-size: 11px; color: var(--ink); letter-spacing: .1em; white-space: nowrap; font-weight: 600; }
.qm-prog-text b { color: var(--ink); font-weight: 700; }

.qm-body { padding: 28px 32px; min-height: 320px; position: relative; }
.qm-step { display: none; animation: slideIn .4s cubic-bezier(.2,.9,.3,1) both; }
.qm-step.active { display: block; }
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }

.qm-step-label { font-family: var(--ff-m); font-size: 11px; color: var(--mu); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 6px; font-weight: 600; }
.qm-step-q { font-family: var(--ff-d); font-size: 26px; line-height: 1.05; margin-bottom: 20px; }

.qm-cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 520px) { .qm-cities { grid-template-columns: repeat(2, 1fr); } }
.qm-city {
  padding: 14px 12px;
  background: var(--bg);
  border: 2px solid var(--ln);
  text-align: left;
  font-family: var(--ff-b); color: var(--ink); font-weight: 700; font-size: 14px;
  transition: all var(--t);
  position: relative;
}
.qm-city small { display: block; font-family: var(--ff-m); font-size: 10px; color: var(--mu); margin-top: 4px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.qm-city:hover { border-color: var(--y); transform: translateY(-1px); }
.qm-city.selected { border-color: var(--y); background: rgba(255,208,0,.1); }
.qm-city.selected::before { content: '✓'; position: absolute; top: 6px; right: 8px; color: var(--ink); background: var(--y); width: 18px; height: 18px; display: grid; place-items: center; font-size: 11px; font-weight: 800; }

.qm-machines { display: flex; flex-direction: column; gap: 10px; }
.qm-machine {
  display: flex; align-items: center; gap: 14px;
  padding: 12px;
  background: var(--bg); border: 2px solid var(--ln);
  text-align: left; transition: all var(--t);
}
.qm-machine:hover { border-color: var(--y); }
.qm-machine.selected { border-color: var(--y); background: rgba(255,208,0,.06); }
.qm-m-img {
  width: 60px; height: 60px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--ink); color: var(--y);
  font-family: var(--ff-d); font-size: 18px; letter-spacing: .04em;
}
.qm-m-body { flex: 1; min-width: 0; }
.qm-m-name { font-family: var(--ff-d); font-size: 22px; line-height: 1; }
.qm-m-cat { font-family: var(--ff-m); font-size: 10px; color: var(--mu); margin-top: 3px; letter-spacing: .1em; text-transform: uppercase; }
.qm-m-price { font-family: var(--ff-m); color: var(--ink); font-weight: 700; font-size: 14px; white-space: nowrap; }
.qm-m-price span { color: var(--mu); font-size: 10px; letter-spacing: .1em; margin-left: 2px; }

.qm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
@media (max-width: 520px) { .qm-row { grid-template-columns: 1fr; } }
.qm-field label { display: block; font-family: var(--ff-m); font-size: 10px; color: var(--mu); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.qm-field input, .qm-field textarea {
  width: 100%; padding: 13px 14px;
  background: var(--bg-3); border: 1.5px solid var(--ln);
  color: var(--ink); font-family: var(--ff-b); font-size: 15px; font-weight: 500;
  outline: none; transition: border-color var(--t);
}
.qm-field input:focus, .qm-field textarea:focus { border-color: var(--y); box-shadow: 0 0 0 3px rgba(255,208,0,.2); }
.qm-field input[type=date] { font-family: var(--ff-m); }
.qm-field textarea { min-height: 80px; resize: vertical; }
.qm-err { display: none; color: var(--er); font-size: 11px; margin-top: 4px; font-family: var(--ff-m); }
.qm-field.invalid .qm-err { display: block; }
.qm-field.invalid input { border-color: var(--er); }

.qm-attaches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.qm-attach { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg); border: 1.5px solid var(--ln); font-size: 13px; font-weight: 600; transition: all var(--t); cursor: pointer; }
.qm-attach:hover { border-color: var(--y); }
.qm-attach.selected { border-color: var(--y); background: rgba(255,208,0,.08); }
.qm-attach input { display: none; }
.qm-attach-box { width: 18px; height: 18px; border: 2px solid var(--ln); display: grid; place-items: center; flex-shrink: 0; font-size: 11px; font-weight: 800; color: var(--y); }
.qm-attach.selected .qm-attach-box { border-color: var(--y); background: var(--y); color: var(--ink); }

.qm-toggle { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--bg); border: 1.5px solid var(--ln); margin-top: 12px; }
.qm-toggle-l strong { display: block; font-size: 14px; font-weight: 700; }
.qm-toggle-l small { font-size: 12px; color: var(--mu); }
.qm-switch { position: relative; width: 50px; height: 26px; background: var(--ln-2); cursor: pointer; transition: background var(--t); flex-shrink: 0; }
.qm-switch::before { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; transition: transform .25s cubic-bezier(.4,1.4,.5,1); }
.qm-switch.on { background: var(--y); }
.qm-switch.on::before { transform: translateX(24px); background: var(--ink); }

.qm-actions { display: flex; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px dashed var(--ln); }
.qm-btn { flex: 1; min-height: 52px; padding: 0 22px; font-family: var(--ff-d); font-size: 16px; letter-spacing: .08em; border: 2px solid var(--y); background: var(--y); color: var(--ink); transition: all var(--t); display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-transform: uppercase; cursor: pointer; }
.qm-btn:hover { background: var(--y-2); border-color: var(--y-2); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,208,0,.3); }
.qm-btn.ghost { background: transparent; color: var(--ink); border-color: var(--ln-2); flex: 0 0 auto; padding: 0 22px; }
.qm-btn.ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); box-shadow: none; }
.qm-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

.qm-done { display: none; text-align: center; padding: 20px 0; }
.qm-done.active { display: block; animation: slideIn .4s both; }
.qm-done-mark { width: 80px; height: 80px; margin: 0 auto 18px; background: var(--y); display: grid; place-items: center; font-size: 38px; font-weight: 800; color: var(--ink); animation: stamp .6s cubic-bezier(.2,1.8,.4,1) both; }
@keyframes stamp { from { transform: scale(0) rotate(-12deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
.qm-done h3 { font-family: var(--ff-d); font-size: 32px; margin-bottom: 10px; }
.qm-done p { color: var(--ink-2); margin-bottom: 18px; font-size: 14px; }
.qm-done-phone { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; background: var(--ink); color: var(--y); font-family: var(--ff-m); font-weight: 700; font-size: 16px; }

/* ---------- HOMEPAGE GALLERY HEADER WRAP ---------- */
.gallery-header { margin-bottom: 36px; }
.gallery-tag { font-family: var(--ff-m); font-size: 11px; font-weight: 700; color: var(--ink); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 10px; }
.gallery-tag::before { content: '▸ '; color: var(--y); }
.gallery-title { font-family: var(--ff-d); font-size: clamp(34px, 5vw, 56px); line-height: .95; }
.gallery-title span { position: relative; display: inline-block; }
.gallery-title span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px; background: rgba(255,208,0,.45); z-index: -1; }

/* ---------- UTILITY ---------- */
.hidden { display: none !important; }
.center { text-align: center; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
