/*
 * header-footer.css — Global site header, navigation, footer bar, and animations.
 * Ported exactly from agriculture-revamp.html.
 */

/* ════════════════════════════════════════════
   SCROLL PROGRESS BAR
   ════════════════════════════════════════════ */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), #f0c040, var(--accent));
  background-size: 200% 100%;
  z-index: 9999;
  transition: width 0.1s linear;
  animation: shimmer-bar 2s linear infinite;
}
@keyframes shimmer-bar {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ════════════════════════════════════════════
   CURSOR GLOW
   ════════════════════════════════════════════ */
#cursor-glow {
  pointer-events: none;
  position: fixed;
  z-index: 9998;
  will-change: transform;
}

/* ════════════════════════════════════════════
   GLOBAL HEADER
   ════════════════════════════════════════════ */
/* ── Body offset — must match header height at every breakpoint ── */
body { padding-top: 56px; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy-dark);
  padding: 0 max(48px, calc((100vw - 1380px) / 2));
  height: 56px;
  display: flex; align-items: center; justify-content: flex-start; gap: 32px;
}

/* ── Admin bar offset (WP sets html { padding-top: 32px } automatically) ── */
.admin-bar .site-header { top: 32px; }

/* ── Logo ── */
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 30px; height: 30px; background: var(--accent);
  border-radius: var(--radius-sm); display: grid; place-items: center;
  font-weight: 800; color: var(--navy-dark); font-size: 12px; letter-spacing: -0.5px;
}
.logo-wordmark { font-size: 17px; font-weight: 700; color: var(--white); letter-spacing: -0.4px; }
.logo-wordmark span { color: var(--accent); }
.site-logo { height: 28px; width: auto; display: block; }

/* ── Search ── */
.site-search {
  flex: 1; max-width: 480px; position: relative;
  transition: all 0.3s var(--ease); margin: 0 auto;
}
.site-search.collapsed { max-width: 40px; }
.site-search input {
  width: 100%; padding: 8px 16px 8px 38px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); color: var(--white); font-family: var(--font);
  font-size: 13px; outline: none; transition: all 0.2s var(--ease);
}
.site-search input::placeholder { color: rgba(255,255,255,0.35); }
.site-search input:focus { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.22); }
.site-search.collapsed input { padding: 0; background: transparent; border: none; }
.site-search .search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.35); pointer-events: none; width: 16px; height: 16px;
}

/* ── Desktop Nav ── */
.site-nav { display: flex; gap: 4px; flex-shrink: 0; align-items: center; }
.nav-item { position: relative; overflow: visible; }
.site-nav a, .nav-link {
  color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--radius-sm); transition: all 0.2s var(--ease);
  white-space: nowrap; display: flex; align-items: center; gap: 4px;
}
.site-nav a:hover, .nav-link:hover {
  color: var(--white); background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 1px rgba(232,168,56,0.3), 0 0 16px rgba(232,168,56,0.2);
}

/* Chevron */
.nav-item.has-dropdown > a .chevron {
  width: 12px; height: 12px; display: inline-block;
  transition: transform 0.25s var(--ease); flex-shrink: 0;
}
.nav-item.has-dropdown:hover > a .chevron { transform: rotate(180deg); }
.nav-item.has-dropdown:hover > a {
  color: var(--white); background: rgba(255,255,255,0.1);
}

/* Bridge gap so cursor can reach dropdown */
.nav-item::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 8px;
}

