@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #14304f;
  --primary-dark: #0a1b2e;
  --primary-light: #2f5a82;
  --accent: #0284c7;
  --accent-soft: #e0f2fe;
  --celeste-bg: #e6f7fd;
  --celeste-border: #9edcf2;
  --gold: #b8933f;
  --gold-light: #d4b76a;
  --ink: #101828;
  --muted: #64748b;
  --muted-soft: #94a3b8;
  --paper: #e8edf3;
  --line: #dde3ea;
  --line-soft: #e9edf2;
  --white: #fff;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-float: 0 8px 28px rgba(15, 23, 42, 0.14);
  --shadow-pop: 0 20px 48px rgba(10, 27, 46, 0.22);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 12px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(165deg, #eef2f7 0%, #e4eaf2 45%, #eef1f5 100%);
  background-color: var(--paper);
  color: var(--ink);
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: 'Barlow Semi Condensed', sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.35rem, 5vw, 4rem); margin-bottom: 16px; font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); margin-bottom: 12px; font-weight: 700; }
h3 { font-size: 1.12rem; margin-bottom: 8px; font-weight: 600; }
p { color: var(--muted); }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes headerGlowPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.88; }
}
main { animation: fadeSlideUp 0.5s var(--ease-out) both; }

/* —— Header premium —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: #fff;
  border-bottom: 3px solid var(--gold);
  box-shadow:
    0 4px 28px rgba(10, 27, 46, 0.38),
    0 1px 0 rgba(184, 147, 63, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.07) 0%, transparent 42%),
    linear-gradient(125deg, #030a14 0%, var(--primary-dark) 22%, var(--primary) 58%, #1e5f92 82%, #0c2840 100%);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, transparent 85%);
  pointer-events: none;
}
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 0% 60%, rgba(2, 132, 199, 0.18), transparent 52%),
    radial-gradient(ellipse 45% 100% at 100% 0%, rgba(184, 147, 63, 0.16), transparent 55%);
  pointer-events: none;
  animation: headerGlowPulse 6s ease-in-out infinite;
}
.header-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  height: 82px;
  padding: 0 24px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 21px;
  white-space: nowrap;
  line-height: 1.05;
  color: #fff;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--primary-dark);
  width: 44px;
  height: 44px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 14px rgba(184, 147, 63, 0.45);
}
.brand-accent { color: #7dd3fc; }
.brand small {
  display: block;
  font: 600 8px 'Inter', sans-serif;
  letter-spacing: 2px;
  color: #a3b1c6;
  margin-top: 4px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 12px;
  font-weight: 600;
  color: #c8d4e4;
  padding: 9px 11px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.25);
}
.nav-link.active { border-top: 2px solid var(--gold-light); padding-top: 7px; }
.nav-link span { display: none; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0369a1 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}
.primary:hover { box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45); }
.secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  border: 1px solid var(--celeste-border);
}
.light {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--primary-dark);
  font-weight: 700;
}
.header-cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(184, 147, 63, 0.55);
  color: #fef9ec;
  padding: 10px 16px;
  white-space: nowrap;
}
.header-cta:hover {
  border-color: var(--gold-light);
  box-shadow: 0 6px 20px rgba(184, 147, 63, 0.3);
}
.full { width: 100%; }
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 20px;
  padding: 6px 10px;
  cursor: pointer;
}

/* —— Hero —— */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: 440px;
}
.hero-copy { max-width: 580px; }
.hero h1 span {
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy > p { font-size: 17px; max-width: 520px; margin-bottom: 26px; color: #475569; }
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art {
  height: 360px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(2, 132, 199, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(184, 147, 63, 0.1) 0%, transparent 55%);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.orbit {
  position: absolute;
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 50%;
  width: 300px;
  height: 300px;
}
.orbit-two { width: 380px; height: 230px; transform: rotate(-30deg); }
.printer-illustration {
  position: relative;
  width: 200px;
  height: 250px;
  filter: drop-shadow(0 18px 24px rgba(10, 27, 46, 0.2));
  z-index: 2;
}
.printer-top {
  height: 18px;
  width: 168px;
  margin: auto;
  background: var(--primary-dark);
  border-radius: 8px 8px 2px 2px;
}
.printer-frame {
  height: 177px;
  width: 168px;
  border: 10px solid var(--primary);
  border-top-width: 7px;
  margin: auto;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  position: relative;
}
.printer-frame::before,
.printer-frame::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--primary-dark);
}
.printer-frame::before { left: 10px; }
.printer-frame::after { right: 10px; }
.printer-base {
  height: 22px;
  width: 200px;
  background: var(--primary-dark);
  border-radius: 2px 2px 10px 10px;
  margin: auto;
}
.spool {
  position: absolute;
  top: 12px;
  left: 27px;
  width: 42px;
  height: 42px;
  border: 9px solid var(--gold);
  border-radius: 50%;
  background: #fff;
  z-index: 2;
}
.print-head {
  position: absolute;
  top: 32px;
  left: 83px;
  width: 28px;
  height: 18px;
  background: var(--primary-dark);
  border-radius: 4px;
  z-index: 3;
}
.print-head::after {
  content: '';
  position: absolute;
  top: 18px;
  left: 10px;
  width: 7px;
  height: 15px;
  background: var(--accent);
}
.print-bed {
  position: absolute;
  bottom: 22px;
  left: 29px;
  width: 90px;
  height: 8px;
  background: var(--primary-light);
  transform: skew(-18deg);
}
.print-object {
  position: absolute;
  bottom: 30px;
  left: 53px;
  width: 50px;
  height: 46px;
  background: repeating-linear-gradient(0deg, #7dd3fc 0 5px, #bae6fd 5px 8px);
  clip-path: polygon(15% 100%, 15% 25%, 50% 0, 85% 25%, 85% 100%);
  z-index: 2;
}
.floating-tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-float);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 11px 15px;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  z-index: 3;
}
.tag-a { top: 45px; right: 12px; }
.tag-b { bottom: 40px; left: 12px; }

