:root {
  --bg: #ffffff;
  --alt: #f3f5f9;
  --ink: #1f2b4d;
  --muted: #5f6984;
  --line: #e2e6ef;
  --blue: #2d5aa6;
  --blue-dark: #234a8c;
  --red: #c8102e;
  --radius: 14px;
  --display: "Red Hat Display", system-ui, sans-serif;
  --text: "Red Hat Text", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(28px, 3vw, 38px); }
h3 { font-size: 19px; }
p { margin: 0; }

.container { width: min(100% - 2 * clamp(20px, 4vw, 64px), 1360px); margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 500 16px/1 var(--text); text-decoration: none; transition: background .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: var(--alt); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 20px var(--display); text-decoration: none; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: var(--alt); font-size: 14px; font-weight: 500; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2fa36b; }
h1 { font-size: clamp(32px, 4.2vw, 50px); margin: 18px 0 16px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.facts strong { display: block; font: 600 20px var(--display); }
.facts span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.hero-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--alt); }
.section-lead { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 38em; }

/* Prices */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,43,77,.08); }
.price-card.featured { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.price { font: 600 30px var(--display); color: var(--blue); margin: 10px 0 8px; }
.price-card p:last-child { color: var(--muted); }
.note { margin-top: 20px; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 500; margin-bottom: 14px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 8px; color: var(--muted); }

/* CTA */
.cta { background: var(--ink); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta p { color: #b9c0d3; margin-top: 8px; }
.cta-phones { display: grid; gap: 6px; }
.cta-phones a { font: 600 clamp(24px, 2.6vw, 32px) var(--display); text-decoration: none; }
.cta-phones a:hover { text-decoration: underline; }

/* Footer */
.footer { padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Mobile call bar */
.callbar { display: none; }

@media (max-width: 900px) {
  .hero-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .header .btn-sm { display: none; }
  .hero { padding: 36px 0 48px; }
  .actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .facts strong { font-size: 17px; }
  .section { padding: 56px 0; }
  .price-cards, .steps, .gallery { grid-template-columns: 1fr; }
  body { padding-bottom: 72px; }
  .callbar { display: flex; align-items: center; justify-content: center; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; height: 52px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 500; text-decoration: none; box-shadow: 0 6px 20px rgba(31,43,77,.25); }
}
