/* Rio Brazil / Mexican theme: Aztec-style fonts, alternating red/blue, green top bar */
@import url('https://fonts.googleapis.com/css2?family=Eagle+Lake&family=Source+Serif+4:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Base Styles — без ограничения ширины, блоки вплотную без белых полос */
.page {
  max-width: none;
  margin: 0;
  padding: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  line-height: 1.6;
  color: #333;
  background: #1e4d3a;
  box-shadow: none;
}

/* Typography — ацтекский/декоративный акцент */
h1, h2, h3, h4, h5, h6,
.demo-hero-title,
.section-title {
  font-family: 'Eagle Lake', cursive;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}

.hero-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title {
  font-family: 'Eagle Lake', cursive;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Interactive Elements */
button, .btn {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Contact and Info Elements */
.contact-label, .contact-value {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
}

.social-label {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
}


.business-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            font-size: 18px;
            color: #666;
        }
        
        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid #007bff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }


/* ========== Rio Brazil: верхнее меню — грязно-зелёный фон ========== */
.main-menu {
  z-index: 7;
  background: #2e5c3a !important;
  border-bottom: none !important;
  padding: 0 20px;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  min-height: 50px;
  height: 50px;
}

.main-menu .menu-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
}

.main-menu .menu-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-menu .menu-business-name {
  font-family: 'Eagle Lake', cursive;
  font-size: 1.25rem;
  color: #f5f5dc;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Логотип вписан в полосу 50px */
.main-menu .menu-logo-container {
  width: 40px;
  height: 40px;
  margin-top: 0;
}

.main-menu .menu-logo,
.main-menu .menu-logo-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.main-menu .menu-logo-placeholder {
  font-size: 20px;
  color: #fff;
  background: rgba(0,0,0,0.2);
}

.main-menu .menu-btn {
  color: #fff;
}

/* ========== Вторая строка навигации: без фона, кнопки грязно-оранжевые, текст белый ========== */
.demo-nav-row-wrap {
  width: 100%;
  background: transparent;
  position: sticky;
  top: 50px;
  z-index: 5;
}

.demo-nav-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 20px;
  margin: 0 auto;
  max-width: 1200px;
  box-sizing: border-box;
  border-bottom: none;
  box-shadow: none;
}

.demo-nav-row a {
  padding: 8px 16px;
  color: #fff;
  background: #b56046;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.demo-nav-row a:hover {
  background: #9f5339;
  color: #fff;
}

/* ========== Hero: full width ========== */
.page {
  max-width: none;
  width: 100%;
  box-shadow: none;
}

.demo-hero {
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}

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

.demo-hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
}

.demo-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.4);
  letter-spacing: -0.02em;
}

.demo-hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  opacity: 0.95;
  margin: 0 0 28px 0;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.4);
}