/* ── Desktop Dropdown ── */
.dropdown {
  position: absolute; top: calc(100% + 2px); left: -40px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(15,42,82,0.15);
  padding: 8px 0; min-width: 220px;
  opacity: 0; visibility: hidden;
  transform: translateY(5px) scale(0.95);
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 1001; pointer-events: none;
}
.nav-item:hover > .dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0) scale(1); pointer-events: auto;
}
.dropdown-category {
  padding: 0; border-bottom: 1px solid var(--border-light);
}
.dropdown-category:last-child { border-bottom: none; }
.dropdown-category-title {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  color: var(--text-muted); letter-spacing: 0.5px;
  padding: 10px 16px 6px 16px; display: block !important;
}
.dropdown-item {
  display: block !important; padding: 10px 16px !important;
  color: var(--text-primary) !important; text-decoration: none !important;
  font-size: 13px !important; font-weight: 400 !important;
  white-space: normal !important; background: transparent !important;
  transition: all 0.2s var(--ease); position: relative;
}
.dropdown-item:hover {
  background: #e9a72d!important;
  color: var(--navy) !important; padding-left: 20px !important;
}
.dropdown-item::before {
  content: ''; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; background: var(--accent); border-radius: 50%;
  opacity: 0; transition: opacity 0.2s var(--ease);
}
.dropdown-item:hover::before { opacity: 1; }

/* Dropdown item stagger on open */
.dropdown-item {
  opacity: 0 !important; transform: translateX(-8px) !important;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), background 0.15s, color 0.15s, padding 0.15s !important;
}
.dropdown.open .dropdown-item { opacity: 1 !important; transform: translateX(0) !important; }
.dropdown.open .dropdown-item:nth-child(1) { transition-delay: 0.03s !important; }
.dropdown.open .dropdown-item:nth-child(2) { transition-delay: 0.06s !important; }
.dropdown.open .dropdown-item:nth-child(3) { transition-delay: 0.09s !important; }
.dropdown.open .dropdown-item:nth-child(4) { transition-delay: 0.12s !important; }
.dropdown.open .dropdown-item:nth-child(5) { transition-delay: 0.15s !important; }
.dropdown.open .dropdown-item:nth-child(6) { transition-delay: 0.18s !important; }
.dropdown.open .dropdown-item:nth-child(7) { transition-delay: 0.21s !important; }
.dropdown-category-title { opacity: 0; transform: translateY(-4px); transition: opacity 0.2s, transform 0.2s; }
.dropdown.open .dropdown-category-title { opacity: 1; transform: translateY(0); }

