/* ============================================================
   SBWL — Strategic Business Workforce & Logistics
   Identity: Matte white & gold
   Matte #FAF8F3 · Gold #D3C08E→#A18C5C→#766849 · Ink #221E18
   ============================================================ */

:root {
  /* Matte whites */
  --matte-0:   #fdfcfa;
  --matte-50:  #faf8f3;
  --matte-100: #f3efe6;
  --matte-200: #e9e3d4;
  --card:      #ffffff;

  /* Warm inks */
  --ink-950: #14110d;
  --ink-900: #1a1611;
  --ink-800: #221e18;
  --ink-600: #5c5546;
  --ink-400: #8a8272;

  /* Gold */
  --gold-100: #f0e9d8;
  --gold-300: #d3c08e;
  --gold-400: #bca778;
  --gold-500: #a18c5c;
  --gold-600: #8a7549;
  --gold-700: #766849;

  --line-warm: rgba(161, 140, 92, 0.28);
  --line-soft: #e9e3d4;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px rgba(90, 75, 45, 0.08);
  --shadow-card-hover: 0 18px 44px rgba(90, 75, 45, 0.14);

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --sidebar-w: 276px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--matte-50);
  color: var(--ink-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-400) 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  color: var(--ink-950);
  box-shadow: 0 8px 24px rgba(161, 140, 92, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(161, 140, 92, 0.45);
}

.btn-outline {
  border-color: rgba(34, 30, 24, 0.35);
  color: var(--ink-800);
}
.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-600);
  transform: translateY(-2px);
}

.btn-block { width: 100%; text-align: center; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Sidebar navigation ---------- */
.page-main {
  margin-left: var(--sidebar-w);
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
section[id] { scroll-margin-top: 24px; }

/* Mobile top bar (hidden on desktop) */
.mobile-topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  height: 64px;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-warm);
  transition: box-shadow 0.3s ease;
}
.mobile-topbar.scrolled { box-shadow: 0 10px 28px rgba(90, 75, 45, 0.14); }
.topbar-logo { width: 122px; }

.menu-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-warm);
  background: rgba(161, 140, 92, 0.08);
  color: var(--gold-600);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.menu-btn:hover { background: rgba(161, 140, 92, 0.16); border-color: var(--gold-400); }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .icon-close { display: none; }
.menu-btn.open .icon-menu { display: none; }
.menu-btn.open .icon-close { display: block; }

.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(20, 17, 13, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.sidebar-overlay.show { opacity: 1; visibility: visible; }

/* The sidebar itself */
.sidebar {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 200;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  padding: 28px 20px 22px;
  background: linear-gradient(180deg, #fdfcfa 0%, #f7f4ec 100%);
  border-right: 1px solid var(--line-warm);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sidebar-brand { display: block; margin-bottom: 36px; }
.sidebar-brand img { width: 148px; }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  flex: 1 1 auto;
}
.side-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #57503f;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease;
}
.side-link svg {
  width: 19px; height: 19px;
  flex: 0 0 auto;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}
.side-link:hover { background: rgba(161, 140, 92, 0.12); color: var(--ink-800); }
.side-link.active {
  background: linear-gradient(90deg, rgba(188, 167, 120, 0.24), rgba(188, 167, 120, 0.08));
  color: var(--gold-700);
}
.side-link.active svg { opacity: 1; }
.side-link.active::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 22%;
  bottom: 22%;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold-500), var(--gold-600));
}

.sidebar-footer {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(161, 140, 92, 0.22);
}
.sidebar-contact { display: grid; gap: 9px; margin-bottom: 18px; }
.sidebar-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--ink-400);
  transition: color 0.25s ease;
}
.sidebar-contact a:hover { color: var(--gold-600); }
.sidebar-contact svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--gold-500); }
.sidebar-cta { width: 100%; text-align: center; padding: 13px 24px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(188, 167, 120, 0.2), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(233, 227, 212, 0.9), transparent 60%),
    var(--matte-50);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(161, 140, 92, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161, 140, 92, 0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 50% 30%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, black 30%, transparent 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -220px; right: -160px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(188, 167, 120, 0.28), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 84px;
}

.hero-mark img {
  width: clamp(200px, 24vw, 280px);
  filter: drop-shadow(0 24px 50px rgba(161, 140, 92, 0.35));
}