.demo-hero .demo-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #b56046;
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.demo-hero .demo-hero-btn:hover {
  background: #9f5339;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* ========== Одна колонка (Rio Brazil): блоки вплотную, без зазоров ========== */
.demo-layout--single {
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.demo-layout--single .section {
  padding: 0;
  margin-bottom: 0;
}

.demo-layout--single .section-title {
  text-align: left;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e0e0;
}

.demo-layout--single .section.services .section-body {
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
}

.demo-layout--single .demo-layout-contacts .contacts-layout {
  display: grid;
  gap: 16px;
}

.demo-layout--single .map-container {
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
}

/* Блок О нас: фон — 4-е фото галереи, по центру текст без галереи */
.rio-section.about.rio-about-bg {
  position: relative;
  background-color: #a63d48;
  background-image: var(--rio-about-bg, none);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 48px 20px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rio-section.about .rio-about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(120, 38, 48, 0.78) 50%, rgba(80, 25, 32, 0.82) 100%);
  pointer-events: none;
}
.rio-section.about .rio-about-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 0;
}
.rio-section.about .rio-about-text {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.demo-layout--single .section.services.rio-section {
  background-color: #1e4d3a;
  color: #fff;
  padding: 32px 0 0 0;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
}
.demo-layout--single .section.services .section-title {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px 8px;
}
.demo-layout--single .section.services .section-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  overflow-x: visible;
  overflow-y: visible;
}
.demo-layout--single .section.services.rio-section .section-title { color: #fff; border-bottom: none; padding-bottom: 0; }
.demo-layout--single .section.services .section-body { color: #fff; }

/* Группы меню: без отступов сверху/снизу, вместо них паддинги */
#services-container .svc-group {
  margin-top: 0;
  margin-bottom: 0;
}
/* Первая группа: прозрачный фон (виден зелёный градиент секции) */
#services-container .svc-group:nth-child(1) {
  background: transparent;
  background-color: transparent;
}
/* Группы меню: тёмно-зелёный (бразильский лес) и терракотовый, чередуются */
#services-container .svc-group:nth-child(odd) {
  background-color: #1e4d3a;
  color: #fff;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
  padding: 48px max(40px, calc(50vw - 580px)) 50px;
  border-radius: 0;
}
#services-container .svc-group:nth-child(odd) .svc-group-title { color: #fff; }
#services-container .svc-group:nth-child(even) {
  background-color: #a63d48;
  color: #fff;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
  padding: 48px max(40px, calc(50vw - 580px)) 50px;
  border-radius: 0;
}
#services-container .svc-group:nth-child(even) .svc-group-title { color: #fff; }
/* Группы 3 и 5: зелёный градиент на фоне блока, карточки — моно зелёный */
#services-container .svc-group:nth-child(3),
#services-container .svc-group:nth-child(5) {
  background: linear-gradient(160deg, #1a4332 0%, #1e4d3a 40%, #245c47 100%);
  background-color: transparent;
}
#services-container .svc-group:nth-child(3) .svc-card,
#services-container .svc-group:nth-child(5) .svc-card {
  background: #1e4d3a;
  border-color: rgba(255,255,255,0.25);
}
#services-container .svc-group:nth-child(3) .svc-card:hover,
#services-container .svc-group:nth-child(5) .svc-card:hover {
  background: #245c47;
  border-color: rgba(255,255,255,0.4);
}
/* Вторая и четвёртая группы: фиксированный фон (parallax) — фото остаётся на экране, контент прокручивается */
#services-container .svc-group:nth-child(2),
#services-container .svc-group:nth-child(4) {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
/* Группы 2 и 4: фон — фото галереи (задаётся в blade), карточки тёмно-розовые */
#services-container .svc-group:nth-child(2) .svc-card,
#services-container .svc-group:nth-child(4) .svc-card {
  background: rgba(100, 42, 55, 0.88);
  border-color: rgba(255,255,255,0.25);
}
#services-container .svc-group:nth-child(2) .svc-card:hover,
#services-container .svc-group:nth-child(4) .svc-card:hover {
  background: rgba(115, 48, 62, 0.92);
  border-color: rgba(255,255,255,0.4);
}
#services-container .svc-group-title { border-bottom: none; padding-bottom: 20px; }
#services-container .svc-group-descr,
#services-container .svc-subtitle,
#services-container .svc-subdescr { color: rgba(255,255,255,0.85); }

/* Навигация по меню (svc-menu-nav): прозрачный блок, кнопки грязно-оранжевые #b56046 */
#services-container .svc-menu-nav {
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  padding: 12px 0 10px;
  padding-left: 32px;
}
#services-container .svc-menu-nav-chip {
  background: #b56046;
  border-color: #b56046;
  color: #fff;
}
#services-container .svc-menu-nav-chip:hover {
  background: #9f5339;
  border-color: #9f5339;
  color: #fff;
}
#services-container .svc-menu-nav-chip.active {
  background: #9f5339;
  border-color: #9f5339;
  color: #fff;
}