/* ── Hamburger ── */
.hamburger-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto; flex-shrink: 0;
}
.hamburger-btn span {
  width: 24px; height: 2px; background: rgba(255,255,255,0.7);
  border-radius: 1px; transition: all 0.3s var(--ease);
}
.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(10px, 10px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ── Mobile Nav ── */
.mobile-nav {
  display: none;
  position: absolute; top: 56px; left: 0; right: 0;
  background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 999; flex-direction: column;
  animation: slideDown 0.3s var(--ease);
  max-height: 70vh; overflow-y: auto; overflow-x: hidden;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.mobile-nav.active { display: flex; }

.mobile-nav-category {
  display: flex; flex-direction: column;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-cat-toggle {
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,0.85); background: none; border: none;
  padding: 14px 20px; font-size: 14px; font-weight: 600;
  text-align: left; cursor: pointer; transition: all 0.2s var(--ease); flex: 1;
}
.mobile-cat-toggle:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.mobile-cat-toggle::after {
  content: '+'; color: var(--accent); font-size: 18px;
  min-width: 24px; text-align: right; transition: transform 0.3s var(--ease);
}
.mobile-cat-toggle.active::after { transform: rotate(45deg); }

.mobile-subcategories {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s var(--ease);
  background: rgba(255,255,255,0.02);
}
.mobile-subcategories.active { max-height: 500px; }

.mobile-subcat-item {
  display: block; color: rgba(255,255,255,0.65); text-decoration: none;
  font-size: 13px; font-weight: 400;
  padding: 12px 20px 12px 36px;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  transition: all 0.15s;
}
.mobile-subcat-item:hover {
  color: var(--white); background: rgba(232,168,56,0.08); padding-left: 40px;
}

.mobile-cat-link {
  display: flex !important; align-items: center;
  padding: 14px 20px !important; color: rgba(255,255,255,0.85) !important;
  font-size: 14px !important; font-weight: 600 !important;
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.2s var(--ease);
}
.mobile-cat-link:hover { background: rgba(255,255,255,0.08); color: var(--white) !important; }

.mobile-nav a:not(.mobile-subcat-item):not(.mobile-cat-link) {
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px;
  font-weight: 500; padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.15s; display: block;
}
.mobile-nav a:not(.mobile-subcat-item):not(.mobile-cat-link):hover {
  color: var(--white); background: rgba(255,255,255,0.08);
}

/* ════════════════════════════════════════════
   BREADCRUMBS
   ════════════════════════════════════════════ */
.breadcrumbs {
  padding: 12px max(48px, calc((100vw - 1380px) / 2));
  background: var(--off-white); border-bottom: 1px solid var(--border-light);
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 7px; 
  box-shadow: 0 1px 4px rgba(15,42,82,0.06);
}
.breadcrumbs a { color: var(--navy); font-weight: 500; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { color: var(--border); font-size: 10px; }
.breadcrumbs .current { color: var(--text-secondary); font-weight: 500; }

/* ════════════════════════════════════════════
   SHARED BUTTONS
   ════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: var(--navy); color: var(--white);
  font-family: var(--font); font-size: 13px; font-weight: 700; border: none;
  border-radius: var(--radius-md); cursor: pointer; transition: all 0.2s var(--ease);
  text-decoration: none;
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: transparent; 
  font-family: var(--font); font-size: 13px; font-weight: 600;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  cursor: pointer; transition: all 0.15s; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--navy); background: var(--navy-wash);color: var(--navy); }

/* ════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.from-left  { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }
.reveal.visible    { opacity: 1; transform: translate(0, 0); }

.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal-stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.08s; }
.reveal-stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.16s; }
.reveal-stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.24s; }
.reveal-stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.32s; }
.reveal-stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.40s; }
.reveal-stagger.visible > *:nth-child(n+7) { opacity:1; transform:none; transition-delay:0.48s; }

/* ════════════════════════════════════════════
   RIPPLE ON BUTTONS
   ════════════════════════════════════════════ */
.hero-cta, .hero-cta-secondary, .btn-primary, .cta-btn-accent {
  position: relative; overflow: hidden;
}
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.35); transform: scale(0);
  animation: ripple-anim 0.55s linear; pointer-events: none;
}
@keyframes ripple-anim { to { transform: scale(4); opacity: 0; } }

/* ════════════════════════════════════════════
   HERO CHIP FLOAT ANIMATION
   ════════════════════════════════════════════ */
.hero-chip { transition: transform 0.2s var(--ease), background 0.2s var(--ease); }
.hero-chip:hover { transform: translateY(-2px); background: rgba(255,255,255,0.14); }

/* ════════════════════════════════════════════
   HERO CTA PULSE
   ════════════════════════════════════════════ */
.hero-cta { animation: pulse-cta 3s ease-in-out infinite; }
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,168,56,0); }
  50%       { box-shadow: 0 0 0 8px rgba(232,168,56,0.18); }
}
.hero-cta:hover { animation: none; }

/* ════════════════════════════════════════════
   ANIMATED GRADIENT HERO HEADING SHINE
   ════════════════════════════════════════════ */
.hero-text h1 { position: relative; overflow: hidden; }
.hero-text h1::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(232,168,56,0.35) 50%, transparent 100%);
  animation: heading-shine 3.5s ease-in-out infinite; pointer-events: none;
}
@keyframes heading-shine {
  0%   { left: -60%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}

/* ════════════════════════════════════════════
   FLOATING PARTICLES
   ════════════════════════════════════════════ */
.particle {
  position: absolute; border-radius: 50%;
  background: rgba(232,168,56,0.25);
  animation: float-particle linear infinite; pointer-events: none;
}
@keyframes float-particle {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-120px) translateX(30px) scale(0.5); opacity: 0; }
}

/* ════════════════════════════════════════════
   SECTION TITLE UNDERLINE ANIMATION
   ════════════════════════════════════════════ */
