* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body.menu-open,
body.cart-open {
  overflow: hidden;
}

body.request-open {
  overflow: hidden;
}

body.boxes-modal-open {
  overflow: hidden;
}

:root {
  --tracking-section: 0.12em;
  --tracking-card: 0.04em;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

.readable-main main {
  font-size: 1.25rem;
}

.readable-main main p,
.readable-main main li {
  line-height: 1.8;
}

.readable-main main h1,
.readable-main main h2,
.readable-main main h3,
.readable-main main h4 {
  font-weight: 700;
}

.readable-main main .text-xs {
  font-size: 1.05rem !important;
}

.readable-main main .text-sm {
  font-size: 1.2rem !important;
}

.readable-main .text-xs {
  font-size: 0.98rem !important;
}

.readable-main .text-sm {
  font-size: 1.08rem !important;
}

.readable-main main .section-title {
  font-size: 2.25rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .readable-main main .section-title {
    font-size: 2.6rem;
  }
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.serif-font {
  font-family: 'Playfair Display', serif;
}

.sans-font {
  font-family: 'Montserrat', sans-serif;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.hero-logo-link {
  transition: opacity 0.25s ease;
  opacity: 1;
}

.site-header__logo-wrap .hero-logo-link {
  font-size: clamp(3rem, 8.8vw, 11.3rem) !important;
}

.hero-logo-link:hover {
  opacity: 0.85;
}

.hero-service-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.15rem, 1.85vw, 1.5rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-service-card__subtitle {
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.35;
  color: #e5e7eb;
  font-weight: 500;
}

.header-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
}

.header-rating-badge:hover {
  background: rgba(255, 255, 255, 0.12);
}

.header-rating-badge__mark {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
}

.header-rating-badge__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.header-rating-badge__top {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.header-rating-badge__value {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.header-rating-badge__stars {
  display: inline-flex;
  align-items: center;
  gap: 0.02rem;
  color: #fbbf24;
}

.header-rating-badge__stars .material-symbols-outlined {
  font-size: 0.72rem;
  line-height: 1;
  font-variation-settings: 'FILL' 1;
}

.header-rating-badge__caption {
  font-size: 0.56rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  line-height: 1;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: var(--tracking-section);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.card-title {
  text-transform: uppercase;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: var(--tracking-card);
  line-height: 1.25;
}

.feature-title {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.body-lead {
  font-size: 1.03rem;
  line-height: 1.75;
}

.section-pad {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.layout-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.menu-slider-shell {
  transition: padding-left 0.3s ease;
  padding-left: max(1rem, calc((100vw - 1440px) / 2 + 1rem));
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(5, 19, 33, 0.96);
  color: #f5f5f5;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay__panel {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.menu-overlay__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.menu-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.menu-overlay__brand {
  font-size: 2rem;
  letter-spacing: 0.03em;
}

.menu-overlay__brand-link {
  color: inherit;
}

.menu-overlay__close {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #f5f5f5;
}

.menu-overlay__nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-right: min(36vw, 30rem);
}

.menu-overlay__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.menu-overlay__list--primary {
  gap: 0.8rem;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.05;
}

.menu-overlay__list--secondary {
  gap: 0.55rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.menu-overlay__list a {
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.menu-overlay__list a.is-hover-preview {
  color: #fbbf24;
}

.menu-overlay__preview {
  position: absolute;
  top: 0;
  right: 0;
  width: min(34vw, 28rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.menu-overlay__preview-media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

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

.menu-overlay__preview-content {
  padding: 0.9rem 1rem 1rem;
}

.menu-overlay__preview-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.menu-overlay__preview-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(245, 245, 245, 0.88);
}

.menu-overlay__socials {
  margin-top: auto;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.menu-overlay__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.menu-overlay__social-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #fff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: hidden;
  font-size: 0.67rem;
  font-weight: 700;
}

.menu-overlay__social-icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
  fill: currentColor;
}

@media (max-width: 1023px) {
  .menu-overlay__nav {
    padding-right: 0;
  }

  .menu-overlay__preview {
    display: none;
  }

  .menu-overlay__brand {
    font-size: 1.5rem;
  }

  .menu-overlay__top {
    margin-bottom: 1.5rem;
  }

  .menu-overlay__list--primary {
    font-size: 1.7rem;
    gap: 0.65rem;
  }

  .menu-overlay__list--secondary {
    font-size: 1.2rem;
  }
}

@media (max-width: 640px) {
  .menu-overlay__inner {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .menu-overlay__list--primary {
    font-size: 1.28rem;
    gap: 0.55rem;
    line-height: 1.15;
  }

  .menu-overlay__list--secondary {
    font-size: 1rem;
  }

  .menu-overlay__social-link {
    font-size: 0.8rem;
  }
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cart-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 19, 33, 0.55);
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100%;
  background: #ffffff;
  color: #0f172a;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cart-overlay.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer__header {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #ffffff;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.cart-drawer__close {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  color: #111827;
}

.cart-drawer__title {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  font-weight: 700;
}

.cart-drawer__count {
  margin-top: 0.5rem;
  color: #6b7280;
  font-size: 0.95rem;
}

.cart-drawer__notice {
  margin: 0.9rem 1.25rem 0;
  padding: 0.65rem 0.8rem;
  background: #f3f4f6;
  color: #374151;
  font-size: 0.93rem;
  line-height: 1.4;
  border-radius: 0.35rem;
}

.cart-drawer__section {
  margin: 0.9rem 1.25rem 0;
}

.cart-drawer__items {
  min-height: 110px;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.45rem;
}

.cart-drawer__empty {
  color: #9ca3af;
  font-size: 1rem;
}

.cart-drawer__line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.cart-drawer__line:last-child {
  border-bottom: 0;
}

.cart-drawer__line-main {
  min-width: 0;
}

.cart-drawer__line strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
  word-break: break-word;
}

.cart-drawer__line p {
  margin-top: 0.18rem;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.45;
}

.cart-drawer__line-total {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  align-self: start;
  padding-top: 0.1rem;
}

.cart-drawer__total-row {
  padding: 0.85rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 1rem;
}

.cart-drawer__total-row strong {
  font-size: 1.15rem;
}

.cart-drawer__minimum {
  margin-top: 0.65rem;
  padding: 0.7rem 0.85rem;
  background: #f8fafc;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.4;
  border: 1px solid #e5e7eb;
  border-radius: 0.35rem;
}

.cart-drawer__form-title {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: #374151;
}

.cart-drawer__form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1.25rem;
}

.cart-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.35rem;
  padding: 0.62rem 0.7rem;
  font-size: 0.98rem;
  color: #111827;
}

.cart-input:focus {
  outline: none;
  border-color: #111827;
}

.cart-drawer__form-footer {
  margin-top: 0.45rem;
}

.cart-drawer__policy {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #6b7280;
  margin-bottom: 0.7rem;
}

.cart-drawer__submit {
  width: 100%;
  border: 0;
  background: #111827;
  color: #ffffff;
  border-radius: 0.35rem;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.cart-drawer__submit:hover {
  background: #000000;
}

.cart-drawer__submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.cart-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.1rem);
  z-index: 87;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.35);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.cart-fab:hover,
.cart-fab:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.42);
  outline: none;
}

.cart-fab__icon {
  width: 1.3rem;
  height: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-fab__icon .material-icons-outlined {
  font-size: 1.3rem;
  line-height: 1;
}

.cart-fab__count {
  min-width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -0.1rem;
  right: -0.1rem;
  background: #fbbf24;
  color: #111827;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 0 0 2px #ffffff;
}

body.cart-open .cart-fab {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 640px) {
  .cart-fab {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: calc(max(0.75rem, env(safe-area-inset-bottom)) + 3.75rem);
    width: 2.95rem;
    height: 2.95rem;
  }
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.request-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.request-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 19, 33, 0.96);
  backdrop-filter: blur(1px);
}

.request-modal__dialog {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  color: #e5e7eb;
}

.request-modal__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  color: #e5e7eb;
  cursor: pointer;
}

.request-modal__content {
  position: relative;
  width: min(1020px, 100%);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  background: transparent;
  border-radius: 0;
  padding: 3.4rem 2rem 2rem;
}

.request-modal__title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: #f8fafc;
}

