:root {
  --navy: #0b1f33;
  --navy-2: #132a44;
  --steel: #1c3a52;
  --muted: #5b6b7a;
  --line: #d7dee6;
  --bg: #f4f6f8;
  --white: #ffffff;
  --amber: #f5c518;
  --amber-2: #e0b10f;
  --coral: #e24b3b;
  --ok: #1f7a4d;
  --shadow: 0 16px 40px rgba(11, 31, 51, 0.12);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  background: var(--navy);
  color: #d7e3ee;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar a:hover { color: var(--amber); }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 52px; height: 52px; object-fit: cover; border-radius: 50%;
  background: #fff;
}
.brand-name { font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.brand-name span { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }

nav { display: flex; gap: 18px; align-items: center; }
nav a { font-size: 14px; font-weight: 600; color: var(--steel); }
nav a:hover, nav a.active { color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.phone {
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  transition: .2s ease;
}
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-2); transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--steel); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-wide { width: 100%; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.burger span, .burger span:before, .burger span:after {
  display: block; width: 18px; height: 2px; background: var(--navy); position: relative;
}
.burger span:before, .burger span:after { content: ""; position: absolute; left: 0; }
.burger span:before { top: -6px; }
.burger span:after { top: 6px; }

.hero {
  position: relative;
  min-height: 78vh;
  color: #fff;
  display: grid;
  align-items: end;
  background: #0b1f33 center/cover no-repeat;
}
.hero:before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,51,.28) 0%, rgba(11,31,51,.82) 70%);
}
.hero-inner { position: relative; padding: 90px 0 56px; }
.eyebrow {
  display: inline-block;
  background: rgba(245,197,24,.16);
  color: var(--amber);
  border: 1px solid rgba(245,197,24,.35);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 16ch;
}
.hero p { max-width: 58ch; margin: 16px 0 28px; color: #d7e3ee; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
}
.stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 14px 16px;
}
.stat b { display: block; font-size: 22px; }
.stat span { font-size: 13px; color: #c5d3df; }

.section { padding: 72px 0; }
.section-muted { background: var(--bg); }
.section-navy { background: var(--navy); color: #fff; }
.section h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.lead { color: var(--muted); max-width: 70ch; margin-bottom: 32px; }
.section-navy .lead { color: #c5d3df; }

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

.card, .price-card, .faq, .review, .form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { overflow: hidden; }
.card img { height: 180px; width: 100%; object-fit: cover; }
.card-body, .price-card, .faq, .review { padding: 22px; }
.card h3, .price-card h3 { font-size: 20px; margin-bottom: 8px; }
.card p, .muted { color: var(--muted); }
.card-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--steel); }

.pain {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
}
.pain img { border-radius: var(--radius); height: 360px; width: 100%; object-fit: cover; }
.check { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.check li { padding-left: 28px; position: relative; }
.check li:before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--amber);
}

.steps { counter-reset: step; }
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
}
.step:before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
  border-radius: 50%;
  font-weight: 800;
  margin-bottom: 10px;
}

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: #fff; font-weight: 600; }
td:last-child, th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.note { font-size: 13px; color: var(--muted); margin-top: 10px; }

.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-card { padding: 28px; }
label { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
.consent { font-size: 12px; color: var(--muted); margin: 12px 0; }
.form-success {
  display: none;
  background: #e8f6ee;
  color: var(--ok);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.faq-list { display: grid; gap: 10px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 10px; color: var(--muted); }

.footer { background: #081624; color: #c5d3df; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.footer a:hover { color: var(--amber); }
.copyright { border-top: 1px solid rgba(255,255,255,.08); padding-top: 16px; font-size: 13px; }

.float-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-call a {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.float-call .tel { background: var(--amber); color: var(--navy); }
.float-call .wa { background: #25d366; color: #fff; }

.page-hero {
  background: var(--navy) url("../img/hero.jpg") center/cover;
  color: #fff;
  padding: 90px 0 48px;
  position: relative;
}
.page-hero:before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(11,31,51,.72);
}
.page-hero .container { position: relative; }
.breadcrumbs { font-size: 13px; color: #c5d3df; margin-bottom: 12px; }
.breadcrumbs a { color: var(--amber); }
.article h2 { margin: 28px 0 12px; font-size: 28px; }
.article h3 { margin: 18px 0 8px; font-size: 20px; }
.article p { margin: 0 0 14px; }
.article .lead { margin-bottom: 18px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.gallery figure {
  margin: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #d7dee6;
  cursor: zoom-in;
}
.gallery img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(11,31,51,.72));
}
.gallery-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(11,31,51,.88);
  display: none; place-items: center; padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(920px, 100%);
  max-height: 86vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 12px;
}
.lightbox button {
  position: absolute; top: 16px; right: 18px;
  background: transparent; border: 0; color: #fff;
  font-size: 32px; cursor: pointer; line-height: 1;
}
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.tagrow a { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; background: #fff; }
.tagrow a:hover { border-color: var(--navy); }

.toc {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 8px 0 28px;
}
.toc strong { display: block; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--steel); }
.toc a { font-weight: 600; }
.toc a:hover { color: var(--navy); text-decoration: underline; }

.callout, .warn, .okbox {
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 18px 0 24px;
  border: 1px solid var(--line);
}
.callout { background: #fff8db; border-color: #ead48a; }
.warn { background: #fdecea; border-color: #f3b4ad; }
.okbox { background: #e8f6ee; border-color: #b7deC6; }
.callout p, .warn p, .okbox p { margin: 0; }
.callout b, .warn b, .okbox b { display: block; margin-bottom: 6px; }

.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  margin: 8px 0 28px;
}
.mini-stats .stat {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--navy);
}
.mini-stats .stat b { font-size: 18px; }
.mini-stats .stat span { color: var(--muted); }

.num-list { list-style: none; display: grid; gap: 12px; margin: 8px 0 22px; }
.num-list li { padding-left: 42px; position: relative; }
.num-list li:before {
  content: attr(data-n);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 800;
  display: grid; place-items: center;
}

.compare-row { margin: 8px 0 24px; }
@media (max-width: 980px) {
  .mini-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { height: 150px; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gallery img { height: 128px; }
}

@media (max-width: 980px) {
  nav, .header-cta .btn { display: none; }
  .header.open nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0; right: 0; top: 76px;
    background: #fff;
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
  .burger { display: grid; place-items: center; }
  .hero-stats, .grid-3, .grid-4, .grid-2, .pain, .form-wrap, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; }
}