/* KPI strip (home) */
.hero-metrics {
  max-width: 1200px;
  margin: -8px auto 0;
  padding: 0 24px 32px;
  position: relative;
  z-index: 2;
}
.hero-metrics-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}
.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
  border-top-color: var(--accent);
}
.kpi-card .val {
  display: block;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
}
.kpi-card .lbl {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.section.compact { padding-top: 12px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; font-size: 14px; }
.text-link,
.card-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.card-link { transition: color 0.15s; }
.feature-card:hover .card-link { color: var(--primary); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease, border-color 0.2s;
  box-shadow: var(--shadow-card);
}
.feature-card:hover,
.product-card:hover,
.dealer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
  border-color: var(--celeste-border);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--celeste-bg);
  border: 1px solid var(--celeste-border);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 18px;
}
.feature-card p { font-size: 13px; margin-bottom: 18px; }
.card-link { margin-top: auto; }

.promo-band {
  max-width: 1152px;
  margin: 0 auto 20px;
  padding: 40px 44px;
  border-radius: var(--radius-lg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(184, 147, 63, 0.35);
  box-shadow: var(--shadow-pop);
  background:
    linear-gradient(180deg, rgba(125, 211, 252, 0.08) 0%, transparent 40%),
    linear-gradient(125deg, #030a14 0%, var(--primary-dark) 30%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.promo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(184, 147, 63, 0.2), transparent 55%);
  pointer-events: none;
}
.promo-band > * { position: relative; z-index: 1; }
.promo-band .eyebrow { color: var(--gold-light); }
.promo-band h2 {
  max-width: 620px;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  margin-bottom: 10px;
  color: #fff;
}
.promo-band p { color: #b8c9dc; margin: 0; }

.page-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 28px;
}
.page-intro h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--primary-dark); }
.page-intro p { max-width: 680px; font-size: 16px; }
.page-intro.centered { text-align: center; }
.page-intro.centered p { margin-left: auto; margin-right: auto; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
  min-width: 0;
  box-shadow: var(--shadow-card);
}
.product-art {
  height: 170px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(145deg, #f1f5f9 0%, #e0f2fe 100%);
  overflow: hidden;
}
.product-art .product-emoji {
  font-size: 72px;
  filter: drop-shadow(0 8px 12px rgba(10, 27, 46, 0.12));
}
.product-art .sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--primary-dark);
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 800;
}
.product-body { padding: 16px; }
.product-type {
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-body h3 { margin: 7px 0; font-size: 15px; color: var(--primary-dark); }
.product-body p { font-size: 12px; margin-bottom: 12px; min-height: 36px; }
.price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-line strong {
  font-size: 18px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  color: var(--primary);
}
.old-price { font-size: 11px; color: var(--muted-soft); text-decoration: line-through; }
.product-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  color: var(--muted);
}
.mini-btn {
  border: 0;
  border-radius: 8px;
  background: var(--celeste-bg);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 11px;
  cursor: pointer;
  border: 1px solid var(--celeste-border);
  transition: background 0.15s;
}
.mini-btn:hover { background: var(--accent-soft); }

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.toolbar input { flex: 1; min-width: 220px; }
.toolbar select { min-width: 150px; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--celeste-border);
  border-radius: 8px;
  background: var(--celeste-bg);
  padding: 11px 12px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: #f2fbff;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16);
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #43536b;
}
label input, label select, label textarea { font-weight: 400; }

