:root {
  --paper: #eef1f4;
  --paper-2: #e3e8ee;
  --surface: #f7f9fb;
  --ink: #121a24;
  --muted: #4d5968;
  --navy: #0057b8;
  --navy-2: #004494;
  --accent: #c8102e;
  --accent-deep: #9e0c24;
  --orange: #e86a17;
  --orange-deep: #c4550f;
  --line: rgba(0, 87, 184, 0.14);
  --shadow: 0 18px 40px rgba(0, 87, 184, 0.10);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --z-nav: 40;
  --z-overlay: 50;
  --z-sticky: 45;
  --z-grain: 60;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100dvh;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-grain);
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; font-variant-numeric: tabular-nums; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { top: 12px; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
@media (min-width: 768px) {
  .container { width: min(1180px, calc(100% - 64px)); }
}

.topbar {
  background: var(--navy);
  color: #d7e0ea;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.topbar strong { color: #fff; font-weight: 650; }

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}
.logo span { color: var(--orange); }

.nav {
  display: none;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--muted);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }
@media (min-width: 1024px) { .nav { display: flex; } }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-phone {
  display: none;
  font-weight: 700;
  color: var(--orange);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (min-width: 720px) { .header-phone { display: inline; } }
@media (max-width: 479px) {
  .header-actions .btn-wa-sm span { display: none; }
  .header-actions .btn-wa-sm { padding: 10px 12px; }
}

.menu-btn {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
}
.menu-btn span { position: relative; }
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-btn.open span { background: transparent; }
.menu-btn.open span::before { top: 0; transform: rotate(45deg); }
.menu-btn.open span::after { top: 0; transform: rotate(-45deg); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: var(--navy);
  color: #fff;
  display: none;
  padding: 88px 28px 40px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 10px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 650;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-line {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-wa {
  background: #25d366;
  color: #fff;
  border: 0;
}
.btn-wa:hover { background: #1ebe57; color: #fff; }
.btn-call {
  background: var(--navy);
  color: #fff;
  border: 0;
}
.btn-call:hover { background: var(--navy-2); color: #fff; }
.hero .btn-call {
  background: #fff;
  color: var(--navy);
}
.hero .btn-call:hover { background: #e8eef4; }
.btn-wa .wa-icon,
.btn-call .wa-icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}
.btn-wa-sm { padding: 10px 14px; font-size: 0.82rem; }
button.btn-wa { font: inherit; }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.product-card .btn-row { margin-top: auto; }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 55;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}
.wa-float:hover { background: #1ebe57; transform: none; }
.wa-float .wa-icon { width: 30px; height: 30px; }
@media (max-width: 899px) {
  .wa-float { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

.hero {
  padding: 36px 0 48px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 0.95fr 1.05fr; gap: 48px; }
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 650;
  max-width: 12ch;
  margin-bottom: 12px;
  text-wrap: balance;
  color: #fff;
}
.hero .lead {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
  font-size: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.hero-stage {
  position: relative;
  background: #fff;
  border: 0;
  border-radius: var(--radius-lg);
  padding: 12px 12px 10px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}
.hero-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 340px;
  border-radius: 8px;
  background: #fff;
}
.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.6s ease;
}
.hero-slide.is-on {
  opacity: 1;
  z-index: 1;
}
.hero-photo {
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  display: block;
}
.hero-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 4px;
}
@media (min-width: 960px) {
  .hero-viewport { height: 420px; }
  .hero-photo { height: 420px; }
}
.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.hero-thumbs button {
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #eef3f8;
  aspect-ratio: 1;
  padding: 0;
}
.hero-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.hero-thumbs button[aria-selected="true"] {
  border-color: var(--orange);
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 87, 184, 0.92);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
}
.hero-nav.prev { left: 8px; }
.hero-nav.next { right: 8px; }

.facts {
  background: var(--navy);
  color: #fff;
}
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 900px) {
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
}
.facts a,
.facts div {
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.facts .k {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #ffb070;
  margin-bottom: 4px;
}
.facts .v {
  display: block;
  font-size: 1.08rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 96px 0 104px; } }

.section-head { max-width: 38rem; margin-bottom: 32px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 10px;
  text-wrap: balance;
}
.section-head p { color: var(--muted); }

.labs-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 800px) {
  .labs-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--paper-2);
  padding: 14px;
}
.product-card .body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card h3 { font-size: 1.05rem; letter-spacing: -0.02em; }
.price { font-size: 1.28rem; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.meta { color: var(--muted); font-size: 0.88rem; }
.stock { color: var(--orange-deep); font-size: 0.8rem; font-weight: 650; }
.product-card .btn { align-self: flex-start; }

.compare-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
table.compare { width: 100%; min-width: 680px; font-size: 0.9rem; }
.compare th,
.compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare th { font-size: 0.78rem; color: var(--muted); font-weight: 650; }
.compare td:first-child { font-weight: 650; }
.compare .hl { background: rgba(232, 106, 23, 0.12); }
.compare caption { text-align: left; padding: 16px 16px 6px; font-weight: 700; font-size: 1.02rem; }

.split {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}
.split img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--paper-2);
  padding: 18px;
  border: 1px solid var(--line);
}

.prose { max-width: 68ch; }
.prose h2 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin: 32px 0 10px;
}
.prose h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.prose p { margin-bottom: 14px; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 16px 1.1rem; }
.prose li { margin: 6px 0; list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.answer {
  background: var(--surface);
  border-left: 3px solid var(--orange);
  padding: 16px 18px;
  margin: 0 0 22px;
  font-size: 1.02rem;
}

.crumbs {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 18px 0 0;
}
.crumbs a:hover { color: var(--accent); }

.page-hero { padding: 28px 0 10px; }
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 16ch;
  margin-bottom: 12px;
  text-wrap: balance;
}
.page-hero p { max-width: 46ch; color: var(--muted); }

.guide-index {
  display: grid;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.guide-index a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.guide-index a:last-child { border-bottom: 0; }
.guide-index strong { letter-spacing: -0.02em; }
.guide-index span { color: var(--muted); font-size: 0.9rem; }
.guide-index a:hover { background: var(--paper); }

.county-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  margin: 0;
  padding: 0;
}
@media (min-width: 800px) {
  .county-grid { grid-template-columns: repeat(4, 1fr); }
}
.county-grid li {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.faq-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-a { display: none; padding: 0 20px 18px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
}
.cta-band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  letter-spacing: -0.035em;
  max-width: 14ch;
  line-height: 1.08;
  margin-bottom: 16px;
}
.cta-band .btn-wa { background: #25d366; color: #fff; }
.cta-band .btn-wa:hover { background: #1ebe57; color: #fff; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  max-width: 720px;
}
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.76rem; font-weight: 650; margin-bottom: 6px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  padding: 12px 13px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(0, 87, 184, 0.28);
  border-color: var(--navy);
}
textarea { min-height: 110px; resize: vertical; }

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 110px;
}
@media (min-width: 900px) { .footer { padding-bottom: 48px; } }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer h3 { color: #fff; font-size: 0.86rem; margin-bottom: 12px; }
.footer a:hover { color: #fff; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-logo img { width: 32px; height: 32px; border-radius: 6px; background: #fff; }
.foot-note {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .sticky-cta { display: none; } }

.related { display: grid; gap: 12px; }
@media (min-width: 800px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.related strong { display: block; margin-bottom: 4px; }
.related span { color: var(--muted); font-size: 0.86rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
