/* ==========================================================================
   China Ship Supply Company Limited — hcsupply.cn
   Design system
   ========================================================================== */

:root {
  --navy-950: #040e1b;
  --navy-900: #071628;
  --navy-850: #0a1e35;
  --navy-800: #0d2843;
  --navy-700: #14395c;
  --navy-600: #1d4d78;
  --blue-500: #2e8fc4;
  --blue-400: #4aa8dc;
  --blue-200: #a9d6ee;
  --gold: #c9963f;
  --gold-300: #e6c07c;
  --ink: #0b1b2b;
  --body: #3d5266;
  --muted: #7b8fa3;
  --line: #e2e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-mid: #eef4f9;

  --font-display: "Barlow Condensed", "Helvetica Neue", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --wrap: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 43, 0.06), 0 4px 14px rgba(11, 27, 43, 0.05);
  --shadow-md: 0 10px 34px rgba(11, 27, 43, 0.1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }

::selection { background: var(--blue-500); color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy-900); color: #b9cbdb; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold);
}
.section--dark .eyebrow { color: var(--blue-400); }

.h-xl { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
.h-lg { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.lead { font-size: 1.09rem; color: var(--body); max-width: 62ch; }
.section--dark .lead { color: #a8bed2; }
.muted { color: var(--muted); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: #23180a; box-shadow: 0 8px 24px rgba(201, 150, 63, 0.28); }
.btn--primary:hover { background: var(--gold-300); }
.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-500); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s, backdrop-filter 0.35s;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 78px;
}
.header.is-stuck {
  background: rgba(7, 22, 40, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.25);
}
.header.is-stuck .header__inner { height: 66px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-850));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--gold-300);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  text-transform: uppercase;
}
.brand__sub {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-200);
  opacity: 0.85;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__contact {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600; color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background 0.25s, border-color 0.25s;
}
.header__contact:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold); }

/* Language switch */
.lang { display: flex; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; overflow: hidden; }
.lang button {
  border: 0; background: transparent; color: rgba(255, 255, 255, 0.7);
  padding: 8px 13px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.lang button.is-on { background: var(--gold); color: #23180a; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: transparent; }
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../img/hero.jpg") center 40% / cover no-repeat;
  transform: scale(1.04);
  opacity: 0.5;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(4, 14, 27, 0.97) 0%, rgba(4, 14, 27, 0.86) 42%, rgba(4, 14, 27, 0.5) 100%),
    radial-gradient(120% 80% at 100% 100%, rgba(46, 143, 196, 0.28), transparent 60%);
}
.hero > .wrap { position: relative; z-index: 2; }
.hero__inner { max-width: 800px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-300);
}
.hero__sub { font-size: 1.12rem; color: #b7cbdd; max-width: 60ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cfe0ee;
  backdrop-filter: blur(6px);
}
.chip--accent { border-color: rgba(201, 150, 63, 0.5); color: var(--gold-300); }

