/* ============================================
   KEMIST PHARMACEUTICALS — DESIGN SYSTEM v4
   Palette: Deep Navy · Sapphire Blue · Rich Maroon
   Professional, premium, modern healthcare
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Core Palette ── */
  --midnight:       hsl(222, 62%, 9%);    /* #081526 deepest navy */
  --navy:           hsl(220, 60%, 16%);   /* #102038 */
  --navy-mid:       hsl(218, 55%, 24%);   /* #1C3258 */
  --sapphire:       hsl(214, 76%, 42%);   /* #1873C0 */
  --sapphire-light: hsl(212, 80%, 56%);   /* #3D96E0 */
  --sapphire-pale:  hsl(212, 65%, 94%);   /* #EAF2FB */

  --maroon:         hsl(350, 68%, 28%);   /* #79101F deep maroon */
  --maroon-mid:     hsl(350, 64%, 38%);   /* #A2162A */
  --maroon-light:   hsl(350, 58%, 50%);   /* #C4324A */
  --maroon-pale:    hsl(350, 50%, 95%);   /* #FAF0F2 */

  /* ── Gradients ── */
  --grad-hero:      linear-gradient(145deg, var(--midnight) 0%, var(--navy) 50%, hsl(218,55%,20%) 100%);
  --grad-primary:   linear-gradient(135deg, var(--sapphire) 0%, var(--maroon-mid) 100%);
  --grad-maroon:    linear-gradient(135deg, var(--maroon) 0%, var(--maroon-mid) 100%);
  --grad-maroon-lt: linear-gradient(135deg, var(--maroon-mid) 0%, var(--maroon-light) 100%);
  --grad-navy:      linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  --grad-dark:      linear-gradient(160deg, var(--midnight) 0%, var(--navy) 60%, hsl(218,55%,16%) 100%);
  --grad-footer:    linear-gradient(160deg, hsl(222,62%,7%) 0%, hsl(220,60%,13%) 55%, hsl(218,55%,11%) 100%);

  /* ── Neutrals ── */
  --white:       #ffffff;
  --off-white:   #F5F6FA;
  --light-grey:  #EAEDF5;
  --border:      rgba(16, 32, 56, 0.10);
  --text:        #0C1930;
  --text-mid:    #2A3F6A;
  --text-light:  #576080;
  --text-muted:  #8A94B0;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm:     0 2px 10px rgba(8, 20, 40, 0.07);
  --shadow-md:     0 6px 26px rgba(8, 20, 40, 0.12);
  --shadow-lg:     0 18px 50px rgba(8, 20, 40, 0.18);
  --shadow-maroon: 0 6px 24px rgba(121, 16, 31, 0.35);
  --shadow-navy:   0 6px 24px rgba(24, 115, 192, 0.28);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:  1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.08rem; font-weight: 600; }
p  { color: var(--text-light); line-height: 1.8; }

.section-label {
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--maroon-mid);
  display: block; margin-bottom: 0.6rem;
}

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 5.5rem 0; }
.section-alt { padding: 5.5rem 0; background: var(--off-white); }
.section-dark {
  padding: 5.5rem 0;
  background: var(--grad-dark);
  color: var(--white);
  position: relative; overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(162, 22, 42, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(24, 115, 192, 0.10) 0%, transparent 50%);
  pointer-events: none;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.68); }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section-header p { margin-top: 0.85rem; font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2.25rem; border-radius: var(--radius-sm);
  font-size: 0.93rem; font-weight: 600; transition: var(--transition);
  cursor: pointer; letter-spacing: 0.02em; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--grad-maroon);
  color: var(--white);
  box-shadow: var(--shadow-maroon);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 36px rgba(121,16,31,0.45); }

.btn-outline {
  background: rgba(255,255,255,0.09);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.42);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,0.16); border-color: var(--white); transform: translateY(-2px); }

.btn-navy {
  background: var(--grad-navy);
  color: var(--white);
  box-shadow: var(--shadow-navy);
}
.btn-navy:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn-ghost {
  background: transparent;
  color: var(--maroon-mid);
  border: 1.5px solid var(--maroon-mid);
}
.btn-ghost:hover { background: var(--maroon-mid); color: var(--white); transform: translateY(-2px); }

