/* Современный стиль для Музея Урала */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
    min-height: 100vh;
}

/* Современная шапка */
.modern-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 140, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    gap: 2rem;
}

/* Брендинг */
.header-brand {
    flex-shrink: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.02);
}

/* --- Адаптивное лого --- */
.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    margin-right: 1.2rem;
    width: auto;
    height: auto;
    overflow: visible;
    box-shadow: none;
    border: none;
}
.brand-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100px;
    object-fit: unset;
    display: block;
}
.brand-link:hover .brand-logo img {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .brand-logo {
        width: 60px;
        height: 60px;
    }
}
@media (max-width: 480px) {
    .brand-logo {
        width: 50px;
        height: 50px;
    }
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.brand-title {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* Навигация */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
}

.nav-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    transform: scale(1.2);
}

.nav-text {
    font-weight: 600;
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 140, 0, 0.1);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Адаптивность для шапки */
@media (max-width: 1024px) {
    .nav-text {
        display: none;
    }
    
    .nav-link {
        padding: 0.75rem;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    
    .nav-icon {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
        gap: 1rem;
    }
    
    .brand-title {
        font-size: 1.5rem;
    }
    
    .brand-subtitle {
        font-size: 0.8rem;
    }
    
    .brand-logo {
        width: 60px;
        height: 60px;
    }
    
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100vw;
        background: #fff;
        box-shadow: 0 8px 32px rgba(0,0,0,0.08);
        flex-direction: column;
        z-index: 1001;
        border-radius: 0 0 18px 18px;
        padding: 1.2rem 0 1.2rem 0;
        animation: mobileMenuSlideIn 0.3s;
    }
    .header-nav.open {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
        padding: 0 1.2rem;
    }
    .nav-link {
        width: 100%;
        border-radius: 10px;
        padding: 1rem 1.2rem;
        font-size: 1.1rem;
        color: #333;
        background: none;
        box-shadow: none;
        justify-content: flex-start;
    }
    .nav-link.active, .nav-link:hover {
        background: linear-gradient(135deg, #ff8c00, #ec621f);
        color: #fff;
        box-shadow: 0 4px 16px rgba(255,140,0,0.13);
    }
    .mobile-menu-toggle {
        display: flex;
        z-index: 1100;
    }
    
    .about-main-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .slider {
        height: 300px;
    }
    
    .slider-caption {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .slider-title {
        font-size: 1.4rem;
    }
    
    .services-section h3,
    .gallery-block h2,
    .souvenir-block h2,
    .videos-section h2 {
        font-size: 2rem;
    }
    
    main {
        padding: 1rem;
    }
}
@keyframes mobileMenuSlideIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem 1rem;
    }
    
    .brand-title {
        font-size: 1.3rem;
    }
    
    .brand-logo {
        width: 50px;
        height: 50px;
    }
    
    .brand-subtitle {
        font-size: 0.75rem;
    }
    
    .slider {
        height: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .services,
    .souvenir-list,
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

/* Основной контент */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Современный слайдер */
.slider-section {
    margin: 3rem 0;
}

.slider {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #fff7ed, #ffe4b3);
}

.slider a {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    cursor: pointer;
}

.slider a:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.slider a.active {
    opacity: 1;
    z-index: 2;
}

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

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-caption:hover {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.slider-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.slider-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    max-width: 600px;
}

.slider-description-short {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.slider-more-btn {
    background: rgba(255, 140, 0, 0.9);
    color: white;
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.slider-more-btn:hover {
    background: rgba(255, 140, 0, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.slider-caption:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5));
    backdrop-filter: blur(4px);
}

/* Кнопки навигации слайдера */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.slider-nav-btn i {
    color: #ff8c00;
    font-size: 1.2rem;
    font-weight: bold;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Точки навигации слайдера */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.slider-dot.active {
    background: #ff8c00;
    border-color: #ff8c00;
    transform: scale(1.3);
}

/* Адаптивность для кнопок навигации */
@media (max-width: 768px) {
    .slider-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav-btn i {
        font-size: 1rem;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 15px;
        gap: 8px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-caption {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .slider-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .slider-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-nav-btn i {
        font-size: 0.9rem;
    }
    
    .slider-prev {
        left: 5px;
    }
    
    .slider-next {
        right: 5px;
    }
    
    .slider-dots {
        bottom: 10px;
        gap: 6px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-caption {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .slider-title {
        font-size: 1.4rem;
    }
}

/* О нас секция */
.about-main {
    margin: 4rem 0;
}

.about-main-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-main-row.reverse {
    direction: rtl;
}

.about-main-row.reverse > * {
    direction: ltr;
}

.about-main-row.reverse .about-main-text {
    text-align: right;
}

.about-main-row.reverse .about-main-img {
    order: 1;
}

.about-main-row.reverse .about-main-text {
    order: 2;
}

.about-main-row.reverse .about-main-maps-block {
    order: 3;
}

.about-main-row.reverse .about-main-map {
    order: 4;
}

.about-main-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.about-main-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-main-img {
    flex: 1 1 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-main-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.about-main-maps-block {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    padding: 0 10px;
}

.about-main-maps {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
}

.about-main-maps iframe {
    border-radius: 10px;
    border: 2px solid #ec621f;
    background: #fff;
}

.about-main-map {
    flex: 1 1 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-main-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    border: 3px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Услуги */
.services-section {
    margin: 4rem 0;
    text-align: center;
}

.services-section h3 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
}

/* --- Центрирование карточек услуг, если их 1 или 2 --- */
.services-section .services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
}
@media (min-width: 700px) {
  .services-section .services:has(> .service-card-modern-fixed:nth-child(3)) {
    justify-content: start;
  }
  .services-section .services:has(> .service-card-modern-fixed:nth-child(3) ~ .service-card-modern-fixed) {
    justify-content: start;
  }
}
@media (max-width: 700px) {
  .services-section .services {
    justify-content: center;
    grid-template-columns: 1fr;
  }
}
/* --- Конец центрирования карточек услуг --- */

.service-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 140, 0, 0.1);
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 140, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(255, 140, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background: #fff7ed;
    border-radius: 8px;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.service-price {
    font-weight: 700;
    color: #ff8c00;
    font-size: 1.1rem;
}

.service-duration {
    color: #666;
    font-size: 0.9rem;
}

.service-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.service-actions .btn {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.service-actions .btn-primary {
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    color: white;
}

.service-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
}

.service-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.service-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Галерея */
.gallery-block {
    margin: 4rem 0;
}

.gallery-block h2 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
}

/* Сувениры */
.souvenir-block {
    margin: 4rem 0;
}

.souvenir-block h2 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
}

.souvenir-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.souvenir-card {
    background: white;
    border-radius: 28px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.13), 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
    text-align: center;
    border: 0;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.souvenir-card::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 32px;
    z-index: 0;
    background: linear-gradient(135deg, #ff8c00, #ec621f 80%);
    opacity: 0.13;
    pointer-events: none;
}

.souvenir-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 24px 60px rgba(255, 140, 0, 0.18), 0 4px 16px rgba(0,0,0,0.07);
}

.souvenir-card img {
    width: 90%;
    max-width: 220px;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 24px rgba(255, 140, 0, 0.10);
    border: 3px solid #fff7ed;
    position: relative;
    z-index: 1;
}

.souvenir-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

.souvenir-card p {
    color: #666;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.souvenir-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff8c00;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.souvenir-card .buy-btn {
    display: inline-block;
    margin-top: auto;
    padding: 0.7rem 2.2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    border: none;
    border-radius: 24px;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.13);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    position: relative;
    z-index: 1;
}

.souvenir-card .buy-btn:hover {
    background: linear-gradient(135deg, #ec621f, #ff8c00);
    transform: translateY(-2px) scale(1.04);
}

/* Видео */
.videos-section {
    margin: 4rem 0;
}

.videos-section h2 {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.videos-desc {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.15);
}

.video-preview {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
}

.video-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 1.5rem 0.5rem;
    color: #1a1a1a;
}

.video-card p {
    color: #666;
    margin: 0 1.5rem 1rem;
    line-height: 1.5;
}

.video-duration {
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
}

/* Новый информативный подвал */
.site-footer {
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    color: #fff;
    padding: 0;
    margin-top: 4rem;
    font-weight: 500;
    font-size: 1rem;
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem 2rem;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem 2rem;
}
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.footer-logo img {
    width: 200px;
    height: 90px;
    
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    background: #fff;
}
.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0.2rem;
}
.footer-address, .footer-hours {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5em;
    opacity: 0.95;
}
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}
.footer-contacts a {
    color: #fff;
    text-decoration: underline dotted;
    transition: color 0.2s;
}
.footer-contacts a:hover {
    color: #ffe4b3;
}
.footer-menu-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
.footer-menu a {
    color: #fff;
    text-decoration: none;
    opacity: 0.93;
    transition: color 0.2s;
}
.footer-menu a:hover {
    color: #ffe4b3;
}
.footer-socials {
    display: flex;
    gap: 1.1em;
    margin-top: 0.5em;
}
.footer-social {
    color: #fff;
    font-size: 1.7rem;
    transition: color 0.2s, transform 0.2s;
}
.footer-social:hover {
    color: #ffe4b3;
    transform: scale(1.15);
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.07);
    padding: 1.1rem 0;
    text-align: center;
    font-size: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    margin-top: 2rem;
}
.footer-col i {
    margin-right: 0.5em;
    opacity: 0.85;
}
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        padding: 2rem 1rem 1.2rem 1rem;
    }
    .footer-col {
        gap: 0.7rem;
    }
}
@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
        padding: 1.2rem 0.5rem 0.7rem 0.5rem;
    }
    .footer-logo img {
        width: 44px;
        height: 44px;
    }
    .footer-title {
        font-size: 1rem;
    }
    .footer-menu-title {
        font-size: 1rem;
    }
    .footer-social {
        font-size: 1.3rem;
    }
    .footer-bottom {
        font-size: 0.95rem;
    }
}

