/**
 * Стили лендинга Banket — чистый CSS.
 * Сетка 8px, секции, карточки, формы, кнопки.
 */

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* --- Header --- */
.page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.page-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-brand img {
  height: 4rem;
  width: 4rem;
  object-fit: contain;
}

.header-brand h1 {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--color-teal);
}

.header-brand p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .header-nav { display: flex; }
}

.header-nav a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--color-teal-light);
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  background: var(--color-teal-light);
  color: #fff;
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 768px) {
  .header-phone { display: inline-flex; }
}

.header-phone:hover {
  color: #fff;
  transform: scale(1.02);
  box-shadow: var(--shadow-card);
}




/* --- Mobile burger --- */
.header-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  border: 0;
  cursor: pointer;

  border-radius: 14px;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.65);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.header-burger__lines {
  position: relative;
  width: 22px;
  height: 2px;
  background: #2E2E2E;
  border-radius: 999px;
}

.header-burger__lines::before,
.header-burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #2E2E2E;
  border-radius: 999px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.header-burger__lines::before { top: -7px; }
.header-burger__lines::after  { top:  7px; }

/* --- Mobile menu panel --- */
.header-mobile {
  display: none;
  position: fixed;          /* было absolute */
  top: 80px;                /* высота шапки */
  left: 0;
  right: 0;

  padding: 1rem;
  margin: 0 1rem;

  border-radius: 20px;

  background: rgba(255,255,255,0.96);   /* делаем плотнее */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 25px 60px rgba(0,0,0,0.18);

  z-index: 999;
}

.header-mobile a {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  color: #2E2E2E;

  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.header-mobile a:hover {
  background: rgba(22, 141, 149, 0.10); /* var(--color-teal-bg) если хочешь */
}

.header-mobile__phone {
  margin-top: 0.25rem;
  font-weight: 600;
}

/* --- Show burger only on mobile, hide desktop nav/phone --- */
.header-burger { display: none; }
.header-mobile { display: none; }

@media (max-width: 767px) {

  .header-nav { display: none; }
  .header-phone { display: none; }
  .header-burger { display: inline-flex; }
  .header-mobile:not([hidden]) {
    display: grid;
  }
}


.header-burger.is-open .header-burger__lines {
  background: transparent;
}
.header-burger.is-open .header-burger__lines::before {
  top: 0;
  transform: rotate(45deg);
}
.header-burger.is-open .header-burger__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.5) 45%, transparent 70%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  max-width: 33rem;
  padding: 2rem 0;
  color: #000;
}

.hero-content h2 {
  margin: 0 0 1.5rem;

  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;

  font-size: clamp(54px, 5vw, 60px);
  line-height: 1.12;        /* 110–115% */
  letter-spacing: 0.3px;

  color: #3A3A3A;
}


.hero-content #hero-title {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-style: italic;
}

@media (max-width: 768px) {
  .hero-content #hero-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: italic;
    font-size: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
  }
}

.hero-content .lead {
  margin: 0 0 2rem;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  color: #2E2E2E;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--color-teal-light);
  outline-offset: 2px;
}

.btn-primary {
  background: #BA7792;
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-teal-light);
  transform: scale(1.02);
  box-shadow: var(--shadow-card);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid #e6acc3;
  color: #000;
}

.btn-secondary:hover {
  background: #f5f5f5;
  border-color: #333;
  color: #000;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #000;
  animation: bounce 2s infinite;
  flex-shrink: 0;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Sections common --- */
.section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section--alt {
  background: var(--color-section-alt);
}

.section--white {
  background: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin: 0 0 1rem;
  font-size: 2.5rem;
  color: var(--color-teal);
}

.section-title p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* --- Services: панель — слева кнопки на всю высоту, справа вертикальный слайдер фото + текст --- */
.services-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 420px;
}

@media (min-width: 768px) {
  .services-panel {
    grid-template-columns: minmax(0, 280px) 1fr;
    min-height: 520px;
  }
}

.services-nav {
  display: flex;
  flex-direction: column;
  border-right: 3px solid transparent;
}

@media (min-width: 768px) {
  .services-nav {
    border-left: 3px solid var(--color-teal);
  }
}