.section-title { position: relative; display: inline-block; }
.section-title::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--navy-light));
  transition: width 0.6s var(--ease);
}
.section-title.in-view::after { width: 100%; }
.panel-inner .section-title::after { transition-delay: 0.3s; }

/* ════════════════════════════════════════════
   TAB BTN ACTIVE INDICATOR
   ════════════════════════════════════════════ */
.tab-btn { position: relative; }
.tab-btn::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--accent);
  transition: left 0.25s var(--ease), right 0.25s var(--ease);
}
.tab-btn.active::after { left: 12px; right: 12px; }

/* ════════════════════════════════════════════
   3D CARD LIFT — hover handled by JS
   ════════════════════════════════════════════ */
.tile-card, .family-card, .proc-card {
  transform-style: preserve-3d; will-change: transform, box-shadow;
}
.proc-icon-wrap { transition: transform 0.2s var(--ease); }
.proc-card:hover .proc-icon-wrap { transform: scale(1.15) rotate(-5deg); }

/* ════════════════════════════════════════════
   BOTTOM CTA BAR
   ════════════════════════════════════════════ */
.bottom-cta { background: var(--navy-dark); position: relative; overflow: hidden; }
.bottom-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 80% 50%, rgba(43,91,160,0.2), transparent),
    radial-gradient(ellipse 400px 200px at 20% 60%, rgba(232,168,56,0.06), transparent);
  pointer-events: none;
}
.bottom-cta-inner {
  position: relative; z-index: 2;
  padding: 52px max(48px, calc((100vw - 1380px) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.bottom-cta h2 { font-size: 24px; font-weight: 700; color: var(--white); letter-spacing: -0.4px; margin-bottom: 6px; }
.bottom-cta p  { font-size: 14px; color: rgba(255,255,255,0.55); }
.cta-buttons   { display: flex; gap: 12px; flex-shrink: 0; }
.cta-btn-accent {
  padding: 13px 26px; background: var(--accent); color: var(--navy-dark);
  font-family: var(--font); font-size: 13px; font-weight: 700; border: none;
  border-radius: var(--radius-md); cursor: pointer; transition: all 0.2s var(--ease);
  text-decoration: none; display: inline-block;
}
.cta-btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }
.cta-btn-outline {
  padding: 13px 26px; background: transparent; color: var(--white);
  font-family: var(--font); font-size: 13px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius-md);
  cursor: pointer; transition: all 0.15s; text-decoration: none; display: inline-block;
}
.cta-btn-outline:hover { border-color: rgba(255,255,255,0.5); }

/* ════════════════════════════════════════════
   SITE FOOTER
   ════════════════════════════════════════════ */
.footer {
  background: var(--navy-darker, #060E1A);
  padding: 48px max(40px, calc((100vw - 1400px) / 2));
}
.footer-inner-grid {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 48px; flex-wrap: wrap;
}
.footer-brand { flex-shrink: 0; max-width: 200px; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.6; margin-top: 10px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; flex: 1; }
.footer-col { display: flex; flex-direction: column; gap: 10px; min-width: 130px; }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.65); margin-bottom: 2px; }
.footer-col a { font-size: 12px; color: rgba(255,255,255,0.72); transition: color 0.15s; }
.footer-col a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap; gap: 12px;
}
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.50); }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.60);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 3px;
  padding: 3px 8px; text-transform: uppercase; letter-spacing: 0.3px;
}

/* ════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  #cursor-glow, .particle { display: none; }
  .hero-text h1::after { display: none; }
  .hero-cta { animation: none; }
  .dropdown-item { opacity: 1 !important; transform: none !important; }
  .reveal, .reveal-stagger > * { transition: none; opacity: 1; transform: none; }
  .tile-card:hover, .family-card:hover, .proc-card:hover { transform: translateY(-2px); }
}

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET LARGE (≤1199px)
   ════════════════════════════════════════════ */
