﻿:root {
  --bg: #f4f1e8;
  --surface: #fffdf8;
  --text: #1b1f1c;
  --muted: #52605b;
  --green: #244232;
  --green-2: #315b45;
  --accent: #c8742a;
  --line: #dfd6c7;
  --radius: 16px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-h1: clamp(2.1rem, 4.6vw, 3.6rem);
  --fs-h2: clamp(1.5rem, 2.3vw, 2rem);
  --fs-h3: clamp(1.05rem, 1.5vw, 1.25rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Arial", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, #fff, var(--bg) 55%);
  line-height: 1.5;
  font-size: var(--fs-body);
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 86vh;
  color: #fff;
  display: flex;
  align-items: center;
  background: url("./assets/img/house-exterior.webp") center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(18, 45, 33, 0.92), rgba(36, 66, 50, 0.52));
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.4rem 0.85rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  margin-top: 1rem;
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

.hero__lead {
  max-width: 68ch;
  margin: 1rem 0 0;
  color: #edf4ef;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hero__chips span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.35rem 0.8rem;
  font-size: 0.95rem;
}

.hero__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  padding: 0.82rem 1.1rem;
  min-height: 46px;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(140deg, var(--green), var(--green-2));
}

.btn--accent {
  color: #fff;
  background: linear-gradient(140deg, #b8651f, var(--accent));
}

.btn--ghost {
  color: #f7f4ed;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1200;
  backdrop-filter: blur(7px);
  background: rgba(255, 252, 247, 0.88);
  border-bottom: 1px solid #e6dccf;
}

.sticky-nav__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.sticky-nav__inner a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2e3a35;
  border: 1px solid #ddd0be;
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  background: #fff;
}

.sticky-nav__inner .sticky-nav__plus {
  padding: 0.3rem 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  line-height: 1.1;
  background: #244232;
  color: #fff;
  border-color: #244232;
}

.contacts-strip {
  background: #fff;
  border-top: 1px solid #e7e0d5;
  border-bottom: 1px solid #e7e0d5;
}

.contacts-strip__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
}

.label {
  margin: 0 0 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contacts-strip h2 {
  margin-top: 0.25rem;
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
}

.contacts-strip__links {
  display: grid;
  gap: 0.6rem;
  align-content: center;
}

.contacts-strip__links a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  font-weight: 600;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 2.6rem;
}

.about__text,
.about__image {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem;
}

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

.about__text {
  display: flex;
  flex-direction: column;
}

.about__text h2 {
  margin-bottom: 0.6rem;
}

.about ul {
  margin: 0.6rem 0 0;
  padding-left: 1.05rem;
}

.about li {
  margin: 0.35rem 0;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  min-height: 280px;
}

.description-scroll {
  margin-top: 0.95rem;
  border: 1px solid #d5cab6;
  border-radius: 14px;
  padding: 0.9rem;
  background: linear-gradient(180deg, #fffefb 0%, #f9f3e8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  flex: 1;
  min-height: 420px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.description-scroll h3 {
  font-size: 1.06rem;
  margin-bottom: 0.55rem;
  color: #25352c;
}

.description-scroll p {
  margin: 0.5rem 0;
  color: #4f5f58;
  font-size: 0.97rem;
}

.description-scroll::-webkit-scrollbar {
  width: 9px;
}

.description-scroll::-webkit-scrollbar-thumb {
  background: #c9b89e;
  border-radius: 999px;
}

.description-scroll::-webkit-scrollbar-track {
  background: #f2e9da;
  border-radius: 999px;
}

.routes {
  margin-top: 2.6rem;
}

.section-head--tight {
  margin-bottom: 0.7rem;
}

.routes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.routes__grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem;
  box-shadow: 0 10px 18px rgba(20, 24, 22, 0.04);
}

.routes__grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.routes__grid p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  margin-top: 2.6rem;
}

.section-head {
  margin-bottom: 0.85rem;
}

.gallery-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.gallery-track-wrap {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 0.2rem;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  min-width: clamp(220px, 27vw, 320px);
  flex: 0 0 auto;
}

.gallery-nav {
  width: 38px;
  height: 38px;
  border: 1px solid #d8c9b0;
  border-radius: 999px;
  background: #fff8ea;
  color: #2b3b32;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
  cursor: zoom-in;
}

.gallery-track figure:hover img {
  transform: scale(1.035);
}

.video-tour {
  margin-top: 2.6rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.video-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.55rem;
  box-shadow: 0 10px 20px rgba(18, 21, 19, 0.04);
}

.video-card__title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.tour-video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  background: #000;
  cursor: zoom-in;
}

.video-sound-btn {
  position: absolute;
  right: 0.95rem;
  bottom: 0.95rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 10, 10, 0.55);
  color: #fff;
  font-size: 1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.video-sound-btn.is-on {
  background: rgba(26, 96, 60, 0.9);
}

.prices {
  margin-top: 2.6rem;
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.prices-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: #fff;
}

