/* ==========================================================================
   Juda Packaging — Flexible Packaging Website
   Design system + components
   ========================================================================== */

:root {
  /* Brand */
  --ink: #0b1a16;
  --ink-soft: #16281f;
  --brand: #0f7a5a;
  --brand-600: #0d6a4e;
  --brand-700: #0a543e;
  --brand-50: #eaf5f0;
  --brand-100: #d5ebe2;
  --accent: #d98324;
  --accent-50: #fdf3e6;

  /* Neutrals */
  --bg: #f6f9f7;
  --surface: #ffffff;
  --surface-2: #f1f5f3;
  --line: #e2eae6;
  --line-strong: #cfdcd6;
  --text: #16211d;
  --text-muted: #5b6d66;
  --text-faint: #8b9c95;

  /* Shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 26, 22, .05), 0 2px 8px rgba(11, 26, 22, .04);
  --shadow-md: 0 4px 12px rgba(11, 26, 22, .06), 0 12px 32px rgba(11, 26, 22, .06);
  --shadow-lg: 0 18px 50px rgba(11, 26, 22, .12);

  --container: 1180px;
  --header-h: 72px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--surface { background: var(--surface); }
.section--soft { background: linear-gradient(180deg, #f2f7f5 0%, #f6f9f7 100%); }
.section--dark { background: var(--ink); color: #e9f2ee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  padding: 6px 12px; border-radius: var(--r-full); margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand); flex: none;
}
.h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); }
.h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--text-muted); line-height: 1.7; }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .h2 { margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--r-full);
  font-size: .95rem; font-weight: 650; letter-spacing: -.01em;
  border: 1px solid transparent; transition: .18s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(15, 122, 90, .22); }
.btn--primary:hover { background: var(--brand-600); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(15, 122, 90, .28); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: var(--brand-50); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { padding: 9px 18px; font-size: .875rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 650; font-size: .92rem; color: var(--brand);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink); color: #b9cdc5;
  font-size: .82rem; letter-spacing: .01em;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px; flex-wrap: wrap;
}
.topbar a { color: #e9f2ee; }
.topbar a:hover { color: #fff; }
.topbar__list { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; gap: 7px; }
.topbar__list svg { width: 14px; height: 14px; opacity: .8; }
.topbar__tag {
  display: inline-flex; align-items: center; gap: 6px;
  color: #9fe3c8; font-weight: 600;
}
.topbar__tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #4ade9b; box-shadow: 0 0 0 3px rgba(74, 222, 155, .18);
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 28px;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { width: 36px; height: 36px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 800; font-size: 1.06rem; letter-spacing: -.03em; color: var(--ink); }
.logo__sub { font-size: .63rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: var(--brand); }
.logo__chip { display: inline-flex; align-items: center; background: #fff; border-radius: 9px; padding: 6px 11px; }
.logo__img { height: 34px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 9px 14px; border-radius: var(--r-full);
  font-size: .93rem; font-weight: 550; color: var(--text-muted);
  transition: .16s ease;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.is-active { color: var(--brand); background: var(--brand-50); font-weight: 650; }
.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); background: var(--surface);
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -8%, #dff0e9 0%, rgba(223, 240, 233, 0) 62%),
    radial-gradient(760px 420px at 4% 108%, #eef6f2 0%, rgba(238, 246, 242, 0) 60%),
    linear-gradient(180deg, #fbfdfc 0%, #f6f9f7 100%);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 56px; align-items: center; padding: 76px 0 68px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero__ticks {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 24px 0 0; padding-top: 22px; border-top: 1px solid var(--line-strong);
}
.hero__ticks li {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 550; color: var(--text-muted);
}
.hero__ticks svg { width: 16px; height: 16px; color: var(--brand); flex: none; }
.hero__visual { position: relative; }
.hero__visual svg { width: 100%; height: auto; filter: drop-shadow(0 26px 44px rgba(11, 26, 22, .13)); }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  margin-top: -34px; margin-bottom: 0;
}
.stat { background: var(--surface); padding: 26px 24px; }
.stat__num {
  font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800;
  letter-spacing: -.03em; color: var(--ink); line-height: 1.1;
}
.stat__num span { color: var(--brand); }
.stat__label { font-size: .84rem; color: var(--text-muted); margin-top: 6px; font-weight: 550; }

/* ---------- Trust / logo bar ---------- */
.trust { padding: 44px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.trust__label {
  text-align: center; font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint);
  margin-bottom: 22px;
}
.trust__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 1px solid var(--line);
  border-radius: var(--r-full); background: var(--surface-2);
  font-size: .85rem; font-weight: 650; color: var(--ink-soft);
}
.badge svg { width: 15px; height: 15px; color: var(--brand); }
.badge--amber svg { color: var(--accent); }