.calculator-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 20px;
  align-items: start;
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.panel h2 { font-size: 21px; color: var(--primary-dark); }
.calc-form > h2 { margin-bottom: 22px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
  margin-bottom: 24px;
}
.calc-form h3 { margin-bottom: 14px; }
.margin-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-bottom: 22px;
}
.margin-options label {
  flex-direction: row;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  gap: 8px;
  cursor: pointer;
  background: #fafbfc;
}
.margin-options input { width: auto; accent-color: var(--accent); }
.margin-options b { margin-left: auto; color: var(--accent); }
.result-panel { position: sticky; top: 98px; }
.result-main {
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px;
  margin: 20px 0 16px;
  border-top: 3px solid var(--gold);
}
.result-main span { display: block; color: #a3b1c6; font-size: 12px; }
.result-main strong {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  color: #7dd3fc;
}
.result-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
}
.result-row span { color: var(--muted); }
.result-row b { text-align: right; color: var(--primary-dark); }
.note { font-size: 11px; color: var(--muted-soft); line-height: 1.5; margin: 17px 0; }

.map-layout { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 18px; }
.map-placeholder {
  min-height: 490px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background-color: #e2e8f0;
  background-image:
    linear-gradient(35deg, transparent 45%, #fff 46%, #fff 48%, transparent 49%),
    repeating-linear-gradient(0deg, transparent 0 60px, #cbd5e1 61px 62px),
    repeating-linear-gradient(90deg, transparent 0 75px, #cbd5e1 76px 77px);
  box-shadow: var(--shadow-card);
}
.map-road {
  position: absolute;
  background: #fff9e7;
  border: 1px solid #e4ddc9;
  height: 13px;
  width: 120%;
  left: -10%;
  top: 30%;
  transform: rotate(-22deg);
}
.road-two { top: 60%; transform: rotate(25deg); }
.road-three { top: 48%; transform: rotate(78deg); }
.map-water {
  position: absolute;
  width: 140px;
  height: 120%;
  right: -35px;
  top: -10%;
  background: #bae6fd;
  transform: rotate(15deg);
  border-radius: 40%;
  opacity: 0.7;
}
.map-pin {
  position: absolute;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--primary));
  color: #fff;
  width: 38px;
  height: 38px;
  border: 3px solid var(--gold-light);
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  box-shadow: var(--shadow-float);
  font-size: 18px;
}
.pin-one { top: 25%; left: 28%; }
.pin-two { top: 52%; left: 62%; }
.pin-three { top: 69%; left: 38%; }
.map-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--white);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.7px;
  border-top: 2px solid var(--gold);
}

