/* KK Industrial Solutions — brand colors taken from the business card:
   deep navy, safety orange, white. */
:root {
  --navy: #131c2a;
  --navy-2: #1c2738;
  --navy-3: #26344a;
  --orange: #f08a1c;
  --orange-600: #d9740b;
  --orange-ink: #b35a06; /* orange dark enough for text on white */
  --ink: #141a23;
  --text: #2b3442;
  --muted: #5f6b7a;
  --line: #e2e6eb;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --on-dark: #e8edf3;
  --on-dark-muted: #a9b4c2;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 28, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(19, 28, 42, 0.16);

  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --font-script: 'Kaushan Script', cursive;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; margin: 0; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 14px 22px; border-radius: 10px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #ff9b2f; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(19, 28, 42, 0.06); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 52px; width: auto; }
/* The hero shows the big logo; the small header logo fades in once that's scrolled past. */
.js .site-header .brand { transition: opacity .25s ease, visibility .25s ease; }
.js .site-header:not(.show-brand) .brand { opacity: 0; visibility: hidden; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.site-nav ul a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem;
  position: relative; padding: 6px 0; white-space: nowrap;
}
.site-nav ul a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--orange); transition: right .2s ease;
}
.site-nav ul a:hover::after { right: 0; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ----------
   Laid out like the business card: white side carrying the big logo, navy panel
   with an orange outline carrying the part illustrations. The logo artwork has
   dark lettering, so it must sit on a light background. */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
  color: var(--text);
  padding: 56px 0 88px;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(19,28,42,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,28,42,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }

/* The company logo is the headline -- the largest thing on the page. */
.hero-logo { margin: 0 0 22px; line-height: 0; }
.hero-logo img { width: min(100%, 640px); height: auto; }

.hero-tagline {
  margin: 0; font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: .02em; line-height: 1.15; color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  padding-top: 18px; border-top: 3px solid var(--orange); display: inline-block;
}
.hero-tagline .accent { color: var(--orange-600); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 54ch; margin: 18px 0 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-points li { position: relative; padding-left: 26px; font-weight: 600; color: var(--ink); }
.hero-points li::before {
  content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 9px;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg);
}

.hero-art { position: relative; }
.hero-panel {
  position: relative; border-radius: 36px; padding: 40px 30px;
  background: radial-gradient(600px 400px at 70% 20%, var(--navy-3) 0%, var(--navy) 70%);
  box-shadow: var(--shadow-lg);
}
.hero-panel::before {
  content: ''; position: absolute; inset: -12px; border: 2.5px solid var(--orange);
  border-radius: 44px; pointer-events: none;
}
.hex-cluster { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.hex-cluster .hex { fill: url(#hexFill); stroke: var(--orange); stroke-width: 3; stroke-linejoin: round; }
.hex-cluster .art * { fill: none; stroke: var(--on-dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hex-cluster .art .fill-1 { fill: #2e3f5a; }
.hex-cluster .art .fill-2 { fill: #26354d; }
.hex-cluster .art .fill-3 { fill: #182231; }
.hex-cluster .art .hi { stroke: var(--orange); }
.hex-cluster .art .hi-fill { fill: var(--orange); stroke: none; }
.hex-cluster .art .center { stroke: var(--orange); stroke-width: 1.4; stroke-dasharray: 8 4 2 4; opacity: .8; }
.hex-cluster .art .ticks line { stroke-width: 1.6; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: var(--on-dark); padding-bottom: 0; }

.section-head { margin-bottom: 44px; max-width: 640px; }
.section-head h2 {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(2rem, 3.6vw, 2.75rem); text-transform: uppercase; letter-spacing: .01em;
  padding-bottom: 14px; position: relative;
}
.section-head h2::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 72px; height: 3px; background: var(--orange); border-radius: 2px;
}
.section-head p { color: var(--muted); margin: 14px 0 0; font-size: 1.1rem; }
.section-head.on-dark h2 { color: #fff; }

/* Gear glyph, echoing the "Our Services" heading on the card */
.gear {
  flex: none; width: 34px; height: 34px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f08a1c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 1 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 1 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
}

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card::before {
  content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 1.45rem; text-transform: uppercase; }
.service-card p { margin: 0; color: var(--muted); flex: 1; }

.service-icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: var(--orange); margin-bottom: 6px;
}
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.service-link { font-weight: 700; text-decoration: none; color: var(--orange-ink); }
.service-link span { display: inline-block; transition: transform .15s ease; }
.service-link:hover span { transform: translateX(4px); }

/* ---------- In-house capability strip (under the hero) ---------- */
.capability-band { background: var(--navy); color: var(--on-dark); }
.capability-inner {
  display: flex; align-items: center; gap: 18px; padding: 18px 0;
  color: inherit; text-decoration: none;
}
.capability-label {
  flex: none; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  background: var(--orange); color: var(--navy); padding: 6px 12px; border-radius: 6px; font-size: .9rem;
}
.capability-list {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  font-size: 1.05rem; color: #fff;
}
.capability-inner:hover .capability-list { color: var(--orange); }

/* ---------- Machinery ---------- */
.machine-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.machine-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; box-shadow: var(--shadow); overflow: hidden;
}
.machine-text { padding: 18px 20px 22px; }
.machine-card h3 { font-size: 1.2rem; text-transform: uppercase; margin: 0 0 6px; }
.machine-card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Line drawing of each machine (swap for a real photo later) */
.machine-art {
  margin: 0; aspect-ratio: 16 / 9; display: grid; place-items: center;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 20px 20px,
    radial-gradient(120% 90% at 50% 30%, var(--navy-3) 0%, var(--navy) 75%);
  border-bottom: 3px solid var(--orange);
}
.machine-art img { width: 100%; height: 100%; object-fit: cover; }
.machine-art svg { width: 92%; height: auto; overflow: visible; }
.machine-art svg * { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.machine-art .b { stroke: #d3dbe6; }
.machine-art .a { stroke: var(--orange); }
.machine-art .f { fill: var(--navy-2); }
.machine-art .fa { fill: rgba(240,138,28,.18); }
.machine-art .glass { fill: rgba(140,170,210,.10); }
.machine-art .screen { fill: rgba(240,138,28,.25); stroke: var(--orange); }
.machine-art .floor { stroke: rgba(255,255,255,.18); }
.machine-art .frame { stroke-width: 9; }
.machine-art .frame-in { stroke: var(--navy-2); stroke-width: 5; }
.machine-art .liquid { stroke: #6fa8dc; stroke-dasharray: 6 4; }
.machine-art text {
  fill: #9fb0c4; stroke: none; font-family: var(--font-head); font-weight: 600;
  font-size: 10px; letter-spacing: .08em; text-anchor: middle;
}

/* ---------- Our Work gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery-item {
  position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--navy-2);
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; text-align: left;
  color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(19, 28, 42, 0.85));
}

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 15, 24, 0.88); }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; margin: 0 auto; }
.lightbox p { color: #fff; text-align: center; font-weight: 600; margin: 12px 0 0; }
.lightbox-close {
  position: absolute; top: -44px; right: 0; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--orange); color: var(--navy); font-size: 1.1rem; font-weight: 700; cursor: pointer;
}

/* ---------- Why us ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 80px; }
.value {
  background: var(--navy-2); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius);
  padding: 30px 28px;
}
.value h3 { color: #fff; font-size: 1.5rem; text-transform: uppercase; margin: 18px 0 8px; }
.value p { margin: 0; color: var(--on-dark-muted); }
.value-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--navy);
}
.value-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.tagline-band {
  background: var(--orange); color: var(--navy);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  padding: 26px 16px; text-align: center;
}
.tagline-band p { margin: 0; font-family: var(--font-script); font-size: clamp(1.4rem, 3vw, 2.1rem); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  border: 1px dashed #c9d1db; background: #fff;
}
.step-no {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: var(--orange); margin-bottom: 14px;
}
.step h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 50px; right: -18px; width: 14px; height: 14px;
  border-top: 3px solid var(--orange); border-right: 3px solid var(--orange); transform: rotate(45deg);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-info .section-head { margin-bottom: 28px; }

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list div { display: flex; flex-direction: column; }
.contact-list strong { color: var(--ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--orange-ink); }
.contact-icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--orange);
}
.contact-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }

.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #e9edf2; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-overlay { position: absolute; inset: 0; display: block; }
.map-overlay:focus-visible { outline-offset: -4px; }
/* The embed centres on our coordinates, so the pin's tip sits at the exact centre.
   The tag floats just above the pin head. */
.map-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-100% - 46px));
  background: var(--navy); color: #fff; font-weight: 700; font-size: .92rem; white-space: nowrap;
  padding: 7px 12px; border-radius: 8px; border-bottom: 3px solid var(--orange);
  box-shadow: 0 6px 16px rgba(19, 28, 42, 0.3);
}
.map-label::after {
  content: ''; position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: var(--orange); margin-top: 3px;
}
.map-link { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: none; }

.quote-card {
  background: #fff; border-radius: 18px; padding: 34px; box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--orange); position: sticky; top: 100px;
}
.quote-card h2 { font-size: 2.1rem; text-transform: uppercase; }
.quote-card > p { margin: 8px 0 24px; }

#quote-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field span { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0;
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid #cfd6df; border-radius: 10px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240, 138, 28, 0.18);
}
.field .invalid, .field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #c4413a; }

.field-note { font-style: normal; font-weight: 500; color: var(--muted); font-size: .85rem; }
.file-input { padding: 10px 12px; background: var(--bg-soft); cursor: pointer; }
.file-input::file-selector-button {
  font: inherit; font-weight: 700; font-size: .9rem; margin-right: 12px;
  padding: 7px 14px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; cursor: pointer;
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form-actions .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-status.error { color: #9b2a24; background: #fdeceb; border: 1px solid #f3c2bf; }
.form-status.success { color: #1d6b3a; background: #e8f6ee; border: 1px solid #b7e2c7; margin-bottom: 18px; }

.contact-list a.inline-wa { color: #1a8f4c; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-muted); padding: 56px 0 24px; border-top: 4px solid var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .02em; }
.footer-mark { flex: none; background: #fff; border-radius: 12px; padding: 8px 10px; }
.footer-mark img { width: 64px; height: auto; }
.footer-links, .footer-contact { display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: .9rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #0b2e17; font-weight: 700; text-decoration: none;
  padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .15s ease;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .wa-float { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-grid, .machine-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 520px; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .quote-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* The menu has 6 links + button: switch to the ☰ menu before it starts wrapping. */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 16px 16px 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(19,28,42,.1);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding: 12px 4px; font-size: 1.05rem; }
  .site-nav .btn { justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section-dark { padding-bottom: 0; }
  .brand img { height: 40px; }
  .service-grid, .steps, .machine-grid { grid-template-columns: 1fr; }
  .capability-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .capability-list { font-size: .98rem; line-height: 1.5; }
  .step::after { display: none; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .quote-card { padding: 26px 20px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
}
