/* ==========================================================================
   Ipeleng Rasedimo Trading — Global Stylesheet
   ========================================================================== */

:root {
  /* Brand palette */
  --navy: #0c1f33;
  --navy-soft: #14304d;
  --amber: #f0a500;
  --amber-dark: #c98600;
  --teal: #14907e;
  --teal-soft: #e6f4f1;

  /* Neutrals */
  --white: #ffffff;
  --paper: #f5f7fa;
  --line: #e3e9f0;
  --ink: #16283d;
  --muted: #5c6b7e;

  /* Layout */
  --wrap: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 4px 14px rgba(12, 31, 51, .06);
  --shadow: 0 18px 44px rgba(12, 31, 51, .12);
  --shadow-lg: 0 30px 70px rgba(12, 31, 51, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

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

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #cbd8e6; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--amber);
}
.section--navy .eyebrow { color: var(--amber); }

.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #a9bcd0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 60px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--amber); color: var(--navy); box-shadow: 0 10px 26px rgba(240,165,0,.34); }
.btn--primary:hover { background: #ffb51c; box-shadow: 0 16px 32px rgba(240,165,0,.42); }

.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-soft); box-shadow: var(--shadow); }

.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn--outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn--outline:hover { border-color: var(--navy); }

.btn--sm { padding: 10px 20px; font-size: .88rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #9fb3c8;
  font-size: .83rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar__list { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__list a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__list a:hover { color: var(--amber); }
.topbar svg { width: 15px; height: 15px; flex: none; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 46px; height: 46px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: var(--navy);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.03em;
}
.brand__name { display: block; font-weight: 800; font-size: 1.06rem; color: var(--navy); line-height: 1.15; }
.brand__tag { display: block; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--navy); background: var(--paper); }
.nav a.active { color: var(--navy); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
}

.header__cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%; 
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; left: 0; transform: none; top: -6px; }
.nav-toggle span::after { content: ""; left: 0; transform: none; top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7,20,34,.94) 0%, rgba(9,26,44,.82) 44%, rgba(12,31,51,.52) 100%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.hero__inner { max-width: 720px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 22px;
}
.hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(240,165,0,.28); }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p { font-size: 1.12rem; color: #c3d3e4; max-width: 56ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
}
.hero__strip div {
  background: rgba(9,24,40,.72);
  backdrop-filter: blur(6px);
  padding: 20px 22px;
}
.hero__strip strong { display: block; font-size: 1.5rem; color: var(--amber); font-weight: 800; }
.hero__strip span { font-size: .85rem; color: #b6c7d9; }

/* ---------- Page header (interior pages) ---------- */
.pagehead {
  position: relative;
  padding: 82px 0;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.pagehead::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 82% 18%, rgba(240,165,0,.22), transparent 46%),
                    radial-gradient(circle at 8% 88%, rgba(20,144,126,.24), transparent 42%);
}
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead h1 { color: var(--white); margin-bottom: 12px; }
.pagehead p { color: #b6c7d9; max-width: 60ch; margin: 0; }
.crumbs { font-size: .85rem; color: #8fa3b8; margin-bottom: 14px; }
.crumbs a:hover { color: var(--amber); }
.crumbs span { margin: 0 8px; opacity: .6; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(9,24,40,.72));
}
.card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card__body p { color: var(--muted); margin-bottom: 18px; }
.card__icon {
  position: absolute;
  left: 22px; bottom: -26px;
  z-index: 2;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--amber);
  color: var(--navy);
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
}
.card__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 50px;
  background: rgba(255,255,255,.92);
  color: var(--navy);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.card .list { margin-top: auto; }