/* Карточки блюд: прозрачный фон, бледно-белая рамка с прозрачностью */
#services-container .svc-card {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: none;
}
#services-container .svc-card:hover {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  box-shadow: none;
  transform: none;
}
#services-container .svc-card .svc-title,
#services-container .svc-card .svc-price-row .svc-price,
#services-container .svc-card .svc-price-main { color: #fff; }
#services-container .svc-card .svc-descr,
#services-container .svc-card .svc-original,
#services-container .svc-card .svc-options,
#services-container .svc-card .svc-option-line,
#services-container .svc-card .svc-price-original-inline,
#services-container .svc-card .svc-price-sep { color: rgba(255,255,255,0.85); }
#services-container .svc-card .svc-add-to-cart {
  color: #fff;
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}
#services-container .svc-card .svc-add-to-cart:hover {
  background: rgba(255,255,255,0.3);
  color: #fff;
}

/* Футер: контакты слева, график справа; без отступов по бокам */
.rio-footer {
  position: relative;
  min-height: 280px;
  background-color: #2c1810;
  background-image: var(--rio-footer-bg, none);
  background-size: cover;
  background-position: center;
  margin: 0;
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
}
.rio-footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(60,25,30,0.9) 0%, rgba(100, 38, 48, 0.88) 100%);
  pointer-events: none;
}
.rio-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 32px;
  padding: 0 20px;
  box-sizing: border-box;
}
@media (min-width: 701px) {
  .rio-footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
  }
  .rio-footer-contacts { grid-column: 1 / -1; }
  .rio-footer-map-col { grid-column: 1; grid-row: 2; }
  .rio-footer-hours { grid-column: 2; grid-row: 2; }
}
/* Футер без контактов: карта и график в одну строку на десктопе */
.rio-footer.rio-footer--map-only .rio-footer-inner {
  max-width: 1200px;
}
@media (min-width: 701px) {
  .rio-footer.rio-footer--map-only .rio-footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  .rio-footer.rio-footer--map-only .rio-footer-map-full {
    grid-column: 1;
    width: 100%;
  }
  .rio-footer.rio-footer--map-only .rio-footer-hours {
    grid-column: 2;
    grid-row: 1;
  }
}
.rio-footer-map-full {
  width: 100%;
}
.rio-footer-map-full .map-container {
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
}
.rio-footer-contacts .section-title,
.rio-footer-hours .section-title,
.rio-footer-map-col .section-title,
.rio-footer-map-full .section-title {
  color: #fff;
  border-bottom: none;
  border-bottom-color: transparent;
}
.rio-footer-hours {
  background: transparent;
}
.rio-footer .hours-block {
  background: transparent;
  padding: 15px 0;
}
.rio-footer .hours-block .hours-row {
  border-bottom-color: rgba(255,255,255,0.3);
}
.rio-footer .hours-block .hours-row span,
.rio-footer .hours-block .hours-row .muted {
  color: #fff;
}
.rio-footer .contact-label,
.rio-footer .contact-value,
.rio-footer .contact-value a,
.rio-footer .hours-row,
.rio-footer-hours .section-title,
.rio-footer-hours .hours-row,
.rio-footer-hours .muted { color: #fff; }
.rio-footer .muted { color: rgba(255,255,255,0.9); }
.rio-footer .contact-icon { background: rgba(255,255,255,0.2); color: #fff; }

/* ========== Две колонки (fallback для других тем): сайдбар + меню ========== */
.demo-layout:not(.demo-layout--single) {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 30px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 40px;
  row-gap: 8px;
  align-items: start;
  align-content: start;
}

.demo-sidebar {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.demo-main {
  grid-column: 2;
  grid-row: 1 / 3;
}

.demo-layout:not(.demo-layout--single) .demo-layout-contacts {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
}

.demo-sidebar .section {
  padding: 0;
  margin-bottom: 0;
}

.demo-sidebar .section-title {
  text-align: left;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e0e0;
}

/* График работы: на мобильных — аккордеон (свёрнут по умолчанию), на десктопе — всегда открыт (JS) */
.demo-hours-accordion {
  border: none;
  padding: 0;
  margin: 0;
}

.demo-hours-accordion-summary {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 2px solid #e0e0e0;
  cursor: pointer;
  list-style: none;
  display: block;
}

.demo-hours-accordion-summary::-webkit-details-marker,
.demo-hours-accordion-summary::marker {
  display: none;
}

.demo-hours-accordion-summary::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.demo-hours-accordion[open] .demo-hours-accordion-summary::after {
  transform: rotate(-135deg);
}

@media (min-width: 901px) {
  .demo-hours-accordion-summary {
    cursor: default;
  }
  .demo-hours-accordion-summary::after {
    display: none;
  }
}

.demo-main .section-title {
  text-align: left;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e0e0e0;
}

/* Колонка меню: не растягиваться под контент (строка навигации по группам) */
.demo-main {
  grid-column: 2;
  grid-row: 1 / 3;
  min-width: 0;
}
.demo-main .section {
  padding: 0;
  margin-bottom: 0;
}
.demo-main .section.services {
  min-width: 0;
  overflow-x: clip;
  overflow-y: visible;
}

/* Sidebar: contacts single column, compact map */
.demo-sidebar .contacts-layout {
  grid-template-columns: 1fr;
  gap: 16px;
}

.demo-sidebar .map-container {
  height: 220px;
}

/* ========== Gallery inside About block: one photo + carousel ========== */
.demo-about-gallery {
  display: none;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.demo-about-gallery-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-about-gallery-slide {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.demo-about-gallery .gallery-grid {
  display: flex;
  gap: 0;
  transition: transform 0.3s ease;
}

.demo-about-gallery .gallery-item {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  cursor: pointer;
  border-radius: 0;
}

.demo-about-gallery .gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.demo-about-gallery .gallery-nav-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-about-gallery .gallery-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .demo-about-gallery .gallery-item img {
    height: 160px;
  }
}

/* Hero Section (fallback when no image) */
.hero {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #b04a52 0%, #a63d48 100%);
  color: #fff;
  margin-bottom: 0;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #fff;
}

.hero-sub {
  font-size: 1.2rem;
  opacity: 0.9;
  margin: 0;
}

/* Section Styles */
.section {
  padding: 30px 20px;
  margin-bottom: 20px;
  
}

.section.gallery {
  padding: 0;
  margin-bottom: 20px;
  border-bottom: none;
}

.section.about {
  border-bottom: none;

}

.section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 20px;
  padding-bottom: 10px;
  text-align: center;
  /* border-bottom: 2px solid #727272; */
}

.section-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

/* Секция меню: min-width для ограничения ширины, без overflow чтобы страница скроллилась */
.demo-main .section.services .section-body {
  min-width: 0;
}

/* Contacts Layout */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* На десктопе в блоке контактов (под сайдбаром): одна колонка — телефоны сверху, карта снизу */
@media (min-width: 901px) {
  .demo-layout-contacts .contacts-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }
}

.contacts-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 12px;
  
  
  
  
}


.contact-icon {
  width: 40px;
  height: 40px;
  background: #4f4f4f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  color: #555;
  font-size: 1rem;
}

.contact-value a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value a:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* Social Media Grid */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #3498db;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #3498db;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.social-label {
  font-weight: 500;
  font-size: 1rem;
}

