* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #0C2B1E;
    --secondary-color: #1A4A36;
    --tertiary-color: #2D6B4F;
    --light-color: #F5F5F5;
    --dark-color: #1A1A1A;
    --accent-color: #C4952D;
    --accent-dark: #A87A1F;
    --accent-light: #F2E5C4;
    --text-color: #2C2C2C;
    --text-light: #4A6457;
    --bg-light: #E0EDE6;
    --bg-dark: #0A2318;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 43, 30, 0.03) 0%, transparent 100%);
    z-index: -1;
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 25px rgba(12, 43, 30, 0.3);
    border-bottom: 3px solid var(--accent-color);
}

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

.logo {
    font-size: 1.9rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo span {
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(196, 149, 45, 0.4);
}

/* Desktop Location */
.header-location.desktop-location {
    display: flex;
    align-items: center;
    color: var(--accent-light);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(196, 149, 45, 0.3);
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-location.desktop-location:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    transform: translateX(-50%) translateY(-2px);
}

.header-location.desktop-location i {
    margin-right: 0.5rem;
    color: var(--accent-color);
    font-size: 1rem;
}

/* Mobile Location */
.mobile-location {
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    text-align: center;
}

.mobile-location i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2.2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
    position: relative;
    font-size: 1.05rem;
}

nav ul li a:hover {
    color: var(--accent-light);
    text-shadow: 0 0 10px rgba(242, 229, 196, 0.5);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, #E8C547 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    background: 
        radial-gradient(circle at 20% 50%, rgba(196, 149, 45, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 107, 79, 0.2) 0%, transparent 50%),
        linear-gradient(145deg, rgba(12, 43, 30, 0.95) 0%, rgba(26, 74, 54, 0.92) 100%), 
        url('image0.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 7rem 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 65%, rgba(196, 149, 45, 0.1) 100%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.8rem;
    font-weight: 400;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.3rem;
    max-width: 750px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.8;
    font-weight: 300;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: #1A1A1A;
    padding: 1.1rem 3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(196, 149, 45, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(196, 149, 45, 0.6);
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
}

.btn:hover::before {
    left: 100%;
}

/* About Section */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 400;
    position: relative;
    text-shadow: 0 2px 8px rgba(12, 43, 30, 0.1);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-color) 100%);
    margin: 1.2rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(12, 43, 30, 0.2);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    font-weight: 400;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.about-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(12, 43, 30, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    filter: saturate(1.1) contrast(1.05);
}

.about-img:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(12, 43, 30, 0.4);
    border-color: var(--accent-color);
    filter: saturate(1.2) contrast(1.1);
}

.img-large {
    grid-column: 1 / 3;
    height: 320px;
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--bg-light) 0%, #D8E8DF 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: linear-gradient(145deg, white 0%, #F8F9FA 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(12, 43, 30, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(12, 43, 30, 0.1);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--primary-color) 100%);
    transition: height 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 60px rgba(12, 43, 30, 0.3);
    border-color: var(--accent-color);
}

.service-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(1.05);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-content {
    padding: 2.2rem;
    background: linear-gradient(to bottom, white 0%, #F8F9FA 100%);
    position: relative;
    z-index: 1;
}

.service-title {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(12, 43, 30, 0.1);
}

.service-price {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.service-note {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 500;
}

/* Price Table */
.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 3rem;
    box-shadow: 0 10px 35px rgba(12, 43, 30, 0.2);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(12, 43, 30, 0.15);
    background: white;
}

.price-table th, .price-table td {
    padding: 1.5rem 2rem;
    text-align: left;
    border-bottom: 2px solid rgba(12, 43, 30, 0.1);
}

.price-table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.05rem;
}

.price-table tr:nth-child(even) {
    background-color: rgba(224, 237, 230, 0.4);
}

.price-table tr:hover {
    background-color: rgba(12, 43, 30, 0.08);
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-amount {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(12, 43, 30, 0.1);
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, white 0%, #F0F5F2 100%);
    position: relative;
    border-top: 5px solid var(--accent-color);
}

.form-container {
    max-width: 850px;
    margin: 0 auto;
    background: linear-gradient(145deg, white 0%, #F8FAF9 100%);
    padding: 4rem;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(12, 43, 30, 0.2);
    border: 2px solid rgba(12, 43, 30, 0.1);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.form-group {
    margin-bottom: 2.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 3px solid rgba(12, 43, 30, 0.2);
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: white;
    color: var(--text-color);
    font-weight: 500;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(196, 149, 45, 0.3);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

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

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%230C2B1E' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 18px;
    padding-right: 4rem;
}

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

/* Footer */
footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    border-top: 5px solid var(--accent-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 280px;
    margin-bottom: 2.5rem;
    padding: 0 1.5rem;
}

.footer-column h3 {
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--accent-light) 100%);
    border-radius: 2px;
}

.footer-contact p {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.footer-contact p:hover {
    color: var(--accent-light);
    transform: translateX(5px);
}

.footer-contact i {
    margin-right: 1rem;
    color: var(--accent-color);
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 1.2rem;
}

.footer-column ul li a {
    color: #E0E0E0;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    padding: 0.3rem 0;
    font-size: 1.05rem;
    font-weight: 500;
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(196, 149, 45, 0.3);
}

.copyright {
    padding-top: 2.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    color: #B0B0B0;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Обновленный попап успеха */
.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(145deg, white 0%, var(--bg-light) 100%);
    padding: 3.5rem;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(12, 43, 30, 0.4);
    z-index: 10000;
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 3px solid var(--accent-color);
    animation: popupAppear 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.success-popup h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.success-popup p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

@keyframes popupAppear {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-images {
        order: -1;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 850px) {
    .header-location.desktop-location {
        display: none;
    }
    
    .mobile-location {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        padding: 0;
        box-shadow: 0 10px 30px rgba(12, 43, 30, 0.3);
        border-top: 3px solid var(--accent-color);
        z-index: 999;
        flex-direction: column;
    }
    
    nav.show {
        display: flex;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav ul li a {
        display: block;
        padding: 1.2rem 1rem;
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        padding: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 650px) {
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .about-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .img-large {
        grid-column: 1;
        height: 280px;
    }
    
    .footer-column {
        min-width: 100%;
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .price-table th, .price-table td {
        padding: 1.2rem 1.5rem;
    }
    
    .success-popup {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 2rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2.5rem;
}

.mb-4 {
    margin-bottom: 2.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-5 {
    margin-bottom: 3rem;
}