:root {
  --paper: #f5f6f8;
  --paper-2: #ffffff;
  --ink: #1a2332;
  --muted: #5d6b7a;
  --line: #e6e9ee;
  --green: #e30613;
  --green-deep: #0b1f3a;
  --green-soft: #fde8ea;
  --amber: #e30613;
  --gold: #e30613;
  --stamp: #e30613;
  --navy: #0b1f3a;
  --red: #e30613;
  --red-deep: #c10510;
  --wa: #25d366;
  --shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
  --serif: "Outfit", "Segoe UI", sans-serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "Outfit", "Segoe UI", sans-serif;
  --max: 1680px;
  --header: 78px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; font-size: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.has-callbar { padding-bottom: 0; }

img { max-width: 100%; display: block; }

a { color: var(--red); text-underline-offset: 0.18em; }

a:hover { color: var(--red-deep); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
  min-width: 0;
}

.topbar {
  background: var(--navy);
  color: #e8eef6;
  font-size: 0.92rem;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 2px 12px rgba(16, 24, 40, 0.08);
}

.header-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 16px;
  min-height: var(--header);
  min-width: 0;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  margin-right: auto;
  padding: 12px 0;
}

.brand-mark {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand > span:not(.brand-mark) > span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: 9px 14px;
  font: inherit;
  font-weight: 700;
}

.site-nav {
  background: var(--red);
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0;
  min-height: 48px;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 1.02rem;
  padding: 14px 18px;
}

.site-nav a:hover { background: var(--red-deep); color: #fff; }

.site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--red-deep);
}

.nav-phone {
  background: #fff !important;
  color: var(--red) !important;
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 14px !important;
  font-weight: 750;
  margin-left: auto;
}

.nav-phone:hover { background: #fff7f7 !important; color: var(--red-deep) !important; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 28px;
  padding: 36px 32px;
  margin: 24px 0 8px;
  align-items: stretch;
  background: linear-gradient(135deg, #0b1f3a 0%, #163a62 72%);
  color: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero > * { min-width: 0; }

.kicker {
  margin: 0 0 8px;
  color: #ffb4b8;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.18;
  scroll-margin-top: 96px;
  color: var(--navy);
}

h1 {
  font-size: clamp(2rem, 2.4vw, 2.7rem);
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.hero h1,
.hero .lead { color: #fff; }

h2 { font-size: clamp(1.35rem, 1.55vw, 1.7rem); margin: 0 0 16px; }

h3 { font-size: 1.12rem; margin: 0 0 8px; }

.lead { font-size: 1.16rem; color: var(--ink); max-width: 46rem; }

.hero .lead { color: #d7e2ee; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-deep); color: white; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: white; }

.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }

.device {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.device-top, .device-foot {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

.device ol { list-style: none; margin: 12px 0; padding: 0; flex: 1; }

.device li a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
  white-space: nowrap;
}

.device li a:hover { color: var(--red); }

.device li span { color: var(--red); font-family: var(--sans); font-size: 0.85rem; font-weight: 700; }

.crumbs { padding: 18px 0 0; font-size: 0.92rem; color: var(--muted); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }

.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #9aa3ad; }

.crumbs a { color: var(--muted); text-decoration: none; }

.page-hero { padding: 22px 0 8px; max-width: 48rem; }

.block { padding: 28px 0; }

.prose { max-width: 46rem; }

.prose p, .prose li { color: var(--ink); }

.prose ul, .prose ol { padding-left: 1.2rem; }

.prose h2 { margin: 1.6em 0 0.55em; font-size: 1.28rem; }

.prose h3 { margin: 1.2em 0 0.4em; font-size: 1.08rem; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-card time, .article-meta time { font-variant-numeric: tabular-nums; }

.blog-card h2 { font-size: 1.18rem; margin: 6px 0 8px; }

.blog-card h2 a { color: inherit; text-decoration: none; }

.blog-card h2 a:hover { color: var(--red); }

.related h2 { margin-bottom: 14px; }

.grid-3, .grid-2, .brand-grid, .district-grid, .model-grid {
  display: grid;
  gap: 16px;
}

.grid-3 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.model-grid .model-card img {
  width: auto;
  max-width: 86%;
  height: 220px;
  aspect-ratio: auto;
  margin-inline: auto;
  display: block;
}
.brand-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.district-grid { grid-template-columns: repeat(3, 1fr); }

.card, .model-card, .brand-card, .district-card, .info-card {
  background: var(--paper-2);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 14px rgba(16, 24, 40, 0.06);
}

.card h3 a, .model-card h3 a, .district-card a, .brand-card {
  color: inherit;
  text-decoration: none;
}

.card, .model-card, .brand-card, .district-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover, .model-card:hover, .brand-card:hover, .district-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
}

.brand-card {
  text-align: center;
  font-weight: 750;
  font-size: 1.08rem;
  padding: 22px 8px;
  color: var(--navy);
}

.brand-card small { display: block; font-weight: 500; color: var(--muted); margin-top: 4px; }

.model-card { text-align: center; padding: 18px 16px 20px; }

.model-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 12px;
}

.model-card h3 { font-size: 1rem; }

.meta { color: var(--muted); font-size: 0.92rem; margin: 0; }

.price {
  margin: 8px 0 0;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.model-card .price { font-size: 1.15rem; margin-top: 6px; }

.place-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 18px;
}

.place-list li {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); }

table { width: 100%; border-collapse: collapse; min-width: 640px; }

th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }

th { font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

tr:last-child td { border-bottom: 0; }

.steps { counter-reset: step; display: grid; gap: 12px; }

.steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 14px rgba(16, 24, 40, 0.06);
}

.steps article::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--sans);
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 750;
  padding-top: 4px;
}

