/* styles.css — полный дизайн сайта Vell7 */

/* ═══════════════════════════════════════════════════════════
   ПЕРЕМЕННЫЕ И СБРОС
═══════════════════════════════════════════════════════════ */
:root {
  --color-primary:   #2d5a3d;
  --color-primary-h: #3a7350;   /* hover */
  --color-accent:    #c9a84c;
  --color-bg:        #ffffff;
  --color-bg-alt:    #f5f5f5;
  --color-dark:      #1a1a1a;
  --color-muted:     #666666;
  --color-border:    #e5e5e5;

  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  --header-h:   70px;
  --section-px: clamp(1.25rem, 5vw, 4rem);
  --max-w:      1160px;
  --radius:     16px;
  --shadow:     0 4px 24px rgba(0,0,0,.08);
  --shadow-md:  0 8px 40px rgba(0,0,0,.13);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: var(--font-sans);
  color: var(--color-dark);
  background: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* Типографика */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════════
   ВСПОМОГАТЕЛЬНЫЕ КЛАССЫ
═══════════════════════════════════════════════════════════ */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px var(--section-px);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: .75rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 520px;
  margin: 0 auto;
}

.section-divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin: 1rem auto;
}

/* Кнопки */
.btn-outline {
  display: inline-block;
  padding: .75rem 1.75rem;
  border: 1.5px solid var(--color-primary);
  border-radius: 50px;
  color: var(--color-primary);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-outline.btn-small {
  padding: .55rem 1.25rem;
  font-size: .8125rem;
}

/* ═══════════════════════════════════════════════════════════
   HEADER / НАВИГАЦИЯ
═══════════════════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

#header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.09);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--section-px);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 80px;
}

/* Пункты меню */
.nav-lang { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}

.nav-links a {
  padding: .5rem .875rem;
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.12);
}

#header.scrolled .nav-links a {
  color: var(--color-muted);
}

#header.scrolled .nav-links a:hover,
#header.scrolled .nav-links a.active {
  color: var(--color-primary);
  background: rgba(45,90,61,.07);
}

/* Переключатель языков */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex-shrink: 0;
}

.lang-btn {
  padding: .3rem .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.65);
  border-radius: 4px;
  transition: color var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
  color: #fff;
}

#header.scrolled .lang-btn { color: var(--color-muted); }
#header.scrolled .lang-btn:hover,
#header.scrolled .lang-btn.active { color: var(--color-primary); }

.lang-sep {
  font-size: .7rem;
  color: rgba(255,255,255,.3);
}

#header.scrolled .lang-sep { color: var(--color-border); }

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

#header.scrolled .burger-line { background: var(--color-dark); }

.burger-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.75);
  line-height: 1;
  margin-top: 2px;
}
#header.scrolled .burger-label { color: var(--color-muted); }

.burger.active .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active .burger-line:nth-child(2) { opacity: 0; }
.burger.active .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   СЕКЦИЯ 1 — HERO
═══════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  background-color: #1a3020;
  will-change: transform;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 80px var(--section-px) 0;
  max-width: 760px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  opacity: .88;
  margin-bottom: 3rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

/* Scroll-индикатор */
.hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.75);
  font-size: .8125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.hero-cta:hover { color: #fff; }

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════
   СЕКЦИЯ 2 — БАННЕР
═══════════════════════════════════════════════════════════ */
#banner {
  background: var(--color-primary);
  padding: 1.125rem var(--section-px);
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.banner-text {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #fff;
  text-align: center;
  letter-spacing: .01em;
}

.banner-dot {
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   СЕКЦИЯ 3 — О НАС / ПРЕИМУЩЕСТВА
═══════════════════════════════════════════════════════════ */
#about { background: var(--color-bg); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(45,90,61,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
  color: var(--color-dark);
}

.feature-card p {
  font-size: .9375rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.feature-extra {
  font-size: .9rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-top: .75rem;
  border-top: 1px solid var(--color-border);
  padding-top: .75rem;
}

.feature-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: gap var(--transition);
}

.feature-more::after {
  content: '↓';
  transition: transform var(--transition);
}

.feature-more.expanded::after {
  transform: rotate(180deg);
}

.feature-more:hover { gap: .55rem; }

/* ═══════════════════════════════════════════════════════════
   СЕКЦИЯ 4 — ГАЛЕРЕЯ
═══════════════════════════════════════════════════════════ */
#gallery { background: var(--color-bg-alt); }

.gallery-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.gallery-block {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-block-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #2a3a2e; /* fallback */
  transition: transform 0.6s ease;
}

.gallery-block:hover .gallery-block-bg {
  transform: scale(1.05);
}

.gallery-block-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.38);
  transition: background var(--transition);
}

