:root {
  --navy: #0f1b2d;
  --navy-2: #16263d;
  --ink: #1c2533;
  --muted: #5b6678;
  --line: #e3e7ee;
  --bg-alt: #f4f6fa;
  --accent: #ffc21a;
  --accent-dark: #e0a800;
  --radius: 14px;
  --wrap: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 780px; }

.eyebrow {
  display: inline-block;
  margin-bottom: .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--dark { color: var(--accent-dark); }
.muted { color: var(--muted); font-size: .95rem; }

.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn--lg { padding: .95rem 1.6rem; font-size: 1.15rem; }
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { background: #ffd04d; }
.btn--ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: #fff; color: var(--navy); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 27, 45, .96);
  backdrop-filter: blur(8px);
  color: #fff;
}
.topbar__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }

.logo { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent);
}
.logo__mark svg { width: 22px; height: 22px; fill: var(--navy); }
.logo__text { display: flex; flex-direction: column; font-weight: 800; line-height: 1.1; }
.logo__text small { font-weight: 500; font-size: .75rem; opacity: .7; }

.nav { display: none; margin-left: auto; gap: 1.6rem; }
.nav a { color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.topbar .btn { margin-left: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 760px);
  color: #fff;
  overflow: hidden;
  background: var(--navy);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 45, .35) 0%, rgba(15, 27, 45, .92) 70%);
}
.hero__content { position: relative; z-index: 1; padding: 7rem 0 3rem; }
.hero h1 { max-width: 14ch; }
.hero__lead { max-width: 34rem; font-size: 1.15rem; color: rgba(255, 255, 255, .88); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2rem; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: .95rem;
  color: rgba(255, 255, 255, .75);
}
.hero__facts strong { color: var(--accent); }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark p { color: rgba(255, 255, 255, .8); }

.cards { display: grid; gap: 1.2rem; margin-top: 2rem; }
.card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.card p { color: var(--muted); margin: 0; }
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: #fff6db;
}
.card__icon svg { width: 24px; height: 24px; fill: var(--accent-dark); }

.note {
  margin: 1.6rem 0 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: #fffaf0;
}

.split { display: grid; gap: 2.2rem; align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }

.checklist { padding: 0; margin: 0 0 1.4rem; list-style: none; }
.checklist li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .85rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9.5 16.2-4-4 1.4-1.4 2.6 2.6 6.6-6.6 1.4 1.4z' fill='%230f1b2d'/%3E%3C/svg%3E") center / 90% no-repeat;
}

.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.4rem; list-style: none; }
.tags li {
  padding: .45rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-alt);
  font-weight: 600;
  font-size: .95rem;
}

.steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 2rem 0 2.5rem;
  list-style: none;
}
.steps li {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: var(--navy-2);
}
.steps li p { margin: 0; }
.steps__num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  font-weight: 800;
}
.wide-figure { margin: 0; }
.wide-figure img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }

.map svg { width: 100%; height: auto; border-radius: var(--radius); background: var(--bg-alt); }
.map__km { font-size: 2.6px; fill: var(--accent-dark); font-weight: 700; }
.map__town circle { fill: var(--navy); }
.map__town text { font-size: 3px; fill: var(--ink); font-weight: 600; }
.map__center circle { fill: var(--accent); stroke: var(--navy); stroke-width: .5; }
.map__center text { font-size: 4.2px; font-weight: 800; fill: var(--navy); }

.towns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem 1rem;
  padding: 0;
  margin: 0 0 1.2rem;
  list-style: none;
  font-weight: 600;
}
.towns li::before { content: "•"; color: var(--accent-dark); margin-right: .45rem; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .7rem 0 0; color: var(--muted); }

.contact { text-align: center; }
.contact__lead { font-size: 1.1rem; }
.contact__phones { display: grid; gap: 1rem; margin-top: 2rem; }
.phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--navy);
  text-decoration: none;
  transition: transform .15s ease;
}
.phone:hover { transform: translateY(-2px); }
.phone__label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.phone__num { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 800; letter-spacing: .02em; }

.footer { padding: 3.5rem 0 5.5rem; background: #0a1424; color: rgba(255, 255, 255, .6); font-size: .9rem; }
.footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: #fff; margin-bottom: 1.6rem; }
.footer h3 { font-size: .95rem; color: #fff; margin-bottom: .6rem; }
.footer ul { padding: 0; margin: 0; list-style: none; }
.footer li + li { margin-top: .35rem; }

.footer__seo { padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__articles { display: grid; gap: 1.6rem 2rem; }
.footer__articles p { margin: 0; line-height: 1.65; }

.footer__cols { display: grid; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__cols p { margin: 0; }
.footer__brand { color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: .5rem !important; }
.footer__places { line-height: 1.7; }

.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.5rem; font-size: .85rem; }

.callbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(10, 20, 36, .35);
}

.notfound { display: grid; align-items: center; min-height: 100vh; }

/* ---------- desktop ---------- */
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact__phones { grid-template-columns: repeat(2, 1fr); }
  .towns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  .footer__articles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: 1.2fr 1fr 1.6fr .8fr; }
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .topbar .btn { margin-left: 0; }
  .hero { align-items: center; }
  .hero::after {
    background: linear-gradient(90deg, rgba(15, 27, 45, .95) 0%, rgba(15, 27, 45, .8) 38%, rgba(15, 27, 45, .1) 70%);
  }
  .hero__content { padding: 5rem 0; }
  .hero__bg { object-position: center; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--reverse .split__media { order: 2; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .callbar { display: none; }
  .footer { padding-bottom: 2rem; }
}