/* ---------- Product cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: .2s ease;
}
.card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__visual {
  position: relative; height: 196px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #eef6f2 0%, #e2efe9 100%);
  border-bottom: 1px solid var(--line);
}
.card__visual svg { width: 118px; height: auto; filter: drop-shadow(0 12px 20px rgba(11, 26, 22, .14)); }
.card__visual--amber { background: linear-gradient(150deg, #fdf5ea 0%, #f7e9d5 100%); }
.card__visual--blue { background: linear-gradient(150deg, #eef3fa 0%, #e0e9f6 100%); }
.card__visual--stone { background: linear-gradient(150deg, #f5f4f1 0%, #eae7e0 100%); }
.card__tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line);
  color: var(--brand-700); font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-full);
}
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__body h3 { font-size: 1.12rem; }
.card__body p { font-size: .92rem; color: var(--text-muted); }
.card__specs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.chip {
  font-size: .75rem; font-weight: 600; color: var(--text-muted);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: var(--r-full);
}
.card__body .link-arrow { margin-top: auto; padding-top: 6px; }

/* ---------- Feature blocks ---------- */
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.feature__icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand); flex: none;
}
.feature__icon svg { width: 23px; height: 23px; }
.feature h3 { font-size: 1.05rem; }
.feature p { font-size: .92rem; color: var(--text-muted); }
.feature--amber .feature__icon { background: var(--accent-50); color: var(--accent); }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm);
}
.split__media--plain { background: transparent; border: 0; padding: 0; box-shadow: none; }