.request-modal__subtitle {
  margin: 0.65rem 0 2rem;
  text-align: center;
  color: #cbd5e1;
  font-size: 1.08rem;
}

.request-modal__form {
  background: transparent;
  border: 0;
  padding: 0;
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.3rem;
}

.request-modal__form input {
  border: 0;
  border-bottom: 1px solid #94a3b8;
  background: transparent;
  color: #f8fafc;
  padding: 0.65rem 0.15rem;
  font-size: 1rem;
}

.request-modal__form input::placeholder {
  color: #cbd5e1;
}

.request-modal__form input:focus {
  outline: none;
  border-bottom-color: #f8fafc;
}

.request-modal__policy {
  grid-column: 1;
  font-size: 0.88rem;
  color: #cbd5e1;
  align-self: end;
  margin: 0.8rem 0 0;
}

.request-modal__policy a {
  color: inherit;
  text-decoration: underline;
}

.request-modal__submit {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  border: 0;
  background: #f8fafc;
  color: #0f172a;
  padding: 0.95rem 1.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.request-modal__submit:hover {
  background: #e2e8f0;
}

@media (max-width: 900px) {
  .request-modal__dialog {
    padding: 0.8rem;
  }

  .request-modal__content {
    max-height: calc(100vh - 1.6rem);
    padding: 2.2rem 1rem 1.4rem;
  }

  .request-modal__form {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .request-modal__policy,
  .request-modal__submit {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .cart-drawer {
    width: 100%;
  }

  .cart-drawer__header,
  .cart-drawer__notice,
  .cart-drawer__section {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.menu-slider-shell.is-unlocked {
  padding-left: 0;
}

.menu-grid {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-right: 1rem;
}

.menu-grid .menu-card {
  flex: 0 0 clamp(220px, 26vw, 300px);
}

.menu-dot {
  width: 8px;
  height: 8px;
  border: 1px solid #9ca3af;
  transform: rotate(45deg);
  background: transparent;
  transition: all 0.2s ease;
}

.menu-dot.is-active {
  background: #111827;
  border-color: #111827;
}

.dark .menu-dot.is-active {
  background: #f5f5f5;
  border-color: #f5f5f5;
}

.features-grid {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: start;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .section-pad-md {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background-color: #1a1a1a;
  color: #fff;
  padding: 0.75rem 2rem;
}

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

.btn-outline {
  border: 1px solid #d1d5db;
  padding: 0.25rem 1rem;
  color: #111827;
}

.dark .btn-outline {
  border-color: #4b5563;
  color: #f9fafb;
}

.btn-outline:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.dark .btn-outline:hover {
  background-color: #1f2937;
  color: #f9fafb;
}

.btn-link {
  border-bottom: 1px solid #facc15;
  padding-bottom: 0.25rem;
  color: inherit;
}

.btn-link:hover {
  color: #ca8a04;
  border-bottom-color: #ca8a04;
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-social-link {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 9999px;
  border: 1px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-social-link:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.dark .header-social-link {
  border-color: #4b5563;
  color: #f9fafb;
}

.dark .header-social-link:hover {
  background: #f9fafb;
  color: #111827;
  border-color: #f9fafb;
}

.header-social-link svg {
  width: 0.92rem;
  height: 0.92rem;
  fill: currentColor;
}

.header-social-link .material-symbols-outlined {
  font-size: 1rem;
  font-variation-settings: 'FILL' 1;
}

.header-social-link__abbr {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-social-link__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: hidden;
}

.footer-social-link__icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
  fill: currentColor;
}

.footer-social-link[href*="vk.com"] .footer-social-link__icon svg,
.menu-overlay__social-link[href*="vk.com"] .menu-overlay__social-icon svg {
  transform: translateY(-1.8px);
}

.footer-social-link__abbr {
  font-size: 0.67rem;
  font-weight: 700;
}

.btn-chip {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.portfolio-filter {
  color: #6b7280;
  border: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.portfolio-filter:hover {
  color: #111827;
}

.portfolio-filter.is-active {
  color: #111827;
  border-color: #111827;
}

.dark .portfolio-filter {
  color: #9ca3af;
}

.dark .portfolio-filter:hover,
.dark .portfolio-filter.is-active {
  color: #f5f5f5;
}

.dark .portfolio-filter.is-active {
  border-color: #f5f5f5;
}

.menu-card {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}

.menu-card__caption {
  min-height: 84px;
}

.menu-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.dark .menu-card {
  background-color: rgb(24 24 27);
}

.gallery-card {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f3f4f6;
  position: relative;
  cursor: pointer;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.gallery-card__zoom-link {
  width: 100%;
  height: 100%;
  display: block;
  cursor: zoom-in;
  position: relative;
}

.gallery-card__zoom-link::after {
  content: '\1F50D';
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.gallery-card__zoom-link:hover::after,
.gallery-card__zoom-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card__zoom-link:focus-visible {
  outline: 2px solid #1f2937;
  outline-offset: -2px;
}

.gallery-card.is-enter,
.gallery-card.is-leave {
  opacity: 0;
  transform: scale(0.97);
}

#portfolioGrid.is-filtering {
  pointer-events: none;
}

.media-zoom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .media-zoom-img,
.gallery-card:hover .media-zoom-img {
  transform: scale(1.05);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 19, 33, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 1rem;
}

.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-overlay__backdrop {
  position: absolute;
  inset: 0;
}

.lightbox-overlay__img {
  position: relative;
  max-width: min(94vw, 1600px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}

.lightbox-overlay__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 1;
}

.partners-section {
  overflow: hidden;
}

.partners-carousel {
  width: 100%;
  padding: 0;
}

.partners-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.partners-track {
  display: flex;
  gap: 0;
  will-change: transform;
}

.partners-group {
  display: flex;
  gap: 0.2rem;
  padding-right: 0.2rem;
}

.partner-item {
  min-width: clamp(182px, 19vw, 164px);
  min-height: 124px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.55rem 0.65rem;
  background-color: transparent;
  border: 0;
  opacity: 1;
}

.partner-item img {
  max-width: 192px;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.partner-item:hover img,
.partner-item:focus-within img {
  opacity: 1;
  transform: scale(1.03);
}

.dark .partner-item {
  background-color: transparent;
}

.review-dot {
  width: 8px;
  height: 8px;
  border: 1px solid #9ca3af;
  transform: rotate(45deg);
  background: transparent;
  transition: all 0.2s ease;
}

.review-dot.is-active {
  background: #111827;
  border-color: #111827;
}

.dark .review-dot.is-active {
  background: #f5f5f5;
  border-color: #f5f5f5;
}

.review-main-card {
  transition: opacity 0.26s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.review-main-card.is-leaving {
  opacity: 0;
  transform: translateX(var(--review-out-shift, -18px));
}

.review-main-card.is-entering {
  opacity: 0;
  transform: translateX(var(--review-in-shift, 18px));
}

@media (prefers-reduced-motion: reduce) {
  .review-main-card {
    transition: none;
  }
}

.drag-scroll {
  cursor: grab;
  user-select: none;
}

.drag-scroll.is-dragging {
  cursor: grabbing;
}

.animate-marquee {
  animation: marquee 20s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.banquet-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.banquet-hero__content {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 2rem;
}

.dark .banquet-hero__content {
  background: #111827;
  border-color: #374151;
}

.banquet-hero__kicker {
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.banquet-hero__title {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.banquet-hero__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.dark .banquet-hero__text {
  color: #d1d5db;
}

.banquet-hero__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #d1d5db;
}

.dark .banquet-hero__features {
  border-color: #4b5563;
}

.banquet-hero__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-right: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
}

.banquet-hero__feature:nth-child(2n) {
  border-right: 0;
}

.banquet-hero__feature:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.dark .banquet-hero__feature {
  border-color: #4b5563;
}

.banquet-hero__feature .material-icons-outlined {
  font-size: 1rem;
}

.banquet-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}

.barbecue-hero .banquet-hero__media {
  align-self: start;
}

.barbecue-hero .banquet-hero__media img {
  min-height: 0;
  height: clamp(460px, 42vw, 560px);
}

.water-hero__media {
  overflow: hidden;
}

.water-hero__image {
  transform: scale(1.18);
  transform-origin: center;
}

@media (min-width: 1024px) {
  .water-hero .banquet-hero__content,
  .water-hero .water-hero__media {
    height: 520px;
  }

  .portfolio-hero .banquet-hero__content,
  .portfolio-hero .banquet-hero__media {
    height: 520px;
  }
}

.banquet-menu {
  background: #e8e7e4;
}

.dark .banquet-menu {
  background: #1f2937;
}

.banquet-menu__head {
  text-align: center;
  margin-bottom: 2rem;
}

.banquet-menu__head p {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: #6b7280;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dark .banquet-menu__head p {
  color: #d1d5db;
}

.banquet-menu__list {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.banquet-menu__item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  min-height: 5.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.3rem;
  gap: 1rem;
}

.dark .banquet-menu__item {
  background: #111827;
  border-color: #374151;
}

.banquet-menu__name {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-transform: uppercase;
  font-size: 1.125rem;
  letter-spacing: 0.03em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.banquet-menu__name button {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 9999px;
  border: 0;
  background: #111827;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
}

.banquet-menu__item.is-open {
  border-bottom-color: transparent;
}

.banquet-menu__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.banquet-menu__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.dark .banquet-menu__meta {
  color: #d1d5db;
}

.banquet-menu__meta strong {
  font-size: 1.25rem;
  color: #111827;
}

.dark .banquet-menu__meta strong {
  color: #f9fafb;
}

.banquet-menu__details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
  background: #f8f8f8;
  border: 1px solid #e5e7eb;
  border-top: 0;
}

.dark .banquet-menu__details {
  background: #0f172a;
  border-color: #374151;
}

.banquet-menu__details-inner {
  padding: 1.35rem 1.3rem 1.25rem;
}

.banquet-menu__section + .banquet-menu__section {
  margin-top: 1rem;
}

.banquet-menu__section h4 {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.banquet-menu__section-note {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.dark .banquet-menu__section-note {
  color: #d1d5db;
}

.banquet-menu__section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.banquet-menu__section li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.35rem 0;
  border-bottom: 1px solid #eceff3;
  font-size: 0.93rem;
  line-height: 1.5;
}

.dark .banquet-menu__section li {
  border-bottom-color: #1f2937;
}

.banquet-menu__section li strong {
  font-weight: 700;
  white-space: nowrap;
}

.banquet-menu__dish {
  grid-template-columns: 64px 1fr auto !important;
  align-items: center !important;
  gap: 0.7rem !important;
}

.banquet-menu__dish-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 1px solid #d1d5db;
  background: #ffffff;
}

.banquet-menu__dish-thumb-link {
  display: inline-flex;
  width: 64px;
  height: 64px;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  border-radius: 0.35rem;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.banquet-menu__dish-thumb-link::after {
  content: '\1F50D';
  position: absolute;
  right: 0.28rem;
  bottom: 0.24rem;
  font-size: 0.8rem;
  line-height: 1;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  border-radius: 999px;
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.banquet-menu__dish-thumb-link img {
  transition: transform 0.22s ease, filter 0.22s ease;
}

.banquet-menu__dish-thumb-link:hover,
.banquet-menu__dish-thumb-link:focus-visible {
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.16);
  transform: translateY(-1px);
}

.banquet-menu__dish-thumb-link:hover::after,
.banquet-menu__dish-thumb-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.banquet-menu__dish-thumb-link:hover img,
.banquet-menu__dish-thumb-link:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.06);
}

.banquet-menu__dish-thumb-link:focus-visible {
  outline: 2px solid #1f2937;
  outline-offset: 2px;
}

.dark .banquet-menu__dish-thumb {
  border-color: #4b5563;
  background: #111827;
}

.banquet-menu__dish-name {
  line-height: 1.35;
}

.banquet-menu__actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.banquet-menu__order-btn {
  min-width: 10rem;
  border: 1px solid #9ca3af;
  background: #ffffff;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  padding: 0.48rem 1rem;
  cursor: pointer;
}

.banquet-menu__order-btn:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.banquet-menu__doc-btn {
  border: 0;
  background: transparent;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dark .banquet-menu__order-btn {
  background: #111827;
  color: #f9fafb;
  border-color: #4b5563;
}

.dark .banquet-menu__doc-btn {
  color: #f9fafb;
}

.banquet-extra__line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.banquet-extra__line::before,
.banquet-extra__line::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #9ca3af;
}

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

.banquet-extra__card {
  text-align: center;
}

.banquet-extra__card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0.8rem;
}

.banquet-extra__card h3 {
  text-transform: uppercase;
  font-size: 1.125rem;
  line-height: 1.4;
  margin-bottom: 0.35rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.banquet-extra__card p {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  font-weight: 700;
}

.banquet-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.banquet-contact__sub {
  font-size: 0.98rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.dark .banquet-contact__sub {
  color: #d1d5db;
}

.banquet-contact__form {
  background: #ffffff;
  border: 1px solid #d1d5db;
  padding: 1.25rem;
  display: grid;
  gap: 0.6rem;
}

.dark .banquet-contact__form {
  background: #111827;
  border-color: #374151;
}

.banquet-contact__form input {
  border: 0;
  border-bottom: 1px solid #9ca3af;
  padding: 0.45rem 0.1rem;
  background: transparent;
  font-size: 1rem;
}

.banquet-contact__form input:focus {
  outline: none;
  border-bottom-color: #111827;
}

.banquet-contact__agree {
  font-size: 0.84rem;
  color: #6b7280;
  line-height: 1.4;
}

.banquet-contact__submit {
  justify-self: end;
  border: 0;
  background: #111827;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  padding: 0.72rem 1.4rem;
  cursor: pointer;
}

.banquet-contact__media {
  position: relative;
  min-height: 520px;
}

.banquet-contact__diploma-main {
  width: 84%;
  max-width: 520px;
  height: 390px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #d1d5db;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.12);
}

.banquet-contact__diploma-side {
  position: absolute;
  right: -0.5rem;
  bottom: -2rem;
  width: 70%;
  max-width: 420px;
  height: 270px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #d1d5db;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.12);
}

.ozerny-formats {
  background: #e8e7e4;
}

.dark .ozerny-formats {
  background: #1f2937;
}

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

.ozerny-format-card {
  background: #ffffff;
  border: 1px solid #d1d5db;
  text-align: center;
}

.dark .ozerny-format-card {
  background: #111827;
  border-color: #374151;
}

.ozerny-format-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ozerny-format-card h3 {
  padding: 0.85rem 0.65rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.35;
  font-size: 0.98rem;
  font-weight: 700;
}

.ozerny-formats__lead {
  margin-top: 2rem;
  text-align: center;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
  color: #374151;
}

.dark .ozerny-formats__lead {
  color: #e5e7eb;
}

.ozerny-advantages {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.ozerny-adv {
  border: 1px solid #9ca3af;
  padding: 0.9rem 0.75rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-align: center;
}

.dark .ozerny-adv {
  border-color: #6b7280;
}

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

.ozerny-approach-card {
  background: #ffffff;
  border: 1px solid #d1d5db;
}

.dark .ozerny-approach-card {
  background: #0f172a;
  border-color: #374151;
}

.ozerny-approach-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ozerny-approach-card h3 {
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.04em;
  font-size: 1rem;
  line-height: 1.3;
  padding: 0 0.7rem;
}

.ozerny-approach-card p {
  font-size: 0.89rem;
  line-height: 1.55;
  color: #4b5563;
  text-align: center;
  padding: 0 0.8rem 1rem;
}

.dark .ozerny-approach-card p {
  color: #d1d5db;
}

.ozerny-location__intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 1.6rem;
}

.ozerny-location__intro p {
  color: #4b5563;
  margin-top: 0.75rem;
}

.dark .ozerny-location__intro p {
  color: #d1d5db;
}

.ozerny-location__phone {
  margin-top: 1.2rem;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111827 !important;
}

.dark .ozerny-location__phone {
  color: #f9fafb !important;
}

.ozerny-location__address {
  font-size: 0.95rem;
}

.ozerny-location__map-wrap {
  border: 1px solid #d1d5db;
  background: #ffffff;
  overflow: hidden;
}

.dark .ozerny-location__map-wrap {
  border-color: #374151;
  background: #111827;
}

.ozerny-location__map {
  width: 100%;
  height: 430px;
  border: 0;
}

.portfolio-page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.portfolio-page-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.portfolio-page-hero__title {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.25;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.portfolio-page-hero__text {
  color: #4b5563;
  max-width: 560px;
}

.dark .portfolio-page-hero__text {
  color: #d1d5db;
}

.portfolio-page-hero__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #d1d5db;
}

.portfolio-page__content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1rem;
  align-items: start;
}

.portfolio-page__sidebar {
  background: #efefed;
  border: 1px solid #d1d5db;
  padding: 1rem;
  position: sticky;
  top: 1rem;
}

.dark .portfolio-page__sidebar {
  background: #111827;
  border-color: #374151;
}

.portfolio-page__sidebar-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
  color: #4b5563;
}

.dark .portfolio-page__sidebar-title {
  color: #9ca3af;
}

.portfolio-page__filters {
  display: grid;
  gap: 0.38rem;
}

.portfolio-page__filters .portfolio-filter {
  text-align: left;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.25rem;
  border-color: transparent;
}

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

.boxes-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.boxes-hero__content {
  background: #ffffff;
  padding: 2rem;
}

.dark .boxes-hero__content {
  background: #111827;
  border-color: #374151;
}

.boxes-hero__kicker {
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.boxes-hero__title {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.boxes-hero__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.dark .boxes-hero__text {
  color: #d1d5db;
}

.boxes-hero__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #d1d5db;
}

.dark .boxes-hero__features {
  border-color: #4b5563;
}

.boxes-hero__features div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-right: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
}

.boxes-hero__features div:nth-child(2n) {
  border-right: 0;
}

.boxes-hero__features div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.dark .boxes-hero__features div {
  border-color: #4b5563;
}

.boxes-hero__features .material-icons-outlined {
  font-size: 1rem;
}

.boxes-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boxes-catalog {
  background: #e8e7e4;
}

.dark .boxes-catalog {
  background: #1f2937;
}

.boxes-catalog__head {
  text-align: center;
  margin-bottom: 2rem;
}

.boxes-catalog__head p {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: #6b7280;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dark .boxes-catalog__head p {
  color: #d1d5db;
}

.boxes-catalog__layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.boxes-catalog__sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
  border: 1px solid #d1d5db;
  background: #ffffff;
  padding: 1rem;
}

.dark .boxes-catalog__sidebar {
  background: #111827;
  border-color: #374151;
}

.boxes-catalog__sidebar-title {
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
}

.dark .boxes-catalog__sidebar-title {
  color: #d1d5db;
}

.boxes-catalog__main {
  min-width: 0;
}

.boxes-filters {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
}

.boxes-filter {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  padding: 0.42rem 0.82rem;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  text-align: left;
}

.boxes-filter:hover {
  border-color: #111827;
}

.boxes-filter.is-active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.dark .boxes-filter {
  background: #111827;
  color: #e5e7eb;
  border-color: #4b5563;
}

.dark .boxes-filter:hover,
.dark .boxes-filter.is-active {
  background: #f3f4f6;
  color: #111827;
  border-color: #f3f4f6;
}

.boxes-catalog__meta {
  text-align: left;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6b7280;
}

.dark .boxes-catalog__meta {
  color: #d1d5db;
}

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

.box-card {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.box-card[data-hidden='true'] {
  display: none;
}

.dark .box-card {
  background: #111827;
  border-color: #374151;
}

.box-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.box-card__content {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.box-card__title {
  font-size: 1rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  min-height: 2.35rem;
}

.box-card__meta {
  display: grid;
  gap: 0.22rem;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.4rem 0;
}

.dark .box-card__meta {
  border-color: #374151;
}

.box-card__line {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.box-card__line strong {
  font-size: 1rem;
}

.box-card__switch-wrap {
  display: grid;
  gap: 0.35rem;
}

.box-card__switch-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.dark .box-card__switch-title {
  color: #d1d5db;
}

.box-card__switches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.3rem;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
}

.box-card__switch {
  border: 0;
  background: transparent;
  color: #475569;
  padding: 0.48rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 2.2rem;
}

.box-card__switch.is-active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.dark .box-card__switch {
  color: #cbd5e1;
}

.dark .box-card__switches {
  background: #0f172a;
  border-color: #374151;
}

.dark .box-card__switch.is-active {
  background: #1f2937;
  color: #f9fafb;
  box-shadow: none;
}

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

.box-card__btn {
  width: 100%;
  border: 1px solid #9ca3af;
  background: #111827;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  line-height: 1.2;
  padding: 0.62rem 0.55rem;
  cursor: pointer;
}

.box-card__btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #111827;
}

.box-card__btn--ghost {
  background: #ffffff;
  color: #111827;
}

.box-card__btn--ghost:hover {
  background: #f3f4f6;
  color: #111827;
}

.dark .box-card__btn {
  background: #111827;
  color: #f9fafb;
  border-color: #4b5563;
}

.dark .box-card__btn--ghost {
  background: transparent;
  color: #f9fafb;
}

.boxes-empty {
  grid-column: 1 / -1;
  min-height: 160px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  border: 1px dashed #cbd5e1;
  color: #475569;
  background: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.dark .boxes-empty {
  border-color: #4b5563;
  color: #d1d5db;
  background: #111827;
}

.venues-catalog {
  background: #e8e7e4;
}

.dark .venues-catalog {
  background: #1f2937;
}

.venues-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 auto 1rem;
}

.venues-filter {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  padding: 0.42rem 0.82rem;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.venues-filter:hover {
  border-color: #111827;
}

.venues-filter.is-active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.dark .venues-filter {
  background: #111827;
  color: #e5e7eb;
  border-color: #4b5563;
}

.dark .venues-filter:hover,
.dark .venues-filter.is-active {
  background: #f3f4f6;
  color: #111827;
  border-color: #f3f4f6;
}

.venues-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.venue-card {
  display: grid;
  grid-template-columns: minmax(240px, 32%) 1fr;
  border: 1px solid #d1d5db;
  background: #ffffff;
  min-height: 210px;
}

.dark .venue-card {
  background: #111827;
  border-color: #374151;
}

.venue-card__media {
  display: block;
  border-right: 1px solid #d1d5db;
  position: relative;
}

.dark .venue-card__media {
  border-right-color: #374151;
}

.venue-card__media img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.venue-card__media-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.venue-card__media-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.venue-card__media-link:hover::after,
.venue-card__media-link:focus-visible::after {
  opacity: 1;
}

.venue-card__gallery-badge {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  padding: 0.38rem 0.6rem;
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.venue-card__content {
  padding: 1rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.venue-card__type {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}

.dark .venue-card__type {
  color: #9ca3af;
}

.venue-card__title {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.08rem;
  line-height: 1.3;
}

.venue-card__text {
  color: #4b5563;
  line-height: 1.6;
}

.dark .venue-card__text {
  color: #d1d5db;
}

.venue-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #334155;
}

.dark .venue-card__meta {
  color: #cbd5e1;
}

.venue-card__facts {
  display: grid;
  gap: 0.18rem;
  font-size: 0.88rem;
  color: #334155;
}

.venue-card__facts p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dark .venue-card__facts {
  color: #cbd5e1;
}

.venues-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  border: 1px dashed #cbd5e1;
  color: #475569;
  background: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.dark .venues-empty {
  border-color: #4b5563;
  color: #d1d5db;
  background: #111827;
}

.box-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.box-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.box-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 19, 33, 0.88);
}

.box-modal__dialog {
  position: relative;
  width: min(1140px, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #d1d5db;
  box-shadow: 0 20px 48px rgba(5, 19, 33, 0.35);
  padding: 1.5rem;
}

.box-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  width: 2rem;
  height: 2rem;
  font-size: 1.6rem;
  line-height: 1;
  color: #111827;
  cursor: pointer;
}

.box-modal__grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 1.25rem;
}

.box-modal__media-wrap {
  border: 0;
  background: transparent;
  overflow: hidden;
  min-height: 620px;
}

.box-modal__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 100%;
  object-fit: cover;
}

.box-modal__title {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.box-modal__list {
  margin: 0;
  padding-left: 1.05rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #374151;
}

.box-modal__options {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.box-modal__option {
  border: 1px solid #d1d5db;
  padding: 0.55rem 0.6rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.box-modal__option.is-active {
  border-color: #111827;
  background: #f9fafb;
}

.box-modal__option input {
  margin: 0;
}

.box-modal__option strong {
  font-size: 0.95rem;
}

.box-modal__footer {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.65rem;
}

.box-modal__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d1d5db;
  width: fit-content;
  background: #ffffff;
}

.box-modal__qty button {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: #f3f4f6;
  color: #111827;
  cursor: pointer;
  font-size: 1.1rem;
}

.box-modal__qty span {
  min-width: 2rem;
  text-align: center;
  font-weight: 600;
}

.box-modal__price {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.box-modal__add {
  border: 1px solid #94a3b8;
  background: #ffffff;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.box-modal__add:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

@media (max-width: 1023px) {
  .banquet-hero__grid,
  .boxes-hero__grid,
  .box-modal__grid,
  .banquet-contact__grid {
    grid-template-columns: 1fr;
  }

  .boxes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boxes-catalog__layout {
    grid-template-columns: 1fr;
  }

  .boxes-catalog__sidebar {
    position: static;
  }

  .boxes-filters {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .venue-card {
    grid-template-columns: minmax(190px, 38%) 1fr;
  }

  .banquet-extra__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .banquet-contact__media {
    min-height: 460px;
  }

  .ozerny-formats__grid,
  .ozerny-advantages,
  .ozerny-approach__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-page-hero__grid,
  .portfolio-page__content {
    grid-template-columns: 1fr;
  }

  .portfolio-page__sidebar {
    position: static;
  }

  .portfolio-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .banquet-menu__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .banquet-menu__section li {
    grid-template-columns: 1fr;
  }

  .banquet-menu__dish {
    grid-template-columns: 56px 1fr !important;
  }

  .banquet-menu__dish strong {
    grid-column: 2;
    justify-self: start;
  }

  .banquet-menu__dish-thumb {
    width: 56px;
    height: 56px;
  }

  .banquet-menu__dish-thumb-link {
    width: 56px;
    height: 56px;
  }

  .banquet-menu__actions {
    width: 100%;
  }

  .banquet-menu__order-btn {
    width: 100%;
  }

  .banquet-extra__grid {
    grid-template-columns: 1fr;
  }

  .banquet-hero__features {
    grid-template-columns: 1fr;
  }

  .boxes-hero__features {
    grid-template-columns: 1fr;
  }

  .banquet-hero__feature,
  .banquet-hero__feature:nth-child(2n) {
    border-right: 0;
  }

  .banquet-hero__feature:not(:last-child) {
    border-bottom: 1px solid #d1d5db;
  }

  .banquet-hero__feature:last-child {
    border-bottom: 0;
  }

  .dark .banquet-hero__feature:not(:last-child) {
    border-bottom-color: #4b5563;
  }

  .boxes-hero__features div,
  .boxes-hero__features div:nth-child(2n) {
    border-right: 0;
  }

  .boxes-hero__features div:not(:last-child) {
    border-bottom: 1px solid #d1d5db;
  }

  .dark .boxes-hero__features div:not(:last-child) {
    border-bottom-color: #4b5563;
  }

  .ozerny-formats__grid,
  .ozerny-advantages,
  .ozerny-approach__grid {
    grid-template-columns: 1fr;
  }

  .portfolio-page__grid {
    grid-template-columns: 1fr;
  }

  .boxes-catalog__meta {
    text-align: center;
  }

  .box-card__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .readable-main main {
    font-size: 1.12rem;
  }

  .readable-main main .section-title {
    font-size: 1.9rem;
    letter-spacing: 0.08em;
  }

  .section-pad {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .site-header__top {
    flex-wrap: wrap;
    row-gap: 0.75rem;
    margin-bottom: 1.1rem;
  }

  .site-header__top > :first-child {
    width: 100%;
    justify-content: center;
  }

  .site-header__top > :last-child {
    margin-left: auto;
    margin-right: auto;
    gap: 0.9rem;
  }

  .site-header__logo-wrap {
    margin-bottom: 0.4rem;
  }

  .header-rating-badge {
    display: none;
  }

  .hero-title {
    letter-spacing: 0.02em;
    font-size: clamp(2rem, 13vw, 3.25rem) !important;
  }

  .hero-main-logo {
    font-size: clamp(2.15rem, 10.8vw, 3.8rem) !important;
    gap: 0.38rem !important;
  }

  .hero-main-subline {
    margin-top: 0.65rem !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.14em !important;
  }

  .site-header__bottom {
    margin-top: 1rem;
    padding-top: 1rem;
    gap: 0.75rem;
  }

  .btn-primary {
    padding: 0.72rem 1.15rem;
  }

  .menu-grid .menu-card {
    flex-basis: clamp(200px, 70vw, 260px);
  }

  .partner-item {
    min-width: clamp(150px, 44vw, 204px);
    min-height: 100px;
    padding: 0.45rem 0.5rem;
  }

  .partner-item img {
    max-width: 150px;
    max-height: 62px;
  }

  .footer-grid {
    gap: 1.4rem;
    margin-bottom: 2.4rem;
  }

  .footer-grid .serif-font {
    font-size: 2.2rem !important;
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {
  .layout-container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .readable-main main .text-xs {
    font-size: 0.96rem !important;
  }

  .readable-main main .text-sm {
    font-size: 1.04rem !important;
  }

  .request-modal__title {
    font-size: clamp(1.35rem, 8vw, 2rem);
    letter-spacing: 0.04em;
  }

  .request-modal__subtitle {
    margin-bottom: 1.35rem;
    font-size: 1.02rem;
  }

  .request-modal__close {
    top: 0.55rem;
    right: 0.45rem;
  }

  .request-modal__content {
    padding-top: 2.6rem;
  }

  .request-modal__submit {
    width: 100%;
    justify-self: stretch;
  }

  .banquet-hero__content {
    padding: 1.1rem;
  }

  .boxes-hero__content {
    padding: 1.1rem;
  }

  .banquet-hero__title {
    font-size: clamp(1.25rem, 6.8vw, 1.65rem);
  }

  .boxes-hero__title {
    font-size: clamp(1.25rem, 6.8vw, 1.65rem);
  }

  .banquet-hero__text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .boxes-hero__text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .water-hero__image {
    transform: scale(1.1);
  }

  .water-hero .banquet-hero__content,
  .water-hero .water-hero__media {
    height: auto;
  }

  .barbecue-hero .banquet-hero__media img {
    height: auto;
  }

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

  .boxes-catalog__sidebar {
    padding: 0.85rem;
  }

  .boxes-filter {
    width: 100%;
    text-align: center;
  }

  .venue-card {
    grid-template-columns: 1fr;
  }

  .venue-card__media {
    border-right: 0;
    border-bottom: 1px solid #d1d5db;
  }

  .dark .venue-card__media {
    border-bottom-color: #374151;
  }

  .venue-card__media img {
    min-height: 180px;
  }

  .box-modal__dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 100vh;
    height: 100vh;
    padding: 0.75rem;
    border: 0;
  }

  .box-modal__title {
    font-size: 1.3rem;
  }

  .box-modal__list {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .box-modal__add {
    width: 100%;
  }

  .box-modal__media-wrap {
    min-height: 280px;
  }

  .banquet-menu__name {
    font-size: 1rem;
    width: 100%;
    justify-content: space-between;
  }

  .banquet-menu__meta {
    width: 100%;
    justify-content: space-between;
  }

  .banquet-menu__details-inner {
    padding: 0.95rem 0.85rem 1rem;
  }

  .banquet-menu__section h4 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .banquet-menu__section li {
    font-size: 0.98rem;
  }

  .banquet-extra__line {
    font-size: 0.74rem;
    letter-spacing: 0.09em;
  }

  .banquet-extra__card h3 {
    font-size: 1rem;
  }

  .banquet-contact__grid {
    gap: 1.2rem;
  }

  .banquet-contact__form {
    padding: 0.95rem;
  }

  .banquet-contact__submit {
    width: 100%;
    justify-self: stretch;
  }

  .banquet-contact__media {
    min-height: 0;
    display: grid;
    gap: 0.75rem;
  }

  .banquet-contact__diploma-main,
  .banquet-contact__diploma-side {
    position: static;
    width: 100%;
    max-width: none;
    height: 210px;
  }

  .ozerny-formats__lead {
    margin-top: 1.35rem;
  }

  .ozerny-location__map {
    height: 320px;
  }

  .portfolio-page-hero__title {
    font-size: clamp(1.25rem, 6.2vw, 1.65rem);
  }

  .portfolio-page__sidebar {
    padding: 0.8rem;
  }
}

.quick-contact {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 88;
  display: block;
}

.quick-contact__toggle {
  width: 3.2rem;
  height: 3.2rem;
  border: 0;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.35), 0 0 0 0 rgba(250, 204, 21, 0.45);
  animation: quick-contact-pulse 2.4s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.quick-contact__toggle:hover,
.quick-contact__toggle:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.42), 0 0 0 10px rgba(250, 204, 21, 0.1);
  outline: none;
}

.quick-contact__toggle-icon {
  width: 1.3rem;
  height: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.quick-contact__toggle-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.quick-contact__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.6rem);
  min-width: 12rem;
  padding: 0.45rem;
  border-radius: 0.8rem;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 0.35rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(0.5rem) scale(0.97);
  transform-origin: right bottom;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.quick-contact.is-open .quick-contact__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.quick-contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #f9fafb;
  font-size: 0.88rem;
  padding: 0.5rem 0.55rem;
  border-radius: 0.55rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.quick-contact__link:hover,
.quick-contact__link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  outline: none;
}

.quick-contact__icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #111827;
}

.quick-contact__icon svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: currentColor;
}

.quick-contact__link[href*="vk.com"] .quick-contact__icon svg {
  width: 1rem;
  height: 1rem;
}

@keyframes quick-contact-pulse {
  0% {
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.35), 0 0 0 0 rgba(250, 204, 21, 0.45);
  }
  70% {
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.35), 0 0 0 12px rgba(250, 204, 21, 0);
  }
  100% {
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.35), 0 0 0 0 rgba(250, 204, 21, 0);
  }
}

@media (max-width: 640px) {
  .quick-contact {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .quick-contact__toggle {
    width: 2.95rem;
    height: 2.95rem;
  }

  .quick-contact__menu {
    min-width: 11.2rem;
  }
}
