/* Packmen: styled to match the Boxes Catalogue and Company Profile */
:root {
  --yellow: #F4C400;
  --yellow-deep: #B38F00;
  --ink: #1A1A1A;
  --ink-soft: #555555;
  --ink-faint: #8A8A8A;
  --line: #E3E3E3;
  --tile: #F8F8F8;
  --grey: #F6F6F6;
  --white: #FFFFFF;
  --red: #D7262C;
  --font: "DejaVu Sans", Verdana, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow-deep); outline-offset: 3px; }

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

h1, h2, h3 { margin: 0; font-weight: 700; color: var(--ink); }
h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.08; letter-spacing: 0.03em; text-transform: uppercase;
  margin: 18px 0 20px;
}
h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  line-height: 1.15; letter-spacing: 0.04em; text-transform: uppercase;
  margin: 16px 0 14px;
}
h3 { font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.3; }
p { margin: 0 0 1em; max-width: 64ch; }

/* The catalogue's yellow tag label */
.tag {
  display: inline-block; margin: 0;
  background: var(--yellow); color: var(--ink);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px;
}
/* Sub-heading with short yellow underline (Mission & vision, Why Packmen) */
.sub {
  display: inline-block; font-size: 1.05rem; letter-spacing: 0.1em;
  padding-bottom: 8px; border-bottom: 2px solid var(--yellow);
  margin: 0 0 22px;
}
.intro { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 32px; }
.chip {
  display: inline-block; background: var(--yellow); margin: 0 0 10px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px;
}
.card { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 20px 22px; }
.card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.tile { background: var(--tile); border: 1px solid var(--line); border-radius: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: var(--white);
  border-bottom: 3px solid var(--yellow);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.logo img { height: 62px; width: auto; }
.header-right { text-align: right; }
.tagline {
  margin: 0 0 4px; max-width: none;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-size: 0.85rem; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  background: var(--yellow); color: var(--ink); font-weight: 700;
  padding: 6px 14px; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav .nav-cta:hover { background: var(--ink); color: var(--yellow); }
@media (max-width: 760px) {
  .tagline { display: none; }
  .nav a:not(.nav-cta):not(.icon-btn) { display: none; }
  .logo img { height: 48px; }
}

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--font); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 22px; border: 2px solid var(--ink); border-radius: 2px;
}
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-grey { background: var(--grey); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lede { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 28px; }
.cert { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.hero-photo { margin: 0; padding: 22px; background: var(--white); }
.hero-photo img { width: 100%; height: auto; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 56px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats div { text-align: center; padding: 26px 8px; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dd { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.stats dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Mission & vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 56px; }
.mv > div { background: var(--grey); border-left: 3px solid var(--yellow); padding: 22px 24px; }
.mv-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow-deep); margin-bottom: 8px; }
.mv p:last-child { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .mv, .why { grid-template-columns: 1fr; } }

/* Product lines */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lines h3 { margin-bottom: 8px; }
@media (max-width: 900px) { .lines { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lines { grid-template-columns: 1fr; } }

/* Box range: mirrors the catalogue pages */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  font-family: var(--font); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--white); color: var(--ink); border: 1px solid var(--ink); padding: 8px 14px; cursor: pointer;
}
.filter:hover { background: var(--grey); }
.filter.is-on { background: var(--yellow); border-color: var(--yellow); }
.box-group { margin-bottom: 56px; }
.box-group[hidden] { display: none; }
.band {
  background: var(--yellow); text-align: center; margin: 0; max-width: none;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px;
}
.group-title { font-size: 1.15rem; letter-spacing: 0.06em; margin: 12px 0 24px; }
.boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 28px; }
@media (max-width: 760px) { .boxes { grid-template-columns: 1fr; } }
.box { border: 1px solid var(--line); border-radius: 4px; padding: 12px 12px 10px; background: var(--white); }
.code {
  display: inline-block; background: var(--yellow); margin: 0 0 6px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; padding: 2px 8px;
}
.spec { font-size: 0.78rem; color: var(--ink); margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); max-width: none; }
.views { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.views figure { margin: 0; }
.views img { width: 100%; height: auto; background: var(--tile); border: 1px solid var(--line); border-radius: 2px; }
.views figcaption { text-align: center; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.note { font-size: 0.82rem; color: var(--ink-faint); text-align: center; max-width: none; margin: 0; }

/* Order steps */
.order-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.order-steps li { counter-increment: s; }
.order-steps li::before {
  content: "0" counter(s); display: block;
  font-size: 1.6rem; font-weight: 700; color: var(--yellow-deep); margin-bottom: 8px;
}
.order-steps h3 { margin-bottom: 8px; }
@media (max-width: 900px) { .order-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .order-steps { grid-template-columns: 1fr; } }

/* Manufacturing process: yellow numbered circles, as in the profile */
.process { list-style: none; padding: 0; margin: 0 0 64px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: p; }
.process li { counter-increment: p; text-align: center; }
.process li::before {
  content: counter(p);
  display: grid; place-items: center; margin: 0 auto 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--ink);
  font-weight: 700; font-size: 0.95rem;
}
.process h3 { font-size: 0.78rem; letter-spacing: 0.08em; margin-bottom: 4px; }
.process p { font-size: 0.78rem; color: var(--ink-faint); margin: 0 auto; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(3, 1fr); row-gap: 32px; } }
@media (max-width: 480px) { .process { grid-template-columns: repeat(2, 1fr); } }

