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

:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #d4af37;
    --accent-color-dark: #b8941f;
    --accent-color-light: #f4e4a6;
    --text-dark: #000000;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --border-color: #333333;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 4px 20px rgba(212, 175, 55, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-image: url('../images/bj.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
}

/* Улучшение читаемости текста на фоне */
h1, h2, h3, h4, h5, h6 {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.6);
}

p {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--primary-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
    transition: var(--transition);
    animation: fadeIn 0.5s ease-out;
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.header-phone {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.header-phone:hover {
    opacity: 0.9;
}

.header-time {
    font-size: 14px;
    opacity: 0.9;
    white-space: nowrap;
}

.header-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--white);
    opacity: 0.9;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.social-link:hover {
    opacity: 1;
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* Стили для иконки ВКонтакте в шапке - синий цвет с улучшенным дизайном */
.header-social .social-link.vk-link {
    background: linear-gradient(135deg, #4C75A3 0%, #5B88B8 100%);
    border-radius: 8px;
    padding: 10px 16px;
    transition: var(--transition);
    min-width: auto;
    width: auto;
    height: auto;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(76, 117, 163, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


.vk-link-text {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.header-social .social-link.vk-link:hover {
    background: linear-gradient(135deg, #5B88B8 0%, #6B9AC8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 117, 163, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}


.header-social .social-link.vk-link:hover .vk-link-text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 15px 0;
    background: transparent;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .logo-image {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
}

.logo-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: var(--accent-color);
    flex-shrink: 0;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

.logo:hover .logo-icon {
    transform: translateY(-2px) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.5));
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:not(.btn-order)::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a:not(.btn-order):hover::before,
.nav-menu a:not(.btn-order).active::before {
    width: 100%;
}

.nav-menu a:not(.btn-order):hover,
.nav-menu a:not(.btn-order).active {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-menu a:not(.btn-order).active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
    width: 100%;
}

.btn-order {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    color: #000000 !important;
    padding: 12px 24px !important;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-shadow: none !important;
    position: relative;
    overflow: hidden;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-order::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
    pointer-events: none;
}

.btn-order span {
    position: relative;
    z-index: 1;
}

.btn-order {
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.btn-order:hover::before {
    width: 300px;
    height: 300px;
}

.btn-order:hover {
    background: linear-gradient(135deg, #8b6914 0%, #5a4509 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.btn-order:active {
    transform: translateY(0);
}

.nav-menu .btn-order {
    margin-left: 10px;
    pointer-events: auto;
    cursor: pointer;
}

.nav-menu li {
    list-style: none;
}

.nav-menu li a.btn-order {
    pointer-events: auto;
    cursor: pointer;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle {
    color: var(--white);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.1) 0%, rgba(60, 60, 60, 0.1) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--accent-color);
    animation: fadeIn 0.8s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    animation: fadeIn 1s ease-out;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-slogan {
    margin: 20px 0 25px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.slogan-text {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.4), 0 0 90px rgba(255, 215, 0, 0.2);
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.5));
    animation: goldGlow 3s ease-in-out infinite;
}

@keyframes goldGlow {
    0%, 100% {
        filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.5)) brightness(1);
    }
    50% {
        filter: drop-shadow(0 2px 20px rgba(255, 215, 0, 0.8)) brightness(1.1);
    }
}

.footer-slogan {
    text-align: center;
    margin: 30px 0 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-slogan-text {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.4));
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 1;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    color: #000000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    text-shadow: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #8b6914 0%, #5a4509 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-dark);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dark);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    position: relative;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.service-card p {
    color: var(--text-dark);
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.service-price {
    display: none !important;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--accent-color);
}

/* Features */
/* Features - no background to let the image show through */

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

.feature-item {
    text-align: center;
    padding: 30px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
    display: inline-block;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 4px 15px rgba(212, 175, 55, 0.6);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.feature-item p {
    color: var(--text-dark);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* Catalog */
.catalog-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 200px;
    height: 200px;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    color: var(--primary-color);
    border-color: var(--accent-color);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.catalog-item {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
    border: 2px solid var(--border-color);
    opacity: 1;
    transform: scale(1);
}

.catalog-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.catalog-item.catalog-item-hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    display: none;
}

.catalog-image {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.catalog-image svg {
    width: 100%;
    height: 100%;
    max-width: 120px;
    max-height: 120px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.catalog-item:hover .catalog-image {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--accent-color-light) 100%);
    transform: scale(1.05);
}

.catalog-item:hover .catalog-image svg {
    transform: translateY(-5px);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.catalog-content {
    padding: 20px;
}

.catalog-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.catalog-item p {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.catalog-price {
    display: none !important;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

/* Form */
/* Form section - no background to let the image show through */

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 14px;
}

.form-error-message {
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    animation: fadeInUp 0.5s ease-out;
}

/* Loading button state */
.btn:disabled,
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0 20px;
    border-top: 3px solid var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
}

.footer-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-text {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-contact {
    margin-bottom: 15px;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s;
}

.footer-contact a:hover {
    opacity: 1;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.footer-social .social-link:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px) scale(1.1);
}

/* Стили для иконки ВКонтакте - синий цвет */
.social-link.vk-link svg {
    fill: #4C75A3;
    transition: var(--transition);
}

.social-link.vk-link:hover svg {
    fill: #5B88B8;
}

.social-link.vk-link:hover {
    background: rgba(76, 117, 163, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Service Detail Page */
.service-detail {
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.service-detail:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.service-detail h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.service-detail > p {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.service-detail-item h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.service-detail-item p {
    color: var(--text-dark);
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.service-detail-price {
    display: none !important;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
}

/* Contact Cards */
.contact-card {
    padding: 40px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

/* Предотвращение нежелательных переносов в адресах и коротких текстах */
.contact-card p {
    word-break: break-word;
    hyphens: auto;
    line-height: 1.6;
}

/* Специальное правило для адресов - предотвращает перенос между улицей и номером */
.contact-card p[style*="font-size: 18px"],
.contact-card p[style*="font-weight: 600"] {
    white-space: normal;
    word-spacing: normal;
}

/* Предотвращение переноса в коротких текстах с номерами и буквами (например, "20А") */
@media (max-width: 480px) {
    .contact-card p {
        font-size: 16px !important;
        line-height: 1.5;
    }
    
    /* Для адресов - предотвращаем перенос между запятой и номером */
    .contact-card p[style*="font-size: 18px"] {
        word-break: keep-all;
        white-space: normal;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.85);
}

.contact-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.contact-card-link {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
    word-break: keep-all;
    white-space: nowrap;
}

.contact-card-link:hover {
    color: var(--accent-color-dark);
    text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.cta-section .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.cta-section .btn-outline:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

/* Utility classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Loading states */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Success/Error messages */
.message {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-out;
}

.message-success {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.message-error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-top {
        padding: 8px 0;
    }

    .header-top-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    .header-phone {
        font-size: 16px;
    }

    .header-time {
        font-size: 12px;
    }

    .header-social {
        gap: 10px;
    }

    .header-social .social-link.vk-link {
        padding: 8px 12px;
        gap: 8px;
    }

    .vk-link-text {
        font-size: 14px;
    }


    .header-social .social-link.vk-link {
        padding: 8px 12px;
        gap: 8px;
    }

    .vk-link-text {
        font-size: 14px;
    }


    .navbar {
        padding: 12px 0;
    }

    .logo-image {
        height: 40px !important;
        max-width: 160px !important;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-subtitle {
        font-size: 10px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 85%;
        max-width: 300px;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease-in-out;
        z-index: 999;
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
        animation: slideInRight 0.3s ease-out;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        display: block;
        font-size: 16px;
        padding: 10px 0;
    }

    .nav-menu .btn-order {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        text-align: center;
        padding: 12px 20px !important;
        font-size: 14px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .slogan-text {
        font-size: 26px;
        letter-spacing: 1.5px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .services-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .service-card,
    .catalog-item {
        padding: 25px 20px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .service-price {
    display: none !important;
        font-size: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 25px 20px;
    }

    .feature-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }

    .feature-item h3 {
        font-size: 18px;
    }

    .feature-item p {
        font-size: 14px;
    }

    .catalog-filters {
        flex-direction: column;
        gap: 10px;
    }

    .filter-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .catalog-image {
        height: 180px;
    }

    .catalog-item h3 {
        font-size: 18px;
    }

    .catalog-item p {
        font-size: 13px;
    }

    .catalog-price {
    display: none !important;
        font-size: 20px;
    }

    .form-container {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 15px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-title {
        font-size: 24px;
    }

    .footer-subtitle {
        font-size: 16px;
    }

    .footer-text {
        font-size: 14px;
    }

    .service-detail {
        padding: 25px 20px;
    }

    .service-detail h3 {
        font-size: 26px;
    }

    .service-detail > p {
        font-size: 16px;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-card-icon {
        font-size: 40px;
    }

    .contact-card h3 {
        font-size: 20px;
    }

    .contact-card-link {
        font-size: 18px;
    }
}

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

    .header-top {
        padding: 6px 0;
    }

    .header-phone {
        font-size: 14px;
    }

    .header-time {
        font-size: 11px;
    }

    .logo-image {
        height: 35px !important;
        max-width: 140px !important;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-subtitle {
        font-size: 9px;
    }

    .nav-menu {
        width: 90%;
        padding: 70px 15px 15px;
    }

    .nav-menu a {
        font-size: 15px;
        padding: 8px 0;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .slogan-text {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .footer-slogan-text {
        font-size: 20px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .section {
        padding: 35px 0;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .services-grid,
    .catalog-grid,
    .features-grid {
        gap: 15px;
    }

    .service-card,
    .catalog-item,
    .feature-item {
        padding: 20px 15px;
    }

    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 13px;
    }

    .service-price {
    display: none !important;
        font-size: 18px;
    }

    .feature-icon {
        font-size: 36px;
    }

    .feature-item h3 {
        font-size: 16px;
    }

    .feature-item p {
        font-size: 13px;
    }

    .catalog-image {
        height: 160px;
    }

    .catalog-item h3 {
        font-size: 16px;
    }

    .catalog-price {
    display: none !important;
        font-size: 18px;
    }

    .form-container {
        padding: 25px 15px;
        margin: 0 5px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 14px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .footer {
        padding: 35px 0 15px;
    }

    .footer-title {
        font-size: 22px;
    }

    .footer-subtitle {
        font-size: 15px;
    }

    .service-detail {
        padding: 20px 15px;
    }

    .service-detail h3 {
        font-size: 22px;
    }

    .service-detail > p {
        font-size: 15px;
    }

    .contact-card {
        padding: 25px 15px;
    }

    .contact-card-icon {
        font-size: 36px;
    }

    .contact-card h3 {
        font-size: 18px;
    }

    .contact-card-link {
        font-size: 16px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }

    .header-top {
        padding: 5px 0;
    }

    .header-top-content {
        gap: 8px;
    }

    .header-contact {
        gap: 6px;
    }

    .header-phone {
        font-size: 13px;
    }

    .header-time {
        font-size: 10px;
    }

    .header-social {
        gap: 8px;
    }

    .header-social .social-link.vk-link {
        padding: 6px 10px;
        gap: 6px;
    }

    .vk-link-text {
        font-size: 12px;
    }


    .header-social .social-link.vk-link {
        padding: 6px 10px;
        gap: 6px;
    }

    .vk-link-text {
        font-size: 12px;
    }


    .social-link {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-subtitle {
        font-size: 8px;
    }

    .nav-menu {
        width: 95%;
        padding: 65px 12px 12px;
    }

    .nav-menu a {
        font-size: 14px;
        padding: 7px 0;
    }

    .nav-menu .btn-order {
        padding: 10px 15px !important;
        font-size: 13px;
    }

    .hero {
        padding: 35px 0;
    }

    .hero h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .slogan-text {
        font-size: 20px;
        letter-spacing: 0.5px;
    }

    .footer-slogan-text {
        font-size: 18px;
    }

    .hero p {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .section {
        padding: 30px 0;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .section-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .service-card,
    .catalog-item,
    .feature-item {
        padding: 18px 12px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .service-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .service-price {
    display: none !important;
        font-size: 16px;
    }

    .feature-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .feature-item h3 {
        font-size: 15px;
    }

    .feature-item p {
        font-size: 12px;
    }

    .catalog-image {
        height: 140px;
        padding: 15px;
    }

    .catalog-item h3 {
        font-size: 15px;
    }

    .catalog-item p {
        font-size: 12px;
    }

    .catalog-price {
    display: none !important;
        font-size: 16px;
    }

    .form-container {
        padding: 20px 12px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 9px;
        font-size: 13px;
    }

    .form-group textarea {
        min-height: 90px;
    }

    .btn {
        padding: 9px 15px;
        font-size: 13px;
    }

    .footer-title {
        font-size: 20px;
    }

    .footer-subtitle {
        font-size: 14px;
    }

    .footer-text {
        font-size: 13px;
    }

    .service-detail {
        padding: 18px 12px;
    }

    .service-detail h3 {
        font-size: 20px;
    }

    .service-detail > p {
        font-size: 14px;
    }

    .contact-card {
        padding: 20px 12px;
    }

    .contact-card-icon {
        font-size: 32px;
    }

    .contact-card h3 {
        font-size: 16px;
    }

    .contact-card-link {
        font-size: 15px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }

    .header-top {
        padding: 4px 0;
    }

    .header-top-content {
        gap: 6px;
    }

    .header-contact {
        gap: 5px;
    }

    .header-phone {
        font-size: 12px;
    }

    .header-time {
        font-size: 9px;
    }

    .logo-image {
        height: 30px !important;
        max-width: 120px !important;
    }

    .header-social {
        gap: 6px;
    }

    .header-social .social-link.vk-link {
        padding: 5px 8px;
    }

    .vk-link-text {
        font-size: 11px;
    }


    .social-link {
        width: 26px;
        height: 26px;
    }

    .logo-text {
        font-size: 16px;
    }

    .logo-subtitle {
        font-size: 7px;
    }

    .nav-menu {
        width: 100%;
        padding: 60px 10px 10px;
    }

    .nav-menu a {
        font-size: 13px;
        padding: 6px 0;
    }

    .nav-menu .btn-order {
        padding: 9px 12px !important;
        font-size: 12px;
    }

    .hero {
        padding: 30px 0;
    }

    .hero h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .slogan-text {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .footer-slogan-text {
        font-size: 16px;
    }

    .hero p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .section {
        padding: 25px 0;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .section-subtitle {
        font-size: 12px;
        margin-bottom: 18px;
    }

    .service-card,
    .catalog-item,
    .feature-item {
        padding: 15px 10px;
    }

    .service-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .service-price {
    display: none !important;
        font-size: 15px;
    }

    .feature-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .feature-item h3 {
        font-size: 14px;
    }

    .feature-item p {
        font-size: 11px;
    }

    .catalog-image {
        height: 120px;
        padding: 12px;
    }

    .catalog-item h3 {
        font-size: 14px;
    }

    .catalog-item p {
        font-size: 11px;
    }

    .catalog-price {
    display: none !important;
        font-size: 15px;
    }

    .form-container {
        padding: 18px 10px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 8px;
        font-size: 12px;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-subtitle {
        font-size: 13px;
    }

    .footer-text {
        font-size: 12px;
    }

    .service-detail {
        padding: 15px 10px;
    }

    .service-detail h3 {
        font-size: 18px;
    }

    .service-detail > p {
        font-size: 13px;
    }

    .contact-card {
        padding: 18px 10px;
    }

    .contact-card-icon {
        font-size: 28px;
    }

    .contact-card h3 {
        font-size: 15px;
    }

    .contact-card-link {
        font-size: 14px;
    }
}

/* Модальное окно обратного звонка */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1;
    animation: fadeInUp 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-light);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.modal-subtitle {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

.callback-form {
    margin-top: 20px;
}

.callback-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    animation: fadeInUp 0.3s ease-out;
}

.callback-message.success {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.callback-message.error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* Кнопка обратного звонка (плавающая) */
.callback-button-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.callback-button {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    color: #000000;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    animation: pulse 2s infinite;
    text-decoration: none;
}

.callback-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
}

.callback-button.call-button {
    background: var(--white);
    color: #000000;
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.callback-button.call-button:hover {
    background: #f8f8f8;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 0, 0, 0.2);
}

.callback-button.call-button svg,
.callback-button.call-button svg path {
    fill: #000000;
    color: #000000;
}

.callback-button svg {
    width: 24px;
    height: 24px;
}

/* Кнопка "Наверх" */
.scroll-to-top {
    position: fixed;
    bottom: 290px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-color-dark) 100%);
    color: #000000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #8b6914 0%, #5a4509 100%);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* Карты */
#yandexMap {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .callback-button-container {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .callback-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .callback-button span {
        display: none;
    }
    
    .callback-button svg {
        width: 20px;
        height: 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
        width: 95%;
        max-width: 95%;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 28px;
        top: 10px;
        right: 10px;
    }
    
    .scroll-to-top {
        bottom: 270px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    #yandexMap {
        height: 400px !important;
    }
}

@media (max-width: 480px) {
    .callback-button-container {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .callback-button {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .callback-button svg {
        width: 18px;
        height: 18px;
    }
    
    .modal-content {
        padding: 25px 15px;
        width: 98%;
        max-width: 98%;
        border-radius: 10px;
    }
    
    .modal-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .modal-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .modal-close {
        width: 32px;
        height: 32px;
        font-size: 24px;
        top: 8px;
        right: 8px;
    }
    
    .callback-form {
        margin-top: 15px;
    }
    
    .scroll-to-top {
        bottom: 250px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
    
    #yandexMap {
        height: 350px !important;
    }
}

@media (max-width: 375px) {
    .callback-button-container {
        bottom: 12px;
        right: 12px;
        gap: 6px;
    }
    
    .callback-button {
        padding: 9px 14px;
        font-size: 12px;
    }
    
    .callback-button svg {
        width: 16px;
        height: 16px;
    }
    
    .modal-content {
        padding: 20px 12px;
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
        margin: 10px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-subtitle {
        font-size: 12px;
        margin-bottom: 18px;
    }
    
    .modal-close {
        width: 30px;
        height: 30px;
        font-size: 22px;
        top: 6px;
        right: 6px;
    }
    
    .scroll-to-top {
        bottom: 230px;
        right: 12px;
        width: 38px;
        height: 38px;
    }
    
    .scroll-to-top svg {
        width: 16px;
        height: 16px;
    }
    
    #yandexMap {
        height: 300px !important;
    }
}

@media (max-width: 320px) {
    .callback-button-container {
        bottom: 10px;
        right: 10px;
        gap: 5px;
    }
    
    .callback-button {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .callback-button svg {
        width: 14px;
        height: 14px;
    }
    
    .modal-content {
        padding: 18px 10px;
        margin: 5px;
    }
    
    .modal-title {
        font-size: 16px;
    }
    
    .modal-subtitle {
        font-size: 11px;
        margin-bottom: 15px;
    }
    
    .modal-close {
        width: 28px;
        height: 28px;
        font-size: 20px;
        top: 5px;
        right: 5px;
    }
    
    .scroll-to-top {
        bottom: 210px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .scroll-to-top svg {
        width: 14px;
        height: 14px;
    }
    
    #yandexMap {
        height: 280px !important;
    }
}