/* Современный стиль для страницы экскурсии */
.service-detail-section {
    max-width: 480px;
    margin: 3rem auto 0 auto;
    padding: 2.5rem 2rem 2rem 2rem;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.13), 0 2px 8px rgba(0,0,0,0.04);
    border: 0;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-detail-section::before {
    content: '';
    position: absolute;
    top: -6px; left: -6px; right: -6px; bottom: -6px;
    border-radius: 36px;
    z-index: 0;
    background: linear-gradient(135deg, #ff8c00, #ec621f 80%);
    opacity: 0.13;
    pointer-events: none;
}
.service-detail-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.service-desc {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.service-dates-block {
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.service-dates-label, .service-times-label {
    font-weight: 600;
    color: #ff8c00;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}
.service-dates-list, .service-times-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
}
.service-date-btn, .service-time-btn {
    background: #fff7ed;
    border: 2px solid #ff8c00;
    color: #ec621f;
    border-radius: 18px;
    padding: 0.7rem 1.4rem;
    font-size: 1.08rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.07);
    outline: none;
}
.service-date-btn.active, .service-date-btn:hover, .service-time-btn:hover {
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    color: #fff;
    border-color: #ec621f;
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 600px) {
    .service-detail-section {
        padding: 1.2rem 0.5rem 1.5rem 0.5rem;
        border-radius: 18px;
    }
    .service-detail-section::before {
        border-radius: 22px;
    }
    .service-detail-section h2 {
        font-size: 1.3rem;
    }
    .service-date-btn, .service-time-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.95rem;
    }
}

/* Корзина - новая структура */
.cart-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cart-services-section,
.cart-form-section {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.13), 0 2px 8px rgba(0,0,0,0.04);
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.cart-services-section::before,
.cart-form-section::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 28px;
    z-index: 0;
    background: linear-gradient(135deg, #ff8c00, #ec621f 80%);
    opacity: 0.13;
    pointer-events: none;
}

.cart-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.cart-services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cart-service-item {
    display: flex;
    align-items: flex-start;
    background: #fff7ed;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.08);
    padding: 1.2rem;
    gap: 1rem;
    position: relative;
    border: 1px solid rgba(255, 140, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.15);
}

.cart-service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-service-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
}