.services-nav__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  min-height: 4rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--muted-foreground);
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.services-nav__item:hover {
  background: var(--color-teal-bg);
  color: var(--foreground);
}

.services-nav__item.is-active {
  background: var(--color-teal-bg);
  color: var(--color-teal);
}

.services-nav__item .services-nav__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: inherit;
}

@media (min-width: 768px) {
  .services-nav__item .services-nav__icon {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.services-nav__item.is-active .services-nav__icon {
  color: var(--color-teal);
}

.services-nav__label {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

/* Правая часть: слайдер + текст */
.services-slider {
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

@media (min-width: 768px) {
  .services-slider {
    padding: 1.5rem;
  }
}

/* Вертикальный слайдер фото — на весь блок */
.services-slider__images {
  width: 100%;
  flex: 1;
  min-height: 200px;
}

.services-slider__track {
  overflow: hidden;
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: var(--muted);
}

@media (min-width: 768px) {
  .services-slider__track {
    min-height: 350px;
  }
}

.services-slider__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 400%;
  transition: transform 0.4s ease-out;
  will-change: transform;
}

.services-slider__slide {
  position: relative;
  flex: 0 0 25%;
  width: 100%;
  height: 25%;
  overflow: hidden;
}

.services-slider__slide img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-slider__overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

/* Текст — белый фон ~30% прозрачности, смена с исчезновением/появлением */
.services-slider__text {
  transition: opacity 0.22s ease-out;
  background: rgba(255, 255, 255, 0.7);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
}

.services-slider__text.is-fade-out {
  opacity: 0;
}

.services-slider__text.is-fade-in {
  opacity: 1;
}

.services-slider__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
}

.services-slider__desc {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}


.services-content__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.75rem 1.5rem;

  font-size: 0.95rem;
  font-weight: 500;
  color: #2E2E2E;

  /* Полупрозрачный фон */
  background: rgba(255, 255, 255, 0.35);

  /* Размытие */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Светлая рамка */
  border: 1px solid rgba(255, 255, 255, 0.6);

  /* Скругления */
  border-radius: 16px;

  text-decoration: none;

  /* Мягкая тень */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  transition: all 0.25s ease;
}

.services-content__btn:hover {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.services-content__btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}



.services-note {
  margin: 2.5rem auto 0;
  padding: 1.25rem 1.5rem;

  max-width: 680px;
  text-align: center;

  border-radius: 18px;

  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.services-note__title {
  margin: 0 0 0.35rem;

  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.services-note__text {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* --- Почему выбирают нас: двухколоночный макет, список с номерами и вертикальной линией --- */
.reasons-block {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}



@media (min-width: 900px) {
  .reasons-block {
    grid-template-columns: 1fr minmax(280px, 0.45fr);
    gap: 3rem;
    align-items: stretch;
  }
}

.reasons-content {
  min-width: 0;
}

.reasons-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
}

.reasons-subtitle {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.reasons-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reason-item {
  display: grid;
  grid-template-columns: auto 1px 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 2rem;
}

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

.reason-item__num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: 0.5px;

  color: var(--color-teal);
  opacity: 0.35;

  font-variant-numeric: lining-nums;
}

.reason-item__line {
  width: 1px;
  min-height: 2.5rem;
  background: var(--color-teal);
  opacity: 0.35;
  align-self: stretch;
}

.reason-item__text {
  min-width: 0;
}

.reason-item__title {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.35;
}

.reason-item__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.reasons-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--muted);
  min-height: 320px;
}

@media (min-width: 900px) {
  .reasons-image {
    min-height: 100%;
  }
}

.reasons-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 900px) {
  .reasons-image img {
    min-height: 480px;
  }
}

/* --- Venues (cards) --- */
.venues-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .venues-grid { grid-template-columns: repeat(2, 1fr); }
}

.venue-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.venue-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.venue-card__gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  padding: 0.5rem;
  background: linear-gradient(135deg, #cffafe, #fce7f3);
}

.venue-card__gallery-img--main {
  grid-column: span 4;
  grid-row: span 2;
}

.venue-card__gallery-img--main img {
  height: 300px;
}

.venue-card__gallery-img--sub {
  grid-column: span 2;
}

.venue-card__gallery-img--sub img {
  height: 145px;
}