/* Numbered process list */
.steps { display: flex; flex-direction: column; gap: 4px; counter-reset: s; }
.steps li {
  display: grid; grid-template-columns: 38px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px dashed var(--line-strong);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  font-size: .8rem; font-weight: 800; color: var(--brand);
  background: var(--brand-50); border: 1px solid var(--brand-100);
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.steps h4 { font-size: 1rem; margin-bottom: 4px; }
.steps p { font-size: .9rem; color: var(--text-muted); }

/* Check list */
.checks { display: flex; flex-direction: column; gap: 13px; }
.checks li { display: flex; gap: 11px; font-size: .95rem; color: var(--text-muted); }
.checks svg { width: 19px; height: 19px; color: var(--brand); flex: none; margin-top: 3px; }
.checks strong { color: var(--text); font-weight: 650; }

/* ---------- Spec table ---------- */
.table-wrap {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface);
}
table.spec { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.spec th, table.spec td { padding: 14px 20px; text-align: left; vertical-align: top; }
table.spec thead th {
  background: var(--ink); color: #dceee6;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
table.spec tbody tr + tr td { border-top: 1px solid var(--line); }
table.spec tbody tr:nth-child(even) td { background: #fafcfb; }
table.spec td:first-child { font-weight: 650; color: var(--ink); width: 30%; }
table.spec td { color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; transition: .18s ease;
}
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq summary {
  padding: 18px 22px; font-weight: 650; font-size: .98rem;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 11px; height: 11px; flex: none;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px); transition: .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .faq__body { padding: 0 22px 20px; color: var(--text-muted); font-size: .93rem; }

/* ---------- Page header (subpages) ---------- */
.page-head {
  padding: 54px 0 46px;
  background:
    radial-gradient(760px 340px at 90% 0%, #e2f0ea 0%, rgba(226, 240, 234, 0) 65%),
    linear-gradient(180deg, #fbfdfc 0%, #f6f9f7 100%);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .84rem; color: var(--text-faint); margin-bottom: 14px;
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { opacity: .5; }
.page-head .lead { max-width: 640px; margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand) 55%, #12906a 100%);
  color: #fff; border-radius: var(--r-lg);
  padding: 52px; display: grid; grid-template-columns: 1.4fr auto;
  gap: 36px; align-items: center;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .87); max-width: 520px; }
.cta-band .btn-row { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .84rem; font-weight: 650; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .93rem; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 11px 13px;
  transition: .16s ease; width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 122, 90, .12);
}
.field .hint { font-size: .78rem; color: var(--text-faint); }
.field--invalid input, .field--invalid select, .field--invalid textarea {
  border-color: #d9534f; background: #fff6f6;
}
.form-note { font-size: .8rem; color: var(--text-faint); margin-top: 14px; }
.form-status {
  display: none; margin-top: 16px; padding: 13px 16px;
  border-radius: var(--r-sm); font-size: .88rem; font-weight: 600;
}
.form-status.is-ok { display: block; background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-700); }
.form-status.is-err { display: block; background: #fff3f3; border: 1px solid #f3c9c7; color: #a5322e; }

.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-item {
  display: flex; gap: 14px; padding: 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.info-item__icon {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand);
}
.info-item__icon svg { width: 19px; height: 19px; }
.info-item h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); font-weight: 700; margin-bottom: 5px; }
.info-item p, .info-item a { font-size: .93rem; color: var(--text); }
.info-item a:hover { color: var(--brand); }
.info-item small { display: block; font-size: .8rem; color: var(--text-faint); margin-top: 4px; }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--brand-100), var(--line));
}
.timeline li { position: relative; padding: 0 0 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -30px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--brand);
}
.timeline .year { font-size: .8rem; font-weight: 800; color: var(--brand); letter-spacing: .06em; }
.timeline h4 { font-size: 1rem; margin: 3px 0 5px; }
.timeline p { font-size: .91rem; color: var(--text-muted); }

/* ---------- Value cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value {
  padding: 26px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.value__num { font-size: .8rem; font-weight: 800; color: var(--brand); letter-spacing: .1em; }
.value h3 { font-size: 1.02rem; margin: 10px 0 8px; }
.value p { font-size: .9rem; color: var(--text-muted); }

/* ---------- Certs grid ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cert {
  display: flex; align-items: center; gap: 14px;
  padding: 20px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.cert__mark {
  width: 44px; height: 44px; flex: none; border-radius: 12px;
  background: var(--brand-50); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .74rem; letter-spacing: .04em;
}
.cert h4 { font-size: .93rem; }
.cert p { font-size: .81rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a9beb6; padding: 64px 0 0; }
.footer h4 {
  color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer p { font-size: .89rem; line-height: 1.75; }
.footer a { font-size: .89rem; transition: .16s ease; }
.footer a:hover { color: #fff; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer .logo__name { color: #fff; }
.footer .logo__sub { color: #6fd8ae; }
.footer__certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer__certs span {
  font-size: .72rem; font-weight: 650; padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-full);
  color: #c8dbd4;
}
.footer__bottom {
  margin-top: 50px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem;
}
.footer__bottom a { font-size: .82rem; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.hide { display: none !important; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff; border: 0;
  box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: .22s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid, .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero__inner { gap: 36px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header__cta .btn--primary { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 auto 0;
    margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px; box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .2s ease; z-index: 55;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .hero__inner { grid-template-columns: 1fr; padding: 52px 0 46px; }
  .hero__visual { max-width: 520px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 38px 30px; }
  .section { padding: 62px 0; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .grid-3, .grid-2, .value-grid, .cert-grid, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .form-card { padding: 24px; }
  .topbar__list--hide-sm { display: none; }
  .hero__ticks { gap: 10px 16px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn--sm { width: auto; }
  .trust__row { gap: 8px; }
  .badge { font-size: .8rem; padding: 8px 13px; }
}

@media print {
  .header, .topbar, .to-top, .cta-band { display: none; }
}