.gallery-block:hover .gallery-block-overlay {
  background: rgba(0,0,0,.52);
}

.gallery-block-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 1rem;
}

.gallery-icon {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.gallery-block:hover .gallery-icon {
  border-color: #fff;
  background: rgba(255,255,255,.15);
}

.gallery-icon svg {
  width: 28px;
  height: 28px;
}

.gallery-block-content h3 {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: .02em;
}

/* ═══════════════════════════════════════════════════════════
   СЕКЦИЯ 5 — INSTAGRAM
═══════════════════════════════════════════════════════════ */
#instagram { background: var(--color-bg); }

.instagram-widget {
  max-width: 860px;
  margin: 0 auto;
}

.instagram-profile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.insta-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  padding: 2px;
  flex-shrink: 0;
}

.insta-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.insta-avatar-fallback {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insta-info { flex: 1; }

.insta-handle {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
  display: block;
  margin-bottom: .3rem;
}

.insta-handle:hover { color: var(--color-primary); }

.insta-stats {
  display: flex;
  gap: 1.25rem;
  font-size: .875rem;
  color: var(--color-muted);
}

.insta-stats strong { color: var(--color-dark); }

.btn-instagram {
  display: inline-block;
  padding: .65rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50px;
  font-size: .875rem;
  font-weight: 500;
  transition: background var(--transition);
  flex-shrink: 0;
}

.btn-instagram:hover { background: var(--color-primary-h); }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}

.insta-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  display: block;
}

