/* MEDPRO SOLUTIONS — site styles */
/* Self-hosted variable fonts (SIL Open Font License, see /assets/fonts/OFL-*.txt) */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/assets/fonts/sora-latin.woff2') format('woff2'); }
:root {
  --navy: #0b2545;
  --navy-deep: #061a33;
  --navy-2: #13335c;
  --teal: #0f8b8d;
  --teal-dark: #0a6e70;
  --cyan: #38c6d9;
  --mint: #e8f7f8;
  --ink: #0d1b2e;
  --text: #33465e;
  --muted: #64768c;
  --line: #e2e9f0;
  --line-strong: #cfdae5;
  --bg: #ffffff;
  --bg-tint: #f5f9fc;
  --danger: #c2334d;
  --success: #138a5b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .05);
  --shadow: 0 2px 4px rgba(11, 37, 69, .04), 0 12px 32px -8px rgba(11, 37, 69, .14);
  --shadow-lg: 0 4px 10px rgba(11, 37, 69, .05), 0 30px 60px -20px rgba(11, 37, 69, .28);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3, .h3 { font-size: 1.25rem; }
.h4, h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
main:focus { outline: none; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.icon-lg { width: 28px; height: 28px; }
.icon-xl { width: 44px; height: 44px; }
.muted { color: var(--muted); font-weight: 400; }
.center { text-align: center; }
.narrow { max-width: 760px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-tint { background: linear-gradient(180deg, var(--bg-tint), #fff); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .97rem; line-height: 1.2; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: linear-gradient(135deg, var(--teal), #0c7476); color: #fff; box-shadow: 0 8px 20px -8px rgba(15, 139, 141, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(15, 139, 141, .75); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { color: var(--navy); border-color: var(--navy); transform: translateY(-2px); }
.btn-ghost { background: var(--mint); color: var(--teal-dark); }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.btn-text { background: none; color: var(--teal-dark); padding-inline: .4em; }
.btn-text:hover { text-decoration: underline; }
.btn-sm { padding: .55em 1em; font-size: .88rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-whatsapp { background: #1f9d55; color: #fff; box-shadow: 0 8px 20px -8px rgba(31, 157, 85, .7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-whatsapp:hover { background: #188a49; color: #fff; transform: translateY(-2px); }
.or-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.wa-note { margin-top: 8px; text-align: center; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row.is-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; white-space: nowrap; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--teal)); }
.eyebrow a { color: inherit; }
.eyebrow-light { color: var(--cyan); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--text); max-width: 680px; }
.text-gradient { background: linear-gradient(100deg, var(--teal) 10%, var(--cyan) 60%, var(--navy-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head-row .section-head { margin-bottom: 0; }
.subhead { margin: 56px 0 20px; font-size: 1.2rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile drawer inside it. */
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,37,69,.35); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand { gap: 10px; }
.brand-mark { width: 54px; height: 49px; }
.brand-wordmark { width: 132px; height: 48px; }
.site-footer .brand-mark { width: 49px; height: 44px; }
.site-footer .brand-wordmark { width: 110px; height: 40px; }

.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-link:hover { color: var(--teal-dark); background: var(--bg-tint); }
.nav-link[aria-current="page"] { color: var(--teal-dark); }
.menu-toggle { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -10px; border: 0; background: none; color: var(--muted); border-radius: 50%; cursor: pointer; }
.menu-toggle .icon { width: 16px; height: 16px; transition: transform .25s; }
.has-menu.is-open .menu-toggle .icon { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 12px); left: 50%; width: min(720px, 90vw); transform: translate(-50%, 8px); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.mega::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-menu:hover .mega, .has-menu.is-open .mega, .has-menu:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-link { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; color: var(--text); }
.mega-link:hover { background: var(--bg-tint); color: var(--text); }
.mega-link img { width: 64px; height: 48px; border-radius: 10px; object-fit: cover; background: var(--bg-tint); flex: none; }
.mega-link strong { display: block; color: var(--ink); font-size: .92rem; }
.mega-link small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.mega-all { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: 8px; padding: 12px; border-radius: 14px; background: var(--bg-tint); font-weight: 600; }
.nav-contact { display: none; }

.header-actions { position: relative; display: flex; align-items: center; gap: 10px; }
.quote-pill { position: relative; display: inline-flex; align-items: center; gap: .5em; padding: .65em 1.1em; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: 0 8px 22px -10px rgba(11,37,69,.8); transition: transform .25s var(--ease), background .2s; }
.quote-pill:hover { color: #fff; background: var(--navy-2); transform: translateY(-1px); }
.quote-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--cyan); color: var(--navy-deep); font-size: .75rem; font-weight: 800; }
.quote-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 85% 10%, #e5f6f9 0%, transparent 60%), radial-gradient(800px 500px at 0% 100%, #eef5fb 0%, transparent 60%); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(15,139,141,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(15,139,141,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.orb-a { width: 420px; height: 420px; right: 4%; top: 6%; background: radial-gradient(circle, rgba(56,198,217,.45), transparent 70%); animation: float 14s ease-in-out infinite; }
.orb-b { width: 300px; height: 300px; right: 34%; bottom: 0; background: radial-gradient(circle, rgba(15,139,141,.25), transparent 70%); animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate3d(-20px, 24px, 0); } }
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero-copy h1 { margin-bottom: 20px; font-size: clamp(2.1rem, 4.2vw, 3.35rem); }
.hero-tagline { margin: -8px 0 14px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero-brand { font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.hero-text { font-size: clamp(1.02rem, 1.3vw, 1.14rem); max-width: 640px; margin-bottom: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--ink); font-weight: 500; font-size: .93rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--mint); color: var(--teal); stroke-width: 2.6; }

.hero-stage { position: relative; aspect-ratio: 1 / 1; perspective: 1200px; max-width: 600px; justify-self: center; width: 100%; }
.stage-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.stage-inner > * { position: absolute; transform: translateZ(var(--z, 0)); transition: transform .6s var(--ease); }
.stage-ring { inset: 8%; border-radius: 50%; border: 1.5px solid rgba(15,139,141,.18); background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.95), rgba(229,246,249,.6) 55%, transparent 70%); }
.stage-ring::after { content: ''; position: absolute; inset: -1.5px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--cyan); border-right-color: rgba(56,198,217,.3); animation: spin 18s linear infinite; }
.ring-2 { inset: 20%; background: none; border-style: dashed; border-color: rgba(11,37,69,.12); }
.ring-2::after { animation-duration: 26s; animation-direction: reverse; border-top-color: var(--teal); }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-device { inset: 4% 4% 2%; filter: drop-shadow(0 40px 40px rgba(11,37,69,.18)); }
.stage-device img { width: 100%; height: 100%; object-fit: contain; animation: hover 7s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-10px); } }
.stage-float { width: 28%; padding: 6px; border-radius: 22px; background: rgba(255,255,255,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); }
.stage-float img { border-radius: 16px; }
.float-a { left: -4%; bottom: 10%; animation: hover 8s ease-in-out infinite .6s; }
.float-b { right: 4%; top: 6%; width: 24%; animation: hover 9s ease-in-out infinite 1.4s; }
.glass-card { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255,255,255,.95); box-shadow: var(--shadow); white-space: nowrap; }
.glass-card strong { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.glass-card small { display: block; color: var(--muted); font-size: .78rem; }
.glass-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--cyan), var(--teal)); color: #fff; }
.glass-1 { right: 6%; bottom: 6%; }
.glass-2 { left: 4%; top: 12%; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(32px, 5vw, 56px) 0 0; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 22px 24px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat dt { font-size: .85rem; color: var(--muted); }
.stat dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; color: var(--navy); letter-spacing: -.02em; }