.btn-lg { padding: 1.05rem 2.65rem; font-size: 0.98rem; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 1.2rem 0;
  transition: all 0.35s ease;
}
#navbar.transparent { background: transparent; }
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  padding: 0.75rem 0;
}
#navbar.scrolled .nav-logo-text { color: var(--navy); }
#navbar.scrolled .nav-logo-tagline { color: var(--text-light); }
#navbar.scrolled .nav-link { color: var(--text-mid); }
#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active { color: var(--maroon-mid); }
#navbar.scrolled .hamburger span { background: var(--navy); }
#navbar.scrolled .nav-cta { background: var(--grad-maroon) !important; color: var(--white) !important; box-shadow: var(--shadow-maroon); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 0.65rem; line-height: 1.15; }
.nav-logo-mark { width: 42px; height: 42px; flex-shrink: 0; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25)); transition: var(--transition); }
.nav-logo:hover .nav-logo-mark { transform: rotate(-8deg) scale(1.05); }
.nav-logo-words { display: flex; flex-direction: column; align-items: flex-start; }
.nav-logo-text {
  font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700;
  color: var(--white); transition: var(--transition);
}
.nav-logo-tagline {
  font-size: 0.58rem; font-weight: 500; color: rgba(255,255,255,0.50);
  letter-spacing: 0.16em; text-transform: uppercase; margin-top: 1px; transition: var(--transition);
}

.nav-menu { display: flex; align-items: center; gap: 0.15rem; }
.nav-link {
  padding: 0.5rem 1rem; font-size: 0.87rem; font-weight: 500;
  color: rgba(255,255,255,0.80); border-radius: var(--radius-sm); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.10); }
.nav-cta {
  background: var(--grad-maroon) !important;
  color: var(--white) !important; font-weight: 600;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-maroon);
  margin-left: 0.6rem;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.08); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--grad-hero);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 110% 10%, rgba(162,22,42,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at -10% 80%, rgba(24,115,192,0.14) 0%, transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.022'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 8rem 0 5rem; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(162,22,42,0.18); border: 1px solid rgba(162,22,42,0.38);
  color: hsl(350,70%,72%); padding: 0.42rem 1rem;
  border-radius: 50px; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.75rem;
  backdrop-filter: blur(6px);
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: hsl(350, 65%, 72%); }
.hero-lead { font-size: 1.08rem; color: rgba(255,255,255,0.70); max-width: 500px; margin-bottom: 2.5rem; line-height: 1.85; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* PAGE HERO */
.page-hero {
  background: var(--grad-hero); padding: 9.5rem 0 4.5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 75% at 100% 0%, rgba(162,22,42,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(24,115,192,0.12) 0%, transparent 50%);
}
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.70); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.83rem; color: rgba(255,255,255,0.42); margin-bottom: 1rem;
}
.breadcrumb a { color: hsl(350, 65%, 70%); }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 2.25rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad-primary);
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--maroon-pale); }

.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--grad-maroon);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.3rem; flex-shrink: 0;
  box-shadow: var(--shadow-maroon);
}
.card-icon.navy { background: var(--grad-navy); box-shadow: var(--shadow-navy); }

/* GLASS CARD */
.glass-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md); backdrop-filter: blur(12px); transition: var(--transition);
}
.glass-card:hover { background: rgba(255,255,255,0.12); }

/* ============================================
   STATS
   ============================================ */
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg); overflow: hidden;
}
.stat-item {
  padding: 2.5rem 1.5rem; text-align: center;
  transition: var(--transition); position: relative;
}
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255,255,255,0.12);
}
.stat-item:hover { background: rgba(255,255,255,0.07); }
.stat-number {
  font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700;
  color: hsl(350, 65%, 72%); line-height: 1;
  display: block; margin-bottom: 0.55rem;
}
.stat-label {
  font-size: 0.80rem; color: rgba(255,255,255,0.52);
  text-transform: uppercase; letter-spacing: 0.10em; font-weight: 500;
}

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: 0.87rem; font-weight: 600; color: var(--navy-mid); margin-bottom: 0.45rem; }
.form-control {
  width: 100%; padding: 0.875rem 1.1rem;
  border: 1.5px solid #D4D8E8; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.93rem; color: var(--text);
  background: var(--white); transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--maroon-mid); box-shadow: 0 0 0 4px rgba(162,22,42,0.09); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238A94B0' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-box { background: var(--white); border-radius: var(--radius-lg); padding: 2.75rem; box-shadow: var(--shadow-lg); }

/* ============================================
   TIMELINE
   ============================================ */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad-primary); }
