/* =========================================================
   Crosspoint Medical Supplies — shared styles
   ========================================================= */
:root {
  --navy: #0b2a66;
  --navy-2: #123d91;
  --blue: #1f5fd1;
  --blue-soft: #eaf1ff;
  --red: #d7262e;
  --red-dark: #b51c23;
  --red-soft: #fdecec;
  --text: #0f1f3d;
  --muted: #5a6a85;
  --bg: #f5f8fd;
  --card: #ffffff;
  --border: #e1e8f3;
  --radius: 18px;
  --shadow-sm: 0 4px 14px rgba(11, 42, 102, 0.06);
  --shadow: 0 18px 44px rgba(11, 42, 102, 0.12);
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--red-soft); color: var(--red-dark);
  font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow.blue { background: var(--blue-soft); color: var(--navy-2); }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
  margin: 14px 0 12px;
}
.section-title .accent { color: var(--red); }
.section-lead { color: var(--muted); max-width: 640px; font-size: 1.05rem; }
.center .section-lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(215, 38, 46, .28); }
.btn-red:hover { background: var(--red-dark); box-shadow: 0 14px 30px rgba(215, 38, 46, .36); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(11, 42, 102, .25); }
.btn-navy:hover { background: var(--navy-2); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); }
.btn-sm { padding: 10px 16px; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; white-space: normal; text-align: center; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cfdcf5; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar-links { display: flex; gap: 22px; }
.topbar-links span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 28px; height: 28px; }
.brand-text { line-height: 1.1; }
.brand-text strong { display: block; font-size: 1.12rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.brand-text strong em { font-style: normal; color: var(--red); }
.brand-text small { font-size: .74rem; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text);
  padding: 10px 14px; border-radius: 10px; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--blue-soft); color: var(--navy-2); }
