/* ============================================================
   SUJIAN PACKAGING · 上海速健印务 — Design System
   Aesthetic: Premium industrial luxury (deep charcoal + brass gold)
   ------------------------------------------------------------ */

/* ---------- Design Tokens ---------- */
:root {
  /* Color */
  --bg-0: #0b0c0e;
  --bg-1: #121316;
  --bg-2: #17191d;
  --bg-3: #1d2026;
  --bg-4: #23262c;

  --line: rgba(233, 224, 205, 0.10);
  --line-strong: rgba(233, 224, 205, 0.20);

  --text: #ece7dc;
  --text-dim: #a8a29a;
  --text-faint: #6f6b65;

  --gold: #c9a15c;
  --gold-bright: #e6c384;
  --gold-deep: #8a6d3d;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  /* Spacing (8px rhythm) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --s-8: 8rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.25s var(--ease);
  --t-med: 0.5s var(--ease);
  --t-slow: 0.9s var(--ease);

  --container: 1240px;
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle film grain over the whole canvas */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: #14100a; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
}

.display-1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); font-weight: 340; }
.display-2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 360; }
.display-3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 380; }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: var(--text-dim); font-weight: 300; }

/* Kicker / eyebrow label */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.kicker::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.italic { font-style: italic; }
.gold { color: var(--gold-bright); }
.dim { color: var(--text-dim); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::before { display: none; }
.section-head h2 { margin-top: 1.1rem; }
.section-head p { margin-top: 1.25rem; color: var(--text-dim); max-width: 60ch; }
.section-head.center p { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 100px;
  transition: all var(--t-fast);
  position: relative;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--gold);
  color: #14100a;
  box-shadow: 0 10px 30px -8px rgba(201, 161, 92, 0.45);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(201, 161, 92, 0.6);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(201, 161, 92, 0.06);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t-med), backdrop-filter var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 12, 14, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  line-height: 1.1;
}
.brand-mark {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-1));
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-bright);
  letter-spacing: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: 0.12em;
}
.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding-block: 0.4rem;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  overflow: hidden;
}
.lang-switch button {
  padding: 0.45rem 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  transition: all var(--t-fast);
}
.lang-switch button.active {
  background: var(--gold);
  color: #14100a;
}

.nav-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(11,12,14,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 3rem;
  transform: translateY(-100%);
  transition: transform var(--t-slow);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  padding-block: 0.6rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu a span { font-size: 0.7rem; color: var(--gold); font-family: var(--font-body); letter-spacing: 0.2em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,12,14,0.72) 0%, rgba(11,12,14,0.35) 40%, rgba(11,12,14,0.9) 82%, var(--bg-0) 100%);
}
.hero-inner {
  position: relative;
  width: 100%;
  padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(11,12,14,0.35);
  backdrop-filter: blur(8px);
}
.hero h1 { margin-top: 1.6rem; max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero-sub { margin-top: 1.6rem; max-width: 52ch; color: rgba(236,231,220,0.82); font-weight: 300; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-cta { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }

/* ---------- Trust stats ---------- */
.stats-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(1.8rem, 3.5vw, 3rem) 1.5rem;
  text-align: center;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 60%;
  background: var(--line);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 340;
  color: var(--gold-bright);
  line-height: 1;
}
.stat-num small { font-size: 0.5em; color: var(--gold); }
.stat-label {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Product cards ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.prod-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform var(--t-med), border-color var(--t-med);
}
.prod-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-deep);
}
.prod-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.prod-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.prod-card:hover .prod-media img { transform: scale(1.06); }
.prod-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,12,14,0.75));
}
.prod-index {
  position: absolute;
  top: 1.1rem; left: 1.1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-bright);
  letter-spacing: 0.08em;
}
.prod-body { padding: 1.7rem 1.7rem 2rem; }
.prod-body h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
.prod-body p { color: var(--text-dim); font-size: 0.94rem; font-weight: 300; }
.prod-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.prod-tags span {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-dim);
}
.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap var(--t-fast);
}
.prod-link:hover { gap: 0.85rem; color: var(--gold-bright); }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  border-radius: var(--r-lg);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
}
.split-media .frame {
  position: absolute;
  inset: 1.2rem;
  border: 1px solid rgba(230,195,132,0.35);
  border-radius: var(--r-md);
  pointer-events: none;
}