.card .list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .95rem;
}
.card .list li::before {
  content: "";
  position: absolute;
  left: 0; top: .58em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* Feature (no media) cards */
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.feature h3 { margin-bottom: .45em; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

.section--navy .feature {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.12);
}
.section--navy .feature__icon { background: rgba(240,165,0,.16); color: var(--amber); }
.section--navy .feature p { color: #a9bcd0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media .badge {
  position: absolute;
  right: -18px; bottom: -18px;
  background: var(--amber);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.1;
}
.split__media .badge strong { display: block; font-size: 1.9rem; font-weight: 800; }
.split__media .badge span { font-size: .78rem; font-weight: 700; letter-spacing: .04em; }

.ticks { margin: 6px 0 26px; }
.ticks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--muted);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-soft);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 7px; top: 7px;
  width: 9px; height: 5px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.section--navy .ticks li { color: #b6c7d9; }
.section--navy .ticks li::before { background: rgba(20,144,126,.22); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat strong i { font-style: normal; color: var(--amber); }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- CTA band ---------- */
.ctaband {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 56px 54px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 60%, #103a52 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.ctaband::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,165,0,.28), transparent 68%);
}
.ctaband h2 { color: var(--white); margin-bottom: 8px; }
.ctaband p { color: #b6c7d9; margin: 0; max-width: 52ch; }
.ctaband__actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 46px; align-items: start; }

.info-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list__icon {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
}
.info-list strong { display: block; color: var(--navy); font-size: .95rem; }
.info-list span { color: var(--muted); font-size: .95rem; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(240,165,0,.16);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d64545; background: #fdf3f3; }
.field__error { display: none; color: #d64545; font-size: .8rem; margin-top: 6px; font-weight: 600; }
.field.has-error .field__error { display: block; }

.form__note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.form__success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: var(--teal-soft);
  border: 1px solid rgba(20,144,126,.3);
  color: #0d6b5d;
  font-weight: 600;
  font-size: .93rem;
}
.form__success.is-visible { display: flex; }

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
  min-height: 280px;
  background: var(--paper);
}
.map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; filter: grayscale(.2); }

/* ---------- Stationery sample catalogue ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.product-card:nth-child(3n + 1) .product-card__mark { background: #fff3cc; color: #956100; }
.product-card:nth-child(3n + 2) .product-card__mark { background: #e9efff; color: #294fb6; }
.product-card h3 { margin-bottom: 8px; }
.product-card p { color: var(--muted); margin: 0; font-size: .93rem; }
.product-note { margin-top: 22px; color: var(--muted); font-size: .9rem; }

/* ---------- Accordion (FAQ) ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
}
.faq__q:hover { background: var(--paper); }
.faq__q i { flex: none; transition: transform .3s var(--ease); color: var(--amber); font-style: normal; font-size: 1.4rem; line-height: 1; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9fb3c8; padding: 70px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 18px; letter-spacing: .01em; }
.footer a:hover { color: var(--amber); }
.footer__links li { margin-bottom: 11px; }
.footer__links a { transition: color .2s; }
.footer .brand__name { color: var(--white); }
.footer .brand__tag { color: #7f93a8; }
.footer__about p { margin: 18px 0 0; max-width: 34ch; }
.footer__contact li { display: flex; gap: 11px; margin-bottom: 13px; }
.footer__contact svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--amber); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: #7f93a8;
}

/* ---------- Back to top ---------- */
.totop {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: #ffb51c; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 18px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav.is-open { max-height: 460px; }
  .nav a { padding: 13px 14px; border-radius: 8px; }
  .nav a.active::after { left: 14px; right: auto; width: 22px; bottom: 8px; }
  .header { position: sticky; }
  .header .wrap { position: relative; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 66px 0; }
  .hero { min-height: auto; }
  .hero .wrap { padding-top: 66px; padding-bottom: 66px; }
  .hero__strip { grid-template-columns: 1fr; }
  .hero__strip div { padding: 16px 20px; }
  .stats { grid-template-columns: 1fr; }
  .ctaband { padding: 38px 28px; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .product-grid { grid-template-columns: 1fr; }
  .split__media .badge { right: 12px; bottom: 12px; }
  .topbar__list { gap: 14px; }
  .topbar .wrap { justify-content: center; padding-top: 8px; padding-bottom: 8px; }
}

/* ---------- Project Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease) .3s, box-shadow var(--ease) .3s;
}
.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.gallery__item figcaption {
  padding: 12px 16px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }
