/* ==========================================================================
   DomSnap Agency — core stylesheet
   Palette: white dominant, DomSnap blue accents, deep navy ink.
   ========================================================================== */

:root {
  --white: #ffffff;
  --paper: #f6f9ff;
  --tint: #eaf2ff;
  --tint-2: #dbe9ff;
  --line: #e2eaf6;
  --line-strong: #cddcf3;

  --ink: #0a1b33;
  --ink-2: #33455f;
  --muted: #67789a;

  --blue: #0b63e6;
  --blue-600: #0a55c8;
  --blue-800: #0a3d91;
  --blue-900: #072a63;
  --sky: #2aa7ff;
  --sky-soft: #7cc4ff;

  --ok: #12a870;
  --warn: #e08600;
  --danger: #d93a3a;

  --shadow-sm: 0 1px 2px rgba(10, 27, 51, .06), 0 2px 8px rgba(10, 27, 51, .04);
  --shadow: 0 12px 30px rgba(10, 40, 90, .08);
  --shadow-lg: 0 26px 60px rgba(10, 40, 90, .14);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --shell: 1200px;
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-800); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 6px;
}
::selection { background: var(--blue); color: #fff; }

/* ---------- layout helpers ---------- */
.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }
.section { padding: 92px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--white) 0%, var(--paper) 45%, var(--white) 100%); }
.section--paper { background: var(--paper); border-block: 1px solid var(--line); }
.section--tight { padding: 62px 0; }
.stack-sm > * + * { margin-top: .55rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--blue);
  transform: rotate(45deg);
}
.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.lead { font-size: 1.1rem; color: var(--ink-2); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  box-shadow: 0 8px 20px rgba(11, 99, 230, .22);
  white-space: nowrap;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px rgba(11, 99, 230, .3); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { color: var(--blue); border-color: var(--blue); background: var(--tint); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--blue-800); box-shadow: 0 10px 26px rgba(4, 20, 50, .22); }
.btn--light:hover { color: var(--blue-800); }
.btn--tg { --btn-bg: #229ed9; box-shadow: 0 8px 20px rgba(34, 158, 217, .28); }
.btn--tg:hover { box-shadow: 0 14px 26px rgba(34, 158, 217, .35); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }

/* ---------- chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--blue-800);
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid var(--tint-2);
}
.badge {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.badge--soft { background: var(--tint); color: var(--blue-800); }
.badge--ok { background: rgba(18, 168, 112, .12); color: var(--ok); }
.badge--muted { background: #eef1f6; color: var(--muted); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--blue-900);
  color: #c8dcff;
  font-size: .8rem;
  font-family: var(--mono);
  letter-spacing: .04em;
}
.topbar .shell { display: flex; justify-content: space-between; align-items: center; gap: 18px; height: 38px; }
.topbar a { color: #fff; }
.topbar-note { display: flex; align-items: center; gap: .5rem; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #45e0a0;
  box-shadow: 0 0 0 0 rgba(69, 224, 160, .7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(69, 224, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(69, 224, 160, 0); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 22px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 42px; }
.brand-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1;
}
.brand-word em { font-style: normal; color: var(--blue); }
.brand-sub {
  display: block;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .22em;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 500;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: .95rem;
  transition: background .16s ease, color .16s ease;
}
.nav-links a:hover { background: var(--tint); color: var(--blue-800); }
.nav-links a.is-active { color: var(--blue); background: var(--tint); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  width: 44px; height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 76px 0 84px;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(42, 167, 255, .16), transparent 62%),
    radial-gradient(700px 400px at 0% 8%, rgba(11, 99, 230, .10), transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: .5;
  pointer-events: none;
}
.hero .shell { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.7vw, 3.65rem);
  margin-bottom: 1rem;
}
.hero h1 .hl {
  position: relative;
  color: var(--blue);
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: .04em; height: .28em;
  background: linear-gradient(90deg, rgba(42, 167, 255, .28), rgba(11, 99, 230, .16));
  border-radius: 4px;
  z-index: -1;
}
.hero p.lead { max-width: 54ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 30px; }
.proof-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1.1;
}
.proof-item span {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- signature: SERP rank climb --- */
.serp {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  position: relative;
}
.serp::before {
  content: "";
  position: absolute; inset: -22px -22px auto auto;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(42, 167, 255, .28), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}
.serp-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.serp-query {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .88rem;
  color: var(--ink-2);
  flex: 1;
}
.serp-query svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.serp-label {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); flex: none;
}
.serp-list { position: relative; height: 306px; }
.serp-row {
  position: absolute; left: 0; right: 0; top: 0;
  height: 46px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 12px;
  border-radius: 12px;
  transition: transform .62s cubic-bezier(.65, 0, .35, 1), background .4s ease, box-shadow .4s ease;
  will-change: transform;
}
.serp-row .rank {
  font-family: var(--mono); font-size: .8rem; font-weight: 600;
  color: var(--muted); width: 26px; flex: none;
}
.serp-row .fav {
  width: 22px; height: 22px; border-radius: 7px; flex: none;
  background: var(--line); 
}
.serp-row .meta { flex: 1; min-width: 0; }
.serp-row .meta b {
  display: block; font-size: .85rem; color: var(--ink-2); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.serp-row .meta i {
  display: block; height: 6px; border-radius: 3px; background: var(--line);
  margin-top: 6px; width: 70%;
}
.serp-row .dr {
  font-family: var(--mono); font-size: .72rem; color: var(--muted); flex: none;
}
.serp-row.is-us {
  background: linear-gradient(90deg, var(--tint), #fff);
  box-shadow: inset 0 0 0 1px var(--tint-2);
}
.serp-row.is-us .rank { color: var(--blue); }
.serp-row.is-us .fav { background: linear-gradient(135deg, var(--sky), var(--blue-800)); }
.serp-row.is-us .meta b { color: var(--ink); }
.serp-row.is-us .meta i { background: var(--tint-2); }
.serp-row.is-us .dr { color: var(--blue); font-weight: 600; }
.serp-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .72rem; color: var(--muted);
}
.serp-foot b { color: var(--ok); font-size: .8rem; }

/* --- marquee --- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--white);
  padding: 18px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .06em;
  color: var(--ink-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; background: var(--paper);
  white-space: nowrap;
}
.marquee-item b { color: var(--blue); }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--tint-2); }
.card h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--tint);
  color: var(--blue);
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 16px; font-size: .87rem; font-weight: 600;
}
.card-link::after { content: "→"; transition: transform .18s ease; }
.card:hover .card-link::after { transform: translateX(4px); }

/* feature list with rails */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: var(--tint); color: var(--blue);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  margin-top: 2px;
}
.feature-list b { display: block; color: var(--ink); font-family: var(--display); font-size: 1rem; }
.feature-list span { color: var(--muted); font-size: .93rem; }