.feature-list { margin-top: 2rem; display: grid; gap: 1.2rem; }
.feature {
  display: flex;
  gap: 1.1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: none; padding-bottom: 0; }
.feature-num {
  flex: none;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  width: 2rem;
}
.feature h4 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.feature p { color: var(--text-dim); font-size: 0.92rem; font-weight: 300; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-1);
  transition: border-color var(--t-med), transform var(--t-med);
}
.step:hover { border-color: var(--gold-deep); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 340;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-deep);
  line-height: 1;
}
.step h4 { font-size: 1.05rem; margin-top: 1rem; }
.step p { color: var(--text-dim); font-size: 0.85rem; font-weight: 300; margin-top: 0.5rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201,161,92,0.16), transparent 60%),
    var(--bg-1);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero h1 { margin-top: 1.2rem; max-width: 18ch; }
.page-hero .lead { margin-top: 1.4rem; max-width: 62ch; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 1.6rem;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold-deep); }

/* ---------- Product detail (products page) ---------- */
.prod-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.prod-feature:nth-child(even) .split-media { order: 2; }
.prod-feature .spec-table { margin-top: 1.8rem; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  color: var(--text-faint);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  width: 42%;
}
.spec-table td { color: var(--text); }

.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.chip {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---------- Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.cert-card {
  padding: 2.2rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-1);
  text-align: center;
  transition: border-color var(--t-med), transform var(--t-med);
}
.cert-card:hover { border-color: var(--gold-deep); transform: translateY(-4px); }
.cert-card svg { width: 34px; height: 34px; color: var(--gold); margin-bottom: 1rem; }
.cert-card h4 { font-size: 1rem; line-height: 1.4; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(ellipse 70% 120% at 50% 120%, rgba(201,161,92,0.22), transparent 55%),
    var(--bg-1);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.cta-band h2 { max-width: 20ch; margin-inline: auto; }
.cta-band p { color: var(--text-dim); max-width: 48ch; margin: 1.2rem auto 2rem; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.info-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.info-card .ic {
  flex: none;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--gold);
  background: var(--bg-2);
}
.info-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.info-card p, .info-card a { color: var(--text-dim); font-size: 0.95rem; }
.info-card a:hover { color: var(--gold); }

/* WhatsApp QR card */
.qr-card {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.qr-card:hover { border-color: var(--gold-deep); transform: translateY(-3px); }
.qr-card img {
  width: 132px;
  flex: none;
  border-radius: 8px;
}
.qr-copy h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.qr-copy p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; }

@media (max-width: 480px) {
  .qr-card { flex-direction: column; text-align: center; }
}

.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input, .field select, .field textarea {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,161,92,0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a8a29a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-note { margin-top: 1rem; font-size: 0.8rem; color: var(--text-faint); }
.form .btn { margin-top: 1.4rem; width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.footer {
  background: #08090b;
  border-top: 1px solid var(--line);
  padding-top: clamp(4rem, 8vw, 6rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer h5 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.3rem;
  font-family: var(--font-body);
  font-weight: 500;
}
.footer-links { display: grid; gap: 0.7rem; }
.footer-links a { color: var(--text-dim); font-size: 0.92rem; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--gold-bright); }
.footer-brand p { color: var(--text-dim); font-size: 0.92rem; max-width: 34ch; margin-top: 1.2rem; }
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233,224,205,0.16);
  user-select: none;
  letter-spacing: 0.02em;
  margin-top: 2rem;
  overflow: hidden;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .lang-switch, .nav-cta { display: none; }
  .nav-toggle { display: block; width: 44px; height: 44px; position: relative; z-index: 1001; }
  .nav-toggle span {
    display: block;
    width: 24px; height: 1.5px;
    background: var(--text);
    margin: 6px auto;
    transition: all var(--t-fast);
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .split, .prod-feature { grid-template-columns: 1fr; }
  .prod-feature:nth-child(even) .split-media { order: 0; }
  .prod-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