.prices-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.prices-grid p {
  margin: 0;
  color: var(--muted);
}

.faq {
  margin-top: 2.6rem;
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.72rem 0.85rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.booking {
  margin-top: 2.6rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.booking--compact {
  max-width: 1120px;
  grid-template-columns: 1fr;
}

.booking__intro {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, #fff, #f2ebdf);
  padding: 1rem;
}

.booking__intro--compact {
  padding: 0.9rem;
}

.booking-trust {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: var(--fs-small);
}

.booking-trust li {
  margin: 0.28rem 0;
}

.booking__quick-links {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.booking-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.72rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.booking-form--compact {
  max-width: 470px;
  width: 100%;
  margin-inline: auto;
  padding: 0.72rem;
}

.booking-form label {
  font-weight: 600;
  font-size: 0.94rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.booking-form input,
.booking-form textarea {
  font: inherit;
  border: 1px solid #d6ccbc;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  background: #fffcf6;
}

.booking-form textarea {
  resize: vertical;
  min-height: 66px;
  max-height: 110px;
}

.field-full,
.form-status,
.booking-form button {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.88rem;
  color: #234f2a;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.footer {
  background: #152921;
  color: #eff3ef;
  padding: 1.6rem 0;
}

section,
.booking,
.prices,
.video-tour,
.gallery,
.routes,
.about,
.contacts-strip {
  scroll-margin-top: 66px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.footer a {
  color: #ffcf9f;
}

.booking__body {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0.8rem;
  align-items: start;
}

.booking__body > * {
  min-height: 0;
}

.reviews-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 560px;
}

.reviews-card h3 {
  margin: 0.05rem 0 0.1rem;
}

.review-viewer {
  position: relative;
  border: 1px solid #dfd2bd;
  border-radius: 12px;
  background: #faf7f0;
  padding: 0.35rem;
}

.review-viewer img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  cursor: zoom-in;
}

.review-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.review-nav--prev {
  left: 0.75rem;
}

.review-nav--next {
  right: 0.75rem;
}

.review-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  max-height: 140px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.review-thumb {
  border: 1px solid #ddceb7;
  border-radius: 7px;
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.review-thumb img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.review-thumb.is-active {
  border-color: #245037;
  box-shadow: 0 0 0 2px rgba(36, 80, 55, 0.22);
}

.fulltext {
  margin-top: 2rem;
  margin-bottom: 2.8rem;
}

.fulltext__details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.fulltext__details summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1rem;
  font-weight: 700;
  background: linear-gradient(180deg, #fff, #f6eee1);
}

.fulltext__details summary::-webkit-details-marker {
  display: none;
}

.fulltext__content {
  border-top: 1px solid #e7ddcc;
  padding: 1rem;
  color: var(--muted);
  max-height: 520px;
  overflow-y: auto;
}

.fulltext__content p {
  margin: 0 0 0.8rem;
}

.fulltext__content ul {
  margin: 0 0 0.8rem;
  padding-left: 1.2rem;
}

.fulltext__content li {
  margin: 0.3rem 0;
}

.mobile-cta {
  position: fixed;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 1500;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0.4rem;
  border: 1px solid #d7c9af;
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.97);
  backdrop-filter: blur(4px);
}

.mobile-cta a {
  text-decoration: none;
  min-height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.92rem;
  background: #245037;
  color: #fff;
}

.mobile-cta a:nth-child(2) {
  background: #c8742a;
}

.mobile-cta a:nth-child(3) {
  background: #1d2f28;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  padding: 1rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1200px, 96vw);
  max-height: 84vh;
  border-radius: 8px;
}

.lightbox video {
  display: none;
  max-width: min(1200px, 96vw);
  max-height: 84vh;
  border-radius: 8px;
  background: #000;
}

.lightbox.is-video img {
  display: none;
}

.lightbox.is-video video {
  display: block;
}

.lightbox p {
  color: #fff;
  margin: 0.6rem 0 0;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.lightbox__nav--prev {
  left: 1rem;
}

.lightbox__nav--next {
  right: 1rem;
}

@media (max-width: 980px) {
  .contacts-strip__grid,
  .about,
  .booking {
    grid-template-columns: 1fr;
  }

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

  .video-grid,
  .prices-grid,
  .booking__body {
    grid-template-columns: 1fr;
  }

  .booking__body > * { min-height: 0; }

  .booking-form--compact {
    max-width: 100%;
  }

  .tour-video {
    height: 300px;
  }

  .sticky-nav__inner {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sticky-nav__inner::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 680px) {
  .sticky-nav {
    display: none;
  }
  .gallery-slider {
    grid-template-columns: 1fr;
  }

  .gallery-nav {
    display: none;
  }

  .gallery img {
    height: 210px;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .description-scroll {
    min-height: 280px;
    flex: initial;
  }

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

  .review-viewer img {
    height: 260px;
  }

  .review-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 180px;
  }

  .review-thumb img {
    height: 66px;
  }

  .mobile-cta {
    display: grid;
  }
}