.store-list { display: flex; flex-direction: column; gap: 12px; }
.store-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-card);
}
.store-top { display: flex; gap: 12px; align-items: center; }
.store-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--celeste-bg);
  border: 1px solid var(--celeste-border);
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 800;
}
.store-card h3 { margin: 0 0 3px; font-size: 14px; }
.store-card p { font-size: 11px; margin: 0; }
.store-meta {
  border-top: 1px solid var(--line-soft);
  margin-top: 13px;
  padding-top: 12px;
  font-size: 11px;
  color: var(--muted);
  display: grid;
  gap: 5px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.stat-card span,
.stat-card small { display: block; color: var(--muted); font-size: 11px; }
.stat-card strong {
  display: block;
  font: 700 28px 'Barlow Semi Condensed', sans-serif;
  margin: 9px 0;
  color: var(--primary);
}

.table-wrap { overflow-x: auto; width: 100%; }
table { border-collapse: collapse; width: 100%; white-space: nowrap; font-size: 12px; }
th {
  text-align: left;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
td, th { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); }
td { color: #334155; }
.status {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}
.status.good { background: #e9f7ee; color: #15803d; }
.status.warn { background: #fdf2df; color: #b45309; }
.status.bad { background: #fdecec; color: #dc2626; }
.table-action {
  border: 0;
  background: var(--celeste-bg);
  border-radius: 7px;
  padding: 6px 9px;
  cursor: pointer;
  color: var(--primary);
  border: 1px solid var(--celeste-border);
}

.store-builder {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 20px;
  align-items: start;
}
.store-builder .panel > label { margin-bottom: 15px; }
.store-preview-head { display: flex; gap: 13px; align-items: center; }
.store-preview-head h2 { margin: 0 0 4px; }
.store-preview-head p { margin: 0; font-size: 12px; }
.avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 14px;
  font-weight: 800;
  border: 2px solid var(--gold-light);
}
.share-link {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: var(--radius);
  margin: 20px 0;
  font-size: 11px;
}
.share-link span { flex: 1; overflow-wrap: anywhere; }
.share-link .btn { padding: 9px; font-size: 11px; }
.small-grid { grid-template-columns: repeat(2, 1fr); }
.small-grid .product-art { height: 125px; }
.small-grid .product-emoji { font-size: 54px; }

.chat-demo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
  box-shadow: var(--shadow-card);
}
.chat-title {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 12px;
}
.online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  margin-left: 5px;
}
.chat-messages {
  padding: 14px;
  min-height: 90px;
  max-height: 180px;
  overflow: auto;
  background: #fff;
}
.bot-message,
.user-message {
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  max-width: 85%;
  margin: 0 0 8px;
}
.bot-message { background: #f1f5f9; color: #334155; }
.user-message {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  margin-left: auto;
}
.chat-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
  background: #fafbfc;
}
.chat-input input { min-width: 0; }
.chat-input .btn { padding: 10px 13px; }

.dealer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dealer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
  box-shadow: var(--shadow-card);
}
.dealer-head { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.dealer-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--celeste-bg);
  color: var(--primary);
  font-weight: 800;
  font-family: 'Barlow Semi Condensed', sans-serif;
  border: 1px solid var(--celeste-border);
}
.dealer-card h3 { margin: 0 0 3px; }
.dealer-card .sub { font-size: 11px; margin: 0; }
.dealer-card > p { font-size: 12px; min-height: 55px; }
.dealer-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 13px 0; }
.pill {
  display: inline-flex;
  background: #f1f5f9;
  color: #475569;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}
.dealer-foot {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1050px;
  margin: 15px auto 24px;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.price-card.popular {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-float);
}
.accent-pill {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--primary-dark);
  font-weight: 700;
}
.price-card h2 { margin-top: 19px; color: var(--primary-dark); }
.price-card > p { font-size: 12px; min-height: 55px; }
.price {
  font: 700 32px 'Barlow Semi Condensed', sans-serif;
  letter-spacing: -0.5px;
  margin: 22px 0;
  color: var(--primary);
}
.price small {
  font: 500 11px 'Inter', sans-serif;
  color: var(--muted);
  letter-spacing: 0;
}
.price-card ul { list-style: none; padding: 0; margin: 0 0 25px; min-height: 150px; }
.price-card li { padding: 8px 0; font-size: 12px; color: #475569; }
.price-card li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 800;
  margin-right: 9px;
}

