/* =========================================================
   Fides Fishing — stylesheet v5
   One font (Plus Jakarta Sans), sentence-case headings,
   uppercase only for small labels.
   ========================================================= */

:root {
  --blue: #0E529B;
  --blue-2: #1767BD;
  --navy: #0A2F5C;
  --navy-2: #123E78;
  --navy-3: #0A3568;
  --orange: #F5A524;
  --orange-2: #E8961A;
  --green: #177A42;
  --ink: #0F1F33;          /* headings on light */
  --text: #3A4A5E;         /* body on light (slate-600 equivalent) */
  --muted: #5B6B7E;
  --line: #E5E7EB;
  --line-2: #CBD5E1;
  --tint: #F1F5F9;         /* slate-50/100 */
  --tint-blue: #EEF4FA;
  --tint-2: #DCE8F5;
  --on-dark: #CBD5E1;      /* slate-300 */
  --mark: #FFE27A;

  --font: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;

  --radius: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
  --container: 1240px;
  --gutter: 24px;
  --section-y: 88px;
  --header-h: 84px;

  --z-float: 30;
  --z-header: 50;
  --z-mobile-nav: 60;
  --z-modal: 80;
  --z-search: 90;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; letter-spacing: .01em; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: var(--navy); padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--text { max-width: 880px; }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--tight { padding-top: 56px; padding-bottom: 56px; }
.bg-tint { background: var(--tint); }
.bg-tint-blue { background: var(--tint-blue); }
.bg-contour { background: repeating-radial-gradient(circle at 88% 18%, transparent 0 38px, rgba(14, 82, 155, .05) 38px 39px), var(--tint-blue); }
.bg-navy { background: var(--navy); color: var(--on-dark); }
.bg-deep { background: radial-gradient(1200px 500px at 85% -10%, rgba(23, 103, 189, .45), transparent 60%), var(--navy-3); color: var(--on-dark); }
.bg-navy p, .bg-deep p, .bg-navy li, .bg-deep li { color: var(--on-dark); }
.bg-navy :is(h1, h2, h3), .bg-deep :is(h1, h2, h3) { color: #fff; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split--55 { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
@media (max-width: 960px) { .split, .split--55 { grid-template-columns: 1fr; gap: 36px; } }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  :root { --section-y: 60px; --gutter: 18px; }
}
.section-head { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.center { text-align: center; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }

/* ---------- Typography system ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font); }
.h1, h1.h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.h1--hero { font-size: clamp(32px, 4.8vw, 56px); }
.h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.3; letter-spacing: -.005em; margin-bottom: 4px; }
.h3 { font-size: clamp(18px, 1.6vw, 20px); font-weight: 700; line-height: 1.35; }
.h4 { font-size: 17px; font-weight: 700; line-height: 1.4; }
.eyebrow { display: inline-block; margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); text-decoration: none; }
a.eyebrow:hover { color: var(--navy); text-decoration: underline; }
.bg-navy .eyebrow, .bg-deep .eyebrow, .hero .eyebrow { color: #7DB8FF; }
.eyebrow.center { display: block; text-align: center; }
.lead { font-size: 17px; line-height: 1.65; color: var(--text); max-width: 620px; margin: 14px 0 0; }
.bg-navy .lead, .bg-deep .lead, .hero .lead { color: var(--on-dark); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mark { background: var(--mark); color: var(--ink); padding: 0 4px; border-radius: 2px; }
.text-link { font-weight: 700; }
.bg-navy .text-link, .bg-deep .text-link { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease-out, border-color .2s ease-out, color .2s ease-out, box-shadow .2s ease-out, transform .2s ease-out;
}
.btn--primary { background: var(--orange); color: var(--navy); box-shadow: 0 8px 20px rgba(245, 165, 36, .32); }
.btn--primary:hover { background: var(--orange-2); color: var(--navy); box-shadow: 0 12px 26px rgba(245, 165, 36, .45); transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--navy); color: #fff; }
.btn--wa { background: var(--green); color: #fff; }
.btn--wa:hover { background: #12623A; color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .85); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Images ---------- */
.ph { background: var(--tint-2) url("../img/placeholder.svg") center / cover no-repeat; border-radius: var(--radius-md); display: flex; align-items: flex-end; padding: 12px; color: var(--blue); font-weight: 600; font-size: 13px; overflow: hidden; }
.ph span { background: rgba(255, 255, 255, .9); padding: 4px 10px; border-radius: 6px; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-169 { aspect-ratio: 16 / 9; }

/* ---------- Checklists & trust badges ---------- */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.checks svg { flex: none; color: #22A35A; margin-top: 2px; }
.bg-navy .checks li, .bg-deep .checks li { color: #fff; }
.checks--row { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.checks--row li { white-space: nowrap; font-size: 14px; font-weight: 600; gap: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.badge svg { flex: none; color: var(--blue); }
.bg-navy .badge, .bg-deep .badge { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.bg-navy .badge svg, .bg-deep .badge svg { color: var(--orange); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 14px; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; align-items: center; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.topbar a:hover { text-decoration: underline; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .2s ease-out; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 47, 92, .1); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { flex: none; display: flex; align-items: center; }
.logo img { height: 70px; width: auto; }
.main-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-list > li > button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px;
  font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; background: none; border: 0; border-radius: 8px; cursor: pointer; position: relative;
}
.nav-list > li > a::after, .nav-list > li > button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s ease-out; }
.nav-list > li > a:hover::after, .nav-list > li > button:hover::after, .nav-list [aria-current="page"]::after, .nav-list .is-current::after { transform: scaleX(1); }
.nav-list > li > a:hover, .nav-list > li > button:hover { color: var(--blue); }
.has-sub.is-open > button svg { transform: rotate(180deg); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(10, 47, 92, .16); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease-out, transform .15s ease-out, visibility .15s; }
.has-sub:hover .submenu, .has-sub.is-open .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.submenu a:hover { background: var(--tint-blue); color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.nav-toggle { display: none; }
@media (max-width: 1180px) {
  .nav-list > li > a, .nav-list > li > button { padding: 0 10px; font-size: 13px; }
  .nav-list > li > a::after, .nav-list > li > button::after { left: 10px; right: 10px; }
  .logo img { height: 58px; }
}
@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px var(--gutter) 40px; overflow-y: auto; display: none; margin: 0; }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a, .nav-list > li > button { width: 100%; justify-content: space-between; min-height: 56px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list > li > a::after, .nav-list > li > button::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 8px; display: none; }
  .has-sub.is-open .submenu { display: block; }
  .logo img { height: 52px; }
}

/* ---------- Search overlay ---------- */
.search-panel { position: fixed; inset: 0; z-index: var(--z-search); background: rgba(10, 47, 92, .55); display: none; }
.search-panel.is-open { display: block; }
.search-box { background: #fff; max-width: 820px; margin: 72px auto 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(10, 47, 92, .3); overflow: hidden; }
.search-input-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search-input-row input { flex: 1; border: 0; font-size: 18px; min-height: 48px; outline: none; color: var(--ink); }
.search-results { max-height: 60vh; overflow-y: auto; padding: 8px 8px 16px; }
.search-group { padding: 10px 12px 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search-results a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a:focus { background: var(--tint-blue); }
.search-results a strong { display: block; color: var(--ink); }
.search-results a span { font-size: 14px; color: var(--muted); }
.search-empty { padding: 18px 12px; color: var(--muted); }
.search-hints { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }
.search-hints button { border: 1px solid var(--line-2); background: #fff; border-radius: 99px; padding: 6px 14px; cursor: pointer; color: var(--blue); font-weight: 600; }

/* ---------- Infinite loop slider (shared) ---------- */
.loop { position: relative; }
.loop-viewport { overflow: hidden; border-radius: inherit; }
.loop-track { display: flex; gap: var(--loop-gap, 0px); will-change: transform; }
.loop-track.is-animating { transition: transform .55s cubic-bezier(.22, .61, .36, 1); }
.loop-slide { flex: 0 0 calc((100% - (var(--per, 1) - 1) * var(--loop-gap, 0px)) / var(--per, 1)); min-width: 0; }
.loop-dots { display: flex; gap: 4px; }
.loop-dots button { width: 40px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.loop-dots button::before { content: ""; width: 30px; height: 4px; border-radius: 2px; background: var(--line-2); transition: background-color .2s; }
.loop-dots button[aria-current="true"]::before { background: var(--blue); }
.arrow-btn { width: 48px; height: 48px; border-radius: 99px; border: 2px solid var(--line-2); background: #fff; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s, background-color .2s; }
.arrow-btn:hover { border-color: var(--blue); color: var(--blue); }
.loop-ui { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.loop-ui .arrows { margin-left: auto; display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; }
.hero .loop-slide { position: relative; min-height: clamp(560px, 78vh, 740px); display: flex; align-items: center; background: var(--navy-2); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero .loop-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 33, 66, .9) 0%, rgba(8, 33, 66, .64) 48%, rgba(8, 33, 66, .12) 100%); }
.hero .loop-slide > .container { position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 660px; padding-top: 56px; padding-bottom: 104px; }
.hero-title { color: #fff; }
.hero-features { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; max-width: 500px; }
.hero-features li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.hero-features svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: rgba(255, 255, 255, .12); color: var(--orange); }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; }
.hero-nav .container { display: flex; align-items: center; gap: 16px; }
.hero-nav .loop-dots button::before { background: rgba(255, 255, 255, .35); }
.hero-nav .loop-dots button[aria-current="true"]::before { background: var(--orange); }
.hero-nav .arrows { margin-left: auto; display: flex; gap: 10px; }
.hero-nav .arrow-btn { border-color: rgba(255, 255, 255, .6); background: rgba(10, 47, 92, .35); color: #fff; }
.hero-nav .arrow-btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }
@media (max-width: 767px) {
  .hero .loop-slide { min-height: 620px; align-items: flex-end; }
  .hero .loop-slide::after { background: linear-gradient(180deg, rgba(8, 33, 66, .7), rgba(8, 33, 66, .92)); }
  .hero-features { grid-template-columns: 1fr; margin: 20px 0 24px; }
  .hero-nav .arrows { display: none; }
  .hero-content { padding-bottom: 96px; }
}

/* ---------- Stat cards ---------- */
.stat-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); }
.stat-card:nth-child(2)::before { background: var(--orange); }
.stat-card:nth-child(3)::before { background: #22A35A; }
.stat-card:nth-child(4)::before { background: var(--navy); }
.stat-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--tint-blue); color: var(--blue); margin-bottom: 14px; }
.stat-value { display: block; font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; color: var(--ink); letter-spacing: -.01em; }
.stat-label { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
.stats-overlap { position: relative; z-index: 2; margin-top: -72px; }
.stats-overlap .stat-card { box-shadow: 0 18px 40px rgba(10, 47, 92, .14); border-color: transparent; }
.stats-overlap .stat-icon { background: rgba(245, 165, 36, .14); color: #B56E00; }
.stats-overlap .stat-card:nth-child(even) .stat-icon { background: var(--tint-blue); color: var(--blue); }

/* ---------- Video ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--navy-2); box-shadow: 0 20px 44px rgba(8, 33, 66, .28); }
.video > * { width: 100%; height: 100%; border: 0; }
.video button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(rgba(10, 47, 92, .4), rgba(10, 47, 92, .62)), var(--poster, var(--navy-2)) center / cover; color: #fff; cursor: pointer; font-weight: 600; }
.video .play { width: 78px; height: 78px; border-radius: 99px; background: var(--orange); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s ease-out; }
.video button:hover .play { transform: scale(1.06); }

/* ---------- Bento category grid (home) ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, 230px); gap: 20px; }
.bento-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; background: var(--navy-2); }
.bento-card--main { grid-row: 1 / span 2; }
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out; }
.bento-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 33, 66, 0) 35%, rgba(8, 33, 66, .88) 100%); }
.bento-card:hover img { transform: scale(1.04); }
.bento-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.bento-body h3 { color: #fff; font-size: 20px; font-weight: 800; }
.bento-card--main .bento-body { padding: 26px 28px; }
.bento-card--main .bento-body h3 { font-size: 26px; }
.bento-card:hover { color: #fff; }
@media (max-width: 860px) { .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px; } .bento-card--main { grid-column: 1 / span 2; grid-row: auto; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; grid-template-rows: 240px 180px 180px; } .bento-card--main { grid-column: auto; } }

/* ---------- Product cards ---------- */
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: border-color .2s ease-out, box-shadow .2s ease-out; }
.product-card:hover { border-color: var(--blue); box-shadow: 0 14px 30px rgba(10, 47, 92, .12); }
.product-card .media { aspect-ratio: 1 / 1; background: #fff url("../img/placeholder.svg") center / cover; border-bottom: 1px solid var(--line); }
.product-card .media img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 10px; }
.product-card .body { padding: 16px 18px 6px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.product-card h3 { font-size: 17px; font-weight: 700; line-height: 1.35; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--blue); }
.product-card .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 18px 18px; }
.product-card .actions .btn { min-height: 42px; padding: 0 10px; font-size: 13px; }

/* ---------- Tabs / pills ---------- */
.pills { display: flex; gap: 8px; margin: 0 0 24px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pills::-webkit-scrollbar { display: none; }
.pills button { flex: none; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; color: #334155; font-weight: 600; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: background-color .2s, color .2s, border-color .2s; }
.pills button:hover { background: var(--tint); }
.pills button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pills .count { opacity: .7; font-weight: 500; }

/* ---------- Compact page headers ---------- */
.page-head { background: var(--tint); border-bottom: 1px solid var(--line); padding: 24px 0 28px; }
.page-head .h1 { font-size: clamp(26px, 3vw, 36px); }
.page-head .lead { margin-top: 8px; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
@media (max-width: 960px) { .page-head-grid { grid-template-columns: 1fr; gap: 20px; } }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; }
.breadcrumb a { color: var(--muted); }
.bg-navy .breadcrumb, .bg-navy .breadcrumb a, .bg-deep .breadcrumb, .bg-deep .breadcrumb a { color: #9EC9FF; }

.b2b-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; padding: 12px 16px; background: var(--navy); color: #fff; border-radius: var(--radius-md); margin-bottom: 22px; font-size: 14px; }
.b2b-bar span { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; border-right: 1px solid rgba(255, 255, 255, .2); }
.b2b-bar span:last-of-type { border-right: 0; }
.b2b-bar svg { color: var(--orange); flex: none; }
.b2b-bar strong { color: #fff; }
.b2b-bar a { margin-left: auto; color: var(--orange); font-weight: 700; padding: 0 8px; }
@media (max-width: 900px) { .b2b-bar span { border-right: 0; padding: 2px 8px; } .b2b-bar a { margin-left: 8px; } }

/* ---------- Guarantee card (contact head) ---------- */
.guarantee { display: grid; gap: 10px; }
.guarantee div { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 12px 16px; }
.guarantee .gi { flex: none; width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--tint-blue); color: var(--blue); }
.guarantee strong { display: block; color: var(--ink); font-size: 15px; }
.guarantee small { color: var(--muted); font-size: 13px; }

/* ---------- Cards ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.bg-tint .card, .bg-contour .card, .bg-tint-blue .card { border-color: transparent; }
.card p { margin: 6px 0 0; }
.process-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); transition: box-shadow .2s ease-out; }
.process-card:hover { box-shadow: 0 10px 24px rgba(15, 23, 42, .08); }
.process-card .num { display: block; font-size: 40px; font-weight: 800; line-height: 1; color: var(--navy); margin-bottom: 12px; }
.process-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.process-card p { margin: 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step .num { display: block; font-size: 34px; font-weight: 800; line-height: 1; color: var(--blue); margin-bottom: 10px; }
.step p { margin: 6px 0 0; font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; }
.mode-card { background: #fff; padding: 32px; border-radius: var(--radius); border-top: 5px solid var(--blue); }
.mode-card--odm { border-top-color: var(--orange); }
.mode-word { margin: 0; font-weight: 800; font-size: 72px; line-height: .95; color: var(--blue); letter-spacing: -.02em; }
.mode-card--odm .mode-word { color: #B45F00; }
.mode-sub { margin: 6px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* OEM: what we manufacture (equal-height cards) */
.make-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.make-card .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.make-card .make-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex: 1; }
.make-card .make-text { flex-grow: 1; }
.make-card h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.make-card p { margin: 6px 0 0; line-height: 1.5; }
.make-card .btn { margin-top: auto; width: 100%; }

/* OEM: packaging */
.pack-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.pack-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pack-gallery .ph { aspect-ratio: 4 / 3; }
.info-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.info-card { background: #F8FAFC; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.info-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.info-card .checks { gap: 8px; }
.info-card .checks li { font-size: 15px; }
@media (max-width: 960px) { .pack-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .info-cards { grid-template-columns: 1fr; } }

/* OEM: why choose (glass cards) */
.glass-card { position: relative; padding: 30px 26px 28px; border-radius: 18px; background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .05)); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .3s ease-out, border-color .3s ease-out, box-shadow .3s ease-out; overflow: hidden; }
.glass-card::before { content: ""; position: absolute; top: 0; left: 50%; width: 40%; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, transparent, var(--orange), transparent); transform: translateX(-50%); transition: width .3s ease-out; }
.glass-card:hover { transform: translateY(-8px); border-color: rgba(245, 165, 36, .6); box-shadow: 0 24px 50px rgba(245, 165, 36, .12), 0 10px 30px rgba(0, 0, 0, .25); }
.glass-card:hover::before { width: 100%; }
.glass-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(245, 165, 36, .2); border: 1px solid rgba(245, 165, 36, .3); color: #FBBF24; margin-bottom: 20px; }
.glass-tag { position: absolute; top: 20px; right: 20px; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #FDE68A; background: rgba(245, 165, 36, .14); border: 1px solid rgba(245, 165, 36, .35); }
.glass-card h3 { font-size: 20px; font-weight: 700; letter-spacing: .01em; color: #fff; margin-bottom: 8px; }
.glass-card p { margin: 0; font-size: 15px; line-height: 1.65; color: #E2E8F0; }

/* About: mission product display */
.display-head { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.display-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.display-badge::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--orange); }
.display-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.display-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); }
.display-card .media { aspect-ratio: 1 / 1; background: #fff url("../img/placeholder.svg") center / cover; }
.display-card .media img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 10px; }
.display-card .label { padding: 12px 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-top: 1px solid var(--line); }
.display-card .more { position: absolute; inset: 0; bottom: 45px; display: flex; align-items: center; justify-content: center; background: rgba(10, 47, 92, .55); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity .2s ease-out; }
.display-card:hover .more, .display-card:focus-visible .more { opacity: 1; }
@media (hover: none) { .display-card .more { display: none; } }
.feature-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.feature-badges div { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; background: var(--tint-blue); font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.35; }
.feature-badges svg { color: var(--blue); }
@media (max-width: 560px) { .feature-badges { grid-template-columns: 1fr; } }

/* About: spec matrix */
.spec-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--blue); height: 100%; }
.spec-card:nth-child(2) { border-top-color: var(--orange); }
.spec-card:nth-child(3) { border-top-color: #22A35A; }
.spec-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.spec-table { margin: 0 0 20px; flex: 1; }
.spec-table div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #E5E7EB; }
.spec-table dt { color: var(--muted); font-size: 14px; flex: none; max-width: 45%; }
.spec-table dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; font-size: 14px; }
.spec-card .btn-row { margin-top: auto; }
.spec-card .btn-row .btn { flex: 1; }
.market-card { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 6px; border-left: 4px solid var(--blue); }
.market-card strong { color: var(--ink); font-size: 16px; }
.market-card span { color: var(--muted); font-size: 15px; }
.feature-card { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Factory slider ---------- */
.factory-slide { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--tint-2); margin: 0; }
.factory-slide img { width: 100%; height: 100%; object-fit: cover; }
.factory-slide figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(10, 47, 92, .85); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; }

/* ---------- Posts ---------- */
.post { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.post[hidden] { display: none; }
.post .media { aspect-ratio: 16 / 9; border-radius: var(--radius-md); background: var(--tint-2) url("../img/placeholder.svg") center / cover; overflow: hidden; display: block; }
.post .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-out; }
.post:hover .media img { transform: scale(1.03); }
.post h3 { font-size: 18px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post h3 a { color: var(--ink); text-decoration: none; }
.post h3 a:hover { color: var(--blue); }
.post p { margin: 0; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post .meta { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.blog-tools { display: grid; gap: 10px; }
.blog-search { position: relative; }
.blog-search input { width: 100%; min-height: 50px; padding: 0 16px 0 46px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 15px; background: #fff; }
.blog-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.topic-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
@media (max-width: 767px) { .pills--sticky { position: sticky; top: var(--header-h); z-index: 5; background: #fff; padding: 10px 0; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); } }

/* ---------- Reviews ---------- */
.review { margin: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; height: 100%; }
.review .shot { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--tint); border-radius: 10px; border: 1px solid var(--line); }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .avatar { width: 48px; height: 48px; border-radius: 99px; object-fit: cover; background: var(--tint-2); flex: none; }
.review strong { display: block; color: var(--ink); }
.review span { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 26px; line-height: 1; transition: transform .2s ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field[hidden] { display: none; }
.field input, .field select, .field textarea { min-height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; font-weight: 400; font-size: 16px; background: #fff; color: var(--ink); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230A2F5C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(14, 82, 155, .18); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.form-success { grid-column: 1 / -1; padding: 14px 16px; background: #E3F4E8; border-radius: var(--radius-sm); color: #14532D; font-weight: 600; margin: 0; }
.form-success[hidden] { display: none; }
.form-panel { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px; box-shadow: 0 22px 50px rgba(10, 47, 92, .14); border: 1px solid var(--line); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } .form-panel { padding: 22px; } }

/* ---------- Global quote section ---------- */
.quote-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.quote-copy { display: flex; flex-direction: column; gap: 22px; }
.quote-copy .lead { margin: 0; line-height: 1.6; }
.quote-copy .h2 { margin: 0; }
.quote-copy .eyebrow { margin: 0; }
.support-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); font-size: 15px; color: #fff; }
.support-bar strong { color: #fff; }
.support-bar a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.support-bar .sep { opacity: .4; }
@media (max-width: 960px) { .quote-wrap { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 28px; align-items: stretch; }
.contact-side { height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--tint-blue); border-radius: var(--radius); padding: 28px; }
.contact-side .btn { width: 100%; }
.contact-side h2 { font-size: 16px; font-weight: 700; color: var(--ink); }
.contact-side p { margin: 4px 0 0; }
.contact-side dl { margin: 12px 0 0; display: grid; gap: 8px; }
.contact-side dl div { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-side dt { font-weight: 700; color: var(--ink); }
.contact-side dt::after { content: ":"; }
.contact-side dd { margin: 0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 24px; padding-bottom: 56px; }
.pd-main { aspect-ratio: 1 / 1; border-radius: var(--radius); background: #fff url("../img/placeholder.svg") center / cover; border: 1px solid var(--line); overflow: hidden; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 16px; }
.pd-info { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Modals ---------- */
.modal { border: 0; padding: 0; border-radius: 18px; width: min(920px, calc(100% - 32px)); max-height: calc(100vh - 48px); box-shadow: 0 30px 80px rgba(8, 33, 66, .35); color: var(--text); }
.modal::backdrop { background: rgba(8, 33, 66, .6); }
.modal-inner { position: relative; padding: 28px; overflow-y: auto; max-height: calc(100vh - 48px); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.modal-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; }
.modal-grid .pd-main { border-radius: 12px; }
.modal .video { margin-top: 18px; box-shadow: none; }
.modal--quote { width: min(640px, calc(100% - 32px)); }
@media (max-width: 760px) { .modal-grid { grid-template-columns: 1fr; } .modal-inner { padding: 22px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C9D8EA; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-logo img { height: 72px; width: auto; }
.footer-about p { margin: 18px 0 0; color: #C9D8EA; line-height: 1.65; }
.footer-col h2 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-col a { color: #C9D8EA; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 6px; color: var(--orange); }
.footer-contact small { display: block; color: #8FA9C8; font-size: 13px; }
.footer-bottom { border-top: 1px solid #2A4C78; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 20px; padding-bottom: 24px; font-size: 13px; color: #A9BED6; }
.footer-bottom a { color: #A9BED6; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating contact bar ---------- */
.float-bar { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: var(--z-float); display: flex; flex-direction: column; gap: 8px; }
.float-bar a { position: relative; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(10, 47, 92, .25); text-decoration: none; }
.float-bar .fb-wa { background: #25A85A; }
.float-bar .fb-quote { background: var(--orange); color: var(--navy); }
.float-bar .tip { position: absolute; right: 62px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.float-bar a:hover .tip, .float-bar a:focus .tip { opacity: 1; }

/* ---------- Mobile bottom navigation ---------- */
.mobile-nav { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 72px; }
  .float-bar { display: none; }
  .header-cta .btn-quote, .header-cta .nav-toggle { display: none; }
  .topbar .tb-label { display: none; }
  .topbar .container { justify-content: center; flex-wrap: nowrap; gap: 16px; font-size: 13px; }
  .mobile-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobile-nav); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(10, 47, 92, .12); padding-bottom: env(safe-area-inset-bottom, 0); }
  .mobile-nav a, .mobile-nav button { min-height: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--navy); text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
  .mobile-nav [aria-current="page"], .mobile-nav [aria-expanded="true"] { color: var(--blue); }
  .mobile-nav .mn-quote .bubble { width: 46px; height: 46px; margin-top: -22px; border-radius: 99px; background: var(--orange); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(245, 165, 36, .5); border: 3px solid #fff; }
  .mobile-nav .mn-wa { color: var(--green); }
  .main-nav { inset: var(--header-h) 0 72px 0; }
}

/* Products slider: 3 / 2 / 1 cards per view */
.products-loop { --per: 3; }
@media (max-width: 1024px) { .products-loop { --per: 2; } }
@media (max-width: 600px) { .products-loop { --per: 1; } }
.products-loop .loop-track { padding: 4px 0 8px; }
@media (max-width: 600px) {
  .loop-ui { gap: 8px; }
  .loop-dots button { width: 28px; }
  .loop-dots button::before { width: 20px; }
  .arrow-btn { width: 44px; height: 44px; }
}
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-grid .stat-card { padding: 16px 14px; }
  .stat-grid .stat-icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .stat-grid .stat-label { font-size: 13px; }
  .stats-overlap { margin-top: -56px; }
}

/* =========================================================================
   LIGHT POLISH PASS (2026-10-08) — scroll reveal, menu/modal/tabs/form/card
   micro-interactions. Purely additive: no existing rule above this point
   was changed. No layout, color, spacing, typography or content changes.
   Every effect respects prefers-reduced-motion via the global rule near the
   top of this file (transition-duration/animation-duration forced to 0s).
   ========================================================================= */

/* ---------- Scroll reveal ----------
   .reveal is added by JS only, right before the element is observed, so
   content stays fully visible if JS/IntersectionObserver never runs. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease-out, transform .45s ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Mobile menu: fade + slight slide instead of instant display toggle ---------- */
@media (max-width: 1023px) {
  .main-nav { display: block; visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s ease-out, transform .25s ease-out, visibility .25s; }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .submenu { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .25s ease-out, opacity .2s ease-out; }
  .has-sub.is-open .submenu { max-height: 480px; opacity: 1; }
  .has-sub > button svg { transition: transform .2s ease-out; }
}

/* ---------- Modal (Details / Quote): fade backdrop + scale/fade content on open.
   Closing stays native/instant on purpose — no JS change, no functionality risk. ---------- */
.modal { opacity: 1; transform: scale(1); transition: opacity .22s ease-out, transform .22s ease-out, overlay .22s ease-out allow-discrete, display .22s ease-out allow-discrete; }
.modal::backdrop { opacity: 1; transition: opacity .22s ease-out, overlay .22s ease-out allow-discrete, display .22s ease-out allow-discrete; }
@starting-style {
  .modal[open] { opacity: 0; transform: scale(.96); }
  .modal[open]::backdrop { opacity: 0; }
}

/* ---------- Tabs / filters: light cross-fade when the grid content swaps ---------- */
[data-product-grid], [data-blog-grid] { transition: opacity .16s ease-out; }
[data-product-grid].is-swapping, [data-blog-grid].is-swapping { opacity: .4; }

/* ---------- Form: "Other country" field reveals instead of snapping in/out.
   Visual only — the existing hidden/required/focus JS logic is unchanged. ---------- */
.field[data-other-country] { overflow: hidden; max-height: 100px; opacity: 1; margin-top: 0; transition: max-height .3s ease-out, opacity .22s ease-out, margin-top .3s ease-out; }
.field[data-other-country][hidden] { display: flex; max-height: 0; opacity: 0; margin-top: -16px; pointer-events: none; }

/* ---------- Static cards: standardized light hover/press feedback.
   Hover only on devices with real pointer hover; touch gets :active instead
   so the effect cannot get "stuck" after a tap. ---------- */
.card, .mode-card, .make-card, .info-card, .spec-card, .market-card, .stat-card {
  transition: transform .2s ease-out, box-shadow .2s ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover, .mode-card:hover, .make-card:hover, .info-card:hover, .spec-card:hover, .market-card:hover, .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
  }
}
.card:active, .mode-card:active, .make-card:active, .info-card:active, .spec-card:active, .market-card:active, .stat-card:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, .08);
}