.venue-card__gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.venue-card__body {
  padding: 1.5rem;
}

.venue-card__body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  color: var(--color-teal);
}

.venue-card__body > p {
  margin: 0 0 1rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.venue-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.venue-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-size: 0.875rem;
}

.venue-card__features li::before {
  content: "";
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  background: var(--color-gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2L15 8L22 9L17 14L18 21L12 18L6 21L7 14L2 9L9 8L12 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2L15 8L22 9L17 14L18 21L12 18L6 21L7 14L2 9L9 8L12 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
  background-color: var(--color-gold);
}

/* --- Venues: новая структура (шапка, галерея, блоки, карточки залов) --- */
.venues-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.venues-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.venues-header__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.venues-header__link {
  font-size: 0.9375rem;
  color: var(--color-teal);
  text-decoration: none;
  font-weight: 500;
}

.venues-header__link:hover {
  text-decoration: underline;
}

.venues-header__link:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

/* Галерея: одна большая картинка слева (2 ряда), справа 4 превью 2x2 */
.venues-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.5rem;
  padding: 2.5rem;
}

.venues-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  text-decoration: none;
  color: #fff;
}

.venues-gallery__item--large {
  grid-column: 1;
  grid-row: 1 / -1;
  aspect-ratio: auto;
  min-height: 280px;
}

.venues-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}

.venues-gallery__item:hover img {
  transform: scale(1.03);
}

.venues-gallery__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .venues-gallery {
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    min-height: 320px;
  }

  .venues-gallery__item--large {
    min-height: 100%;
  }

  .venues-gallery__item:not(.venues-gallery__item--large) {
    aspect-ratio: auto;
  }
}

@media (max-width: 768px) {
  .venues-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1.25rem;
  }

  .venues-gallery__item,
  .venues-gallery__item--large {
    aspect-ratio: 16 / 9;   /* одинаковые “карточки” */
    min-height: auto;
  }

  .venues-gallery__label {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    letter-spacing: 0.06em;
  }
}



/* Три блока-сводки */
.venues-summary {
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .venues-summary {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.venues-summary__block {
  padding: 0;
}

.venues-summary__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #000000;
}

.venues-summary__line {
  width: 100%;
  max-width: 4rem;
  height: 1.5px;
  margin-bottom: 0.75rem;
  background: #000000;
  border-radius: 2px;
}

.venues-summary__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #000000;
}

/* Карточка зала: заголовок + линия, фото слева, справа цена/кнопка/вместимость */
/* Карточки залов под референс: фото слева, текст/список и кнопка справа */
.venue-detail {
  margin-bottom: 1.75rem;
  scroll-margin-top: 2rem;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 1.25rem 1.5rem;
}

.venue-detail:last-child {
  margin-bottom: 0;
}

.venue-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.venue-detail__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--foreground);
}

.venue-detail__meta {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  flex-shrink: 0;
}

.venue-detail__line {
  width: 100%;
  height: 1px;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--color-teal) 0%, rgba(244, 196, 48, 0.6) 40%, transparent 100%);
  border-radius: 1px;
}

.venue-detail__content {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .venue-detail__content {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
    align-items: stretch;
  }
}

.venue-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--muted);
}

.venue-detail__image img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

.venue-detail__aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: space-between;
}

.venue-detail__price {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--foreground);
  background: #fff;
  border: 1px solid var(--color-gold);
  border-radius: 999px;
}

.venue-detail__btn {
  width: auto;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--primary);
  background: var(--color-gold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.venue-detail__btn:hover {
  background: var(--color-teal);
  color: #fff;
}

.venue-detail__btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.venue-detail__capacity {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.venue-detail__capacity li {
  margin-bottom: 0.35rem;
}

.venue-detail__capacity-label {
  font-weight: 600;
  color: var(--foreground);
}

/* --- Menu section: новая структура — карточки сверху + широкая CTA-полоса --- */
.menu-section-new {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.menu-section-new__title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--foreground);
  text-align: center;
  line-height: 1.35;
}

.menu-block {
  background: transparent;
  border-radius: var(--radius-xl);
  box-shadow: none;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .menu-block {
    padding: 1.75rem 2rem;
    gap: 2rem;
  }
}

/* Верхняя строка: фото-карточка + две текстовые карточки */
.menu-row-top {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .menu-row-top {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.menu-card-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 220px;
  max-height: 540px;
}

@media (min-width: 768px) {
  .menu-card-image {
    min-height: 260px;
  }
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-image-btn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.menu-image-btn:hover {
  background: #fdf2f8;
  color: var(--foreground);
}

.menu-image-btn:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.menu-image-btn__icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: #f4e4ea;
}

.menu-image-btn__label {
  white-space: nowrap;
}

/* Текстовые карточки справа */
.menu-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--foreground);
}

