/* Сады у дома — демо ландшафтной студии. Эталон: quicklands (токен-профиль). */

/* ---------- шрифты: Inter из парка (400/500/700, кириллица+латиница) ---------- */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400-cyrillic.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-500-cyrillic.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-500-latin.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-700-cyrillic.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- токены эталона quicklands ---------- */
:root {
  --bg: #FFFFFF;
  --ink: #000000;
  --ink-2: #1F1F1F;
  --muted: #636363;
  --accent: #CEF17B;
  --accent-hot: #C6FF66;
  --deep: #053627;
  --soft: #F4F8F1;
  --line: #E3E3E3;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-pill: 100px;
  --shadow-card: rgba(0, 0, 0, 0.18) 0 10px 24px 0, rgba(0, 0, 0, 0.08) 0 2px 6px 0;
  --container: 1320px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad-section: clamp(64px, 8vw, 96px);
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-synthesis: none;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, dl, dd, figure, blockquote, ol { margin: 0; }
ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
section[id], footer { scroll-margin-top: 88px; }

h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: clamp(32px, 4vw, 48px);
}
h3 {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
::selection { background: var(--accent); color: var(--deep); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 2px;
}

/* ---------- сетка: Н1 — контейнер / full-bleed ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}
.full-bleed { width: 100%; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 32px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn:hover { background: var(--accent-hot); }

/* ---------- шапка: Н6 sticky, Н4 бургер ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; }
.logo svg { height: 44px; width: auto; display: block; }
.nav { display: none; align-items: center; gap: 32px; margin-left: auto; }
.nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--ink); }
.header__phone {
  display: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  color: var(--ink);
  cursor: pointer;
}
.burger__close { display: none; }
.nav-toggle:checked ~ .burger .burger__open { display: none; }
.nav-toggle:checked ~ .burger .burger__close { display: block; }
.nav-panel {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 16px clamp(16px, 4vw, 32px) 24px;
}
.nav-toggle:checked ~ .nav-panel { display: block; }
.nav-panel a {
  display: block;
  padding: 12px 8px;
  margin: 2px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-panel a:hover { color: var(--ink); }
.nav-panel__phone { color: var(--ink); border-top: 1px solid var(--line); margin-top: 8px; }

@media (min-width: 768px) {
  .nav { display: flex; }
  .header__phone { display: inline; }
  .burger { display: none; }
}

/* ---------- хиро: фото на весь экран (С2) + лид-форма (приём quicklands) ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(5, 54, 39, 0.78), rgba(5, 54, 39, 0.78)),
    url("assets/photo-4.jpg") center / cover no-repeat;
  color: #FFFFFF;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  padding-block: clamp(72px, 10vh, 128px);
}
.hero__content { max-width: 640px; }
.hero h1 { color: #FFFFFF; }
.hero__sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.1vw + 8px, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
.hero__phone {
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  padding: 16px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.hero__phone:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: 64px;
  }
}

/* ---------- формы ---------- */
.lead-form {
  background: var(--bg);
  color: var(--ink-2);
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.lead-form__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
}
.field { margin-bottom: 16px; }
.field__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
}
.field__input::placeholder { color: var(--muted); }
.field__input:hover { border-color: #C9C9C9; }
.field__input:focus-visible { outline: 2px solid var(--deep); outline-offset: 1px; }
select.field__input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23636363' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.lead-form__btn { width: 100%; margin-top: 8px; }
.lead-form__note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- было / стало: 2 фото + подписи (С11) ---------- */
.ba { padding-block: var(--pad-section); }
.ba__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.ba__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
}
.ba__caption {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}
@media (min-width: 768px) {
  .ba__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

/* ---------- о нас в цифрах: акцентная плашка по сетке ---------- */
.stats {
  background: var(--accent);
  color: var(--deep);
  padding-block: var(--pad-section);
}
.stats h2 { color: var(--deep); }
.stats__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.stats__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-m);
}
.stats__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
}
.stats__num {
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1;
  font-weight: 500;
  color: var(--deep);
  font-variant-numeric: tabular-nums;
}
.stats__label {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--deep);
}
@media (min-width: 1024px) {
  .stats__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .stats__media img { aspect-ratio: auto; height: 100%; max-height: 640px; }
}

/* ---------- услуги и цены ---------- */
.services { padding-block: var(--pad-section); }
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-card h3 { margin-bottom: 12px; }
.service-card__desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  flex-grow: 1;
}
.service-card__price {
  margin-top: 24px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.service-card__link {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--deep);
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.service-card__link::after { content: " \2192"; }
.service-card__link:hover { border-color: var(--deep); }
@media (min-width: 768px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* плашка-фактура по сетке: полная ширина контейнера (С4) */
.note {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 32px;
  background: var(--soft);
  border-radius: var(--radius-m);
}
.note__icon { flex-shrink: 0; }
.note p {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- процесс: тёмная full-bleed панель, тайминги ---------- */
.process {
  background: var(--deep);
  color: #FFFFFF;
  padding-block: var(--pad-section);
}
.process h2 { color: #FFFFFF; }
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.process__step {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
}
.process__time {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.process__step h3 { color: #FFFFFF; margin-bottom: 8px; }
.process__step p:last-child {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 768px) {
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- проекты с бейджами ---------- */
.projects { padding-block: var(--pad-section); }
.projects__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.project-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg);
}
.project-card__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.project-card h3 { margin-bottom: 12px; }
.project-card__desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.project-card__term {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (min-width: 1024px) {
  .projects__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

/* ---------- отзывы ---------- */
.reviews {
  background: var(--soft);
  padding-block: var(--pad-section);
}
.reviews__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.review-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius-m);
}
.review-card__stars { display: flex; gap: 4px; margin-bottom: 24px; }
.review-card blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  flex-grow: 1;
}
.review-card figcaption {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
@media (min-width: 768px) {
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (min-width: 1024px) {
  .reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

/* ---------- FAQ: левый край + полная ширина сетки (С5) ---------- */
.faq { padding-block: var(--pad-section); }
.faq__list { width: 100%; }
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60em;
}

/* ---------- финальная CTA + форма ---------- */
.cta {
  background: var(--deep);
  color: #FFFFFF;
  padding-block: var(--pad-section);
}
.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.cta h2 { color: #FFFFFF; margin-bottom: 24px; }
.cta__sub {
  font-size: 20px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}
.cta__phone {
  display: inline-block;
  margin-top: 32px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  color: #FFFFFF;
}
.cta__phone:hover { color: var(--accent); }
.cta__hours {
  margin-top: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
}
@media (min-width: 1024px) {
  .cta__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
}

/* ---------- футер: Н7 ---------- */
.footer {
  background: var(--deep);
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 64px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.footer__brand {
  font-size: 20px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.footer__head {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}
.footer__text {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.footer__link { color: #FFFFFF; border-bottom: 1px solid rgba(255, 255, 255, 0.3); transition: border-color 0.2s ease, color 0.2s ease; }
.footer__link:hover { color: var(--accent); border-color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 48px;
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}
.footer__bottom a { color: var(--accent); font-weight: 500; }
.footer__bottom a:hover { color: var(--accent-hot); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