/* Map Section */
.map-section {
  margin-top: 0;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 300px;
}



/* Gallery Styles */
#gallery-section {
  display: none;
}

.gallery-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-nav-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn:disabled {
  background: rgba(0, 0, 0, 0.3);
  cursor: not-allowed;
  transform: translateY(-50%);
}

.gallery-nav-prev {
  left: 10px;
}

.gallery-nav-next {
  right: 10px;
}

.gallery-grid {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  max-width: 100%;
  overflow: hidden;
}

.gallery-item {
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

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

.gallery-item img {
  width: 280px;
  height: 200px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .gallery-item img {
    width: 220px;
    height: 160px;
  }
}

@media (max-width: 560px) {

  .section.services {
    padding: 0;
  }
  .gallery-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .contact-label {
    
    margin-bottom: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .gallery-nav-prev {
    left: 5px;
  }
  
  .gallery-nav-next {
    right: 5px;
  }
  
  .gallery-item img {
    width: 300px;
    height: 220px;
  }
}

/* Working Hours Styles */
.hours-section {
  margin: 20px 0;
}

.hours-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.hours-block {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:first-child {
  font-weight: 500;
  color: #333;
}

.hours-row .muted {
  color: #6c757d;
  font-size: 14px;
}

/* Map Styles */
.map-container iframe {
  border: 0;
  border-radius: 8px;
}

/* Modal Styles */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.image-modal-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.image-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-nav {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
}

.image-modal-nav button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.image-modal-counter {
  color: white;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 15px;
}

/* Responsive Design */
/* Demo: две колонки → одна; на мобильных порядок: О нас/часы → Меню → Контакты внизу */
@media (max-width: 900px) {
  .demo-layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    padding: 0;
    gap: 0;
  }

  .demo-sidebar,
  .demo-main,
  .demo-layout-contacts {
    grid-column: auto;
    grid-row: auto;
  }

  .demo-sidebar {
    position: static;
  }

  .demo-hero {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 0;
  }

  .main-menu {
    padding: 0 16px;
    min-height: 50px;
    height: 50px;
  }

  .main-menu .menu-logo-container {
    width: 36px;
    height: 36px;
  }

  .main-menu .menu-logo,
  .main-menu .menu-logo-placeholder {
    width: 36px;
    height: 36px;
  }

  .main-menu .menu-logo-placeholder {
    font-size: 18px;
  }

  .main-menu .menu-business-name {
    display: none;
  }

  .rio-section.about .rio-about-content {
    padding: 15px 0;
  }

  #services-container .svc-group:nth-child(odd),
  #services-container .svc-group:nth-child(even) {
    padding: 18px max(10px, calc(50vw - 580px)) 50px;
  }

  .rio-footer-inner {
    padding: 0;
  }

  #services-container .svc-menu-nav {
    padding-left: 10px;
  }
  #services-container .svc-menu-nav .svc-menu-nav-row {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  #services-container .svc-menu-nav::-webkit-scrollbar,
  #services-container .svc-menu-nav .svc-menu-nav-row::-webkit-scrollbar {
    display: none;
  }

  .demo-nav-row {
    padding: 6px 16px;
  }

  .demo-nav-row a {
    padding: 8px 14px;
    font-size: 15px;
  }
  
  .hero {
    padding: 40px 20px;
    margin-bottom: 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-sub {
    font-size: 1rem;
  }
  
  .section {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contacts-grid {
    gap: 6px;
    flex-direction: column;
    flex-wrap: wrap;
  }
  
  .contact-item {
    padding: 10px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-right: 10px;
  }
  
  .map-container {
    height: 250px;
  }
  
  .socials-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .social-link {
    padding: 12px;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 0;
  }

  .section.services {
    padding: 0;
  }
  
  .hero {
    padding: 30px 15px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 15px;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
  
  .contacts-layout {
    gap: 20px;
  }

  #services-container {
    padding: 0;
    
  }
  
  .contact-item {
    flex-direction: row;
    text-align: left;
    padding: 6px;
    gap: 12px;

  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 8px;
  }
  
  .map-container {
    height: 200px;
  }
  
  .social-link {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .social-icon {
    margin-right: 0;
    margin-bottom: 8px;
  }
}

/* Сделано в Listim.com: в футере Rio Brazil — белый текст */
.rio-footer .listim-credit,
.listim-credit--footer {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  text-align: center;
  grid-column: 1 / -1;
}
.rio-footer .listim-credit-line,
.listim-credit--footer .listim-credit-line {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.4);
  margin: 0 0 0.5rem 0;
}
.rio-footer .listim-credit-link,
.listim-credit--footer .listim-credit-link {
  color: #fff;
  text-decoration: none;
}
.rio-footer .listim-credit-link:hover,
.listim-credit--footer .listim-credit-link:hover {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

/* Сделано в Listim.com (вне футера, для других тем) */
.listim-credit {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
}
.listim-credit-line {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 0.75rem 0;
}
.listim-credit-link {
  color: #6b7280;
  text-decoration: none;
}
.listim-credit-link:hover {
  color: #4b5563;
  text-decoration: none;
}