/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f7f2ed;
  --bg-light:  #ede8e2;
  --accent:    #7a5c44;
  --accent-2:  #a07858;
  --text:      #2e2820;
  --text-muted:#7a7068;
  --white:     #ffffff;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(80,60,40,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: var(--accent); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .75; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .03em;
  cursor: pointer;
  transition: all .25s;
  font-family: inherit;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); opacity: 1; }

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn--outline:hover { background: var(--accent); color: var(--white); opacity: 1; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 242, 237, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(122, 92, 68, 0.12);
}
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav a {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: .02em;
}
.nav a:hover { color: var(--accent); opacity: 1; }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #3d2e22;
  overflow: hidden;
}
/* Заглушка — замените на: background-image: url('images/hero.jpg'); */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 12, 0.45);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}
.hero__label {
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}
.hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 10vw, 110px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.80);
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 22px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section--light { background: var(--bg-light); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 820px; }

.section__header { text-align: center; margin-bottom: 60px; }
.section__tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 14px;
}
.section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
}
.section__desc {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 56px;
}
.about__text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature__icon { font-size: 22px; margin-top: 2px; }
.feature div { display: flex; flex-direction: column; }
.feature strong { font-size: 15px; font-weight: 500; color: var(--text); }
.feature span { font-size: 13px; color: var(--text-muted); }

/* УТП блок */
.utp-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, #f0ebe4, #e8f0e8);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 32px;
  border-left: 4px solid #6a8f5a;
}
.utp-block__icon { font-size: 36px; flex-shrink: 0; margin-top: 2px; }
.utp-block div strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.utp-block div p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.checkin-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.checkin-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
}
.checkin-icon { font-size: 24px; }
.checkin-card div { display: flex; flex-direction: column; }
.checkin-card strong { font-size: 16px; font-weight: 500; color: var(--text); }
.checkin-card span { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ===== AROUND ===== */
.around__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.around__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
}
.around__icon { font-size: 28px; margin-bottom: 4px; }
.around__card strong { font-size: 16px; font-weight: 500; color: var(--text); }
.around__card span { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 768px) {
  .around__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .around__grid { grid-template-columns: 1fr; }
}

/* ===== GALLERY ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  cursor: pointer;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery__note { text-align: center; font-size: 14px; color: var(--text-muted); }

/* Лайтбокс */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 36px;
  color: white;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__prev, .lightbox__next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  opacity: .6;
  user-select: none;
  padding: 16px;
}
.lightbox__prev:hover, .lightbox__next:hover { opacity: 1; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* ===== BOOKING ===== */
.booking-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
}
.booking-frame {
  width: 100%;
  height: 680px;
  border: none;
  display: block;
}
.booking-note { text-align: center; font-size: 14px; color: var(--text-muted); }

/* ===== RULES ===== */
.rules { display: flex; flex-direction: column; gap: 36px; }
.rules__block {}
.rules__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(122,92,68,0.15);
}
.rules__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rules__list li {
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.rules__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-2);
}
.rules__note {
  background: rgba(122,92,68,0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== CONTRACT ===== */
.contract-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px;
  text-align: center;
}
.contract-placeholder { font-size: 16px; color: var(--text-muted); line-height: 1.8; }

/* ===== LOCATION ===== */
.location { display: flex; flex-direction: column; gap: 32px; }
.location__address { font-size: 16px; line-height: 2.0; color: var(--text-muted); }
.location__address strong { color: var(--text); }
.map-placeholder {
  height: 320px;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  border: 2px dashed rgba(122,92,68,0.2);
}

/* ===== CONTACTS ===== */
.contacts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  color: var(--text);
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(80,60,40,0.15);
  opacity: 1;
}
.contact-card__icon {
  font-size: 26px;
  width: 48px;
  height: 48px;
  background: rgba(122,92,68,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card__icon svg { width: 26px; height: 26px; display: block; }
.contact-card div { display: flex; flex-direction: column; }
.contact-card strong { font-size: 16px; font-weight: 500; }
.contact-card span { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.65);
  padding: 48px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--white);
  font-weight: 600;
}
.footer__copy { font-size: 13px; line-height: 1.7; text-align: center; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer__links a:hover { color: var(--white); opacity: 1; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .header__inner { padding: 0 20px; gap: 16px; }
  .nav { display: none; }

  .section { padding: 64px 0; }
  .container { padding: 0 20px; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr 1fr; }
  .checkin-row { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--large { grid-column: span 2; }

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

  .booking-frame { height: 780px; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--large { grid-column: span 1; }
  .features { grid-template-columns: 1fr; }
}

/* ===== ACCORDION ===== */
.accordion {
  border: 1px solid rgba(122,92,68,0.18);
  border-radius: var(--radius);
  overflow: hidden;
}
.accordion__item {
  border-bottom: 1px solid rgba(122,92,68,0.12);
}
.accordion__item:last-child { border-bottom: none; }

.accordion__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  text-align: left;
  transition: background 0.2s;
  gap: 12px;
}
.accordion__btn:hover { background: var(--bg); }
.accordion__btn[aria-expanded="true"] { background: var(--bg); }

.accordion__arrow {
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}
.accordion__btn[aria-expanded="true"] .accordion__arrow {
  transform: rotate(45deg);
}

.accordion__body {
  display: none;
  padding: 4px 24px 20px;
  background: var(--bg);
}
.accordion__body.is-open { display: block; }

.accordion__body p {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.accordion__body ul {
  padding-left: 18px;
  margin-bottom: 12px;
}
.accordion__body li {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.accordion__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