.faq { display: grid; gap: 10px; }

.faq article {
  background: var(--paper-2);
  border-radius: 12px;
  padding: 16px 18px;
  border: 0;
  box-shadow: 0 2px 14px rgba(16, 24, 40, 0.06);
}

.faq h3 { font-family: var(--sans); font-size: 1.05rem; letter-spacing: 0; }

.cta-band {
  margin: 10px 0 36px;
  background: var(--red);
  color: #fff;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.cta-band h2 { margin: 0 0 6px; color: white; }
.cta-band p { margin: 0; color: #ffe3e5; }
.cta-band .btn-primary { background: #fff; color: var(--red); }
.cta-band .btn-primary:hover { background: var(--navy); color: #fff; }

.site-footer {
  border-top: 0;
  background: var(--navy);
  padding: 40px 0 48px;
  color: #b7c4d3;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 18px;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: #fff;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #b7c4d3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { color: #d5deea; }

.legal {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

address { font-style: normal; }

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 12px;
  background: #ddd;
}

.spec { margin: 0; background: #fff; border-radius: 12px; padding: 8px 16px; box-shadow: 0 2px 14px rgba(16, 24, 40, 0.06); }
.spec div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt { color: var(--muted); }
.spec div:last-child { border-bottom: 0; }

.callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 8px;
  gap: 8px;
  z-index: 12;
}

.callbar a { flex: 1; }

@media (min-width: 761px) {
  .callbar {
    display: flex;
    left: auto;
    right: 20px;
    bottom: 20px;
    width: auto;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 0;
  }
  .callbar .btn-primary { display: none; }
  .callbar .btn-ghost {
    background: var(--wa);
    color: #fff;
    border: 0;
    border-radius: 999px;
    min-width: 56px;
    min-height: 56px;
    padding: 0 18px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  }
  .callbar .btn-ghost:hover { background: #1ebe57; color: #fff; }
}

@media (max-width: 1100px) {
  .site-nav a { font-size: 0.88rem; padding: 14px 12px; }
}

@media (max-width: 980px) {
  .hero, .footer-grid, .brand-grid, .district-grid { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }
  .site-nav.is-open a { padding: 12px 8px; }
  .nav-phone { margin: 8px 0 4px; text-align: center; }
  .header-row { position: relative; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 28px); }
  .hero, .grid-2, .grid-3, .brand-grid, .district-grid, .footer-grid, .model-grid { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .callbar { display: flex; }
  body.has-callbar { padding-bottom: 84px; }
  body.has-callbar .block .actions { display: none; }
  h1 { font-size: 1.85rem; }
  .brand strong { font-size: 0.98rem; }
  .topbar .wrap { font-size: 0.82rem; }
  .callbar .btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 8px;
    min-width: 0;
    min-height: 0;
    box-shadow: none;
  }
}
