/* ===== Mr.Medical — single page B2B site ===== */
:root {
  --navy: #0e2f52;
  --navy-2: #123a63;
  --blue: #1f6fb2;
  --accent: #2f9fe0;
  --accent-2: #57b8ec;
  --red: #c0392b;
  --ink: #22303e;
  --muted: #5c6b7a;
  --line: #e3e9f0;
  --bg-soft: #f4f8fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 47, 82, .10);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif; color: var(--ink); line-height: 1.6; background: #fff; }
/* Reduce widow words & balance headings */
p { text-wrap: pretty; }
h1, h2, h3, h4, .section-title { text-wrap: balance; }

[id] { scroll-margin-top: 84px; }
h1, h2, h3 { letter-spacing: -.01em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---- buttons ---- */
.btn { display: inline-block; padding: 10px 24px; border-radius: 999px; font-weight: 600; letter-spacing: .02em; transition: all .25s; border: 2px solid transparent; cursor: pointer; font-size: 14.5px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 15px 44px; font-size: 16px; }

/* ---- header ---- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 4px 18px rgba(14,47,82,.12); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { color: var(--navy); font-weight: 600; font-size: 14px; position: relative; padding: 5px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav a:hover::after { width: 100%; }
.header-cta { padding: 7px 18px; font-size: 13.5px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---- hero ---- */
.hero { position: relative; min-height: 76vh; display: flex; align-items: center; background: url("../img/hero.jpg") center/cover no-repeat var(--navy); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,32,56,.88) 0%, rgba(14,47,82,.72) 45%, rgba(14,47,82,.35) 100%); }
.hero-content { position: relative; color: #fff; padding: 108px 0 58px; }
.hero-kicker { letter-spacing: .26em; font-size: 12px; font-weight: 700; color: var(--accent-2); margin-bottom: 14px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.14; font-weight: 800; margin-bottom: 16px; }
.hero-sub { font-size: clamp(15px, 1.5vw, 18px); max-width: 620px; color: #dbe7f2; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 9px 16px; backdrop-filter: blur(4px); }
.badge strong { display: block; font-size: 15.5px; }
.badge span { font-size: 12.5px; color: #bcd2e4; }

/* ---- stats ---- */
.stats { background: var(--navy); color: #fff; padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: var(--accent-2); }
.stat-label { font-size: 14px; color: #b9cddf; }

/* ---- sections ---- */
.section { padding: 56px 0; }
.section-kicker { display: inline-block; color: var(--blue); background: rgba(47,159,224,.09); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 11.5px; padding: 5px 14px; border-radius: 999px; margin-bottom: 12px; }
.section-title { font-size: clamp(24px, 2.8vw, 34px); color: var(--navy); font-weight: 800; line-height: 1.22; margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 840px; margin-bottom: 30px; font-size: 15.5px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- about ---- */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.about-media { position: relative; }
.about-media > img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; object-fit: cover; }
.about-media > img.about-media-2 { position: absolute; right: -18px; bottom: -26px; width: 56%; height: auto; border: 5px solid #fff; border-radius: 12px; box-shadow: 0 12px 30px rgba(14,47,82,.18); object-fit: cover; }
.about-text .about-quote { border-left: 4px solid var(--accent); background: var(--bg-soft); padding: 14px 18px; border-radius: 0 10px 10px 0; font-style: italic; color: var(--navy-2); margin-bottom: 20px; }
.about-text p { margin-bottom: 14px; color: #3c4b5a; }
.check-list { list-style: none; margin: 14px 0 22px; }
.check-list li { padding: 4px 0 4px 28px; position: relative; font-size: 15px; }
.check-list li::before { content: "✔"; position: absolute; left: 0; top: 4px; color: var(--accent); font-weight: 700; font-size: 14px; }

/* ---- products ---- */
.products { background: var(--bg-soft); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; color: inherit; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(14,47,82,.15); border-color: var(--accent); }
.product-card { border: 1px solid transparent; }
.product-img { height: 160px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px; border-bottom: 1px solid var(--line); }
.product-img img { max-height: 100%; object-fit: contain; }
.product-card h3 { color: var(--navy); font-size: 17px; padding: 11px 18px 3px; }
.product-card p { color: var(--muted); font-size: 13.5px; padding: 0 18px 8px; flex: 1; line-height: 1.5; }
.product-more { display: block; padding: 9px 18px; border-top: 1px solid var(--line); color: var(--blue); font-size: 13px; font-weight: 600; }

/* ---- quality ---- */
.quality { background: #fff; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.cert-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; text-align: center; transition: transform .3s; }
.cert-card:hover { transform: translateY(-6px); }
.cert-ico { width: 42px; height: 42px; margin: 0 auto 10px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.cert-card h3 { color: var(--navy); margin-bottom: 6px; }
.cert-card p { font-size: 14px; color: var(--muted); }
.quality-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qp h4 { color: var(--navy); margin-bottom: 6px; font-size: 16.5px; }
.qp p { font-size: 14px; color: var(--muted); }
.qp { border-top: 3px solid var(--accent); padding-top: 12px; }

/* ---- oem ---- */
.oem { background: linear-gradient(135deg, rgba(10,32,56,.96) 0%, rgba(14,47,82,.93) 60%, rgba(26,74,124,.90) 100%), url("../img/oem_bg.jpg") center/cover no-repeat var(--navy); color: #fff; }
.oem .section-title { color: #fff; }
.oem-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.oem-text p { color: #c9d9e8; margin-bottom: 8px; }
.oem .check-list li { color: #e8f1f8; }
.oem .check-list li::before { color: var(--accent-2); }
.oem-text .btn { margin-top: 12px; }
.oem-steps { display: grid; gap: 12px; }
.step { display: flex; gap: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 18px; transition: background .25s; }
.step:hover { background: rgba(255,255,255,.11); }
.step span { font-size: 22px; font-weight: 800; color: var(--accent-2); line-height: 1; min-width: 34px; }
.step h4 { margin-bottom: 4px; }
.step p { font-size: 13.5px; color: #c9d9e8; line-height: 1.5; }

/* ---- factory ---- */
.factory { background: var(--bg-soft); }
.factory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
.factory-grid figure { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.factory-grid img { height: 165px; width: 100%; object-fit: cover; transition: transform .4s; }
.factory-grid figure:hover img { transform: scale(1.06); }
.factory-grid figcaption { padding: 9px 12px; font-size: 13px; color: var(--navy); font-weight: 600; }
.capacity { background: var(--navy); border-radius: var(--radius); color: #fff; padding: 26px 28px; }
.capacity h3 { margin-bottom: 16px; font-size: 18px; }
.capacity-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.capacity-grid strong { display: block; font-size: clamp(18px, 2vw, 26px); color: var(--accent-2); }
.capacity-grid span { font-size: 13px; color: #b9cddf; }

/* ---- global ---- */
.global { background: #fff; }
.global-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.global p { color: #3c4b5a; margin-bottom: 8px; }
.bar { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.bar-label { width: 170px; font-size: 14px; font-weight: 600; color: var(--navy); }
.bar-track { flex: 1; height: 12px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--accent-2)); border-radius: 999px; width: 0; transition: width 1.2s ease; }
.bar-val { width: 44px; text-align: right; font-weight: 700; color: var(--blue); }

/* ---- contact ---- */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 6px 0 30px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.cc-ico { font-size: 26px; margin-bottom: 10px; }
.contact-card h3 { color: var(--navy); font-size: 16.5px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 30px; max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 9px; font: inherit; font-size: 14px; transition: border .2s; background: #fbfdfe; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { justify-self: center; }
.form-note { text-align: center; font-size: 13px; color: var(--muted); }

/* ---- FAQ ---- */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 13px 52px 13px 18px; font-weight: 700; color: var(--navy); position: relative; font-size: 15px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); font-weight: 400; transition: transform .25s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 18px 14px; color: var(--muted); font-size: 14px; }

/* ---- CTA band ---- */
.cta-band { position: relative; background: url("../img/cta_bg.jpg") center/cover no-repeat var(--navy); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,32,56,.90) 0%, rgba(14,47,82,.78) 55%, rgba(14,47,82,.55) 100%); }
.cta-inner { position: relative; padding: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; color: #fff; }
.cta-inner h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-bottom: 6px; }
.cta-inner p { color: #dbe7f2; max-width: 560px; }
.cta-band .btn { white-space: nowrap; }

/* ---- footer ---- */
.footer { background: var(--navy); color: #b9cddf; padding: 42px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 30px; }
.footer-logo { height: 34px; width: auto; box-sizing: content-box; background: #fff; padding: 6px 12px; border-radius: 9px; margin-bottom: 12px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 15px; }
.footer a, .footer span { display: block; color: #b9cddf; font-size: 13.5px; padding: 3px 0; }
.footer a:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 18px 0; font-size: 13px; color: #8fa8bd; }

/* ---- reveal animation ---- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .stats-grid, .cert-grid, .quality-points { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .capacity-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .oem-grid, .global-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-media > img.about-media-2 { right: 0; border-width: 4px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav { position: fixed; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 0; box-shadow: 0 14px 24px rgba(14,47,82,.14); transform: translateY(-130%); transition: transform .35s; margin-left: 0; }
  .nav.open { transform: none; }
  .nav a { padding: 13px 6%; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .product-grid, .factory-grid, .contact-grid, .stats-grid, .cert-grid, .quality-points { grid-template-columns: 1fr; }
  .capacity-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .bar-label { width: 120px; }
}

/* ===== Subpages ===== */
.page-hero { background: linear-gradient(110deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 30px 0 38px; }
.page-hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 36px; align-items: center; }
.page-hero h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.15; margin-bottom: 10px; }
.page-hero .hero-sub { color: #dbe7f2; font-size: 15.5px; max-width: 580px; }
.page-hero-img img { width: 100%; max-width: 360px; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 16px 44px rgba(0,0,0,.28); display: block; margin-left: auto; }
.crumbs { padding: 78px 0 0; font-size: 12.5px; color: #64748b; }
.crumbs a { color: #2563eb; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumb-sep { margin: 0 8px; color: #cbd5e1; }
.prose h2 { font-size: clamp(22px, 2.4vw, 29px); font-weight: 800; margin-bottom: 12px; color: var(--navy); }
.prose p { margin-bottom: 10px; color: #475569; max-width: 880px; font-size: 15px; }
.prose p:last-child { margin-bottom: 0; }
.section-alt { background: #f1f5f9; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-text h2 { font-size: clamp(22px, 2.4vw, 29px); font-weight: 800; margin-bottom: 12px; color: var(--navy); }
.split-text p { color: #475569; margin-bottom: 10px; font-size: 15px; }
.split-img img { width: 100%; border-radius: 14px; box-shadow: 0 14px 40px rgba(15,35,60,.14); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid:has(.feature-card:nth-child(9)) { grid-template-columns: repeat(3, 1fr); }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px; box-shadow: 0 4px 18px rgba(15,35,60,.05); transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,35,60,.10); }
.feature-card .f-num { font-size: 13px; font-weight: 800; color: #93c5fd; letter-spacing: .1em; margin-bottom: 10px; }
.feature-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.feature-card p { font-size: 13.5px; color: #475569; line-height: 1.55; }
.table-wrap { overflow-x: auto; background: #fff; border-radius: 14px; box-shadow: 0 8px 28px rgba(15,35,60,.08); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th { background: var(--navy); color: #fff; text-align: left; padding: 11px 14px; font-size: 13.5px; }
.spec-table td { padding: 10px 14px; border-bottom: 1px solid #e2e8f0; font-size: 13.5px; color: #334155; }
.spec-table tbody tr:hover td { background: #f0f7ff; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) td { background: #f8fafc; }
.link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.link-card { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 15px; font-weight: 600; color: var(--navy); text-decoration: none; font-size: 13.5px; transition: all .2s; }
.link-card:hover { border-color: #2563eb; box-shadow: 0 8px 24px rgba(37,99,235,.12); transform: translateY(-2px); }
.link-card span { color: #2563eb; }
.form-note { font-size: 12.5px; color: #94a3b8; margin-top: 10px; }
.nav a.active { color: #2563eb; }
@media (max-width: 960px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-img img { margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid, .link-grid { grid-template-columns: 1fr; }
}

/* ===== Homepage v6: capabilities / compatibility / applications ===== */
.stats-grid-6 { grid-template-columns: repeat(6, 1fr); gap: 18px; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 20px 18px; box-shadow: 0 4px 18px rgba(15,35,60,.05); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.cap-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--blue), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,35,60,.10); }
.cap-card:hover::before { transform: scaleX(1); }
.cap-ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(47,159,224,.10); color: var(--blue); font-size: 21px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.cap-card h3 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.cap-card p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.product-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 8px; }
.product-tags span { font-size: 11px; font-weight: 700; color: var(--blue); background: rgba(47,159,224,.09); border: 1px solid rgba(47,159,224,.25); border-radius: 999px; padding: 2px 9px; letter-spacing: .02em; }
.product-card p { padding-top: 2px; }

.compat-note { text-align: center; font-size: 12.5px; color: #94a3b8; max-width: 760px; margin: 16px auto 0; }

.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.app-card { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); display: block; color: inherit; min-height: 220px; }
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.app-card:hover img { transform: scale(1.07); }
.app-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,32,56,.12) 0%, rgba(10,32,56,.46) 55%, rgba(10,32,56,.86) 100%); transition: background .3s; }
.app-card:hover::after { background: linear-gradient(180deg, rgba(10,32,56,.05) 0%, rgba(10,32,56,.40) 45%, rgba(10,32,56,.80) 100%); }
.app-card div { position: relative; z-index: 2; padding: 18px 18px 16px; color: #fff; margin-top: auto; }
.app-card { display: flex; flex-direction: column; justify-content: flex-end; }
.app-card h3 { font-size: 17px; margin-bottom: 5px; color: #fff; }
.app-card p { font-size: 13px; color: #dbe7f2; line-height: 1.5; }

@media (max-width: 980px) {
  .stats-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .stats-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .cap-grid, .app-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 200px; }
}

/* ===== Products dropdown (nav) ===== */
.nav-drop { position: relative; }
.drop-menu {
  position: absolute; top: 100%; left: -14px; min-width: 280px;
  background: #fff; border-radius: 10px; padding: 8px 0;
  box-shadow: 0 18px 44px rgba(14,47,82,.18); border: 1px solid rgba(14,47,82,.07);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s; z-index: 80;
}
.drop-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-drop:hover .drop-menu,
.nav-drop.open .drop-menu,
.nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: none; }
.drop-menu a {
  display: block; padding: 10px 18px; font-size: 13.5px; font-weight: 600;
  color: var(--navy); line-height: 1.35;
}
.drop-menu a::after { display: none; }
.drop-menu a:hover { background: #f2f7fb; color: #2563eb; }
.drop-menu .drop-all { color: #2563eb; border-bottom: 1px solid #e8eef4; margin-bottom: 5px; padding-bottom: 11px; }
@media (max-width: 980px) {
  .drop-menu {
    position: static; min-width: 0; box-shadow: none; border: 0; background: transparent;
    opacity: 1; visibility: visible; transform: none;
    display: none; padding: 0 0 6px 16px;
  }
  .nav-drop.open .drop-menu { display: block; }
  .nav-drop:hover .drop-menu { display: none; }
  .nav-drop.open:hover .drop-menu { display: block; }
}

/* ===== True-manufacturer trust strip (all pages, above footer) ===== */
.trust-strip { background: linear-gradient(90deg, #0b2b52 0%, #123e74 100%); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.trust-kicker { color: #6fb3e8; font-weight: 800; letter-spacing: .12em; font-size: 13px; margin: 0 0 6px; }
.trust-line { color: #dbe8f5; margin: 0; font-size: 14.5px; line-height: 1.55; }
.trust-line strong { color: #fff; }
.trust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.trust-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 10px 8px; text-align: center; }
.trust-stat strong { display: block; color: #fff; font-size: 20px; line-height: 1.15; }
.trust-stat span { color: #9fc2e2; font-size: 12px; }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Wide figure (charts / process banners) ===== */
.widefig { max-width: 1200px; }
.widefig-fig { margin: 18px 0 0; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 40px rgba(13,43,84,.16); }
.widefig-fig img { display: block; width: 100%; height: auto; }
.widefig-cap { margin: 14px auto 0; max-width: 900px; color: var(--muted, #51637a); font-size: 15px; line-height: 1.6; text-align: center; }
.widefig-cap.center { text-align: center; }

/* ===== Factory photo gallery (3-up) ===== */
.fac-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.fac-item { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(13,43,84,.14); display: flex; flex-direction: column; }
.fac-item img { width: 100%; height: 230px; object-fit: cover; display: block; }
.fac-item figcaption { padding: 10px 12px; font-size: 13.5px; color: #40536b; text-align: center; background: #fff; }
@media (max-width: 860px) { .fac-gallery { grid-template-columns: 1fr; } .fac-item img { height: auto; } }

/* ===== Homepage factory band ===== */
.factory-band { background: var(--panel-alt, #f4f7fb); }
.fb-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; }
.fb-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fb-photos img { width: 100%; height: 165px; object-fit: cover; border-radius: 10px; display: block; box-shadow: 0 8px 22px rgba(13,43,84,.15); }
.fb-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 18px; }
.fb-stat { background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: 0 6px 18px rgba(13,43,84,.08); text-align: center; }
.fb-stat strong { display: block; color: var(--navy, #0d2b54); font-size: 19px; }
.fb-stat span { color: #51637a; font-size: 12.5px; }
@media (max-width: 900px) { .fb-grid { grid-template-columns: 1fr; } }

/* ===== Compact contact (homepage) ===== */
.contact-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 26px; align-items: stretch; margin-top: 4px; }
.c-info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px; box-shadow: 0 8px 26px rgba(15,35,60,.06); display: flex; flex-direction: column; }
.c-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; flex: 1; }
.c-item:last-child { border-bottom: none; }
.ci-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; background: rgba(47,159,224,.10); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.c-item strong { display: block; color: var(--navy); font-size: 14.5px; margin-bottom: 2px; }
.c-item > span:last-child { font-size: 13.5px; color: var(--muted); line-height: 1.5; word-break: break-word; }
a.c-item:hover .ci-ico { background: rgba(47,159,224,.2); }
.contact-form.compact { max-width: none; margin: 0; padding: 24px 26px; gap: 10px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(15,35,60,.08); }
@media (max-width: 920px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

/* ===== Global markets + FAQ combined (homepage) ===== */
.gf { background: var(--bg-soft); }
.gf-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.gf-left p { color: #3c4b5a; margin-bottom: 10px; }
.gf-left .global-bars { margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 8px; box-shadow: 0 8px 26px rgba(15,35,60,.06); }
.gf-sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.gf .faq-list { max-width: none; margin: 0; }
@media (max-width: 920px) {
  .gf-grid { grid-template-columns: 1fr; gap: 34px; }
}

/* ===== Merged footer (footer + trust strip in one band) ===== */
.footer-grid { grid-template-columns: 1.35fr .95fr .7fr 1fr 1fr; gap: 28px; }
.f-trust { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; line-height: 1.6; color: #b9cddf; }
.f-trust .trust-kicker { display: block; color: #6fb3e8; font-weight: 800; letter-spacing: .12em; font-size: 11px; margin-bottom: 5px; }
.f-trust strong { color: #fff; }
.f-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 9px 6px; text-align: center; }
.f-stat strong { display: block; color: #fff; font-size: 15.5px; }
.f-stat span { font-size: 11.5px; color: #9fb3c8; padding: 0; }
@media (max-width: 1060px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
}

/* ===== Hero trust pill (homepage) ===== */
.hero-content { padding: 96px 0 54px; }
.hero h1 { margin-bottom: 14px; }
.hero-actions { align-items: center; margin-bottom: 30px; }
.hero-trust-pill { display: inline-flex; align-items: center; border: 1px solid #ffd400; background: #ffd400; border-radius: 999px; padding: 10px 18px; color: #0d2b54; font-weight: 800; letter-spacing: .1em; font-size: 12.5px; white-space: nowrap; box-shadow: 0 6px 18px rgba(255,212,0,.35); }
@media (max-width: 700px) {
  .hero-trust-pill { white-space: normal; text-align: center; }
}

/* ===== TRUE MANUFACTURER — high-visibility yellow ===== */
.hero-trust-pill { background: #FFD400; border-color: #FFD400; color: #0a2340; box-shadow: 0 4px 14px rgba(255,212,0,.28); }
.f-trust .trust-kicker, .trust-strip .trust-kicker, .trust-kicker { display: inline-block; background: #FFD400; color: #0a2340; padding: 3px 9px; border-radius: 4px; font-weight: 800; font-size: 11.5px; letter-spacing: .1em; margin-bottom: 6px; }

/* ===== TRUE MANUFACTURER pill — hover zoom ===== */
.hero-trust-pill { transition: transform .25s ease, box-shadow .25s ease; animation: pillGlow 2.6s ease-in-out infinite; }
.hero-trust-pill:hover { transform: scale(1.12); box-shadow: 0 6px 26px rgba(255,212,0,.55); }
@keyframes pillGlow {
  0%, 100% { box-shadow: 0 4px 14px rgba(255,212,0,.28); }
  50% { box-shadow: 0 4px 24px rgba(255,212,0,.60); }
}
.f-trust .trust-kicker, .trust-strip .trust-kicker { transition: transform .25s ease; }
.f-trust .trust-kicker:hover { transform: scale(1.10); }

/* ===== footer kicker on its own line ===== */
.f-trust .trust-kicker { display: block; width: fit-content; }

/* ===== footer legal line (ads compliance) ===== */
.fb-legal { font-size: 11.5px; color: #8fa6bb; line-height: 1.6; margin-top: 6px; }
.fb-legal a { color: #8fa6bb; text-decoration: none; }
.fb-legal a:hover { color: var(--accent-2); }
.compat-note a { color: var(--blue); text-decoration: underline; }

/* ===== Product landing page (paid traffic) ===== */
.ph-actions { margin: 18px 0 0; }
.ph-actions .btn { padding: 11px 22px; font-size: 14px; }
.lp-facts { background: #fff; border-bottom: 1px solid var(--line); }
.lp-facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.lp-facts-grid > div { background: #fff; padding: 15px 10px; text-align: center; }
.lp-facts-grid strong { display: block; color: var(--navy); font-size: 17px; font-weight: 800; line-height: 1.2; }
.lp-facts-grid span { font-size: 12.5px; color: var(--muted); }
.c-info .ci-ico { color: var(--accent); font-weight: 800; font-size: 12.5px; letter-spacing: .04em; }
@media (max-width: 860px) {
  .lp-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-facts-grid > div:last-child { grid-column: 1 / -1; }
  .ph-actions { flex-direction: column; align-items: stretch; }
}

/* ===== hero trust pill row (product landing) ===== */
.ph-trust-row { display: flex; justify-content: flex-end; margin-top: 2px; }
@media (max-width: 860px) {
  .ph-trust-row { justify-content: flex-start; margin-top: 14px; }
}

/* ===== production steps (paid landing) ===== */
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proc-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 28px rgba(15,35,60,.10); background: #fff; }
.proc-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.proc-num { position: absolute; top: 12px; left: 12px; background: #ffd400; color: #0a2340; font-weight: 800; font-size: 13px; padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.22); letter-spacing: .05em; }
.proc-item h3 { font-size: 16px; margin: 14px 0 6px; }
.proc-item p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 960px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .proc-grid { grid-template-columns: 1fr; } }