.eyebrow,
.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-800);
}
.gold-text {
  background: linear-gradient(105deg, var(--gold-500) 0%, var(--gold-600) 60%, var(--gold-700) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin-top: 18px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.hero-tagline .sep { color: var(--gold-500); margin: 0 10px; }

.hero-sub {
  margin-top: 20px;
  max-width: 560px;
  color: var(--ink-600);
  font-size: 1.06rem;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Stats */
.hero-stats {
  position: relative;
  border-top: 1px solid var(--line-warm);
  background: var(--matte-0);
  padding: 34px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, var(--gold-500), var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--ink-400);
  line-height: 1.45;
}

/* ---------- Generic sections ---------- */
.section { padding: 96px 0; }

.section-light { background: var(--card); color: var(--ink-800); }
.section-tint { background: var(--matte-100); }
.section-matte { background: var(--matte-50); }
.section-navy,
.section-dark {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(188, 167, 120, 0.1), transparent 55%),
    var(--ink-900);
  color: #f5f1e8;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.section-light .section-title,
.section-matte .section-title { color: var(--ink-800); }
.section-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--ink-400);
}
.section-navy .section-sub,
.section-dark .section-sub { color: rgba(245, 241, 232, 0.7); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-copy .section-title { margin-bottom: 24px; }
.prose p { margin-bottom: 18px; color: var(--ink-600); font-size: 1.02rem; }
.prose strong { color: var(--ink-900); }

.about-goal {
  position: relative;
  background: linear-gradient(140deg, #cbb680 0%, var(--gold-500) 55%, var(--gold-600) 100%);
  border-radius: var(--radius-lg);
  padding: 40px 36px 48px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(161, 140, 92, 0.35);
}
.about-goal h3 {
  color: var(--ink-950);
  font-size: 1.15rem;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.about-goal p { color: rgba(20, 17, 13, 0.82); }
.goal-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(20, 17, 13, 0.14);
  color: var(--ink-900);
  margin-bottom: 20px;
}
.goal-icon svg { width: 26px; height: 26px; }
.goal-mark {
  position: absolute;
  right: -18px; bottom: -20px;
  opacity: 0.16;
  pointer-events: none;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-300);
  box-shadow: var(--shadow-card-hover);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-100), rgba(188, 167, 120, 0.35));
  border: 1px solid rgba(161, 140, 92, 0.35);
  color: var(--gold-600);
  margin-bottom: 24px;
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
  color: var(--ink-800);
  letter-spacing: 0.01em;
}

.service-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--ink-600);
  font-size: 0.98rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23a18c5c" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5 9.5 18 20 6.5"/></svg>') center/contain no-repeat;
}

