/* ============ Tokens ============ */
/* Шрифт и манера общие с astra-anapa.ru, фирменный цвет Агидели — кофе с молоком */
:root {
  --color-bg: #f7f2ec;
  --color-bg-alt: #ede3d8;
  --color-surface: #ffffff;
  --color-text: #3b2f26;
  --color-text-soft: #6b5b4e;
  --color-muted: #9a8878;
  --color-border: #e2d4c6;
  --color-dark: #8a6a52;
  --color-dark-2: #957560;
  --color-dark-3: #a3846c;
  --color-astra: #24402f;
  --color-suvoy: #4d6b6a;
  --radius: 2px;
  --max-width: 1180px;
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background-color: var(--color-bg);
  /* орнаменты-ленты: «бараний рог» и S-завитки */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='300' viewBox='0 0 260 300'%3E%3Cg fill='none' stroke='%238a6a52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='0.085'%3E%3Cg transform='translate(18 -100)'%3E%3Cpath d='M27 0 C 4 18, 4 82, 27 100'/%3E%3Cpath d='M37 0 C 60 18, 60 82, 37 100'/%3E%3Cpath d='M32 14 l-5 6 l5 6 l5 -6 z' fill='%238a6a52'/%3E%3Cpath d='M32 26 V74'/%3E%3Cpath d='M32 34 C 24 28, 17 32, 19 40 C 20 44, 25 44, 25 40'/%3E%3Cpath d='M32 34 C 40 28, 47 32, 45 40 C 44 44, 39 44, 39 40'/%3E%3Cpath d='M32 86 l-5 -6 l5 -6 l5 6 z' fill='%238a6a52'/%3E%3Cpath d='M32 66 C 24 72, 17 68, 19 60 C 20 56, 25 56, 25 60'/%3E%3Cpath d='M32 66 C 40 72, 47 68, 45 60 C 44 56, 39 56, 39 60'/%3E%3Cpath d='M27 100 C 14 100, 4 108, 3 118 C 2 110, 10 106, 12 112'/%3E%3Cpath d='M37 100 C 50 100, 60 108, 61 118 C 62 110, 54 106, 52 112'/%3E%3Cpath d='M27 100 C 14 100, 4 92, 3 82 C 2 90, 10 94, 12 88'/%3E%3Cpath d='M37 100 C 50 100, 60 92, 61 82 C 62 90, 54 94, 52 88'/%3E%3C/g%3E%3Cg transform='translate(18 0)'%3E%3Cpath d='M27 0 C 4 18, 4 82, 27 100'/%3E%3Cpath d='M37 0 C 60 18, 60 82, 37 100'/%3E%3Cpath d='M32 14 l-5 6 l5 6 l5 -6 z' fill='%238a6a52'/%3E%3Cpath d='M32 26 V74'/%3E%3Cpath d='M32 34 C 24 28, 17 32, 19 40 C 20 44, 25 44, 25 40'/%3E%3Cpath d='M32 34 C 40 28, 47 32, 45 40 C 44 44, 39 44, 39 40'/%3E%3Cpath d='M32 86 l-5 -6 l5 -6 l5 6 z' fill='%238a6a52'/%3E%3Cpath d='M32 66 C 24 72, 17 68, 19 60 C 20 56, 25 56, 25 60'/%3E%3Cpath d='M32 66 C 40 72, 47 68, 45 60 C 44 56, 39 56, 39 60'/%3E%3Cpath d='M27 100 C 14 100, 4 108, 3 118 C 2 110, 10 106, 12 112'/%3E%3Cpath d='M37 100 C 50 100, 60 108, 61 118 C 62 110, 54 106, 52 112'/%3E%3Cpath d='M27 100 C 14 100, 4 92, 3 82 C 2 90, 10 94, 12 88'/%3E%3Cpath d='M37 100 C 50 100, 60 92, 61 82 C 62 90, 54 94, 52 88'/%3E%3C/g%3E%3Cg transform='translate(18 100)'%3E%3Cpath d='M27 0 C 4 18, 4 82, 27 100'/%3E%3Cpath d='M37 0 C 60 18, 60 82, 37 100'/%3E%3Cpath d='M32 14 l-5 6 l5 6 l5 -6 z' fill='%238a6a52'/%3E%3Cpath d='M32 26 V74'/%3E%3Cpath d='M32 34 C 24 28, 17 32, 19 40 C 20 44, 25 44, 25 40'/%3E%3Cpath d='M32 34 C 40 28, 47 32, 45 40 C 44 44, 39 44, 39 40'/%3E%3Cpath d='M32 86 l-5 -6 l5 -6 l5 6 z' fill='%238a6a52'/%3E%3Cpath d='M32 66 C 24 72, 17 68, 19 60 C 20 56, 25 56, 25 60'/%3E%3Cpath d='M32 66 C 40 72, 47 68, 45 60 C 44 56, 39 56, 39 60'/%3E%3Cpath d='M27 100 C 14 100, 4 108, 3 118 C 2 110, 10 106, 12 112'/%3E%3Cpath d='M37 100 C 50 100, 60 108, 61 118 C 62 110, 54 106, 52 112'/%3E%3Cpath d='M27 100 C 14 100, 4 92, 3 82 C 2 90, 10 94, 12 88'/%3E%3Cpath d='M37 100 C 50 100, 60 92, 61 82 C 62 90, 54 94, 52 88'/%3E%3C/g%3E%3Cg transform='translate(18 200)'%3E%3Cpath d='M27 0 C 4 18, 4 82, 27 100'/%3E%3Cpath d='M37 0 C 60 18, 60 82, 37 100'/%3E%3Cpath d='M32 14 l-5 6 l5 6 l5 -6 z' fill='%238a6a52'/%3E%3Cpath d='M32 26 V74'/%3E%3Cpath d='M32 34 C 24 28, 17 32, 19 40 C 20 44, 25 44, 25 40'/%3E%3Cpath d='M32 34 C 40 28, 47 32, 45 40 C 44 44, 39 44, 39 40'/%3E%3Cpath d='M32 86 l-5 -6 l5 -6 l5 6 z' fill='%238a6a52'/%3E%3Cpath d='M32 66 C 24 72, 17 68, 19 60 C 20 56, 25 56, 25 60'/%3E%3Cpath d='M32 66 C 40 72, 47 68, 45 60 C 44 56, 39 56, 39 60'/%3E%3Cpath d='M27 100 C 14 100, 4 108, 3 118 C 2 110, 10 106, 12 112'/%3E%3Cpath d='M37 100 C 50 100, 60 108, 61 118 C 62 110, 54 106, 52 112'/%3E%3Cpath d='M27 100 C 14 100, 4 92, 3 82 C 2 90, 10 94, 12 88'/%3E%3Cpath d='M37 100 C 50 100, 60 92, 61 82 C 62 90, 54 94, 52 88'/%3E%3C/g%3E%3Cg transform='translate(18 300)'%3E%3Cpath d='M27 0 C 4 18, 4 82, 27 100'/%3E%3Cpath d='M37 0 C 60 18, 60 82, 37 100'/%3E%3Cpath d='M32 14 l-5 6 l5 6 l5 -6 z' fill='%238a6a52'/%3E%3Cpath d='M32 26 V74'/%3E%3Cpath d='M32 34 C 24 28, 17 32, 19 40 C 20 44, 25 44, 25 40'/%3E%3Cpath d='M32 34 C 40 28, 47 32, 45 40 C 44 44, 39 44, 39 40'/%3E%3Cpath d='M32 86 l-5 -6 l5 -6 l5 6 z' fill='%238a6a52'/%3E%3Cpath d='M32 66 C 24 72, 17 68, 19 60 C 20 56, 25 56, 25 60'/%3E%3Cpath d='M32 66 C 40 72, 47 68, 45 60 C 44 56, 39 56, 39 60'/%3E%3Cpath d='M27 100 C 14 100, 4 108, 3 118 C 2 110, 10 106, 12 112'/%3E%3Cpath d='M37 100 C 50 100, 60 108, 61 118 C 62 110, 54 106, 52 112'/%3E%3Cpath d='M27 100 C 14 100, 4 92, 3 82 C 2 90, 10 94, 12 88'/%3E%3Cpath d='M37 100 C 50 100, 60 92, 61 82 C 62 90, 54 94, 52 88'/%3E%3C/g%3E%3Cg transform='translate(158 -60)'%3E%3Cpath d='M20 20 C 10 22, 4 12, 10 6 C 20 -2, 50 6, 44 22 C 38 38, 8 34, 8 50 C 8 62, 36 66, 46 58 C 52 52, 46 44, 38 46'/%3E%3C/g%3E%3Cg transform='translate(158 0)'%3E%3Cpath d='M20 20 C 10 22, 4 12, 10 6 C 20 -2, 50 6, 44 22 C 38 38, 8 34, 8 50 C 8 62, 36 66, 46 58 C 52 52, 46 44, 38 46'/%3E%3C/g%3E%3Cg transform='translate(158 60)'%3E%3Cpath d='M20 20 C 10 22, 4 12, 10 6 C 20 -2, 50 6, 44 22 C 38 38, 8 34, 8 50 C 8 62, 36 66, 46 58 C 52 52, 46 44, 38 46'/%3E%3C/g%3E%3Cg transform='translate(158 120)'%3E%3Cpath d='M20 20 C 10 22, 4 12, 10 6 C 20 -2, 50 6, 44 22 C 38 38, 8 34, 8 50 C 8 62, 36 66, 46 58 C 52 52, 46 44, 38 46'/%3E%3C/g%3E%3Cg transform='translate(158 180)'%3E%3Cpath d='M20 20 C 10 22, 4 12, 10 6 C 20 -2, 50 6, 44 22 C 38 38, 8 34, 8 50 C 8 62, 36 66, 46 58 C 52 52, 46 44, 38 46'/%3E%3C/g%3E%3Cg transform='translate(158 240)'%3E%3Cpath d='M20 20 C 10 22, 4 12, 10 6 C 20 -2, 50 6, 44 22 C 38 38, 8 34, 8 50 C 8 62, 36 66, 46 58 C 52 52, 46 44, 38 46'/%3E%3C/g%3E%3Cg transform='translate(158 300)'%3E%3Cpath d='M20 20 C 10 22, 4 12, 10 6 C 20 -2, 50 6, 44 22 C 38 38, 8 34, 8 50 C 8 62, 36 66, 46 58 C 52 52, 46 44, 38 46'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow {
  display: block;
  font-family: var(--font);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
  color: var(--color-muted);
  margin-bottom: 14px;
}
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 500;
  margin: 0 0 18px;
  line-height: 1.3;
}
h2 { font-size: clamp(26px, 3.4vw, 34px); }
h3 { font-size: 20px; }
p { color: var(--color-text-soft); margin: 0 0 16px; }
.section { padding: 96px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  margin: 14px auto 0;
  background: var(--color-dark);
}
.btn {
  display: inline-block;
  padding: 13px 30px;
  border: 2px solid var(--color-dark);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--color-dark);
  cursor: pointer;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.btn:hover { background: var(--color-dark); color: #fff; }
.btn-solid {
  background: var(--color-dark);
  color: #fff;
}
.btn-solid:hover { background: var(--color-dark-3); border-color: var(--color-dark-3); }
.btn-ghost-light {
  border-color: #fff;
  color: #fff;
}
.btn-ghost-light:hover { background: #fff; color: var(--color-dark); }

/* ============ Header ============ */
.topbar {
  background: var(--color-dark-2);
  color: #e6e6e3;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #e6e6e3; }
.topbar-contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-contacts span { opacity: 0.8; margin-right: 6px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-dark);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo img { width: 28px; height: auto; }
.main-nav ul {
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}
.main-nav a:hover { color: #bebebe; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions .btn { border-color: #fff; color: #fff; padding: 9px 22px; }
.header-actions .btn:hover { background: #fff; color: var(--color-dark); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: #fff;
  display: block;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 820px);
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--color-dark) center 30%/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(52,38,28,0.5) 0%, rgba(52,38,28,0.5) 55%, rgba(52,38,28,0.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 28px;
}
.hero-logo {
  width: clamp(190px, 21vw, 270px);
  margin: 0 auto 30px;
}
.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ Booking block ============ */
.booking {
  position: relative;
  z-index: 3;
  margin: -64px auto 0;
  max-width: 1040px;
  padding: 0 28px;
}
/* Виджет бронирования TravelLine */
#block-search, #block-search * {
  box-sizing: border-box;
}
#block-search {
  background: var(--color-dark-2);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.tl-container {
  padding: 0 30px;
}

.quick-contacts {
  max-width: 1040px;
  margin: 22px auto 0;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.quick-contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.quick-contact-card .label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  margin-bottom: 8px;
}
.quick-contact-card .value {
  font-size: 16px;
  font-weight: 500;
}

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-media img:first-child { grid-column: 1 / -1; }
.about-media img { border-radius: var(--radius); object-fit: cover; height: 100%; }

/* ============ Rooms ============ */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.room-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.room-card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.room-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-card:hover .room-card-media img { transform: scale(1.05); }
.room-card-body { padding: 28px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.room-card-body h3 { margin-bottom: 8px; }
.room-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.room-tags span {
  font-size: 12px;
  color: var(--color-text-soft);
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: 20px;
}
.room-card-body p { flex: 1; }
.room-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.room-link { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 1px solid var(--color-dark); color: var(--color-dark); padding-bottom: 2px; }

/* ============ Amenities ============ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.amenity-card { text-align: center; }
.amenity-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 22px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.amenity-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(90, 66, 48, 0.12); }
.amenity-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-dark);
  color: #fff;
}
.amenity-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.amenity-card h4 { font-size: 17px; margin-bottom: 6px; }
.amenity-card p { font-size: 14px; margin-bottom: 0; }

/* ============ Gallery ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-grid figure.wide { grid-column: span 2; }
.gallery-grid figure.big { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid figure:hover img { transform: scale(1.06); }

/* ============ Location ============ */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 40px;
  align-items: stretch;
}
.location-info {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.location-info .row { display: flex; flex-direction: column; gap: 4px; }
.location-info .row .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-muted); }
.location-info .row .value { font-size: 16px; font-weight: 500; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); min-height: 380px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ============ Наши гостевые дома ============ */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-dark);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.property-card-logo {
  position: absolute;
  top: 39%;
  left: 50%;
  height: 48%;
  width: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: 0.22;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
a.property-card:hover .property-card-logo {
  opacity: 0.4;
  transform: translate(-50%, -50%) scale(1.04);
}
.property-card-body { position: relative; text-align: center; }
.property-card-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}
.property-card .btn { border-color: #fff; color: #fff; }
a.property-card:hover .btn { background: #fff; color: var(--color-dark); }
.property-card-astra { background: var(--color-astra); }
a.property-card-astra:hover .btn { color: var(--color-astra); }
.property-card-suvoy { background: var(--color-suvoy); }
.property-card-suvoy .property-card-title { margin: 0 0 8px; }
.property-card-suvoy p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin: 0 0 14px;
}

/* ============ Декор: фирменная иконка на фоне ============ */
.has-decor { position: relative; overflow: hidden; }
.has-decor > .container { position: relative; z-index: 1; }
.decor-icon {
  position: absolute;
  width: 360px;
  aspect-ratio: 140 / 138;
  background: var(--color-dark);
  -webkit-mask: url('../img/logos/agidel-icon.svg') center / contain no-repeat;
  mask: url('../img/logos/agidel-icon.svg') center / contain no-repeat;
  opacity: 0.045;
  pointer-events: none;
}
.decor-icon.right { right: -150px; top: -30px; }
.decor-icon.left { left: -110px; bottom: 30px; transform: scaleX(-1); }

/* ============ Полоса с цифрами ============ */
.stats {
  position: relative;
  background: var(--color-dark);
  color: #fff;
  padding: 64px 0;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cpath d='M0 20 q15 -12 30 0 t30 0 t30 0 t30 0' fill='none' stroke='%23ffffff' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 120px 40px;
  opacity: 0.06;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-value {
  display: block;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 10px;
}
.stat-label { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.14); }

/* ============ Отдых в Анапе ============ */
.leisure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.leisure-card {
  position: relative;
  background: var(--color-surface);
  border-top: 4px solid var(--color-dark);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  box-shadow: 0 10px 30px rgba(90, 66, 48, 0.07);
}
.leisure-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-bg-alt);
}
.leisure-card svg { width: 44px; height: 44px; stroke: var(--color-dark); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.leisure-card h3 { font-size: 17px; margin-bottom: 10px; }
.leisure-card p { font-size: 14px; margin: 0; }

/* ============ Фото-баннер ============ */
.photo-banner {
  position: relative;
  padding: 120px 0;
  background: var(--color-dark) center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.photo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(52, 38, 28, 0.88), rgba(52, 38, 28, 0.6));
}
.photo-banner .container { position: relative; z-index: 1; max-width: 760px; }
.photo-banner .eyebrow { color: rgba(255, 255, 255, 0.7); }
.photo-banner h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.photo-banner p { color: rgba(255, 255, 255, 0.85); font-size: 16px; margin: 0 auto 32px; max-width: 560px; }
.photo-banner-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ Частые вопросы ============ */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-size: 16px;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--color-dark);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 20px; margin: 0; font-size: 15px; }