.nav a.active { color: var(--red); }
.nav .btn { margin-left: 8px; padding: 11px 18px; }
.nav .btn:hover { background: var(--red-dark); color: #fff; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--navy);
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 500px at 90% 0%, rgba(31, 95, 209, .14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(215, 38, 46, .08), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin: 18px 0; }
.hero h1 .accent { color: var(--red); }
.hero h1 .blue { color: var(--navy-2); }
.hero p.lead { color: var(--muted); font-size: 1.12rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; display: grid; gap: 10px; margin-top: 30px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.check {
  width: 24px; height: 24px; border-radius: 50%; background: var(--blue-soft); color: var(--navy-2);
  display: grid; place-items: center; flex-shrink: 0;
}
.check svg { width: 14px; height: 14px; }

.hero-visual { position: relative; height: 540px; }
.hero-card {
  position: absolute; background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  transition: transform .4s ease;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-card.main { width: 58%; height: 86%; left: 21%; top: 2%; z-index: 2; }
.hero-card.left { width: 38%; height: 52%; left: 0; top: 30%; z-index: 1; transform: rotate(-5deg); }
.hero-card.right { width: 38%; height: 52%; right: 0; top: 12%; z-index: 1; transform: rotate(5deg); }
.hero-visual:hover .hero-card.left { transform: rotate(-7deg) translateX(-8px); }
.hero-visual:hover .hero-card.right { transform: rotate(7deg) translateX(8px); }
.float-badge {
  position: absolute; z-index: 3; background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .88rem;
  animation: bob 5s ease-in-out infinite;
}
.float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.float-badge .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.float-badge .ico svg { width: 20px; height: 20px; }
.float-badge.b1 { left: -10px; bottom: 6%; }
.float-badge.b1 .ico { background: var(--red-soft); color: var(--red); }
.float-badge.b2 { right: -6px; bottom: 22%; animation-delay: -2.5s; }
.float-badge.b2 .ico { background: var(--blue-soft); color: var(--navy-2); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust strip ---------- */
.trust { margin-top: -44px; position: relative; z-index: 5; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow);
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-item .ico {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--navy-2);
}
.trust-item:nth-child(even) .ico { background: var(--red-soft); color: var(--red); }
.trust-item .ico svg { width: 22px; height: 22px; }
.trust-item h4 { font-size: 1rem; font-weight: 700; }
.trust-item p { font-size: .87rem; color: var(--muted); line-height: 1.45; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; margin-top: 44px; }
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card .thumb { aspect-ratio: 1 / 1; background: var(--blue-soft); overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .5s; }
.cat-card:hover .thumb img { transform: scale(1.06); }
.cat-card .body { padding: 16px 18px 18px; }
.cat-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.cat-card span { font-size: .84rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.cat-card:hover span { color: var(--red); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; width: 100%;
  background: linear-gradient(180deg, #f2f6fd, #e7eef9);
}
.product-card .media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.product-card:hover .media img { transform: scale(1.04); }
.product-card .badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: rgba(255,255,255,.95); color: var(--navy); font-size: .74rem; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.product-card .zoom {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(6px); transition: .25s;
}
.product-card .zoom svg { width: 18px; height: 18px; }
.product-card:hover .zoom { opacity: 1; transform: none; }
.product-card .info { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: .74rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.product-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin: 4px 0 6px; }
.product-card p { font-size: .88rem; color: var(--muted); line-height: 1.5; flex: 1; }
.product-card .actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; padding-top: 16px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: #fff;
  color: var(--navy); display: grid; place-items: center; text-decoration: none; transition: .2s;
}
.icon-btn:hover { border-color: var(--blue); background: var(--blue-soft); }
.icon-btn svg { width: 18px; height: 18px; }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.swatch {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border); transition: box-shadow .2s, transform .2s; padding: 0;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { box-shadow: 0 0 0 2px var(--red); }

/* ---------- Catalog toolbar ---------- */
.page-hero {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(215, 38, 46, .25), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 72px 0 80px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 2h6v7h7v6h-7v7H9v-7H2V9h7z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 14px 0 12px; }
.page-hero p { color: #cfdcf5; max-width: 620px; font-size: 1.08rem; }
.page-hero .eyebrow { background: rgba(255,255,255,.12); color: #fff; }
.crumbs { font-size: .85rem; color: #a9bde4; margin-bottom: 6px; }
.crumbs a { color: #fff; text-decoration: none; }

.toolbar {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px;
  box-shadow: var(--shadow); margin-top: -40px; position: relative; z-index: 5;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--border); background: #fff; color: var(--text); font-weight: 600; font-size: .88rem;
  padding: 9px 14px; border-radius: 999px; transition: .2s;
}
.chip:hover { border-color: var(--blue); color: var(--navy-2); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .count { opacity: .6; margin-left: 4px; font-weight: 500; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 320px; }
.search input {
  width: 100%; padding: 11px 14px 11px 40px; border-radius: 12px; border: 1px solid var(--border);
  font: inherit; font-size: .92rem; background: var(--bg); outline: none; transition: .2s;
}
.search input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31,95,209,.12); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.result-info { color: var(--muted); font-size: .92rem; margin: 30px 0 18px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); display: none; }
.empty.show { display: block; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; right: 22px; top: 18px; font-size: 2.6rem; font-weight: 800; color: var(--blue-soft);
}
.step .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
}
.step:nth-child(2) .ico { background: linear-gradient(135deg, var(--red-dark), var(--red)); }
.step .ico svg { width: 24px; height: 24px; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .93rem; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.aud {
  border-radius: var(--radius); padding: 26px 22px; background: #fff; border: 1px solid var(--border);
  transition: .25s;
}
.aud:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.aud .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 16px; }
.aud:nth-child(even) .ico { background: var(--blue-soft); color: var(--navy-2); }
.aud .ico svg { width: 22px; height: 22px; }
.aud h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.aud p { font-size: .9rem; color: var(--muted); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-media img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.split-media img:nth-child(2) { margin-top: 40px; }
.value-list { display: grid; gap: 16px; margin-top: 26px; }
.value { display: flex; gap: 14px; }
.value .ico { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--blue-soft); color: var(--navy-2); }
.value .ico svg { width: 20px; height: 20px; }
.value h4 { font-size: 1rem; font-weight: 700; }
.value p { font-size: .92rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: 56px; color: #fff; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 100% 100%, rgba(215, 38, 46, .45), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.cta-band p { color: #cfdcf5; margin-top: 10px; }
.cta-band .btns { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: -40px; position: relative; z-index: 5; }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); text-decoration: none; display: flex; gap: 16px; align-items: center; transition: .25s;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card .ico { width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--red); color: #fff; }
.contact-card:nth-child(2) .ico { background: var(--navy); }
.contact-card:nth-child(3) .ico { background: var(--blue); }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card small { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.contact-card strong { display: block; font-size: 1rem; word-break: break-all; color: var(--text); }

.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.form-card > p { color: var(--muted); margin: 6px 0 22px; font-size: .95rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .88rem; }
.field label span { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); outline: none; transition: .2s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31,95,209,.12); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-note a { color: var(--navy-2); font-weight: 600; }

.side-stack { display: grid; gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; }
.info-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.faq details { border-top: 1px solid var(--border); padding: 14px 0; }
.faq details:first-of-type { border-top: 0; padding-top: 0; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.faq details p a { color: var(--navy-2); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #071d48; color: #b7c6e4; padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: #8fa3cc; }
.site-footer .brand-mark { border-color: transparent; }
.site-footer p { font-size: .92rem; margin-top: 16px; max-width: 300px; }
.site-footer h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer ul a { text-decoration: none; font-size: .92rem; transition: color .2s; }
.site-footer ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #8fa3cc;
}

/* ---------- Floating contact ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-menu { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.fab-menu a {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
  background: #fff; padding: 10px 16px 10px 10px; border-radius: 999px; box-shadow: var(--shadow);
  font-weight: 600; font-size: .9rem; opacity: 0; transform: translateY(12px) scale(.95); transition: .25s;
}
.fab-menu a .ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--navy); }
.fab-menu a:nth-child(1) .ico { background: var(--red); }
.fab-menu a:nth-child(2) .ico { background: var(--blue); }
.fab-menu a:nth-child(4) .ico { background: var(--navy-2); }
.fab-menu a .ico svg { width: 17px; height: 17px; }
.fab.open .fab-menu { pointer-events: auto; }
.fab.open .fab-menu a { opacity: 1; transform: none; }
.fab.open .fab-menu a:nth-child(3) { transition-delay: .04s; }
.fab.open .fab-menu a:nth-child(2) { transition-delay: .08s; }
.fab.open .fab-menu a:nth-child(1) { transition-delay: .12s; }
.fab-toggle {
  width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--red); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px rgba(215, 38, 46, .45); position: relative;
}
.fab-toggle::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red);
  animation: ring 2.2s infinite;
}
.fab.open .fab-toggle::before { animation: none; opacity: 0; }
.fab-toggle svg { width: 26px; height: 26px; transition: transform .25s; }
.fab-toggle .x { position: absolute; opacity: 0; transform: rotate(-90deg); }
.fab.open .fab-toggle .chat { opacity: 0; transform: rotate(90deg); }
.fab.open .fab-toggle .x { opacity: 1; transform: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(7, 21, 52, .7); backdrop-filter: blur(4px); padding: 20px;
}
.modal.open { display: flex; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal-box {
  background: #fff; border-radius: 22px; max-width: 1040px; width: 100%; max-height: calc(100vh - 40px);
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; position: relative;
  animation: pop .25s cubic-bezier(.2,.8,.2,1);
}
@keyframes pop { from { transform: translateY(14px) scale(.98); } }
.modal-media { background: #eef3fb; overflow: auto; max-height: calc(100vh - 40px); }
.modal-media img { width: 100%; height: auto; }
.modal-info { padding: 36px 32px; overflow: auto; max-height: calc(100vh - 40px); display: flex; flex-direction: column; }
.modal-info .cat { font-size: .78rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .07em; }
.modal-info h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 6px 0 12px; }
.modal-info p { color: var(--muted); }
.modal-info .variant-label { font-weight: 600; font-size: .9rem; margin-top: 20px; }
.modal-info .swatches .swatch { width: 30px; height: 30px; }
.modal-info .perks { list-style: none; display: grid; gap: 10px; margin: 22px 0; padding: 18px; background: var(--bg); border-radius: 14px; }
.modal-info .perks li { display: flex; gap: 10px; align-items: center; font-size: .9rem; font-weight: 500; }
.modal-actions { display: grid; gap: 10px; margin-top: auto; }
.modal-actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text);
  box-shadow: var(--shadow-sm);
}
.modal-close svg { width: 20px; height: 20px; }
body.no-scroll { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px; }
  .nav .btn { margin: 8px 0 0; }
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; gap: 40px; }
  .hero-visual { height: 460px; max-width: 520px; margin: 0 auto; width: 100%; }
  .trust { margin-top: 0; padding-top: 10px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .modal-box { grid-template-columns: 1fr; overflow: auto; }
  .modal-media, .modal-info { max-height: none; overflow: visible; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .brand-text small { display: none; }
  .hero-cta .btn { flex: 1; }
  .hero-visual { height: 380px; }
  .float-badge { padding: 9px 12px; font-size: .8rem; }
  .float-badge .ico { width: 32px; height: 32px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--border); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .audience { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card .info { padding: 12px; }
  .product-card h3 { font-size: .92rem; }
  .product-card p { display: none; }
  .product-card .actions { grid-template-columns: 1fr; }
  .product-card .actions .icon-btn { display: none; }
  .product-card .actions .btn { padding: 10px; font-size: .82rem; }
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .toolbar > * { min-width: 0; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .chip { white-space: nowrap; }
  .search { max-width: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 22px 22px 0 0; max-height: 92vh; }
  .modal-info { padding: 24px 20px 28px; }
  .modal-actions .row { grid-template-columns: 1fr; }
  .split-media img:nth-child(2) { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Quote list
   ========================================================= */
.quote-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: #fff; color: var(--red); font-size: .74rem; font-weight: 800; line-height: 1;
}
.quote-count[hidden] { display: none; }
.header-quote {
  display: none; position: relative; width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border); background: #fff; color: var(--navy); align-items: center; justify-content: center;
}
.header-quote svg { width: 21px; height: 21px; }
.header-quote .quote-count { position: absolute; top: -7px; right: -7px; background: var(--red); color: #fff; }
.header-actions { display: flex; gap: 8px; align-items: center; }

.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.added, .btn.added:hover { background: #12805c; box-shadow: 0 10px 24px rgba(18, 128, 92, .28); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); width: max-content;
  background: var(--navy); color: #fff; padding: 12px 14px 12px 12px; border-radius: 14px; box-shadow: var(--shadow);
  font-size: .9rem; transition: .3s cubic-bezier(.2,.8,.2,1);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast .check { background: #fff; color: #12805c; }
.toast a { color: #fff; font-weight: 700; white-space: nowrap; padding: 6px 12px; border-radius: 8px; background: var(--red); text-decoration: none; }

/* Stepper */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 12px; background: #fff; overflow: hidden; }
.stepper button { width: 42px; height: 46px; border: 0; background: transparent; color: var(--navy); display: grid; place-items: center; }
.stepper button:hover { background: var(--blue-soft); }
.stepper button svg { width: 15px; height: 15px; }
.stepper input {
  width: 52px; height: 46px; border: 0; text-align: center; font: inherit; font-weight: 700; color: var(--text);
  background: transparent; -moz-appearance: textfield; appearance: textfield; outline: none;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.sm button { width: 34px; height: 38px; }
.stepper.sm input { width: 40px; height: 38px; font-size: .92rem; }

/* Modal quote actions */
.add-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.row3 .btn { padding: 10px 8px; }

/* Quote page */
.quote-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px; box-shadow: var(--shadow);
  margin-top: -40px; position: relative; z-index: 5;
}
.quote-steps div { display: flex; align-items: center; gap: 12px; padding: 8px 10px; font-weight: 600; font-size: .93rem; }
.quote-steps b {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--navy-2); font-size: .9rem;
}
.quote-steps div:nth-child(2) b { background: var(--red-soft); color: var(--red); }
.quote-steps small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }

.quote-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; margin-top: 36px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.panel h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.panel-head span { color: var(--muted); font-size: .9rem; }
.panel-head span b { color: var(--text); }
.sticky { position: sticky; top: 96px; }

.q-list { list-style: none; display: grid; gap: 10px; }
.q-item {
  display: grid; grid-template-columns: 58px 1fr auto auto; gap: 14px; align-items: center;
  padding: 10px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg);
}
.q-item img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; object-position: top; background: #fff; }
.q-name { min-width: 0; }
.q-name strong { display: block; font-size: .95rem; line-height: 1.3; }
.q-name span { font-size: .8rem; color: var(--muted); }
.q-remove { width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; }
.q-remove:hover { background: var(--red-soft); color: var(--red); }
.q-remove svg { width: 18px; height: 18px; }

.q-empty { text-align: center; padding: 34px 16px; border: 2px dashed var(--border); border-radius: 16px; color: var(--muted); }
.q-empty .ico { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--navy-2); }
.q-empty .ico svg { width: 26px; height: 26px; }
.q-empty h3 { color: var(--text); font-size: 1.05rem; }
.q-empty p { font-size: .9rem; margin: 4px 0 16px; }
.q-empty[hidden] { display: none; }

.quick-add { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.quick-add label { font-weight: 600; font-size: .88rem; display: block; margin-bottom: 8px; }
.quick-add .row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
.quick-add select { width: 100%; }
.quote-layout > * { min-width: 0; }
.quick-add select {
  font: inherit; font-size: .92rem; padding: 0 12px; height: 48px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); min-width: 0; outline: none;
}
.quick-add select:focus { border-color: var(--blue); background: #fff; }
.browse-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .9rem; color: var(--navy-2); text-decoration: none; }
.browse-link:hover { color: var(--red); }

.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-group label { cursor: pointer; font-weight: 400; position: relative; }
.radio-group input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.radio-group span {
  display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border);
  font-size: .86rem; font-weight: 600; background: #fff; transition: .2s;
}
.radio-group input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.radio-group input:focus-visible + span { box-shadow: 0 0 0 4px rgba(31,95,209,.2); }

.send-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 22px; }
.send-options .alt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quote-done {
  margin-top: 18px; padding: 18px; border-radius: 14px; background: #e8f7f0; border: 1px solid #bfe6d4; color: #0e5c42;
  font-size: .92rem;
}
.quote-done[hidden] { display: none; }
.quote-done strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.quote-done button { margin-top: 10px; background: none; border: 0; color: #0e5c42; font-weight: 700; text-decoration: underline; padding: 0; }

.perk-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.perk-strip div { display: flex; gap: 10px; align-items: center; font-size: .88rem; font-weight: 600; color: var(--muted); }

/* Contact page: link across to the quote builder */
.quote-callout {
  display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 22px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--red-dark), var(--red)); box-shadow: 0 14px 30px rgba(215, 38, 46, .25); transition: .25s;
}
.quote-callout:hover { transform: translateY(-3px); }
.quote-callout .ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex-shrink: 0; }
.quote-callout .ico svg { width: 24px; height: 24px; }
.quote-callout strong { display: block; font-size: 1.05rem; }
.quote-callout span { font-size: .88rem; opacity: .9; }