@media (max-width: 1199px) {
  .site-header { padding: 0 24px; height: 54px; gap: 16px; }
  .site-search { max-width: 360px; }
  .site-nav { gap: 2px; flex-wrap: wrap; display: flex !important; }
  .site-nav a, .nav-link { padding: 6px 12px; font-size: 12px; }
  .dropdown { left: -20px; min-width: 200px; }
  .breadcrumbs { top: 54px; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (≤959px)
   ════════════════════════════════════════════ */
@media (max-width: 959px) {
  body { padding-top: 52px; }
  .site-header { padding: 0 20px; height: 52px; gap: 12px; }
  .logo-mark { width: 28px; height: 28px; font-size: 11px; }
  .logo-wordmark { font-size: 15px; }
  .site-search { max-width: none; margin-right: auto; }
  .site-nav { display: none !important; }
  .hamburger-btn { display: flex; }
  .mobile-nav { top: 52px; }
  .breadcrumbs { padding: 10px 20px; font-size: 11px; top: 52px; }
  .bottom-cta-inner { flex-direction: column; text-align: center; padding: 32px 20px; gap: 20px; }
  .cta-buttons { justify-content: center; width: 100%; }
}



/* 3rd level positioning */
.dropdown-category {
  position: relative;
}

.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  background: #fff;
  min-width: 220px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);

  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.2s ease;
  z-index: 1002;
}

/* show on hover */
.dropdown-category.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤767px)
   ════════════════════════════════════════════ */
@media (max-width: 767px) {
  body { padding-top: 48px; }
  .site-header { padding: 0 16px; height: 48px; gap: 10px; }
  .logo-mark { width: 26px; height: 26px; font-size: 10px; }
  .logo-wordmark { font-size: 14px; }
  .site-search { flex: 1; max-width: none; }
  .site-search input { padding: 6px 12px 6px 32px; font-size: 12px; }
  .site-search.collapsed input { padding: 0; }
  .site-search .search-icon { left: 8px; width: 14px; height: 14px; }
  .mobile-nav { top: 48px; }
  .breadcrumbs { padding: 8px 16px; font-size: 10px; flex-wrap: wrap; gap: 4px; top: 48px; }
  .bottom-cta-inner { padding: 24px 16px; gap: 16px; }
  .bottom-cta h2 { font-size: 18px; }
  .cta-buttons { width: 100%; }
  .footer { padding: 36px 20px; }
  .footer-inner-grid { flex-direction: column; gap: 24px; }
  .footer-links { gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* avoid conflict with main class */
.mobile-sub-level {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-subcategories.active { max-height: auto; }
.mobile-sub-level.active {
  max-height: 500px;
}
.dropdown-category .submenu { 
  max-height: auto;
  overflow-y: auto;
}
}
.dropdown-category .submenu { 
  max-height: 600px;
  overflow-y: auto;
}
/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE SMALL (≤480px)
   ════════════════════════════════════════════ */
@media (max-width: 480px) {
  body { padding-top: 44px; }
  .site-header { padding: 0 12px; height: 44px; gap: 8px; }
  .logo-mark { width: 24px; height: 24px; font-size: 9px; }
  .logo-wordmark { font-size: 13px; letter-spacing: -0.3px; }
  .site-search input { padding: 5px 10px 5px 28px; font-size: 11px; }
  .site-search .search-icon { left: 8px; width: 12px; height: 12px; }
  .hamburger-btn { padding: 6px; }
  .hamburger-btn span { width: 20px; height: 2px; }
  .mobile-nav { top: 44px; }
  .mobile-nav a { font-size: 13px; padding: 12px 16px; }
  .breadcrumbs { padding: 6px 12px; font-size: 9px; gap: 3px; top: 44px; }
  .bottom-cta-inner { padding: 16px 12px; gap: 12px; }
  .bottom-cta h2 { font-size: 16px; line-height: 1.25; }
  .bottom-cta p { font-size: 10px; }
  .cta-btn-accent, .cta-btn-outline { width: 100%; font-size: 10px; padding: 9px 12px; }
}
