:root {
  --bg: #f6f3ee;
  --bg-tint: #e7f0ec;
  --ink: #17241f;
  --muted: #5c675f;
  --line: #d9d3c8;
  --card: #fffcf8;
  --accent: #1f6b56;
  --accent-dark: #14332c;
  --signal: #c65a24;
  --shadow: 0 18px 40px rgba(23, 36, 31, 0.08);
  --radius: 22px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

h1, h2, .logo {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }

h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

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

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 238, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}

.logo {
  flex: 0 1 auto;
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
}

.nav__phone { display: none; }

.header__phone {
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.header__phone--block {
  display: inline-block;
  margin-top: 18px;
  font-size: 1.35rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
}

.hero { padding: 48px 0 24px; }

.hero__grid,
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.lead {
  margin-top: 18px;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.lead--tight { margin-top: 14px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--signal);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { background: #a84818; }

.button--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.button--ghost:hover { background: #fff; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
}

.panel,
.advice,
.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel { padding: 18px; }

.panel__label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.panel__note,
.disclaimer,
.form__status {
  color: var(--muted);
  font-size: 0.92rem;
}

.panel__note { margin-top: 12px; }

.offer {
  margin-top: 12px;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg);
}

.offer h2,
.card h3,
.product h3,
.steps h3,
.advice h3 {
  font-family: var(--font);
  font-size: 1.12rem;
  letter-spacing: 0;
  font-weight: 700;
}

.offer p { margin-top: 6px; color: var(--muted); }

.offer--accent { background: var(--accent-dark); color: #f6f3ee; }

.offer--accent p { color: #d5e4de; }

.price {
  margin-top: 10px !important;
  color: var(--ink) !important;
  font-weight: 800;
}

.offer--accent .price { color: #fff !important; }

.section { padding: 72px 0; }

.section--tint { background: linear-gradient(180deg, transparent, var(--bg-tint) 12%, var(--bg-tint) 88%, transparent); }

.section__head { max-width: 40rem; margin-bottom: 28px; }

.cards,
.catalog,
.steps {
  display: grid;
  gap: 16px;
}

.cards { grid-template-columns: repeat(3, 1fr); }

.steps { grid-template-columns: repeat(2, 1fr); }

.catalog { grid-template-columns: repeat(3, 1fr); }

.card,
.product,
.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.card p,
.product p,
.steps p { margin-top: 8px; color: var(--muted); }

.card__index {
  color: var(--signal);
  font-weight: 800;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li { counter-increment: step; }

.steps h3::before {
  content: counter(step) ". ";
  color: var(--accent);
}

.disclaimer { margin-top: 16px; }

.chooser {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chooser__btn {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.chooser__btn.is-active {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}

.advice { padding: 28px; }

.advice h3 { margin: 10px 0; font-size: 1.6rem; }

.split--form { align-items: stretch; }

.form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.form .button { width: 100%; }

.form__status:empty { display: none; }

.form__status { margin: 0; font-weight: 700; color: var(--accent); }

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer .logo { color: var(--ink); }

.page-hero { padding: 36px 0 8px; }

.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.3rem); }

.routes,
.products,
.gallery {
  display: grid;
  gap: 16px;
}

.routes,
.products { grid-template-columns: repeat(3, 1fr); }

.gallery { grid-template-columns: repeat(3, 1fr); }

.route,
.item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
}

.route { min-height: 210px; }

.route:hover,
.item:hover { border-color: #9eb5ac; }

.route strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.route span,
.item ul { color: var(--muted); }

.item h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
}

.item ul { margin: 0; padding-left: 18px; }

.item .button { margin-top: auto; align-self: flex-start; }

.item[hidden] { display: none !important; }

.tag {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 22px;
}

.shot {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-tint);
}

.shot figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}

.shot figcaption span { color: var(--muted); }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.prose { display: grid; gap: 14px; }

.prose p { color: var(--muted); }

.facts-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.facts-list li {
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

@media (max-width: 920px) {
  .hero__grid,
  .split,
  .cards,
  .catalog,
  .steps,
  .routes,
  .products,
  .gallery,
  .about-grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: inline-flex; }

  .header .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    margin-left: 0;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  .header .nav.is-open { display: flex; }

  .footer .nav {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav__phone { display: inline; }

  .header .header__phone { display: none; }

  .header { position: sticky; }

  .cards,
  .catalog,
  .steps,
  .routes,
  .products,
  .gallery,
  .about-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