/* stat panel */
.stat-panel {
  background: linear-gradient(150deg, var(--blue-800), var(--blue-900));
  border-radius: var(--r-xl);
  padding: 38px;
  color: #d8e6ff;
  position: relative;
  overflow: hidden;
}
.stat-panel::after {
  content: "";
  position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(42, 167, 255, .35), transparent 70%);
}
.stat-panel h3 { color: #fff; font-size: 1.35rem; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; position: relative; }
.stat-grid div strong {
  display: block; font-family: var(--display); font-size: 2rem; color: #fff; line-height: 1.1;
}
.stat-grid div span { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-soft); }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 20px; }
.tl-item { padding: 0 20px 0 0; position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: 0; top: 13px; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--tint-2), var(--line));
}
.tl-item:last-child::before { background: linear-gradient(90deg, var(--tint-2), transparent); }
.tl-dot {
  position: relative; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue);
  display: grid; place-items: center; margin-bottom: 20px;
}
.tl-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.tl-year { font-family: var(--mono); font-size: .78rem; color: var(--blue); letter-spacing: .1em; font-weight: 600; }
.tl-item h4 { font-size: 1.02rem; margin: .3rem 0 .35rem; }
.tl-item p { font-size: .9rem; color: var(--muted); }

/* ==========================================================================
   Product cards
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.p-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--tint-2); }
.p-thumb { position: relative; aspect-ratio: 8 / 5; background: var(--paper); overflow: hidden; }
.p-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.p-card:hover .p-thumb img { transform: scale(1.05); }
.p-thumb .badge { position: absolute; top: 12px; left: 12px; box-shadow: 0 6px 16px rgba(4, 20, 50, .18); }
.p-cat {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--blue-800);
  font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; font-weight: 600;
}
.p-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.p-body h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.p-body h3 a { color: inherit; }
.p-body h3 a:hover { color: var(--blue); }
.p-tagline { color: var(--muted); font-size: .88rem; margin-bottom: 16px; flex: 1; }
.p-price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.p-price { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.05rem; line-height: 1.2; }
.p-price small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.p-price del { color: var(--muted); font-size: .78rem; font-weight: 500; margin-right: 6px; }
.p-price.is-hidden { font-size: .9rem; color: var(--blue); }
.p-arrow {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center;
  color: var(--blue); transition: all .18s ease;
}
.p-card:hover .p-arrow { background: var(--blue); border-color: var(--blue); color: #fff; }

/* filter bar */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  justify-content: space-between; margin-bottom: 34px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-2);
  border-radius: 999px;
  padding: 9px 17px;
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .16s ease;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.search-field { position: relative; }
.search-field input {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 999px;
  padding: 11px 18px 11px 42px;
  width: 260px;
  font-size: .9rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.search-field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 99, 230, .12); }