.menu-card__list {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.menu-card__list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.menu-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--color-teal);
}

.menu-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.menu-card--corkage .menu-card__title {
  color: var(--color-teal);
}

/* Нижний блок: широкая полоса дегустации */
.menu-row-cta {
  margin-top: 0.5rem;
}

.menu-degustation {
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.5rem;
  background: linear-gradient(135deg, var(--color-teal) 0%, #165c63 55%, #0f3b42 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


.menu-card--with-image {
  padding: 0;
  overflow: hidden;
}

.menu-card__image {
  height: 250px;
  overflow: hidden;
}

.menu-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card__content {
  padding: 1rem 1.2rem 1.2rem;
}

@media (min-width: 768px) {
  .menu-degustation {
    padding: 1.75rem 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
  }
}

.menu-degustation__main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.menu-degustation__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-degustation__icon svg {
  width: 1.8rem;
  height: 1.8rem;
}

.menu-degustation__text h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.menu-degustation__text p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.menu-degustation__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .menu-degustation__actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}

.menu-degustation__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-degustation__btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.menu-degustation__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.menu-degustation__btn--primary {
  background: var(--color-gold);
  color: var(--primary);
}

.menu-degustation__btn--primary:hover {
  background: #facc15;
}

.menu-degustation__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}





/* --- Контакты и бронирование (объединённый блок) --- */
.contacts-booking-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .contacts-booking-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contacts-booking__form-title,
.contacts-booking__contacts-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--color-teal);
}

.contacts-booking__form .booking-form {
  margin: 0;
}

.contact-card--compact {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.contact-card--compact .contact-card__icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-card__label {
  margin: 0 0 0.25rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-teal);
  font-size: 0.9375rem;
}

.contact-card--compact a {
  display: inline-block;
  margin-bottom: 0.25rem;
}

.contact-card__hours,
.contact-card__text {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-card__text {
  margin-top: 0.25rem;
}

/* Карта и адреса залов */
.contacts-map-block {
  margin-top: 0.5rem;
}

.contacts-map-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: var(--color-teal);
}

.contacts-map-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--muted);
}

.contacts-map-wrap::before {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}