/* ---------- cards ---------- */
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { display: flex; flex-direction: column; overflow: hidden; color: var(--text); transform-style: preserve-3d; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; will-change: transform; }
.category-card:hover { color: var(--text); box-shadow: var(--shadow-lg); border-color: #cde6ea; }
.category-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-tint); }
.category-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .7s var(--ease); }
.category-card:hover .category-media img { transform: scale(1.06); }
.category-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.category-title { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.category-text { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.category-foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; font-weight: 600; color: var(--teal-dark); }
.category-foot .icon { transition: transform .3s var(--ease); }
.category-card:hover .category-foot .icon { transform: translateX(4px); }
.category-grid-small .category-body { padding: 14px 16px 16px; }
.category-grid-small .category-text { display: none; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-grid-compact { grid-template-columns: repeat(4, 1fr); }
.product-card { display: flex; flex-direction: column; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #cde6ea; }
.card-media { position: relative; display: block; aspect-ratio: 1 / .82; background: radial-gradient(circle at 50% 40%, #fff 0%, #f1f7fa 70%); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 6% 8%; transition: transform .6s var(--ease); }
.product-card:hover .card-media img { transform: scale(1.06) translateY(-4px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.chip-3d { position: absolute; top: 14px; left: 14px; background: rgba(11,37,69,.88); color: #fff; backdrop-filter: blur(6px); }
.chip-3d .icon { width: 14px; height: 14px; }
.card-body { display: flex; flex-direction: column; padding: 18px 20px 20px; flex: 1; border-top: 1px solid var(--line); }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: .76rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 8px; }
.card-meta a { color: var(--teal-dark); }
.card-title { font-size: 1.08rem; margin-bottom: 6px; }
.card-title a { color: var(--ink); }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 0; }
.card-title a:hover { color: var(--teal-dark); }
.card-text { font-size: .9rem; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.card-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.card-facts span { white-space: nowrap; }
.card-foot .btn, .card-meta a { position: relative; z-index: 1; }
.card-facts { display: flex; flex-direction: column; font-size: .8rem; line-height: 1.4; }
.price { color: var(--ink); font-weight: 600; }
.availability { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.availability::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(56,198,217,.2); }
.availability[data-status="in-stock"]::before { background: var(--success); box-shadow: 0 0 0 3px rgba(19,138,91,.18); }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card { padding: 26px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card h3 { font-size: 1.08rem; margin: 18px 0 8px; }
.feature-card p { font-size: .93rem; margin: 0; color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: var(--teal); background: linear-gradient(135deg, #eaf9fb, #d8f1f4); box-shadow: inset 0 0 0 1px rgba(15,139,141,.12); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.audience-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 8px 0 0; }
.audience-chips li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow-sm); }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; position: relative; }
.process::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent); }
.process-step { position: relative; text-align: center; padding: 0 12px; }
.process-num { position: relative; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-family: var(--font-display); font-weight: 600; color: var(--teal); font-size: 1.15rem; margin-bottom: 18px; }
.process-step h3 { font-size: 1.12rem; }
.process-step p { color: var(--muted); font-size: .95rem; max-width: 300px; margin-inline: auto; }

.promo { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: radial-gradient(700px 400px at 90% 0%, rgba(56,198,217,.35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #c9d6e6; overflow: hidden; isolation: isolate; box-shadow: var(--shadow-lg); }
.promo-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.promo h2 { color: #fff; }
.promo p { max-width: 540px; }
.promo-art { justify-self: center; max-width: 460px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.promo-art img { border-radius: 20px; background: rgba(255,255,255,.92); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-cards.has-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .contact-cards.has-4 { grid-template-columns: repeat(2, 1fr); } }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 26px; color: var(--text); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.contact-card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card > .icon { color: var(--teal); margin-bottom: 10px; }
.contact-label { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-value { font-family: var(--font-display); color: var(--ink); font-weight: 600; font-size: 1.08rem; line-height: 1.4; overflow-wrap: anywhere; }
.contact-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: .88rem; font-weight: 600; color: var(--teal-dark); }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 48px); background: radial-gradient(900px 400px at 100% 0%, #e7f7fa, transparent 60%), linear-gradient(180deg, #f7fbfd, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.page-hero-art img { border-radius: 24px; box-shadow: var(--shadow-lg); background: #fff; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0 0 20px; font-size: .85rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--teal-dark); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumb-sep { width: 14px; height: 14px; color: var(--line-strong); }
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.category-pills.is-center { justify-content: center; }
.category-pills a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: .86rem; font-weight: 600; transition: border-color .2s, color .2s, background .2s; }
.category-pills a:hover, .category-pills a[aria-current] { border-color: var(--teal); color: var(--teal-dark); background: var(--mint); }

/* ---------- catalogue ---------- */
.filters { display: grid; grid-template-columns: 1fr 1.2fr 1fr 1.6fr; gap: 14px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 10px); z-index: 10; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .8rem; font-weight: 700; color: var(--ink); padding: 0; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364768c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(56,198,217,.18); }
.field textarea { resize: vertical; min-height: 120px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .8rem; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 42px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 16px; font-size: .92rem; color: var(--muted); }
.results-bar p { margin: 0; }
.empty-state { text-align: center; padding: 48px 24px; border: 1.5px dashed var(--line-strong); border-radius: 20px; background: var(--bg-tint); }
.empty-inline { padding: 28px 20px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.pagination button { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 600; color: var(--navy); cursor: pointer; transition: all .2s; }
.pagination button:hover:not([disabled]) { border-color: var(--teal); color: var(--teal-dark); }
.pagination button[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination button[disabled] { opacity: .4; cursor: default; }

/* ---------- product detail ---------- */
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-tint); border: 1px solid var(--line); margin-bottom: 14px; }
.gallery-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: .88rem; color: var(--muted); cursor: pointer; }
.gallery-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.gallery-stage { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; background: radial-gradient(circle at 50% 40%, #ffffff 0%, #eef6f9 70%, #e4eff5 100%); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.gallery-stage > img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .6s var(--ease); }
.gallery-3d model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.viewer-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(11,37,69,.78); color: #fff; font-size: .78rem; white-space: nowrap; pointer-events: none; z-index: 2; }
.viewer-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 600; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.thumb { width: 76px; height: 76px; padding: 4px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; }
.thumb[aria-current="true"] { border-color: var(--teal); }
.product-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 18px; }
.product-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 28px; margin: 0 0 20px; padding: 16px 0; border-block: 1px solid var(--line); }
.product-facts dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.product-facts dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; font-size: .95rem; }
.product-lead { font-size: 1.08rem; }
.product-price { margin: 0 0 18px; }
.price-value { font-family: var(--font-display); font-size: 1.8rem; color: var(--navy); font-weight: 600; }
.price-request { display: inline-block; padding: 6px 12px; border-radius: 10px; background: var(--mint); color: var(--teal-dark); font-weight: 700; font-size: .9rem; }
.buy-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; background: var(--bg-tint); border: 1px solid var(--line); }
.qty { display: inline-flex; align-items: center; height: 48px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line-strong); overflow: hidden; }
.qty button { display: grid; place-items: center; width: 44px; height: 100%; border: 0; background: none; color: var(--navy); cursor: pointer; }
.qty button:hover { background: var(--bg-tint); }
.qty input { width: 56px; height: 100%; border: 0; text-align: center; font-weight: 700; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 38px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 46px; }
.notice { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff8e8; border: 1px solid #f3e1b0; color: #6b5310; font-size: .88rem; }
.notice .icon { margin-top: 2px; }
.product-contact { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 20px 0 0; font-weight: 600; font-size: .92rem; }
.product-contact a { display: inline-flex; align-items: center; gap: 8px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.detail-card { padding: 28px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list li { padding: 4px 10px; border-radius: 8px; background: var(--bg-tint); border: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink); font-weight: 600; width: 42%; padding-right: 16px; }
.spec-table td { color: var(--muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- about / contact ---------- */
.prose p { font-size: 1.04rem; }
.about-card { padding: 30px; }
.about-card h2 + * { margin-top: 0; }
.about-card .category-pills { margin-top: 0; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; }
.check-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--mint); color: var(--teal); stroke-width: 2.6; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; margin-top: 20px; }
.contact-layout > *, .quote-layout > *, .product-layout > *, .split > * { min-width: 0; }
.office-card { padding: 30px; }
.office-address { font-style: normal; line-height: 1.8; margin-bottom: 18px; color: var(--ink); }
.office-list { display: grid; gap: 10px; margin: 0 0 22px; }
.office-list div { display: flex; gap: 12px; }
.office-list dt { width: 90px; color: var(--muted); font-size: .9rem; }
.office-list dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.map-card { display: flex; flex-direction: column; overflow: hidden; min-height: 320px; color: var(--ink); }
.map-art { position: relative; flex: 1; background: linear-gradient(120deg, transparent 47%, #fff 47%, #fff 53%, transparent 53%), linear-gradient(30deg, transparent 46%, rgba(255,255,255,.9) 46%, rgba(255,255,255,.9) 50%, transparent 50%), linear-gradient(rgba(15,139,141,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(15,139,141,.08) 1px, transparent 1px), linear-gradient(160deg, #e2f3f6, #eef4fa); background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px, 100% 100%; display: grid; place-items: center; }
.map-pin { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--cyan), var(--teal)); box-shadow: 0 0 0 14px rgba(56,198,217,.18), 0 0 0 30px rgba(56,198,217,.08), var(--shadow-lg); animation: pulse 2.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 20px rgba(56,198,217,.12), 0 0 0 40px rgba(56,198,217,.04), var(--shadow-lg); } }
.map-caption { display: flex; flex-direction: column; padding: 18px 22px; border-top: 1px solid var(--line); }
.map-caption small { color: var(--muted); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 20px; padding: 26px 30px; background: linear-gradient(135deg, #f1fafb, #fff); }
.cta-card p { margin: 0; color: var(--muted); }

/* ---------- quote ---------- */
.quote-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.quote-list-col { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.quote-list-card { padding: 24px; }
.quote-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.quote-list-head h2 { margin: 0; }
.quote-items { list-style: none; padding: 0; margin: 0; }
.quote-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: fadeIn .35s var(--ease); }
.quote-item:last-child { border-bottom: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.quote-item img { width: 64px; height: 64px; border-radius: 12px; background: var(--bg-tint); object-fit: contain; padding: 4px; }
.quote-item-name { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; }
.quote-item-sku { font-size: .8rem; color: var(--muted); }
.quote-item-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--danger); border-color: #f0c7cf; }
.assist-card { padding: 22px 24px; }
.assist-card p { margin: 0; line-height: 2; }
.assist-card a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.quote-form { padding: clamp(22px, 3vw, 34px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.field-full { grid-column: 1 / -1; }
.req { color: var(--danger); }
.optional { color: var(--muted); font-weight: 500; }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 600; font-size: .9rem; color: var(--text); transition: all .2s; }
.segmented input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.consent { font-size: .82rem; color: var(--muted); }
.form-error { padding: 12px 14px; border-radius: 12px; background: #fdecef; color: var(--danger); font-weight: 600; font-size: .9rem; }
.result-card { padding: clamp(28px, 4vw, 44px); text-align: center; }
.result-card .btn-row { justify-content: center; }
.result-icon { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--teal)); color: #fff; margin-bottom: 18px; box-shadow: 0 0 0 12px rgba(56,198,217,.15); }
.result-failure { border-color: #f0c7cf; background: #fffafb; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }

/* ---------- footer ---------- */
.site-footer { position: relative; margin-top: 0; background: var(--navy-deep); color: #9fb3c8; padding: 64px 0 0; overflow: hidden; isolation: isolate; }
.footer-glow { position: absolute; z-index: -1; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(56,198,217,.22), transparent 65%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; gap: 36px; }
.footer-brand p { font-size: .92rem; max-width: 340px; }
.footer-legal-name { color: #dbe6f2; font-weight: 600; margin-top: 18px; font-size: .85rem !important; letter-spacing: .02em; }
.footer-title { color: #fff; font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: #b6c6d8; font-size: .93rem; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; display: grid; gap: 14px; }
.footer-contact { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--cyan); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding: 22px var(--gutter); border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #b6c6d8; }

/* "Added to quote": the product image flies into the header pill, then a small note confirms it */
.fly-item { position: fixed; z-index: 120; pointer-events: none; will-change: transform; }
.fly-item-inner { width: 100%; height: 100%; overflow: hidden; border-radius: 18px; background: #fff; border: 2px solid var(--cyan); box-shadow: 0 18px 40px -12px rgba(11,37,69,.45); will-change: transform, opacity; }
.fly-item-inner img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.quote-pill.is-catching { animation: catch .55s var(--ease); }
@keyframes catch { 35% { transform: scale(1.12); box-shadow: 0 0 0 7px rgba(56,198,217,.3), 0 8px 22px -10px rgba(11,37,69,.8); } }
.quote-toast { position: absolute; top: calc(100% + 12px); right: 0; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .88rem; font-weight: 600; color: var(--ink); white-space: nowrap; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .25s; }
.quote-toast::before { content: ''; position: absolute; top: -6px; right: var(--caret, 22px); width: 10px; height: 10px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.quote-toast.is-shown { opacity: 1; visibility: visible; transform: none; }
.quote-toast .icon { width: 18px; height: 18px; color: var(--success); }
.quote-toast a { margin-left: 4px; color: var(--teal-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85rem; vertical-align: 3px; }

/* Card: "Add to quote", then an in-place quantity stepper */
.card-quote { position: relative; z-index: 1; }
.card-quote [hidden] { display: none !important; }
.card-stepper { display: inline-flex; align-items: center; height: 38px; border-radius: 999px; background: var(--mint); border: 1.5px solid var(--teal); color: var(--teal-dark); animation: fadeIn .25s var(--ease); }
.card-stepper button { display: grid; place-items: center; width: 36px; height: 100%; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 999px; }
.card-stepper button:hover { background: rgba(15,139,141,.12); }
.card-stepper button[data-mode="remove"]:hover { color: var(--danger); }
.card-stepper-qty { min-width: 74px; text-align: center; font-weight: 700; font-size: .82rem; white-space: nowrap; }
.quote-count.is-empty { background: rgba(255,255,255,.18); color: #fff; }
.buy-box-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0; font-size: .9rem; font-weight: 600; color: var(--teal-dark); }
.buy-box-status a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.notfound { min-height: 60vh; display: grid; place-items: center; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .product-card.reveal.is-in:hover { transform: translateY(-6px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid-compact { grid-template-columns: repeat(3, 1fr); }
  .feature-grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .field-search { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: grid; }
  .quote-pill-label { display: none; }
  .quote-pill { padding: .7em .9em; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; border-top: 1px solid var(--line); }
  .nav-open .primary-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 16px 4px; border-radius: 0; font-size: 1.05rem; }
  .nav-link:hover { background: none; }
  .menu-toggle { width: 44px; height: 44px; margin: 0; }
  .mega { position: static; width: 100%; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px; display: none; }
  .has-menu:hover .mega, .has-menu:focus-within .mega { transform: none; }
  .has-menu.is-open .mega { display: block; transform: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav-contact { display: grid; gap: 14px; margin-top: 24px; }
  .nav-contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
  .hero-inner, .page-hero-grid, .split, .product-layout, .quote-layout, .contact-layout, .detail-grid, .promo { grid-template-columns: 1fr; }
  .hero-stage { max-width: 520px; }
  .page-hero-art { max-width: 420px; }
  .gallery, .quote-list-col { position: static; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-grid-compact { grid-template-columns: 1fr 1fr; }
  .contact-cards, .contact-cards.has-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process::before { display: none; }
  .filters { position: static; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .promo-art { max-width: 360px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .brand-mark { width: 44px; height: 40px; }
  .brand-wordmark { width: 104px; height: 38px; }
  .category-grid, .category-grid-small { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-text { display: none; }
  .category-body { padding: 12px 14px 14px; }
  .category-title { font-size: .95rem; }
  .product-grid, .product-grid-compact { grid-template-columns: 1fr; }
  .feature-grid, .feature-grid-4 { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .glass-card { padding: 8px 12px 8px 8px; }
  .glass-icon { width: 30px; height: 30px; border-radius: 10px; }
  .glass-card strong { font-size: .8rem; }
  .glass-card small { display: none; }
  .glass-2 { top: 4%; left: 0; }
  .glass-1 { bottom: 2%; }
  .stage-float { border-radius: 16px; }
  .btn-row .btn-lg { flex: 1 1 100%; }
  .product-facts { grid-template-columns: 1fr 1fr; }
  .buy-box .btn { flex: 1 1 100%; }
  .quote-item { grid-template-columns: 52px 1fr; }
  .quote-item img { width: 52px; height: 52px; }
  .quote-item-actions { grid-column: 1 / -1; justify-content: flex-end; }
}

/* ---------- catalogue additions ---------- */
.pager-gap { display: inline-grid; place-items: center; min-width: 28px; color: var(--muted); }
.category-media { background: radial-gradient(circle at 50% 45%, #fff 0%, #eef6f9 75%); }
.mega-link img { object-fit: contain; background: #fff; border: 1px solid var(--line); }
.page-hero-art img { aspect-ratio: 4 / 3; object-fit: contain; padding: 4%; }
.feature-list { margin: 8px 0 20px; }
.feature-list li { align-items: flex-start; font-weight: 400; color: var(--text); font-size: .95rem; }
.feature-list .icon { margin-top: 2px; }
.detail-card h3.h4 { margin-top: 20px; }

/* ---------- hero globe (static poster first, three.js canvas fades in on capable desktops) ---------- */
.stage-globe { inset: 6%; }
.stage-globe .globe-poster, .stage-globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-globe canvas { opacity: 0; transition: opacity 1.2s var(--ease); }
.stage-globe.is-live canvas { opacity: 1; }
.stage-globe .globe-poster { transition: opacity 1.2s var(--ease); }
.stage-globe.is-live .globe-poster { opacity: 0; }
.stage-ring { inset: 2%; }

/* ---------- rendering performance ---------- */
/* Off-screen cards skip layout and paint until they scroll near the viewport. */
.product-card { content-visibility: auto; contain-intrinsic-size: auto 520px; }
.category-card { content-visibility: auto; contain-intrinsic-size: auto 380px; }

/* ---------- brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.brand-card { display: flex; flex-direction: column; overflow: hidden; color: var(--text); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.brand-card:hover { color: var(--text); box-shadow: var(--shadow-lg); border-color: #cde6ea; }
.brand-media { display: block; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 45%, #fff 0%, #eef6f9 75%); overflow: hidden; }
.brand-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .7s var(--ease); }
.brand-card:hover .brand-media img { transform: scale(1.06); }
.brand-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; border-top: 1px solid var(--line); }
.brand-card-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--navy); letter-spacing: -.01em; }
.brand-count { font-size: .85rem; color: var(--teal-dark); font-weight: 600; }
.brand-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.brand-cats span { padding: 3px 8px; border-radius: 999px; background: var(--bg-tint); border: 1px solid var(--line); font-size: .74rem; color: var(--muted); }
.brand-grid-small .brand-cats { display: none; }
.brand-card { content-visibility: auto; contain-intrinsic-size: auto 380px; }

.filters-3 { grid-template-columns: 1.2fr 1fr 2fr; }
.filters-2 { grid-template-columns: 1fr 2fr; }
.card-brand { font-weight: 700; color: var(--navy) !important; }
.card-category { margin: -4px 0 6px; font-size: .78rem; color: var(--teal-dark); font-weight: 600; }
.field select option:disabled { color: #a8b5c4; }
@media (max-width: 1080px) { .filters-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-cats { display: none; }
  .filters-3, .filters-2 { grid-template-columns: 1fr; }
}
.field select:disabled { background-color: var(--bg-tint); color: var(--muted); cursor: not-allowed; }
.field-hint { font-size: .75rem; color: var(--muted); }
