:root {
  --green: #04381e;
  --green-2: #0b4f35;
  --green-3: #164f3d;
  --blue: #2b88fc;
  --gold: #b97a08;
  --cream: #f5f3ed;
  --cream-2: #fbfaf7;
  --ink: #15382d;
  --muted: #6f7b76;
  --line: #d9dedb;
  --white: #fff;
  --shadow: 0 18px 50px rgba(4, 56, 30, .12);
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
section[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(4,56,30,.08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(26px, 4vw, 58px); }
.main-nav a {
  position: relative;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 28px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 17px;
  height: 2px;
  background: var(--gold);
  transition: right .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 9px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--green); margin: 6px 0; transition: transform .2s, opacity .2s; }

.hero {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  display: flex;
  align-items: center;
  background-image: url("../assets/images/hero-waterfall.webp");
  background-repeat: no-repeat;
  background-size: 112% auto;
  background-position: 0% 45%;
  overflow: hidden;
  border-bottom: 5px solid var(--gold);
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,31,19,.90) 0%, rgba(1,31,19,.66) 36%, rgba(1,31,19,.16) 65%, rgba(1,31,19,.02) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 70px; color: white; }
.hero-kicker, .eyebrow {
  margin: 0 0 18px;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-kicker { color: #e4b34f; }
.hero h1 { margin: 0; width: min(620px, 92vw); line-height: .88; }
.hero-waterfall {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: clamp(54px, 4.85vw, 79px);
  font-weight: 600;
  letter-spacing: 0.055em;
  line-height: 1;
  white-space: nowrap;
}
.hero-shypit { width: min(525px, 88vw); height: auto; margin: 2px 0 0 -5px; filter: brightness(0) invert(1); }
.hero-copy { max-width: 570px; margin: 22px 0 0; color: rgba(255,255,255,.86); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: white; color: var(--green); }
.btn-ghost { border-color: rgba(255,255,255,.75); color: white; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: white; color: var(--green); }

.section { padding: 92px 0; }
.section h2 {
  margin: 0;
  font-family: "Jost", sans-serif;
  color: var(--green);
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.07;
  letter-spacing: -.025em;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.prose { font-size: 17px; }
.prose p { margin: 0 0 24px; }
.prose a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--green); }
.about-lift-link { display: inline-block; white-space: nowrap; }
.about-copy { max-width: 530px; justify-self: end; }

.section-prices { background: var(--cream); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-note { margin: 0 0 6px; color: var(--muted); max-width: 270px; font-size: 14px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr 1.08fr; gap: 16px; }
.price-card { position: relative; background: white; min-height: 240px; padding: 34px 30px 30px; }
.price-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; }
.blue-top::before { background: var(--blue); }
.green-top::before { background: var(--green); }
.card-label { margin: 0; font-family: "Jost", sans-serif; text-transform: uppercase; font-weight: 700; font-size: 14px; }
.price { display: flex; align-items: flex-end; gap: 8px; margin-top: 20px; }
.price strong { color: var(--blue); font-family: "Jost", sans-serif; font-size: clamp(72px, 8vw, 108px); line-height: .9; }
.price span { font-family: "Jost", sans-serif; font-weight: 700; margin-bottom: 10px; }
.schedule-card h3 { margin: 0 0 16px; font-family: "Jost", sans-serif; font-size: 24px; }
.schedule-row { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.schedule-row strong { color: var(--blue); }
.free-entry { margin-top: 16px; background: white; border-left: 5px solid var(--gold); padding: 26px 30px; display: grid; grid-template-columns: 330px 1fr; gap: 40px; align-items: start; }
.free-entry h3 { margin: 0; font-family: "Jost", sans-serif; font-size: 20px; }
.free-entry ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.free-entry li { position: relative; padding-left: 18px; color: #53665e; }
.free-entry li::before { content: "—"; position: absolute; left: 0; color: var(--green); }

.section-route { background: #fff; }
.route-grid { display: grid; grid-template-columns: .92fr 1.5fr; min-height: 420px; box-shadow: 0 0 0 1px rgba(4,56,30,.05); }
.route-panel { background: var(--green); color: white; padding: 34px; }
.route-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px; }
.route-tab { height: 48px; border: 1px solid rgba(255,255,255,.45); background: transparent; color: white; font-family: "Jost", sans-serif; font-weight: 700; cursor: pointer; }
.route-tab.active { background: white; color: var(--green); border-color: white; }
.route-panel label { display: block; font-family: "Jost", sans-serif; font-weight: 700; margin: 0 0 10px; }
.route-panel input { width: 100%; height: 52px; padding: 0 15px; border: 0; outline: none; color: var(--ink); background: white; }
.input-help { margin: 8px 0 20px; color: rgba(255,255,255,.65); font-size: 12px; }
.route-button { width: 100%; border: 0; background: white; color: var(--green); }
.map-card { min-height: 420px; background: #edf1ef; }
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.route-alt { margin-top: 24px; padding: 22px 26px; background: #f0f4f1; display: grid; grid-template-columns: 320px 1fr; align-items: center; gap: 35px; }
.route-alt .eyebrow { margin-bottom: 4px; }
.route-alt a { color: var(--green); font-family: "Jost", sans-serif; font-weight: 700; font-size: 22px; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 5px; }
.route-alt p:last-child { margin: 0; color: var(--muted); }

.section-development { background: #023721; color: rgba(255,255,255,.80); }
.development-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 85px; align-items: start; }
.section-development h2 { color: white; }
.eyebrow-gold { color: #d09a25; }
.development-lead { max-width: 500px; margin: 22px 0 34px; color: rgba(255,255,255,.72); }
.development-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.28); }
.development-list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 14px; }
.development-list span { color: #d09a25; font-family: "Jost", sans-serif; font-weight: 700; }
.development-footnote { margin-top: 22px; color: #d09a25; text-transform: uppercase; font-size: 11px; font-family: "Jost", sans-serif; font-weight: 700; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-item { position: relative; border: 1px solid rgba(255,255,255,.46); background: #164d39; padding: 0; min-height: 180px; overflow: hidden; cursor: zoom-in; text-align: left; }
.gallery-main { grid-column: 1 / -1; min-height: 310px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .25s ease, filter .25s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.56)); }
.gallery-item:hover img { transform: scale(1.025); filter: brightness(.95); }
.gallery-item span { position: absolute; left: 17px; bottom: 14px; z-index: 1; color: white; font-family: "Jost", sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase; }
.gallery-note { grid-column: 1/-1; margin: 0; font-size: 12px; color: rgba(255,255,255,.5); }

.section-contacts { background: white; }
.contacts-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: start; }
.company-card { background: var(--cream); border-top: 5px solid var(--gold); padding: 30px 36px; }
.company-card h3 { margin: 0 0 18px; font-family: "Jost", sans-serif; color: var(--green); font-size: 28px; }
.company-card dl { margin: 0 0 28px; }
.company-card dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 10px 0; border-top: 1px solid #d8ddd9; }
.company-card dt { text-transform: uppercase; font-size: 10px; color: #65766f; font-weight: 700; letter-spacing: .04em; }
.company-card dd { margin: 0; font-weight: 700; }
.company-card dd a { text-decoration: none; }
.company-card dd a:hover { text-decoration: underline; }
.company-card .address-row { grid-template-columns: 1fr; gap: 6px; }
.company-card .address-row dd { font-weight: 400; }
.document-link { font-family: "Jost", sans-serif; font-weight: 700; text-decoration: none; }
.document-link:hover { text-decoration: underline; }

.site-footer { background: #023721; color: white; }
.footer-inner { min-height: 142px; display: grid; grid-template-columns: 92px 1fr auto; grid-template-rows: 1fr auto; gap: 12px 48px; align-items: center; padding-block: 16px 12px; }
.footer-logo { width: 80px; overflow: hidden; }
.footer-logo img { width: 80px; height: 86px; object-fit: contain; }
.footer-nav { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.footer-nav a, .back-top { text-decoration: none; font-family: "Jost", sans-serif; font-weight: 600; font-size: 13px; }
.footer-nav a:hover, .back-top:hover { text-decoration: underline; }
.copyright { grid-column: 2 / 3; margin: 0; color: rgba(255,255,255,.52); font-size: 12px; }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 60px 90px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 88vw); max-height: 88vh; display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; box-shadow: 0 24px 80px rgba(0,0,0,.4); }
.lightbox figcaption { color: rgba(255,255,255,.78); font-size: 13px; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; color: white; background: rgba(255,255,255,.1); cursor: pointer; }
.lightbox-close { top: 20px; right: 24px; width: 50px; height: 50px; font-size: 34px; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 70px; font-size: 48px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
body.no-scroll { overflow: hidden; }

.placeholder-page { min-height: 100vh; background: var(--cream); }
.placeholder-shell { min-height: 100vh; display: grid; place-items: center; padding: 40px; }
.placeholder-card { width: min(760px, 100%); padding: 46px; background: white; border-top: 5px solid var(--gold); box-shadow: var(--shadow); }
.placeholder-card img { width: 76px; margin-bottom: 28px; }
.placeholder-card h1 { margin: 0 0 14px; font-family: "Jost", sans-serif; color: var(--green); font-size: clamp(36px, 7vw, 64px); }
.placeholder-card p { color: var(--muted); }
.placeholder-card a { display: inline-flex; margin-top: 16px; font-family: "Jost", sans-serif; font-weight: 700; color: var(--green); }

@media (max-width: 980px) {
  :root { --header-h: 74px; }
  .container { width: min(100% - 36px, 860px); }
  .nav-toggle { display: block; position: relative; z-index: 1002; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px 18px 22px;
    background: white;
    border-top: 1px solid #edf0ee;
    box-shadow: 0 20px 40px rgba(4,56,30,.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: .22s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 16px 10px; border-bottom: 1px solid #eef1ef; }
  .main-nav a::after { display: none; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .brand { width: 52px; height: 52px; }
  .brand img { width: 50px; height: 50px; }

  .section { padding: 74px 0; }
  .split, .development-grid, .contacts-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-copy { max-width: none; justify-self: stretch; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .schedule-card { grid-column: 1 / -1; }
  .free-entry { grid-template-columns: 1fr; gap: 16px; }
  .route-grid { grid-template-columns: 1fr; }
  .map-card, .map-card iframe { min-height: 360px; }
  .route-alt { grid-template-columns: 1fr; gap: 14px; }
  .gallery-main { min-height: 360px; }
  .footer-inner { grid-template-columns: 82px 1fr; grid-template-rows: auto auto auto; min-height: 136px; padding-block: 14px 12px; }
  .footer-logo { width: 76px; }
  .footer-logo img { width: 76px; height: 82px; }
  .footer-nav { gap: 18px 30px; }
  .back-top { justify-self: end; grid-column: 2; }
  .copyright { grid-column: 2; }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 640px);
  }

  /* HERO — менше пустого місця зверху */
  .hero {
    min-height: 0;
    background-size: cover;
    background-position: 60% center;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(1,31,19,.92),
      rgba(1,31,19,.55) 72%,
      rgba(1,31,19,.25)
    );
  }

  .hero-content {
    padding-block: 48px 56px;
    align-self: auto;
  }

  .hero-waterfall {
    font-size: clamp(42px, 12vw, 60px);
    letter-spacing: .025em;
  }

  .hero-shypit {
    width: min(86vw, 430px);
  }

  .hero-copy {
    font-size: 15px;
    max-width: 480px;
  }


  /* МОБІЛЬНЕ МЕНЮ — на всю ширину і по центру */
  .main-nav {
    width: 100%;
    justify-content: stretch;
    justify-items: stretch;
    padding: 8px 18px 18px;
  }

  .main-nav a {
    width: 100%;
    padding: 15px 12px;
    text-align: center;
    border-bottom: 1px solid #eef1ef;
  }


  /* СТРІЛКИ — звичайні, без синього emoji на iPhone */
  .hero-actions .btn > span[aria-hidden="true"],
  .route-button > span[aria-hidden="true"] {
    display: none;
  }

  .hero-actions .btn::after,
  .route-button::after {
    content: "\2197\FE0E";
    display: inline-block;
    margin-left: 7px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
  }


  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 34px;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .schedule-card {
    grid-column: auto;
  }

  .price-card {
    min-height: 205px;
  }

  .route-panel {
    padding: 24px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    grid-column: auto;
    min-height: 300px;
  }

  .gallery-item {
    min-height: 250px;
  }

  .gallery-note {
    grid-column: auto;
  }

  .company-card {
    padding: 26px 22px;
  }

  .company-card dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
    justify-items: center;
    min-height: 178px;
    padding-block: 28px 20px;
  }

  .footer-logo {
    width: 92px;
  }

  .footer-logo img {
    width: 92px;
    height: 105px;
  }

  .footer-nav {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }

  .back-top,
  .copyright {
    grid-column: 1;
    justify-self: center;
  }

  .lightbox {
    padding: 70px 16px 28px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 16px;
    transform: none;
    width: 52px;
    height: 52px;
  }

  .lightbox-prev {
    left: calc(50% - 64px);
  }

  .lightbox-next {
    right: calc(50% - 64px);
  }
}

@media (max-width: 440px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .route-tabs {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .section h2 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}