.admin-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.quick-actions { display: grid; gap: 8px; margin: 17px 0 25px; }
.quick-actions a {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
}
.quick-actions a:hover { background: var(--celeste-bg); border-color: var(--celeste-border); }
.muted { font-size: 12px; }
.promo-band + .section { padding-top: 48px; }

.site-footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #030a14 100%);
  color: #fff;
  margin-top: 48px;
  border-top: 3px solid var(--gold);
}
.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer-brand { color: #fff; }
.footer-brand small { color: #a3b1c6; }
.footer-inner > p { font-size: 12px; color: #94a3b8; flex: 1; margin: 0; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: #cbd5e1; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  padding: 14px;
  font-size: 11px;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-pop);
  font-size: 12px;
  z-index: 50;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.25s var(--ease-out);
  pointer-events: none;
  max-width: calc(100vw - 40px);
}
.toast.show { opacity: 1; transform: translateY(0); }

.empty-state {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px dashed var(--celeste-border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .site-header::after { animation: none; }
  main { animation: none; }
}

@media (max-width: 1080px) {
  .header-inner { gap: 15px; }
  .main-nav { gap: 0; }
  .nav-link { padding: 9px 7px; font-size: 11px; }
  .header-cta { display: none; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .dealer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-metrics-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .site-header { position: sticky; }
  .header-inner {
    height: 68px;
    padding: 0 17px;
    justify-content: space-between;
  }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
    border-bottom: 2px solid var(--gold);
    padding: 14px 17px 18px;
    box-shadow: var(--shadow-pop);
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .main-nav.open { display: grid; }
  .nav-link {
    font-size: 13px;
    padding: 11px;
    color: #e2e8f0;
  }
  .nav-link span { display: inline; margin-right: 8px; }
  .hero {
    padding: 36px 20px 24px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .hero-copy > p { font-size: 15px; }
  .hero-art { height: 280px; }
  .hero-metrics { padding: 0 18px 24px; }
  .section { padding: 34px 18px 45px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .feature-card { padding: 16px; min-height: 180px; }
  .feature-icon { margin-bottom: 13px; }
  .promo-band {
    margin: 0 16px;
    padding: 28px 24px;
    align-items: flex-start;
    flex-direction: column;
  }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .product-art { height: 135px; }
  .product-art .product-emoji { font-size: 57px; }
  .product-body { padding: 12px; }
  .product-body h3 { font-size: 13px; }
  .product-body p { font-size: 11px; }
  .price-line strong { font-size: 16px; }
  .product-foot { align-items: flex-start; flex-direction: column; }
  .page-intro { padding: 36px 19px 22px; }
  .page-intro h1 { font-size: 2.4rem; }
  .calculator-layout,
  .map-layout,
  .store-builder,
  .admin-grid { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .form-grid { gap: 13px; }
  .panel { padding: 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 15px; }
  .stat-card strong { font-size: 23px; }
  .map-placeholder { min-height: 350px; }
  .dealer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dealer-card { padding: 15px; }
  .dealer-head { align-items: flex-start; flex-direction: column; }
  .dealer-card > p { min-height: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 430px; }
  .price-card ul { min-height: 0; }
  .footer-inner {
    padding: 28px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .footer-links { gap: 12px; }
  .toolbar { display: grid; grid-template-columns: 1fr; }
  .toolbar input,
  .toolbar select { min-width: 0; }
  .share-link { align-items: flex-start; flex-direction: column; }
  .share-link .btn { width: 100%; }
}

@media (max-width: 420px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card p { font-size: 12px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-art { height: 115px; }
  .product-art .product-emoji { font-size: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .margin-options { grid-template-columns: 1fr; }
  .dealer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-art { height: 250px; }
  .floating-tag { font-size: 9px; padding: 8px 10px; }
  .tag-a { right: 0; }
  .tag-b { left: 0; }
  .footer-links { flex-direction: column; }
  .hero-metrics-inner { grid-template-columns: 1fr 1fr; }
}