.cart-service-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cart-service-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.cart-service-date,
.cart-service-time,
.cart-service-duration {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #ff8c00;
    font-weight: 600;
    background: rgba(255, 140, 0, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
}

.cart-service-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ff8c00;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
}

.cart-service-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cart-service-remove {
    background: none;
    border: none;
    color: #ec621f;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 0.5rem;
    border-radius: 8px;
}

.cart-service-remove:hover {
    color: #ff8c00;
    transform: scale(1.1);
    background: rgba(255, 140, 0, 0.1);
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.cart-empty p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cart-empty .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cart-empty .btn:hover {
    background: linear-gradient(135deg, #ec621f, #ff8c00);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid rgba(255, 140, 0, 0.1);
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.cart-total-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.cart-total-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff8c00;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-control {
    padding: 0.8rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-control::placeholder {
    color: #999;
}

.form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: #ff8c00;
}

.checkbox-label a {
    color: #ff8c00;
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: #ec621f;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.cart-checkout-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ec621f, #ff8c00);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

.cart-checkout-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Адаптивность для корзины */
@media (max-width: 900px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .cart-services-section,
    .cart-form-section {
        padding: 1.5rem;
    }
    
    .cart-service-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cart-service-date,
    .cart-service-time,
    .cart-service-duration {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .cart-container {
        padding: 0.5rem;
    }
    
    .cart-services-section,
    .cart-form-section {
        padding: 1rem;
        border-radius: 16px;
    }
    
    .cart-title {
        font-size: 1.5rem;
    }
    
    .cart-service-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cart-service-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

/* --- Модальное окно для слайдера: текст слева, картинка справа --- */
.slider-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; right: 0; bottom: 0;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.6);
    transition: opacity 0.3s;
}
.slider-modal.open {
    display: flex;
}
.slider-modal-backdrop {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.slider-modal-content {
    position: relative;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    padding: 2rem 2rem 1.5rem;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}
.slider-modal-content.row-modal {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    min-width: 320px;
}
.slider-modal-text {
    flex: 0 0 40%;
    padding: 2.5rem 2rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff7ed;
    border-radius: 18px 0 0 18px;
    min-width: 220px;
    max-width: 400px;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}
.slider-modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #ff8c00;
}
.slider-modal-desc {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
}
.slider-modal-img {
    flex: 1 1 60%;
    max-width: 60vw;
    max-height: 80vh;
    border-radius: 0 18px 18px 0;
    object-fit: contain;
    background: #fff;
    margin: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    display: block;
}
.slider-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #ff8c00;
    cursor: pointer;
    z-index: 2;
    line-height: 1;
    transition: color 0.2s;
}
.slider-modal-close:hover {
    color: #ec621f;
}
@media (max-width: 900px) {
    .slider-modal-content.row-modal {
        flex-direction: column;
        align-items: center;
        min-width: 0;
    }
    .slider-modal-text {
        border-radius: 18px 18px 0 0;
        padding: 1.5rem 1rem 1rem 1.5rem;
        max-width: 100vw;
        min-width: 0;
    }
    .slider-modal-img {
        border-radius: 0 0 18px 18px;
        max-width: 95vw;
        max-height: 40vh;
    }
}

.form-errors {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    position: relative;
    z-index: 1;
}

.error-icon {
    color: #dc3545;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.error-list {
    flex: 1;
}

.error-item {
    color: #721c24;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

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

/* Стили для страницы экскурсий */
.service-info {
    background: #fff7ed;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.service-price,
.service-duration,
.service-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.service-price strong,
.service-duration strong,
.service-group strong {
    color: #ff8c00;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-date-btn,
.service-time-btn {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0.3rem;
}

.service-date-btn:hover,
.service-time-btn:hover {
    border-color: #ff8c00;
    background: #fff7ed;
    transform: translateY(-2px);
}

.service-date-btn.selected,
.service-time-btn.selected {
    border-color: #ff8c00;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    color: white;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
}

.service-booking-block {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border: 2px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.1);
}

.selected-service-info {
    margin-bottom: 1.5rem;
}

.selected-service-details {
    display: grid;
    gap: 0.5rem;
    color: #333;
    line-height: 1.5;
}

.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.2);
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #ec621f, #ff8c00);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* Адаптивность для страницы экскурсий */
@media (max-width: 768px) {
    .service-info {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .service-date-btn,
    .service-time-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        margin: 0.2rem;
    }
    
    .service-booking-block {
        padding: 1rem;
    }
    
    .add-to-cart-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 1.5rem;
}

.service-info-modal {
    background: #fff7ed;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.service-info-modal p {
    margin: 0.5rem 0;
    color: #333;
    line-height: 1.5;
}

.service-info-modal strong {
    color: #ff8c00;
}

.date-time-selection {
    margin-bottom: 1.5rem;
}

.date-time-selection .form-group {
    margin-bottom: 1rem;
}

.date-time-selection label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.date-time-selection .form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.date-time-selection .form-control:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    min-width: 120px;
}

/* Уведомления */
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.3);
    z-index: 1001;
    animation: notificationSlideIn 0.3s ease;
    max-width: 400px;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.notification-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-content span {
    flex: 1;
    font-weight: 600;
}

.notification-content button {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.notification-content button:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Адаптивность для страницы услуг */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .service-actions .btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
    
    .success-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .service-card img {
        height: 150px;
    }
    
    .service-card h4 {
        font-size: 1.1rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
}

/* Контактная информация на странице услуг */
.service-contacts {
    background: #fff7ed;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 140, 0, 0.2);
}

.service-contacts h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #666;
}

.contact-info i {
    color: #ff8c00;
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #ec621f;
    text-decoration: underline;
}

/* Блок обратной связи */
.feedback-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin-top: 3rem;
}

.feedback-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feedback-content {
    text-align: center;
}

.feedback-content h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feedback-content > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feedback-method {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.feedback-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.feedback-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feedback-info h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feedback-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.feedback-info p a {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 600;
}

.feedback-info p a:hover {
    text-decoration: underline;
}

.feedback-time {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.feedback-form-block {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
}

.feedback-form-block h4 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feedback-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feedback-form .form-group {
    display: flex;
    flex-direction: column;
}

.feedback-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    background: #f9fafb;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
    border-color: #ff8c00;
    background: #fff;
    box-shadow: 0 0 0 2px #ff8c0033;
}

.feedback-form textarea {
    min-height: 140px;
    resize: vertical;
}

.feedback-form button {
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    color: #fff;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(255,140,0,0.12);
    margin-top: 1.2rem;
}

.feedback-form button:hover {
    background: linear-gradient(135deg, #ec621f, #ff8c00);
    box-shadow: 0 8px 32px rgba(255,140,0,0.18);
    transform: translateY(-2px) scale(1.03);
}

.feedback-form label {
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
    color: #bbb;
    opacity: 1;
}

@media (max-width: 600px) {
    .feedback-form-block {
        padding: 1.2rem 0.5rem;
    }
    .feedback-form button {
        font-size: 1rem;
        padding: 1rem 1.2rem;
    }
}

/* Стили для ошибок (если будут) */
.feedback-form .form-error {
    color: #d32f2f;
    font-size: 0.98rem;
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
}

/* Стили для блоков информации о музее */
.visit-info-section,
.museum-info-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.visit-info-container,
.museum-info-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.visit-info-block,
.museum-info-block {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visit-info-block:hover,
.museum-info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.visit-info-block h3,
.museum-info-block h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.visit-info-block h3 i,
.museum-info-block h3 i {
    color: #ff8c00;
    font-size: 1.8rem;
}

.info-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.info-content p strong {
    color: #333;
    font-weight: 600;
}

.info-content a {
    color: #ff8c00;
    text-decoration: none;
    font-weight: 600;
}

.info-content a:hover {
    text-decoration: underline;
}

.ticket-prices {
    margin-bottom: 1.5rem;
}

.ticket-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.ticket-type:last-child {
    border-bottom: none;
}

.ticket-name {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.ticket-price {
    font-size: 1.1rem;
    color: #ff8c00;
    font-weight: 600;
}

.free-tickets {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #28a745;
}

.free-tickets p {
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #28a745;
}

.free-tickets ul {
    margin: 0;
    padding-left: 1.5rem;
}

.free-tickets li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0.3rem;
}

.museum-history-section {
    padding: 4rem 0;
    background: white;
}

.history-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.history-container h3 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.history-container p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Адаптивность для блоков информации */
@media (max-width: 768px) {
    .visit-info-section,
    .museum-info-section {
        padding: 2rem 0;
    }
    
    .visit-info-container,
    .museum-info-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .visit-info-block,
    .museum-info-block {
        padding: 2rem 1.5rem;
    }
    
    .visit-info-block h3,
    .museum-info-block h3 {
        font-size: 1.3rem;
    }
    
    .history-container {
        padding: 0 1rem;
    }
    
    .history-container h3 {
        font-size: 1.8rem;
    }
    
    .history-container p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .visit-info-block,
    .museum-info-block {
        padding: 1.5rem 1rem;
    }
    
    .visit-info-block h3,
    .museum-info-block h3 {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .ticket-type {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .free-tickets {
        padding: 1rem;
    }
    
    .history-container h3 {
        font-size: 1.6rem;
    }
}

/* Улучшенные стили для галереи */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.gallery-item-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-item-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Модальное окно для просмотра изображений */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.image-modal-close:hover {
    background: rgba(0,0,0,0.8);
}

#modalImage {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.image-modal-info {
    padding: 1.5rem;
    background: white;
}

.image-modal-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.image-modal-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Адаптивность для галереи */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .gallery-item-overlay {
        padding: 1rem 0.8rem 0.8rem;
    }
    
    .gallery-item-overlay h4 {
        font-size: 1rem;
    }
    
    .gallery-item-overlay p {
        font-size: 0.85rem;
    }
    
    .image-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .image-modal-info {
        padding: 1rem;
    }
    
    .image-modal-info h3 {
        font-size: 1.3rem;
    }
    
    .image-modal-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .gallery-item-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.9));
    }
    
    .image-modal-close {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* --- Service Card Modern --- */
.service-card-modern {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-bottom: 32px;
  overflow: hidden;
  transition: box-shadow 0.2s;
  align-items: stretch;
}
.service-card-modern:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
}
.service-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 0 0 0 0;
  flex-shrink: 0;
}
.service-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-desc {
  color: #444;
  margin-bottom: 12px;
}
.service-details {
  margin-bottom: 16px;
}
.service-details > div {
  margin-bottom: 6px;
  font-size: 1rem;
}
.service-price {
  color: #1a8917;
  font-weight: 500;
}
.service-duration, .service-date, .service-max-guests {
  color: #555;
}
.service-payment {
  color: #007bff;
  font-size: 0.98rem;
  margin-top: 8px;
}
.service-actions {
  margin-top: 12px;
}
@media (max-width: 700px) {
  .service-card-modern {
    flex-direction: column;
    align-items: flex-start;
  }
  .service-img {
    width: 100%;
    height: 180px;
    border-radius: 12px 12px 0 0;
  }
  .service-content {
    padding: 16px;
  }
}

.service-img-placeholder {
  width: 180px;
  height: 180px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 3rem;
  flex-shrink: 0;
  border-radius: 0 0 0 0;
}
.service-price-block {
  background: #fff7ed;
  border: 1px solid #ffe0b2;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.1rem;
  font-weight: 500;
}
.service-price-label {
  color: #ff8c00;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.service-price-value {
  color: #1a8917;
  font-weight: 600;
  font-size: 1.15rem;
}

.service-card-modern-fixed {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  margin-bottom: 32px;
  overflow: hidden;
  align-items: stretch;
  min-height: unset;
  max-width: 340px;
  width: 100%;
}
.service-img-fixed {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}
.service-img-placeholder-fixed {
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 3rem;
}
.service-content-fixed {
  padding: 20px 18px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-title-fixed {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-desc-fixed {
  color: #444;
  margin-bottom: 12px;
}
.service-price-block-fixed {
  background: #fff7ed;
  border: 1px solid #ffe0b2;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.05rem;
  font-weight: 500;
}
.service-price-label-fixed {
  color: #ff8c00;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.service-price-value-fixed {
  color: #1a8917;
  font-weight: 600;
  font-size: 1.1rem;
}
.service-actions-fixed {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 700px) {
  .service-card-modern-fixed {
    max-width: 100%;
  }
  .service-img-fixed, .service-img-placeholder-fixed {
    height: 160px;
  }
  .service-content-fixed {
    padding: 14px 10px 12px 10px;
  }
}

/* --- Стили для выпадающего меню (если потребуется) --- */
.nav-item.dropdown { position: relative; }
.nav-item .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    border-radius: 0 0 12px 12px;
    z-index: 1002;
    overflow: hidden;
}
.nav-item:hover .dropdown-content,
.nav-item:focus-within .dropdown-content {
    display: block;
}
.dropdown-content a {
    display: block;
    padding: 0.9rem 1.2rem;
    color: #333;
    text-decoration: none;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}
.dropdown-content a:hover {
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    color: #fff;
}

/* --- Адаптивность для главной страницы (index.php) --- */
@media (max-width: 900px) {
    .slider {
        height: 320px;
    }
    .about-main-row {
        gap: 2rem;
    }
}
@media (max-width: 700px) {
    .slider {
        height: 200px;
    }
    .about-main {
        margin: 2rem 0;
    }
    .about-main-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 2rem;
    }
    .about-main-map {
        margin-top: 1rem;
        min-width: 0;
    }
    .about-main-text h3 {
        font-size: 1.3rem;
        margin-bottom: 0.7rem;
    }
    .about-main-text p {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .slider {
        height: 120px;
        border-radius: 10px;
    }
    .about-main-row {
        gap: 0.7rem;
        margin-bottom: 1.2rem;
    }
    .about-main-map img {
        border-radius: 7px;
        max-width: 100%;
        height: auto;
    }
    .about-main-text h3 {
        font-size: 1.05rem;
    }
    .about-main-text p {
        font-size: 0.95rem;
    }
}
/* --- Конец адаптивности для index.php --- */

/* Показывать dropdown-меню при .dropdown-open (для мобильных) */
.nav-item.dropdown.dropdown-open .dropdown-content {
    display: block;
}

/* --- Автослайдер для блока "О нас" на главной --- */
.about-gallery-slider {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff7ed;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    margin: 0 auto;
}
.about-gallery-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1);
    z-index: 1;
    border-radius: 12px;
}
.about-gallery-slide.active {
    opacity: 1;
    z-index: 2;
}
@media (max-width: 900px) {
    .about-gallery-slider { height: 300px; }
}
@media (max-width: 700px) {
    .about-gallery-slider { height: 220px; }
}
@media (max-width: 480px) {
    .about-gallery-slider { height: 150px; }
    .about-gallery-slide { border-radius: 7px; }
}

