@font-face {
  font-family: "Golos Text";
  src: url("fonts/golos-text-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("fonts/golos-text-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --text: #1b1d1f;
  --muted: #5b6066;
  --line: #e6e2da;
  --accent: #0f5c5c;
  --accent-dark: #0a4545;
  --accent-soft: #e5efee;
  --radius: 16px;
  --wrap: 1080px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.55 "Golos Text", system-ui, sans-serif;
}

h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 28px; margin-bottom: 28px; }
h3 { font-size: 20px; margin-bottom: 8px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: background-color .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 16px; border-radius: 10px; }
.btn-small svg { width: 18px; height: 18px; }
.btn-outline { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { font-weight: 700; color: var(--text); text-decoration: none; font-size: 17px; }
.logo { white-space: nowrap; }
.logo span { color: var(--muted); font-weight: 400; }
@media (max-width: 420px) { .logo span { display: none; } }

/* Hero */
.hero { padding: 56px 0 64px; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.hero h1 { font-size: 36px; max-width: 16em; margin-bottom: 20px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero .btn { width: 100%; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; padding: 0; list-style: none; color: var(--muted); font-size: 16px; }
.facts li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 6px; }

/* Services */
.intro { color: var(--muted); margin: -16px 0 24px; }
.services { display: grid; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.services li { padding: 14px 20px; }
.services li + li { border-top: 1px solid var(--line); }
.services b { display: block; }
.services span { color: var(--muted); font-size: 16px; }

/* Directions */
.cards { display: grid; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--muted); }
.card-accent { border-color: var(--accent); box-shadow: inset 4px 0 0 var(--accent); }
.card-accent p { color: var(--text); }

/* Steps */
.steps { list-style: none; padding: 0; max-width: 720px; counter-reset: step; }
.steps li { position: relative; padding: 0 0 28px 60px; counter-increment: step; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -4px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 700;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 19px; top: 42px; bottom: 4px;
  width: 2px; background: var(--line);
}
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { color: var(--muted); }

/* Pricing */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.price { font-size: 44px; font-weight: 700; line-height: 1.1; margin-bottom: 24px; }
.price small { font-size: .5em; color: var(--muted); font-weight: 400; margin-right: 6px; }
.checks { list-style: none; padding: 0; display: grid; gap: 14px; margin-bottom: 28px; }
.checks li { position: relative; padding-left: 36px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
  background: var(--accent); color: #fff;
}
.price-card .btn { width: 100%; }

/* Example */
.example { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 40px rgba(20, 30, 30, .08); }
.browser { background: #eef0f0; padding: 12px 12px 0; }
.browser-bar { display: flex; gap: 6px; padding: 0 4px 10px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9cdcd; }
.browser img { border-radius: 8px 8px 0 0; width: 100%; }
.example-body { padding: 24px; }
.example-body h3 { font-size: 22px; }
.example-body p { color: var(--muted); margin-bottom: 24px; }
.example-body .btn { width: 100%; }

/* Contacts */
.contact { text-align: center; }
.contact p { color: var(--muted); max-width: 30em; margin: 0 auto 28px; }
.contact .btn { width: 100%; max-width: 360px; }
.city { margin-top: 20px; font-size: 16px; color: var(--muted); }

.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* Desktop-only preview of the example in the hero */
.hero-preview { display: none; }

/* Floating WhatsApp button: mobile only, hidden while hero is on screen */
@media (max-width: 767px) { body { padding-bottom: 92px; } } /* room for .fab so it never covers the end of the page */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  transition: opacity .2s, transform .2s;
}
.fab svg { width: 30px; height: 30px; }
.hero-visible .fab { opacity: 0; transform: translateY(12px); pointer-events: none; }

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding: 96px 0; }
  h2 { font-size: 36px; margin-bottom: 40px; }
  .hero { padding: 104px 0 112px; }
  .hero h1 { font-size: 56px; }
  .hero .lead { font-size: 21px; }
  .hero .btn, .price-card .btn, .example-body .btn { width: auto; }
  .services { grid-template-columns: 1fr 1fr; gap: 12px; background: none; border: 0; }
  .services li, .services li + li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .price-card { padding: 40px; max-width: 640px; }
  .price { font-size: 56px; }
  .example { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .browser { padding: 20px 20px 0; align-self: end; }
  .example-body { padding: 40px; }
  .footer { padding-bottom: 28px; }
  .fab { display: none; }
}

@media (min-width: 1024px) {
  .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: 50px; }
  .hero-preview { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(20, 30, 30, .1); transition: transform .15s; }
  .hero-preview:hover { transform: translateY(-3px); }
  .hero-preview .browser { padding: 14px 14px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