.search-field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }

/* ==========================================================================
   Product detail
   ========================================================================== */
.crumbs { font-size: .84rem; color: var(--muted); padding: 22px 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin: 0 8px; opacity: .5; }

.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: start; }
.detail-media {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line); background: var(--paper);
}
.detail-media img { width: 100%; }
.detail-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 18px 0 10px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }

.order-card {
  position: sticky; top: calc(var(--header-h) + 20px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  padding: 26px;
}
.order-price { font-family: var(--display); font-size: 2rem; color: var(--ink); font-weight: 700; line-height: 1.1; }
.order-price.is-hidden { font-size: 1.15rem; color: var(--blue); }
.order-price-note { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.variant-list { display: grid; gap: 10px; margin: 20px 0; }
.variant {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all .16s ease;
  background: #fff;
}
.variant:hover { border-color: var(--blue); background: var(--paper); }
.variant.is-active { border-color: var(--blue); background: var(--tint); box-shadow: inset 0 0 0 1px var(--blue); }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant .dot {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong);
  flex: none; display: grid; place-items: center;
}
.variant.is-active .dot { border-color: var(--blue); }
.variant.is-active .dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.variant .v-name { flex: 1; font-weight: 600; color: var(--ink); font-size: .93rem; }
.variant .v-name small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.variant .v-price { font-family: var(--mono); font-size: .88rem; color: var(--blue-800); font-weight: 600; }
.order-meta { list-style: none; padding: 0; margin: 20px 0 0; font-size: .87rem; }
.order-meta li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.order-meta li:last-child { border: 0; }
.order-meta span { color: var(--muted); }
.order-meta b { color: var(--ink); font-weight: 600; }
.order-note {
  margin-top: 16px; font-size: .8rem; color: var(--muted);
  background: var(--paper); border: 1px dashed var(--line-strong);
  border-radius: 12px; padding: 12px 14px;
}
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose h3 { font-size: 1.18rem; margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose blockquote {
  margin: 1.6rem 0; padding: 16px 22px;
  border-left: 3px solid var(--blue); background: var(--paper);
  border-radius: 0 14px 14px 0; color: var(--ink-2); font-style: italic;
}
.prose img { border-radius: var(--r); margin: 1.4rem 0; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--tint); padding: 2px 6px; border-radius: 5px; color: var(--blue-800); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 40px 0 24px; flex-wrap: wrap; }
.tab {
  border: 0; background: none; padding: 12px 18px; cursor: pointer;
  font-weight: 600; font-size: .93rem; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab.is-active { color: var(--blue); border-bottom-color: var(--blue); }

/* ==========================================================================
   Blog
   ========================================================================== */
.post-feature {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden;
}
.post-feature img { width: 100%; height: 100%; object-fit: cover; }
.post-feature-body { padding: 40px 44px 40px 8px; }
.post-feature h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.post-body h3 a { color: inherit; }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.post-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-top: 14px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.post-hero { padding: 40px 0 20px; }
.post-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 20ch; }
.article { max-width: 760px; margin-inline: auto; }
.article-cover { border-radius: var(--r-xl); overflow: hidden; margin: 30px 0 40px; border: 1px solid var(--line); }

/* ==========================================================================
   Banner slots
   ========================================================================== */
.banner-slot { display: block; border-radius: var(--r-xl); overflow: hidden; position: relative; border: 1px solid var(--line); }
.banner-slot img { width: 100%; }
.banner-slot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, .14));
  opacity: 0; transition: opacity .3s ease;
}
.banner-slot:hover::after { opacity: 1; }
.banner-inline {
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
  background: linear-gradient(120deg, var(--blue-800), var(--blue-900) 60%, #06214e);
  border-radius: var(--r-xl); padding: 38px 42px; color: #d8e6ff;
  position: relative; overflow: hidden;
}
.banner-inline::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 0);
  background-size: 22px 22px; opacity: .5;
}
.banner-inline > * { position: relative; }
.banner-inline h3 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.85rem); margin-bottom: .4rem; }
.banner-inline p { margin: 0; color: #b9d0f5; }
.banner-inline .eyebrow { color: var(--sky-soft); }
.banner-inline .eyebrow::before { background: var(--sky-soft); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color .2s ease; }
.faq-item.is-open { border-color: var(--tint-2); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--ink);
}
.faq-q .sign { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--tint); color: var(--blue); display: grid; place-items: center; transition: transform .2s ease; font-size: 1.1rem; line-height: 1; }
.faq-item.is-open .sign { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; margin: 0; color: var(--muted); font-size: .96rem; }