/* Gradient-заглушки — видны пока нет фото */
.insta-post:nth-child(1) { background: linear-gradient(135deg, #2d5a3d 0%, #4a8a5e 100%); }
.insta-post:nth-child(2) { background: linear-gradient(135deg, #c9a84c 0%, #e8c87a 100%); }
.insta-post:nth-child(3) { background: linear-gradient(135deg, #1a3020 0%, #2d5a3d 100%); }
.insta-post:nth-child(4) { background: linear-gradient(135deg, #3a4a2a 0%, #5a6a40 100%); }
.insta-post:nth-child(5) { background: linear-gradient(135deg, #2d5a3d 0%, #c9a84c 100%); }
.insta-post:nth-child(6) { background: linear-gradient(135deg, #5a3a20 0%, #8a6040 100%); }
.insta-post:nth-child(7) { background: linear-gradient(135deg, #1a2a3a 0%, #2d4a6a 100%); }
.insta-post:nth-child(8) { background: linear-gradient(135deg, #3a2040 0%, #5a4060 100%); }
.insta-post:nth-child(9) { background: linear-gradient(135deg, #203020 0%, #3a5030 100%); }

/* Иконка-заглушка по центру (показывается через CSS ::before) */
.insta-post::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='none' stroke='rgba(255,255,255,0.35)' stroke-width='1.5' viewBox='0 0 24 24'%3E%3Cpath d='M23 19a2 2 0 01-2 2H3a2 2 0 01-2-2V8a2 2 0 012-2h4l2-3h6l2 3h4a2 2 0 012 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") center/32px no-repeat;
  pointer-events: none;
  z-index: 0;
}

.insta-post img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Скрыть сломанный img, покажется gradient + иконка */
.insta-post img[data-broken] { opacity: 0; }

.insta-post:hover img { transform: scale(1.08); }

.insta-post-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(45,90,61,.0);
  transition: background var(--transition);
}

.insta-post:hover .insta-post-overlay {
  background: rgba(45,90,61,.25);
}

/* ═══════════════════════════════════════════════════════════
   СЕКЦИЯ 6 — ОТЗЫВЫ
═══════════════════════════════════════════════════════════ */
#reviews { background: var(--color-bg-alt); }

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.review-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: .875rem;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.review-name {
  font-size: .9375rem;
  color: var(--color-dark);
}

.review-count {
  font-size: .75rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: .04em;
}

.review-date {
  font-size: .8125rem;
  color: #aaa;
}

.review-stars {
  font-size: 1rem;
  color: var(--color-accent);
  letter-spacing: .1em;
  margin-bottom: .75rem;
}

.review-text {
  font-size: .9375rem;
  color: #444;
  line-height: 1.65;
}

.reviews-footer {
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   СЕКЦИЯ 7 — ЛОКАЦИЯ
═══════════════════════════════════════════════════════════ */
#location { background: var(--color-bg); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.location-map {
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.location-block h3 {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  font-size: .9375rem;
  color: var(--color-dark);
  line-height: 1.5;
  margin-bottom: .875rem;
}

.location-item:last-child { margin-bottom: 0; }

.location-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: .1rem;
}

.location-item small {
  color: var(--color-muted);
  font-size: .8125rem;
}

.location-phone {
  font-weight: 500;
  color: var(--color-primary);
  display: block;
  transition: color var(--transition);
}

.location-phone:hover { color: var(--color-primary-h); }

.location-buttons {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-top: .875rem;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#footer {
  background: var(--color-dark);
  color: rgba(255,255,255,.75);
}

.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px var(--section-px) 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.logo-footer { color: #fff; }

.footer-tagline {
  font-size: .875rem;
  opacity: .6;
  margin-top: .5rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .875rem;
  text-align: right;
}

.footer-contacts a {
  transition: color var(--transition);
}

.footer-contacts a:hover { color: #fff; }

.footer-contacts address {
  font-style: normal;
  opacity: .6;
  font-size: .8125rem;
  max-width: 280px;
  line-height: 1.55;
}

.footer-bottom {
  text-align: center;
  font-size: .8125rem;
  opacity: .45;
}

.footer-dev { margin-top: .35rem; }
.footer-dev a { color: inherit; text-decoration: none; }
.footer-dev a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   ПЛАВАЮЩАЯ КНОПКА WHATSAPP
═══════════════════════════════════════════════════════════ */
.float-wa {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, #25d366, #128c4e);
  color: #fff;
  padding: .875rem 1.4rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  font-size: .9rem;
  font-weight: 600;
}

.float-wa:hover {
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
  transform: translateY(-2px) !important;
}

.float-wa-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   МОДАЛЬНЫЕ ОКНА
═══════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.55);
  padding: 1rem;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-content-tall {
  max-width: 600px;
}

.modal-content h2 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  font-size: 1.375rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}

.modal-close:hover {
  background: var(--color-bg-alt);
  color: var(--color-dark);
}

/* ─── Кофейня ─────────────────────────────────────────── */
.coffeeshop-block {
  padding-top: 0;
}

.coffeeshop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.coffeeshop-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--color-dark);
  margin-bottom: .4rem;
}

.coffeeshop-subtitle {
  font-size: .95rem;
  color: var(--color-muted);
}

.coffeeshop-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
}

@media (max-width: 900px) {
  .coffeeshop-photos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .coffeeshop-photos { grid-template-columns: repeat(2, 1fr); }
}

.cs-photo {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--color-bg-alt);
  display: block;
}

.cs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

.cs-photo:hover img { transform: scale(1.05); }

/* Плейсхолдеры (если фото ещё не загружены) */
.cs-photo:nth-child(odd)  { background: linear-gradient(135deg, #3d2d1a 0%, #6b4c2a 100%); }
.cs-photo:nth-child(even) { background: linear-gradient(135deg, #2d3d1a 0%, #4a6b2a 100%); }

/* ─── Модал меню ──────────────────────────────────────── */
.modal-menu-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-menu-inner {
  position: relative;
  max-width: min(90vw, 700px);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  background: #fff;
}

.menu-fullimg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Прайс-лист */
.pricing-list { display: flex; flex-direction: column; gap: 1.5rem; }

.price-season { display: flex; flex-direction: column; gap: .125rem; }

.price-season-title {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  padding: .5rem 1.25rem .25rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  background: var(--color-bg-alt);
  gap: 1rem;
}

.price-row:nth-child(even) { background: #fff; border: 1px solid var(--color-border); }

.price-period { font-size: .9375rem; color: var(--color-dark); }

.price-amount {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  white-space: nowrap;
}

.price-note {
  margin-top: 1.25rem;
  font-size: .8125rem;
  color: var(--color-muted);
  font-style: italic;
}

/* Правила проживания */
.rules-content { display: flex; flex-direction: column; gap: 1.5rem; }

.rules-section-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: .75rem;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.rules-list li {
  font-size: .9rem;
  color: #555;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.55;
}

.rules-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Modal фото-галереи */
.modal-gallery-wrap {
  background: rgba(0,0,0,.88);
  padding: 0;
}

.modal-gallery-inner {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem;
}

.gallery-stage {
  width: 100%;
  max-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-stage img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  background: #111;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.gallery-nav-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.gallery-nav-btn:hover {
  border-color: #fff;
  background: rgba(255,255,255,.12);
}

.gallery-nav-btn svg { width: 20px; height: 20px; }

.gallery-counter {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  min-width: 56px;
  text-align: center;
}

.gallery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(255,255,255,.8);
}

.gallery-close:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* Modal видео */
.modal-video-wrap {
  background: rgba(0,0,0,.88);
  padding: 0;
  flex-direction: column;
  gap: .75rem;
}

.modal-video-inner {
  width: 100%;
  max-width: 900px;
  padding: 1rem;
  position: relative;
}

.video-close-btn {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}
.video-close-btn:hover { background: rgba(255,255,255,.38); }

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════
   АДАПТИВ — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { gap: 1.25rem; }
  .gallery-block { height: 340px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-map  { height: 320px; }
  .location-info { order: -1; }
  .footer-contacts { text-align: left; }
}

/* ═══════════════════════════════════════════════════════════
   АДАПТИВ — MOBILE (≤ 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  /* Header */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 72vw;
    max-width: 280px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    box-shadow: -4px 0 30px rgba(0,0,0,.18);
    gap: .25rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    pointer-events: none;
    z-index: 800;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
    pointer-events: all;
  }

  .nav-links a {
    color: var(--color-dark) !important;
    width: 100%;
    padding: .7rem .75rem;
    font-size: 1rem;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(45,90,61,.07);
    color: var(--color-primary) !important;
  }

  .logo-img { height: 36px; }

  .lang-switcher {
    display: flex;
    gap: .1rem;
    margin-left: auto;
    margin-right: .5rem;
  }
  .lang-switcher .lang-btn  { font-size: .8rem; padding: .25rem .35rem; }
  .lang-switcher .lang-sep  { font-size: .65rem; }
  .burger { display: flex; margin-left: 0; align-items: center; padding: 4px 6px; }
  .burger-line { display: none; }
  .burger-label { font-size: .8rem; margin-top: 0; }

  .nav-lang { display: none; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 799;
  }
  .nav-overlay.open { display: block; }

  /* Hero */
  .hero-title    { font-size: 2.5rem; }
  .hero-subtitle { font-size: .9375rem; }

  /* Banner */
  .banner-dot { display: none; }

  /* Features */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card  { padding: 1.5rem; }

  /* Gallery */
  .gallery-blocks { grid-template-columns: 1fr; }
  .gallery-block  { height: 280px; }

  /* Instagram */
  .instagram-profile { flex-direction: column; align-items: flex-start; }
  .instagram-grid    { grid-template-columns: repeat(3, 1fr); }

  /* Reviews */
  .review-card { padding: 1.25rem; }

  /* Location */
  .location-map  { height: 260px; }

  /* Footer */
  .footer-top     { flex-direction: column; }
  .footer-contacts { text-align: left; }

  /* Float WA */
  .float-wa-text { display: none; }
  .float-wa {
    padding: .875rem;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }

  /* Modal */
  .modal-content { padding: 1.75rem 1.25rem; }
  .modal-gallery-inner { padding: .5rem; }
}

/* ═══════════════════════════════════════════════════════════
   АДАПТИВ — SMALL MOBILE (≤ 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .section-container { padding: 72px 1rem; }
  .hero-title { font-size: 2rem; }
  .insta-stats { flex-direction: column; gap: .25rem; }
  .price-row { flex-direction: column; align-items: flex-start; gap: .25rem; }
}