/* Текст для поисковиков и экранных дикторов, визуально скрыт */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============ Соцсети ============ */
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { display: block; width: 44px; height: 44px; border-radius: 50%; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.socials a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3); }
.socials img { width: 100%; height: 100%; }
.location-info .socials { margin-top: 0; }

/* ============ Footer ============ */
.site-footer {
  background: var(--color-dark);
  color: #fff;
  padding: 64px 0 26px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer-grid p, .footer-grid a, .footer-grid span { color: rgba(255, 255, 255, 0.85); font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-grid li { margin-bottom: 8px; }
.footer-logo { display: flex; align-items: center; gap: 12px; font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-logo img { width: 26px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============ Room detail page ============ */
.page-hero {
  padding: 180px 0 60px;
  text-align: center;
  background: var(--color-bg-alt);
}
.page-hero .eyebrow { justify-content: center; display: flex; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-dark); margin-bottom: 24px; }
.room-gallery-main { border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; aspect-ratio: 16/9; }
.room-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.room-gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 60px; }
.room-gallery-thumbs figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: pointer; opacity: 0.75; transition: opacity 0.2s ease; }
.room-gallery-thumbs figure.active, .room-gallery-thumbs figure:hover { opacity: 1; outline: 2px solid var(--color-dark); outline-offset: 2px; }
.room-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.room-detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; }
.room-feature-list { display: grid; gap: 12px; margin: 24px 0 32px; }
.room-feature-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--color-text-soft); }
.room-feature-list li::before { content: ''; width: 5px; height: 5px; background: var(--color-dark); border-radius: 50%; flex: none; }
.room-side-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  align-self: start;
}
.room-side-card .price { font-size: 24px; font-weight: 500; margin-bottom: 4px; }

/* ============ Lightbox ============ */
.lightbox {
  position: fixed; inset: 0; background: rgba(52,38,28,0.95);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; line-height: 1;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff; font-size: 40px; cursor: pointer; padding: 10px 16px;
}
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .about-grid, .location-grid, .room-detail-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .stats-grid, .leisure-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .decor-icon { width: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .quick-contacts { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .room-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-dark-2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    padding: 20px 28px 28px;
  }
  .site-header.nav-open .main-nav ul { flex-direction: column; gap: 18px; }
  .tl-container { padding: 0 16px; }
  .topbar .container { justify-content: center; text-align: center; }
  .room-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .leisure-grid, .amenities-grid { grid-template-columns: 1fr; }
  .stats { padding: 48px 0; }
  .stat-label { font-size: 13px; }
}