/* ---------- Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-300);
  box-shadow: var(--shadow-card-hover);
}
.product-card:hover::before { opacity: 1; }

.product-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.product-monogram {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: var(--ink-950);
  font-size: 1.55rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(161, 140, 92, 0.35);
}
.product-card h3 {
  font-size: 1.35rem;
  color: var(--ink-800);
  letter-spacing: 0.01em;
}
.product-tag {
  margin-top: 3px;
  color: var(--gold-700);
  font-weight: 600;
  font-size: 0.95rem;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--gold-600);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}
.product-link svg {
  width: 17px; height: 17px;
  transition: transform 0.25s ease;
}
.product-link:hover { color: var(--gold-700); }
.product-link:hover svg { transform: translateX(4px); }

/* ---------- Approach steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.step-num {
  display: inline-block;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--gold-500), var(--gold-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 1.3rem;
  color: var(--ink-800);
  margin-bottom: 12px;
}
.step p { color: var(--ink-600); font-size: 0.98rem; }

/* ---------- Leadership ---------- */
.leader-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 26px;
  align-items: stretch;
}
.leader-card {
  background: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  color: #f5f1e8;
  border-top: 3px solid var(--gold-500);
  box-shadow: 0 16px 40px rgba(20, 17, 13, 0.25);
}
.leader-avatar {
  width: 84px; height: 84px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: var(--ink-950);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  box-shadow: 0 12px 28px rgba(161, 140, 92, 0.4);
}
.leader-card h3 { font-size: 1.5rem; letter-spacing: 0.01em; color: #f7f3ea; }
.leader-role {
  margin-top: 6px;
  color: var(--gold-300);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.leader-bio {
  margin-top: 18px;
  color: rgba(247, 243, 234, 0.78);
  font-size: 0.98rem;
}

.erp-block { margin-top: 28px; }
.erp-block h4,
.leader-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.erp-block h4 { color: var(--gold-300); }
.erp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.erp-chips li {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(211, 192, 142, 0.45);
  background: rgba(211, 192, 142, 0.1);
  font-size: 0.86rem;
  font-weight: 600;
  color: #e8d9ae;
  letter-spacing: 0.02em;
}

.leader-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.leader-col {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}
.leader-col h4 { color: var(--ink-800); }
.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 13px;
  color: var(--ink-600);
  font-size: 0.96rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23a18c5c" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M4 12.5 9.5 18 20 6.5"/></svg>') center/contain no-repeat;
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.why-card {
  position: relative;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(211, 192, 142, 0.22);
  border-radius: var(--radius-lg);
  padding: 38px 34px 34px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(211, 192, 142, 0.5);
  background: rgba(255, 255, 255, 0.06);
}
.why-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.why-card h3 {
  font-size: 1.18rem;
  line-height: 1.4;
  color: #f7f3ea;
  margin-bottom: 12px;
}
.why-card p { color: rgba(245, 241, 232, 0.7); font-size: 0.97rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-sub {
  margin-top: 18px;
  color: var(--ink-600);
  max-width: 480px;
}

.contact-list { margin-top: 36px; display: grid; gap: 14px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.contact-item:hover {
  border-color: var(--gold-400);
  transform: translateX(6px);
}
.contact-icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--gold-100);
  border: 1px solid rgba(161, 140, 92, 0.35);
  color: var(--gold-600);
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-text { display: flex; flex-direction: column; line-height: 1.35; }
.contact-text small {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-400);
}
.contact-text strong { font-size: 1.02rem; font-weight: 600; color: var(--ink-800); }

/* Form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}
.contact-form h3 {
  font-size: 1.35rem;
  margin-bottom: 26px;
  color: var(--ink-800);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: var(--matte-50);
  color: var(--ink-800);
  font-family: inherit;
  font-size: 0.98rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  resize: vertical;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #a79e8b; }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--card);
  box-shadow: 0 0 0 3px rgba(188, 167, 120, 0.25);
}
.form-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--ink-400);
  line-height: 1.5;
}
.form-note strong { color: var(--gold-600); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-950);
  border-top: 1px solid rgba(211, 192, 142, 0.2);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img { width: 52px; }
.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-tag {
  margin-top: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.6);
}
.footer-desc {
  margin-top: 14px;
  max-width: 320px;
  font-size: 0.9rem;
  color: rgba(245, 241, 232, 0.55);
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a {
  font-size: 0.93rem;
  color: rgba(245, 241, 232, 0.68);
  transition: color 0.25s ease;
}
.footer-col a:hover { color: var(--gold-300); }

.footer-bottom {
  border-top: 1px solid rgba(211, 192, 142, 0.14);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(245, 241, 232, 0.45);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-mark { display: flex; justify-content: center; }
  .hero-mark img { width: 200px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .mobile-topbar { display: flex; }
  .page-main { margin-left: 0; padding-top: 64px; }

  /* Sidebar becomes a slide-in drawer */
  .sidebar {
    width: min(320px, 86vw);
    transform: translateX(-105%);
    box-shadow: 30px 0 60px rgba(20, 17, 13, 0.3);
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.show { opacity: 1; visibility: visible; }
  section[id] { scroll-margin-top: 84px; }

  .services-grid,
  .products-grid,
  .steps-grid,
  .why-grid,
  .leader-cols { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
}

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-num { font-size: 1.7rem; }
  .hero { padding-top: 48px; }
  .hero-inner { padding-bottom: 56px; }
  .hero-tagline { letter-spacing: 0.08em; }
  .hero-tagline .sep { margin: 0 6px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form { padding: 32px 24px; }
  .leader-card { padding: 36px 28px; }
}

/* ---------- Sidebar hoverdock (desktop) ----------
   Collapses to a slim icon rail; hover / keyboard-focus expands it,
   pushing the page content aside. Mobile keeps the tap drawer. */
@media (min-width: 821px) {
  :root { --sidebar-rail: 80px; }

  .sidebar {
    width: var(--sidebar-rail);
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .sidebar:hover,
  .sidebar:focus-within {
    width: var(--sidebar-w);
    box-shadow: 24px 0 48px rgba(90, 75, 45, 0.18);
  }
  .sidebar:hover ~ .page-main,
  .sidebar:focus-within ~ .page-main {
    margin-left: var(--sidebar-w);
  }

  /* Brand: mark when collapsed, full lockup when expanded */
  .sidebar-brand {
    position: relative;
    display: grid;
    place-items: center;
    height: 46px;
    margin-bottom: 30px;
  }
  .sidebar-brand img {
    position: absolute;
    transition: opacity 0.2s ease;
  }
  .brand-mark { width: 46px; height: 45px; opacity: 1; }
  .brand-lockup { width: 148px; height: 34px; opacity: 0; }
  .sidebar:hover .brand-mark,
  .sidebar:focus-within .brand-mark { opacity: 0; }
  .sidebar:hover .brand-lockup,
  .sidebar:focus-within .brand-lockup { opacity: 1; }

  /* Labels hidden on the rail, revealed on hover */
  .side-link {
    padding-left: 10px;
    transition: background 0.25s ease, color 0.25s ease, padding-left 0.3s ease;
  }
  .sidebar:hover .side-link,
  .sidebar:focus-within .side-link { padding-left: 14px; }
  .side-link span { opacity: 0; transition: opacity 0.18s ease; }
  .sidebar:hover .side-link span,
  .sidebar:focus-within .side-link span {
    opacity: 1;
    transition-delay: 0.07s;
  }

  /* Bottom block hidden on the rail */
  .sidebar-footer {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
  }
  .sidebar:hover .sidebar-footer,
  .sidebar:focus-within .sidebar-footer {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0.07s;
  }
}