.contacts-map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contacts-addresses {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .contacts-addresses {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contacts-addresses {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contacts-addresses li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contacts-addresses strong {
  font-size: 0.9375rem;
  color: var(--color-teal);
}

.contacts-addresses a {
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.contacts-addresses a:hover {
  color: var(--color-teal-light);
}

/* --- Booking form (общие стили формы) --- */
.booking-wrap {
  max-width: 48rem;
  margin: 0 auto;
}

.booking-form {
  background: linear-gradient(135deg, #ecfeff, #fce7f3);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  padding: 2rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-lg);
  background: #fff;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal-light);
  box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 6rem;
}

.booking-form .btn {
  width: 100%;
  padding: 1rem;
  margin-bottom: 0;
  background: var(--color-teal-light);
  color: #fff;
  font-size: 1rem;
}

.booking-form .btn:hover {
  background: #3dbdb5;
  transform: scale(1.02);
}

.form-note {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* --- Contacts --- */
.contacts-grid {
  max-width: 56rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

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

.contact-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.2s;
}

.contact-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.contact-card__icon--teal {
  background: var(--color-teal-bg);
  color: var(--color-teal-light);
}

.contact-card__icon--pink {
  background: var(--color-pink-bg);
  color: var(--color-pink);
}

.contact-card h3 {
  margin: 0 0 1rem;
  color: var(--color-teal);
}

.contact-card a {
  display: block;
  font-size: 1.25rem;
  color: var(--color-teal);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--color-teal-light);
}

.contact-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.contact-card p + p {
  margin-top: 0.5rem;
}

/* --- Footer --- */
.page-footer {
  background: var(--color-teal);
  color: #fff;
  margin-top: 3rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2.5rem;
    text-align: left;
    align-items: start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .footer-brand {
    flex-direction: row;
    align-items: center;
  }
}

.footer-brand img {
  height: 3.5rem;
  width: 3.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-brand__tagline {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  opacity: 0.9;
}

.footer-nav__title,
.footer-contacts__title {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.95;
}

.footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav__list li {
  margin-bottom: 0.5rem;
}

.footer-nav__list a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-nav__list a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-contacts__phone {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: opacity 0.2s;
}

.footer-contacts__phone:hover {
  opacity: 0.9;
}

.footer-contacts__hours,
.footer-contacts__city {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  opacity: 0.9;
}

.footer-contacts__city {
  margin-top: 0.25rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
}

.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom .footer-copy,
.footer-credit {
  margin: 0;
  font-size: 0.875rem;
  opacity: 0.95;
  letter-spacing: 0.02em;
}

.footer-credit__link {
  color: #e53935;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit__link:hover {
  color: #ff6f60;
}

/* --- Floating call button --- */
.floating-call {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.2s;
}

.floating-call:hover {
  color: #fff;
  transform: scale(1.1);
}

.floating-call:focus-visible {
  outline: 2px solid var(--color-teal-light);
  outline-offset: 2px;
}

.floating-call svg {
  width: 2rem;
  height: 2rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  margin-top: 0.75rem;

  border-radius: 14px;

  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);

  color: #ffffff;

  transition: all 0.25s ease;
}

.footer-social:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}



/* ===== VENUE CARD LAYOUT UPDATE ===== */

.venue-detail {
  background: #f6f3f2;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.venue-detail__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .venue-detail__grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.venue-detail__left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.venue-detail__image {
  border-radius: 16px;
  overflow: hidden;
}

.venue-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-detail__caption {
  padding-left: 0.5rem;
}

.venue-detail__right .venue-detail__name {
  font-size: 28px;
  margin: 0;
}

.venue-detail__right .venue-detail__meta {
  margin: 0.4rem 0 1rem;
  color: #6b6b6b;
}

.venue-detail__line {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
}

.venue-detail__capacity {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.venue-detail__capacity li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.venue-detail__capacity li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 600;
}

.venue-detail__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Кнопки */
.venue-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

a.venue-btn {
  border: none;
}

.venue-btn--ghost {
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.1);
  color: #2E2E2E;
}

button.venue-btn--ghost {
  border: 1px solid rgba(0,0,0,0.1);
}

.venue-btn--ghost:hover {
  background: rgba(0,0,0,0.06);
}

.venue-btn--primary {
  background: var(--color-teal);
  color: #fff;
}

.venue-btn--primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* --- Модальное окно галереи фото зала --- */
.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.photo-modal[hidden] {
  display: none;
}

.photo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.photo-modal__box {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-hover);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.photo-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.photo-modal__title {
  margin: 0;
  font-size: 1.25rem;
  font-family: "Cormorant Garamond", serif;
  color: var(--primary);
}

.photo-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--muted);
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.photo-modal__close:hover {
  background: var(--input-bg);
  color: var(--color-teal);
}

.photo-modal__close:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
}

.photo-modal__body {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.photo-modal__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.photo-modal__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.photo-modal__img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-card-hover);
}

/* --- Полноэкранный лайтбокс с листанием --- */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.photo-lightbox__content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem 5rem;
  box-sizing: border-box;
}

.photo-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.photo-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.photo-lightbox__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

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

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

.photo-lightbox__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  z-index: 2;
}

.photo-lightbox__counter {
  font-size: 0.9375rem;
  font-weight: 500;
}

.photo-lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.photo-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.photo-lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .photo-lightbox__content {
    padding: 3rem 0.5rem 4.5rem;
  }
  .photo-lightbox__nav {
    width: 44px;
    height: 44px;
  }
  .photo-lightbox__nav--prev {
    left: 0.5rem;
  }
  .photo-lightbox__nav--next {
    right: 0.5rem;
  }
}