/* ---------- Stat bar ---------- */
.stats {
  background: var(--navy-850);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 26%; bottom: 26%;
  width: 1px; background: rgba(255, 255, 255, 0.1);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
}
.stat__num span { color: var(--gold); }
.stat__label { font-size: 0.86rem; color: #8fa9c1; margin-top: 8px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about__media .m1 { width: 100%; }
.about__media .m2 {
  position: absolute; width: 46%; right: -22px; bottom: -42px;
  border: 6px solid #fff; border-radius: var(--radius);
}
.about__badge {
  position: absolute; left: -26px; top: -26px;
  background: var(--gold); color: #23180a;
  border-radius: var(--radius);
  padding: 16px 20px; text-align: center;
  box-shadow: var(--shadow-md);
}
.about__badge b { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.about__badge small { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }

.pillars { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.pillars li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.pillars svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--blue-500); }
.pillars b { display: block; color: var(--ink); font-size: 0.96rem; }
.pillars p { margin: 2px 0 0; font-size: 0.92rem; }

/* ---------- Why choose us ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cfe0ee; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 46px; height: 46px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--bg-mid); color: var(--navy-700);
  margin-bottom: 20px;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { font-size: 0.93rem; margin: 0; }
.card__k {
  position: absolute; right: 20px; top: 16px;
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600;
  color: var(--bg-mid); line-height: 1;
}

/* ---------- Expertise ---------- */
.exp { display: grid; gap: 22px; }
.exp__row {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.exp__row:nth-child(even) .exp__media { order: 2; }
.exp__media { position: relative; min-height: 320px; background: var(--navy-850); }
.exp__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.exp__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 14, 27, 0.1), rgba(4, 14, 27, 0.55));
}
.exp__tag {
  position: absolute; z-index: 2; left: 22px; top: 22px;
  font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: #fff;
  background: rgba(7, 22, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 7px 14px; border-radius: 999px;
}
.exp__body { padding: 40px 42px; }
.exp__body h3 { font-size: 1.42rem; }
.exp__body > p { font-size: 0.96rem; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.brands span {
  font-size: 0.79rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 6px 12px; border-radius: 6px;
  background: var(--bg-mid); color: var(--navy-700);
  border: 1px solid #dbe8f2;
}
.spec { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.spec li { position: relative; font-size: 0.88rem; padding-left: 16px; }
.spec li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-400); }
.exp__note {
  margin-top: 22px; padding: 14px 18px;
  background: #fdf8ef; border: 1px solid #f0dfc0; border-radius: var(--radius-sm);
  font-size: 0.9rem; color: #6b5427;
}

/* ---------- Scope / catalogue ---------- */
.scope__bar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  margin-bottom: 26px;
}
.search {
  position: relative; flex: 1 1 320px; max-width: 460px;
}
.search input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit; font-size: 0.94rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(46, 143, 196, 0.13); }
.search svg { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.scope__count { font-size: 0.88rem; color: var(--muted); }
.scope__count b { color: var(--blue-500); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filters button {
  border: 1px solid var(--line); background: #fff; color: var(--body);
  padding: 9px 17px; border-radius: 999px; font-size: 0.86rem; font-weight: 500;
  transition: all 0.2s var(--ease);
}
.filters button:hover { border-color: var(--blue-400); color: var(--blue-500); }
.filters button.is-on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.filters button i { font-style: normal; opacity: 0.6; margin-left: 6px; font-size: 0.78rem; }

.scope__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.item:hover { border-color: var(--blue-400); box-shadow: var(--shadow-sm); transform: translateX(3px); }
.item__no {
  font-family: var(--font-display);
  font-size: 1.24rem; font-weight: 600; line-height: 1.2;
  color: var(--blue-500);
  border-right: 1px solid var(--line);
}
.item__name { color: var(--ink); font-weight: 600; font-size: 0.98rem; margin-bottom: 4px; }
.item__detail { font-size: 0.88rem; color: var(--body); margin: 0 0 8px; }
.item__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.item__meta span {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 5px;
  background: var(--bg-mid); color: var(--navy-700);
}
.item__meta span.is-service { background: #f4f0e6; color: #8a6c22; }
.item__meta em { font-style: normal; font-size: 0.8rem; color: var(--muted); }
.scope__empty, .scope__more {
  grid-column: 1 / -1; text-align: center; padding: 30px; color: var(--muted);
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-sm);
}
.scope__more button { margin-top: 12px; }

/* ---------- Commitment ---------- */
.commit { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 64px; align-items: start; }
.commit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.commit__item { display: flex; gap: 14px; }
.commit__item svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--gold); }
.commit__item b { display: block; color: #fff; font-size: 0.98rem; margin-bottom: 2px; }
.commit__item p { font-size: 0.9rem; margin: 0; color: #9db4c9; }
.quote {
  border-left: 3px solid var(--gold);
  padding: 6px 0 6px 24px;
  font-size: 1.14rem;
  line-height: 1.65;
  color: #d6e4f0;
  font-style: italic;
  margin: 34px 0 0;
}
.quote cite { display: block; margin-top: 14px; font-style: normal; font-size: 0.86rem; color: var(--blue-200); letter-spacing: 0.06em; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 60px; align-items: start; }
.info { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.info li { display: flex; gap: 15px; }
.info svg { width: 19px; height: 19px; flex: none; margin-top: 5px; color: var(--blue-500); }
.info b { display: block; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info a, .info p { color: var(--ink); font-size: 1rem; margin: 0; font-weight: 500; }
.info a:hover { color: var(--blue-500); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.form fieldset { border: 0; padding: 0; margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy-700); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 0.95rem; color: var(--ink); background: var(--bg-soft);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: #fff; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(46, 143, 196, 0.12);
}
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 6px; }
.form__hint { font-size: 0.82rem; color: var(--muted); margin: 0; }
.form__ok {
  display: none; margin-top: 16px; padding: 14px 18px;
  background: #eef7f1; border: 1px solid #c7e3d2; border-radius: var(--radius-sm);
  color: #256b45; font-size: 0.92rem;
}
.form__ok.is-on { display: block; }
.form__ok.is-err { background: #fdeeee; border-color: #f3caca; color: #a13333; }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #90a6bc; padding: 70px 0 0; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold-300); }
.footer__brand p { max-width: 40ch; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: space-between; font-size: 0.84rem; color: #6d8399;
}

/* ---------- Floating CTA ---------- */
.float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.float a {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--navy-800);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.float a:hover { transform: translateY(-3px) scale(1.05); background: var(--navy-800); color: #fff; }
.float a.is-wa { background: #25d366; border-color: #25d366; color: #fff; }
.float svg { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 80px; }
  .about__media .m2 { right: 0; }
  .commit { grid-template-columns: 1fr; gap: 44px; }
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .header__contact { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; inset: 66px 0 auto 0;
    background: var(--navy-900);
    padding: 18px 24px 26px;
    gap: 2px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav.is-open a { padding: 13px 6px; font-size: 1rem; }
  .nav.is-open a.is-active::after { display: none; }
  .exp__row { grid-template-columns: 1fr; }
  .exp__row:nth-child(even) .exp__media { order: 0; }
  .exp__media { min-height: 230px; }
  .exp__body { padding: 30px 26px; }
  .scope__grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 620px) {
  .cards, .commit__list, .form__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px; }
  .stat__num { font-size: 2.1rem; }
  .stat:nth-child(3)::before { display: block; }
  .stat:nth-child(odd)::before { display: none; }
  .about__badge { left: 0; top: -20px; padding: 12px 16px; }
  .about__media .m2 { display: none; }
  .form { padding: 24px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { padding-top: 120px; }
  .float { right: 14px; bottom: 14px; }
  .float a { width: 46px; height: 46px; }
}

@media print {
  .header, .float, .hero__bg, .scope__bar, .filters { display: none !important; }
  body { color: #000; }
  .item { break-inside: avoid; }
}