.equipment { display: grid; gap: 20px; }
.machine { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: center; padding: 14px; }
.machine .tile { overflow: hidden; aspect-ratio: 4 / 3; }
.machine .tile img { width: 100%; height: 100%; object-fit: cover; }
.machine h3 { margin-bottom: 8px; }
@media (max-width: 640px) { .machine { grid-template-columns: 1fr; } }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; max-width: 760px; }
.clients img { width: 100%; height: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-facts { margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.contact-facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-facts dt { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow-deep); }
.contact-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 0.95rem; }
.contact-facts a { text-decoration: none; }
.contact-facts a:hover { text-decoration: underline; }
.downloads { display: flex; flex-wrap: wrap; gap: 10px; }
.quote-form { display: grid; gap: 16px; padding: clamp(20px, 4vw, 32px); border-top: 4px solid var(--yellow); }
.quote-form label { display: grid; gap: 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.quote-form input, .quote-form textarea {
  font-family: var(--font); font-size: 0.95rem; color: var(--ink); text-transform: none; letter-spacing: normal; font-weight: 400;
  padding: 11px 12px; border: 1px solid #CFCFCF; border-radius: 2px; background: var(--white); width: 100%;
}
.quote-form input:focus, .quote-form textarea:focus { outline: 2px solid var(--yellow); outline-offset: 0; border-color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hidden-field { display: none; }
.quote-form .btn { justify-self: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .form-row, .contact-facts { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 28px; }
.footer-band {
  max-width: none; text-align: center; margin: 0 0 24px;
  background: #FFF9DB; border: 1px solid var(--yellow); padding: 14px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.footer-band span { display: block; color: var(--red); font-size: 0.66rem; margin-top: 4px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.footer-inner p { margin: 0; }

/* Thank-you page */
.thanks { min-height: 70vh; display: grid; place-items: center; padding: 64px 0; }
.contact-facts .span2 { grid-column: 1 / -1; }
.contact-facts dd a { word-break: break-all; }
.ig { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.15em; margin-right: 6px; }
.footer-ig { color: var(--ink); text-decoration: none; font-weight: 700; }
.footer-ig:hover { text-decoration: underline; }
.hero .lede { margin-bottom: 22px; }
.social { display: inline-flex; gap: 6px; margin-left: 4px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border: 1.5px solid var(--ink); color: var(--ink); border-radius: 50%;
}
.nav a.icon-btn { color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--yellow); border-color: var(--yellow); }
span.ig svg { width: 100%; height: 100%; }
@media (max-width: 760px) { .nav .social { display: inline-flex; } .nav { gap: 10px; } }