/* ==========================================================================
   CTA band + footer
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-800) 55%, var(--blue-900) 100%);
  color: #dbe9ff; padding: 74px 0; position: relative; overflow: hidden; text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(255, 255, 255, .18), transparent 70%);
}
.cta-band .shell { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin-inline: auto; color: #bfd6fa; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.cta-band .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.site-footer { background: #061a3a; color: #a8bfe0; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.site-footer h4 {
  color: #fff; font-size: .82rem; font-family: var(--mono); letter-spacing: .16em;
  text-transform: uppercase; margin-bottom: 20px; font-weight: 600;
}
.site-footer a { color: #a8bfe0; font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-brand p { font-size: .93rem; max-width: 38ch; color: #90a9cd; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.footer-badges span {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 6px 12px; color: #c6d9f5;
}
.footer-contact { display: grid; gap: 12px; font-size: .93rem; }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--sky-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: #7e97bd;
}
.footer-bottom .fb-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   Floating Telegram chat
   ========================================================================== */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.chat-panel {
  width: 320px; max-width: calc(100vw - 44px);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: bottom right;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.96);
}
.chat-fab.is-open .chat-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-head { background: linear-gradient(130deg, var(--blue), var(--blue-800)); color: #fff; padding: 18px 20px; }
.chat-head b { font-family: var(--display); font-size: 1rem; display: block; }
.chat-head span { font-size: .8rem; color: #cfe3ff; display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.chat-body { padding: 18px 20px 20px; }
.chat-bubble {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 4px 16px 16px 16px; padding: 13px 15px;
  font-size: .89rem; color: var(--ink-2); margin-bottom: 14px;
}
.chat-links { display: grid; gap: 8px; margin-bottom: 14px; }
.chat-links a {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 13px;
  font-size: .88rem; color: var(--ink-2); font-weight: 500; transition: all .16s ease;
}
.chat-links a:hover { border-color: var(--blue); background: var(--tint); color: var(--blue-800); }
.chat-links .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--tint); color: var(--blue); display: grid; place-items: center; flex: none; }
.chat-links .ic svg { width: 15px; height: 15px; }
.chat-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: #229ed9; color: #fff; border: 0; cursor: pointer;
  border-radius: 999px; padding: 13px 20px; font-weight: 600; font-size: .92rem;
  box-shadow: 0 14px 30px rgba(34, 158, 217, .38);
  transition: transform .18s ease, box-shadow .18s ease;
}
.chat-toggle:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(34, 158, 217, .45); }
.chat-toggle svg { width: 21px; height: 21px; }
.chat-toggle .label { max-width: 120px; overflow: hidden; white-space: nowrap; }
.chat-fab.is-open .chat-toggle .label { display: none; }

/* ==========================================================================
   Utilities / states
   ========================================================================== */
.empty-state {
  text-align: center; padding: 70px 20px; border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl); background: var(--paper); color: var(--muted);
  grid-column: 1 / -1;
}
.empty-state b { display: block; font-family: var(--display); color: var(--ink); font-size: 1.1rem; margin-bottom: .3rem; }
.skeleton { background: linear-gradient(90deg, var(--paper), #eef3fb, var(--paper)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-lg); min-height: 300px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .hero-grid, .feature-row, .detail-grid, .post-feature { grid-template-columns: 1fr; gap: 34px; }
  .post-feature-body { padding: 8px 30px 34px; }
  .grid-3, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .tl-item::before { display: none; }
  .order-card { position: static; }
  .banner-inline { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: calc(var(--header-h) + 38px) 16px auto 16px;
    flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-cta .btn { display: none; }
  .topbar .shell > *:last-child { display: none; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .product-grid, .grid-2, .grid-3, .grid-4, .post-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 60px; }
  .serp-list { height: 260px; }
  .serp-row { height: 40px; }
  .search-field input { width: 100%; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .banner-inline { padding: 28px 24px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .chat-toggle .label { display: none; }
  .chat-toggle { padding: 15px; }
}

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