/* Кнопка "Подробнее" в about-main-text */
.about-main-more-btn {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff8c00;
    background: transparent;
    border: 2px solid #ff8c00;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(255,140,0,0.08);
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s, transform 0.15s, color 0.25s, border-color 0.25s;
    outline: none;
    letter-spacing: 0.5px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #ff8c00 0%, #ec621f 100%);
}
.about-main-more-btn:hover, .about-main-more-btn:focus {
    color: #ec621f;
    border-color: #ec621f;
    background-image: linear-gradient(90deg, #ec621f 0%, #ff8c00 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    box-shadow: 0 4px 24px rgba(255,140,0,0.15);
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 700px) {
    .about-main-more-btn {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
}

/* Заголовок директора во втором блоке */
.director-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}
.small-subtitle {
    display: block;
    font-size: 1.18rem;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
    margin-top: -0.2rem;
    font-weight: 400;
    letter-spacing: 0.1px;
    background: linear-gradient(135deg, #ff8c00, #ec621f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@media (max-width: 700px) {
    .director-title { font-size: 1.5rem; }
    .small-subtitle { font-size: 1.05rem; }
}

.about-main-more-btn-2 {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff8c00;
    background: transparent;
    border: 2px solid #ff8c00;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(255,140,0,0.08);
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s, transform 0.15s, color 0.25s, border-color 0.25s;
    outline: none;
    letter-spacing: 0.5px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #ff8c00 0%, #ec621f 100%);
}
.about-main-more-btn-2:hover, .about-main-more-btn-2:focus {
    color: #ec621f;
    border-color: #ec621f;
    background-image: linear-gradient(90deg, #ec621f 0%, #ff8c00 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    box-shadow: 0 4px 24px rgba(255,140,0,0.15);
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 700px) {
    .about-main-more-btn-2 {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
}

/* Кнопка "Подробнее" для третьего блока */
.about-main-more-btn-3 {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff8c00;
    background: transparent;
    border: 2px solid #ff8c00;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(255,140,0,0.08);
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s, transform 0.15s, color 0.25s, border-color 0.25s;
    outline: none;
    letter-spacing: 0.5px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #ff8c00 0%, #ec621f 100%);
}
.about-main-more-btn-3:hover, .about-main-more-btn-3:focus {
    color: #ec621f;
    border-color: #ec621f;
    background-image: linear-gradient(90deg, #ec621f 0%, #ff8c00 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    box-shadow: 0 4px 24px rgba(255,140,0,0.15);
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 700px) {
    .about-main-more-btn-3 {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 400px) {
    .header-container {
        padding: 0.4rem 0.3rem;
        gap: 0.4rem;
    }
    .brand-logo {
        width: 38px;
        height: 38px;
        margin-right: 0.5rem;
    }
    .brand-logo img {
        max-height: 38px;
    }
    .brand-title {
        font-size: 1.05rem;
    }
    .brand-subtitle {
        font-size: 0.65rem;
    }
    .mobile-menu-toggle span {
        width: 18px;
        height: 2px;
    }
    .header-nav.open {
        padding: 0.7rem 0 0.7rem 0;
    }
    .nav-link {
        font-size: 0.95rem;
        padding: 0.7rem 0.7rem;
    }
}
@media (max-width: 350px) {
    .header-container {
        padding: 0.2rem 0.1rem;
        gap: 0.2rem;
    }
    .brand-logo {
        width: 30px;
        height: 30px;
        margin-right: 0.3rem;
    }
    .brand-logo img {
        max-height: 30px;
    }
    .brand-title {
        font-size: 0.85rem;
    }
    .brand-subtitle {
        font-size: 0.5rem;
    }
    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.5rem;
    }
}

/* --- Адаптивность для блока карты и инфоблока на странице услуг --- */
.services-top-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.services-map-block {
  min-width: 280px;
  max-width: 560px;
  flex: 1 1 400px;
}
.services-info-block {
  background: #fff7ed;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #ffe0b2;
  min-width: 320px;
  flex: 1 1 320px;
}
#map_564456967 {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
@media (max-width: 900px) {
  .services-top-flex {
    flex-direction: column;
    gap: 1.2rem;
  }
  .services-map-block,
  .services-info-block {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }
  #map_564456967 {
    height: 250px;
  }
}
@media (max-width: 700px) {
  .services-map-block,
  .services-info-block {
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }
  #map_564456967 {
    height: 180px;
  }
}
/* --- Конец адаптивности для блока карты и инфоблока --- */

/* --- Адаптивность для блока обратной связи --- */
@media (max-width: 900px) {
  .feedback-section {
    padding: 2rem 0;
  }
  .feedback-methods {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .feedback-form-block {
    padding: 1.5rem 0.7rem;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .feedback-section {
    padding: 1.2rem 0;
  }
  .feedback-container {
    padding: 0 0.3rem;
  }
  .feedback-content h3 {
    font-size: 1.5rem;
  }
  .feedback-form-block {
    padding: 1rem 0.2rem;
    border-radius: 12px;
  }
  .feedback-form .form-row {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .feedback-form input,
  .feedback-form select,
  .feedback-form textarea {
    font-size: 1rem;
    padding: 0.8rem;
  }
  .feedback-form button {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
}
@media (max-width: 480px) {
  .feedback-content h3 {
    font-size: 1.1rem;
  }
  .feedback-form-block {
    padding: 0.5rem 0.1rem;
  }
  .feedback-form input,
  .feedback-form select,
  .feedback-form textarea {
    font-size: 0.95rem;
    padding: 0.6rem;
  }
  .feedback-form button {
    font-size: 0.95rem;
    padding: 0.7rem 0.7rem;
  }
}
/* --- Конец адаптивности для блока обратной связи --- */
