/* ==========================================================================
   ShermGlobal LLC — Premium B2B Wholesale Website
   Global Stylesheet
   Palette: White / Corporate Blue / Dark Gray
   ========================================================================== */

:root {
  --navy: #0f2a43;
  --navy-2: #14375a;
  --blue: #1d6fb8;
  --blue-light: #2f8fe0;
  --accent: #0ea5e9;
  --gray-900: #1f2933;
  --gray-700: #3b4754;
  --gray-500: #6b7683;
  --gray-300: #cbd2da;
  --gray-100: #eef2f6;
  --gray-50: #f7f9fb;
  --white: #ffffff;
  --success: #1f9d55;
  --shadow-sm: 0 1px 3px rgba(15, 42, 67, .08);
  --shadow: 0 8px 30px rgba(15, 42, 67, .10);
  --shadow-lg: 0 18px 50px rgba(15, 42, 67, .16);
  --radius: 12px;
  --radius-lg: 18px;
  --maxw: 1180px;
  --transition: .25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-700);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.bg-gray { background: var(--gray-50); }
.bg-navy { background: var(--navy); color: var(--gray-100); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--gray-500); max-width: 720px; }
.text-center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.bg-navy .eyebrow { color: var(--blue-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 8px; cursor: pointer; border: 2px solid transparent;
  transition: all var(--transition); text-align: center;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(29,111,184,.28); }
.btn--primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,42,67,.3); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--gray-300); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); font-size: 1.28rem; letter-spacing: -.02em; }
.brand:hover { color: var(--navy); }
.brand__mark {
  width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff; font-weight: 800; font-size: 1.15rem; box-shadow: var(--shadow-sm);
}
.brand__mark span { transform: translateY(-1px); }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav__links a {
  color: var(--gray-700); font-weight: 500; font-size: .97rem; padding: 9px 14px; border-radius: 7px;
}
.nav__links a:hover { color: var(--navy); background: var(--gray-100); }
.nav__links a.active { color: var(--blue); font-weight: 600; }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: var(--transition); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 120px 0 110px; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11,30,50,.90) 0%, rgba(15,42,67,.72) 48%, rgba(29,111,184,.42) 100%),
    url('../images/hero-warehouse.svg') center/cover no-repeat, var(--navy);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { color: #e6eef6; font-size: 1.25rem; max-width: 620px; margin: 22px 0 34px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.hero__stat .num { font-size: 2.2rem; font-weight: 800; color: #fff; }
.hero__stat .lbl { font-size: .9rem; color: #b9c9d8; letter-spacing: .02em; }

/* Page banner (interior pages) */
.page-banner {
  position: relative; color: #fff; padding: 88px 0 76px;
  background: linear-gradient(120deg, rgba(11,30,50,.94), rgba(29,111,184,.78));
}
.page-banner h1 { color: #fff; }
.page-banner p { color: #dbe6f0; max-width: 640px; margin-top: 12px; font-size: 1.12rem; }
.breadcrumb { font-size: .85rem; color: #a9bccd; margin-bottom: 16px; }
.breadcrumb a { color: #cfe0ee; }

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

.card {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, #e8f2fb, #d3e7f8); color: var(--blue);
}
.card__icon svg { width: 27px; height: 27px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--gray-500); margin-bottom: 0; font-size: .97rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img, .split__media { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--gray-100); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.checklist { list-style: none; margin-top: 18px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--gray-700); }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stats-band .num { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; }
.stats-band .lbl { color: #b9c9d8; font-size: .92rem; margin-top: 8px; }

/* ---------- Values / numbered ---------- */
.step-num {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-weight: 800;
  background: var(--navy); color: #fff; margin-bottom: 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%); color: #fff; text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe6f0; max-width: 620px; margin: 12px auto 28px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 4px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--gray-300);
  border-radius: 9px; background: #fff; color: var(--gray-900); transition: border var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,111,184,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--gray-500); margin-top: 6px; }

.info-list { list-style: none; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.info-list .ico {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: #e8f2fb; color: var(--blue);
}
.info-list .ico svg { width: 22px; height: 22px; }
.info-list .lbl { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); font-weight: 600; }
.info-list .val { color: var(--navy); font-weight: 600; font-size: 1.05rem; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 320px;
  background: linear-gradient(135deg, #dfeaf3, #cadcec); display: grid; place-items: center; color: var(--gray-500); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.prose h3 { margin: 26px 0 8px; }
.prose p, .prose li { color: var(--gray-700); }
.prose ul { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { color: var(--gray-500); font-size: .95rem; margin-bottom: 24px; }

/* ---------- Business credentials ---------- */
.cred {
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow-sm); text-align: center; transition: transform var(--transition), box-shadow var(--transition);
}
.cred:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cred__badge {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, #e8f2fb, #d3e7f8); color: var(--blue);
}
.cred__badge svg { width: 28px; height: 28px; }
.cred h3 { font-size: 1.08rem; margin-bottom: 6px; }
.cred p { color: var(--gray-500); font-size: .9rem; margin-bottom: 0; }
.bg-navy .cred { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.bg-navy .cred h3 { color: #fff; }
.bg-navy .cred p { color: #b9c9d8; }
.bg-navy .cred__badge { background: rgba(47,143,224,.18); color: #8fd0ff; }

/* ---------- Logos / trust row ---------- */
.trust-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: center; opacity: .85; }
.trust-row .pill {
  font-weight: 700; color: var(--gray-500); letter-spacing: .04em; font-size: 1.05rem;
  display: flex; align-items: center; gap: 10px;
}
.trust-row .pill svg { width: 22px; height: 22px; color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c9d8; padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #b9c9d8; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: #90a6b8; font-size: .95rem; max-width: 300px; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 12px; font-size: .95rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-light); flex: 0 0 18px; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 46px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #7f97aa;
}
.footer-bottom a { color: #7f97aa; }

/* ---------- Reveal animation (progressive enhancement) ---------- */
/* Content is fully visible by default; only hidden once JS is confirmed active. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .grid--3 { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-band { grid-template-columns: repeat(2,1fr); gap: 30px; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 12px 20px 20px; box-shadow: var(--shadow); transform: translateY(-140%);
    transition: transform .3s ease; border-bottom: 1px solid var(--gray-100);
  }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 13px 8px; border-radius: 6px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__toggle { display: block; }
  .section { padding: 60px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .hero { padding: 84px 0 74px; }
}
