/* Вариант 2 — «Тёмный»: тёмно-зелёный фон, крупная типографика, салатовый акцент. */
:root {
  --bg: #0c1811;
  --surface: #13241a;
  --ink: #eef3ea;
  --muted: rgba(238, 243, 234, .6);
  --line: rgba(238, 243, 234, .12);
  --accent: #c6f36b;
  --display: "Unbounded", system-ui, sans-serif;
  --font: "Onest", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; overflow-wrap: break-word; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }

.wrap { width: min(1280px, 100% - 64px); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { max-width: 560px; margin-top: 20px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.title { font-size: clamp(30px, 4vw, 54px); margin-top: 18px; max-width: 900px; }
.section { padding: 140px 0 0; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(12, 24, 17, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.logo svg { width: 30px; height: 30px; color: var(--accent); }
.nav { display: flex; gap: 32px; margin-left: auto; font-size: 15px; }
.nav a { color: #fff; transition: color .2s; }
.nav a:hover { color: var(--accent); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang__btn { border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.lang__btn.is-active { background: var(--accent); color: var(--bg); }
.burger { display: none; width: 40px; height: 40px; border: 0; background: none; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span { top: 20px; }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: blur(6px); transform: scale(1.06); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 2%, rgba(12, 24, 17, .75) 40%, rgba(12, 24, 17, .55)); }
.hero__inner { padding-top: 140px; }
.hero h1 { font-size: clamp(27px, 5.6vw, 84px); margin-top: 28px; max-width: 1100px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead { max-width: 560px; margin-top: 28px; font-size: 18px; color: rgba(238, 243, 234, .75); }
.hero__bar { display: grid; grid-template-columns: repeat(3, 1fr) auto; margin-top: 72px; margin-bottom: 40px; border-top: 1px solid var(--line); }
.hero__bar a { display: grid; padding: 22px 24px 0 0; font-size: 18px; font-weight: 500; transition: color .2s; }
.hero__bar a:hover { color: var(--accent); }
.hero__bar small { font-size: 13px; color: var(--muted); font-weight: 400; }
.hero__go { align-self: end; color: var(--accent); }

/* About */
.statement { font-size: clamp(30px, 4.6vw, 64px); margin-top: 18px; max-width: 1100px; }
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; margin-top: 64px; }
.about img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; }
.about__text { display: grid; gap: 16px; color: var(--muted); font-size: 18px; }
.points { list-style: none; padding: 0; margin: 80px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.points li { padding: 28px 28px 0 0; display: grid; gap: 8px; align-content: start; }
.points li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.points span { font-family: var(--display); font-size: 13px; color: var(--accent); }
.points b { font-weight: 600; font-size: 18px; }
.points p { color: var(--muted); font-size: 15px; }

/* Directions */
.rows { margin-top: 56px; display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: var(--surface); border-radius: 24px; padding: 16px; }
.row:nth-child(even) img { order: 2; }
.row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.row > div { padding: 24px; }
.row__num { font-family: var(--display); font-size: 14px; color: var(--accent); }
.row h3 { font-size: clamp(24px, 2.6vw, 36px); margin: 10px 0 14px; }
.tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.tags li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); }

/* App */
.app { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: center; }
.features { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.features li { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.features span { color: var(--muted); font-size: 15px; }
.phone { justify-self: center; width: min(290px, 100%); border-radius: 40px; padding: 10px; background: #000; box-shadow: 0 0 0 1px var(--line), 0 40px 120px -30px rgba(198, 243, 107, .3); }
.phone img { border-radius: 31px; }

/* Contacts */
.contact { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; margin-top: 56px; }
.branch { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border-radius: 24px; padding: 32px; }
.branch h3 { font-size: 22px; margin-bottom: 8px; }
.branch__map { width: 100%; aspect-ratio: 4 / 3; margin-top: auto; border: 0; border-radius: 16px; background: var(--line); }
.branch__phone { padding-top: 20px; font-family: var(--display); font-size: 20px; color: var(--accent); }
.link { font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.link:hover { color: var(--ink); }
.order { background: var(--accent); color: var(--bg); border-radius: 24px; padding: 32px; }
.order__eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.order h3 { font-size: 28px; margin: 10px 0 8px; }
.form { display: grid; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 2px; font-size: 13px; }
.field input { font: inherit; font-size: 17px; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(12, 24, 17, .3); background: none; color: var(--bg); }
.field input::placeholder { color: rgba(12, 24, 17, .4); }
.field input:focus { outline: none; border-color: var(--bg); }
.field input.is-invalid { border-color: #b3261e; }
.btn { margin-top: 8px; padding: 15px; border: 0; border-radius: 999px; background: var(--bg); color: var(--ink); font-weight: 500; }
.btn:disabled { opacity: .6; }
.form__trap { position: absolute; left: -9999px; opacity: 0; }
.form__note { font-size: 12px; opacity: .6; }
.form__status { font-weight: 500; min-height: 1em; }

/* Footer */
.footer { margin-top: 140px; padding: 48px 0; border-top: 1px solid var(--line); font-size: 15px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: baseline; }
.footer__inner > p:first-child { max-width: 360px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { width: 100%; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s, transform .8s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .contact { grid-template-columns: 1fr 1fr; }
  .order { grid-column: span 2; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; padding: 8px 32px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .nav a { font-size: 20px; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .lang { margin-left: auto; }
  .burger { display: block; }
  .hero__bar { grid-template-columns: 1fr 1fr; }
  .hero__go { display: none !important; }
  .about, .row, .app { grid-template-columns: 1fr; gap: 32px; }
  .row:nth-child(even) img { order: 0; }
  .row > div { padding: 8px 8px 16px; }
  .section { padding-top: 96px; }
}

@media (max-width: 600px) {
  .lang__btn { min-width: 40px; min-height: 36px; }
  .header__inner { gap: 12px; }
  .logo { font-size: 15px; }
  .logo svg { width: 26px; height: 26px; }
  .burger { flex-shrink: 0; }
  .link { display: inline-block; padding-block: 8px; }
  .footer__links a { padding-block: 8px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { padding-inline: 16px; }
  .hero__bar { grid-template-columns: 1fr; margin-top: 48px; }
  .hero__bar a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .points { grid-template-columns: 1fr; }
  .points li, .points li + li { padding: 20px 0 0; border-left: 0; margin-top: 20px; border-top: 1px solid var(--line); }
  .points li:first-child { margin-top: 0; border-top: 0; }
  .features { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .order { grid-column: auto; }
  .branch, .order { padding: 24px; }
  .section { padding-top: 80px; }
  .footer { margin-top: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