.timeline-item { position: relative; padding: 0 0 2.75rem 1.75rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -6px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--maroon-mid); border: 2.5px solid var(--white);
  box-shadow: 0 0 0 3px rgba(162,22,42,0.20);
}
.timeline-year {
  font-size: 0.75rem; font-weight: 700; color: var(--maroon-mid);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.3rem;
}
.timeline-item h4 { margin-bottom: 0.3rem; }
.timeline-item p { font-size: 0.90rem; }

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-block; padding: 0.28rem 0.8rem;
  border-radius: 50px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-gold   { background: rgba(121,16,31,0.09);  color: var(--maroon-mid);   border: 1px solid rgba(121,16,31,0.22); }
.badge-navy   { background: rgba(16,32,56,0.08);   color: var(--navy-mid);     border: 1px solid rgba(16,32,56,0.16); }
.badge-green  { background: rgba(24,115,192,0.09); color: var(--sapphire);     border: 1px solid rgba(24,115,192,0.22); }
.badge-violet { background: rgba(162,22,42,0.09);  color: var(--maroon-mid);   border: 1px solid rgba(162,22,42,0.22); }

/* ============================================
   DIVIDER
   ============================================ */
.divider { width: 52px; height: 3px; background: var(--grad-primary); border-radius: 2px; margin: 1rem auto 0; }
.divider-left { margin: 0.85rem 0; }

/* ============================================
   FOOTER
   ============================================ */
#footer { background: var(--grad-footer); color: var(--white); }
.footer-top {
  padding: 5rem 0 3rem;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo-mark { width: 44px; height: 44px; flex-shrink: 0; }
.footer-logo .footer-logo-tagline { margin-bottom: 0; }
.footer-logo-text {
  font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700;
  color: var(--white); display: block; margin-bottom: 3px;
}
.footer-logo-tagline {
  font-size: 0.58rem; font-weight: 500; color: rgba(255,255,255,0.32);
  letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-bottom: 1.25rem;
}
.footer-brand p { color: rgba(255,255,255,0.42); font-size: 0.9rem; line-height: 1.75; margin-bottom: 1.5rem; }
.footer-heading {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: hsl(350, 55%, 65%); margin-bottom: 1.4rem;
}
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.40); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: hsl(350, 60%, 72%); }
.footer-contact-item { display: flex; gap: 0.85rem; color: rgba(255,255,255,0.42); font-size: 0.9rem; margin-bottom: 0.85rem; line-height: 1.55; }
.footer-contact-item .icon { font-size: 1rem; margin-top: 1px; flex-shrink: 0; color: hsl(350, 55%, 65%); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding: 1.75rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.83rem; color: rgba(255,255,255,0.28);
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.28); transition: color var(--transition); }
.footer-bottom-links a:hover { color: hsl(350, 60%, 68%); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger.visible > *:nth-child(1) { transition-delay: 0.07s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.14s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.21s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.28s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.42s; }
.stagger.visible > * { opacity: 1; transform: none; }

/* ============================================
   BACK TO TOP
   ============================================ */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--grad-maroon); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow-maroon);
  opacity: 0; transform: translateY(20px); transition: var(--transition);
  z-index: 999; border: none;
}
#back-to-top.show { opacity: 1; transform: none; }
#back-to-top:hover { filter: brightness(1.1); transform: translateY(-3px); }

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: linear-gradient(160deg, var(--midnight) 0%, var(--navy) 65%, hsl(218,55%,14%) 100%);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay .nav-link { font-size: 1.25rem; color: rgba(255,255,255,0.78); padding: 0.9rem 2rem; width: 100%; text-align: center; }
.nav-overlay .nav-link:hover, .nav-overlay .nav-link.active { color: hsl(350,65%,72%); background: rgba(255,255,255,0.05); }
.nav-overlay .nav-cta { background: var(--grad-maroon) !important; border-radius: var(--radius-sm); margin-top: 0.75rem; }
.overlay-close { position: absolute; top: 1.5rem; right: 1.75rem; font-size: 1.4rem; color: rgba(255,255,255,0.50); background: none; border: none; cursor: pointer; transition: color var(--transition); }
.overlay-close:hover { color: hsl(350, 65%, 70%); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section, .section-alt, .section-dark { padding: 4rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item + .stat-item::before { display: none; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .form-box { padding: 1.75rem; }
}

/* Illustrated product icons */
.icon-img { width: 1.25em; height: 1.25em; object-fit: contain; display: inline-block; vertical-align: middle; }
.filter-btn .icon-img { width: 1.15em; height: 1.15em; margin-right: 0.15em; vertical-align: -0.2em; }