@media (max-width: 920px) {
  .header-quote { display: inline-flex; }
  .quote-layout { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 640px) {
  .quote-steps { grid-template-columns: 1fr; gap: 4px; }
  .panel { padding: 20px 16px; }
  .q-item { grid-template-columns: 52px 1fr auto; row-gap: 8px; }
  .q-item img { width: 52px; height: 52px; }
  .q-item .stepper { grid-column: 2; justify-self: start; }
  .q-item .q-remove { grid-column: 3; grid-row: 1; }
  .quick-add .row { grid-template-columns: minmax(0, 1fr) auto; }
  .quick-add .row select { grid-column: 1 / -1; }
  .quick-add .row .btn { width: 100%; }
  .send-options .alt { grid-template-columns: 1fr; }
  .perk-strip { grid-template-columns: 1fr; }
  .add-row { grid-template-columns: 1fr; }
  .add-row .stepper { justify-self: start; }
  .toast { bottom: 92px; }
}

/* =========================================================
   Catalog: small spreadsheet photos + product options
   ========================================================= */
.product-card .media.fit-contain { background: #fff; }
.product-card .media.fit-contain img { object-fit: contain; object-position: center; padding: 14px; }
.cat-card .thumb.fit-contain { background: #fff; }
.cat-card .thumb.fit-contain img { object-fit: contain; object-position: center; padding: 12px; }

.opt-summary {
  margin-top: 10px; font-size: .8rem; color: var(--muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.opt-summary b { color: var(--navy-2); font-weight: 700; }

.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; max-height: 210px; overflow-y: auto; padding: 2px; }
.opt-chip {
  border: 1px solid var(--border); background: #fff; color: var(--text); border-radius: 10px;
  padding: 8px 12px; font-size: .86rem; font-weight: 600; text-align: left; transition: .15s;
}
.opt-chip:hover { border-color: var(--blue); color: var(--navy-2); }
.opt-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.modal-media.fit-contain { background: #fff; display: flex; align-items: center; justify-content: center; padding: 28px; }
.modal-media.fit-contain img { width: 100%; max-width: 560px; height: auto; }

@media (max-width: 640px) {
  .product-card .media.fit-contain img { padding: 8px; }
  .opt-summary { font-size: .75rem; }
  .modal-media.fit-contain { padding: 16px; }
}
