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

:root {
    --primary: #2c3e50;
    --secondary: #8b4513;
    --accent: #c19a6b;
    --light: #f4f1ea;
    --dark: #1a1a1a;
    --text: #333;
    --gray: #666;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
}

img {
    object-fit: cover;
}

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

header {
    position: relative;
    background: var(--primary);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.ad-notice {
    background: rgba(193, 154, 107, 0.2);
    color: var(--light);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 20px;
}

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

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: var(--accent);
}

.hero-asymmetric {
    display: flex;
    min-height: 85vh;
    position: relative;
    background: var(--light);
    overflow: hidden;
}

.hero-text-block {
    position: relative;
    z-index: 2;
    width: 45%;
    padding: 120px 60px 80px 80px;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(44, 62, 80, 0.85));
    display: flex;
    flex-direction: column;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.hero-text-block h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-text-block p {
    font-size: 1.25rem;
    color: var(--light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image-block {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background-color: var(--accent);
}

.hero-image-block img {
    width: 100%;
    height: 100%;
}

.cta-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

.cta-primary:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateX(5px);
}

.offset-section {
    display: flex;
    margin: 100px 0;
    gap: 60px;
    align-items: center;
}

.offset-section:nth-child(even) {
    flex-direction: row-reverse;
}

.offset-content {
    flex: 1;
    padding: 0 40px;
}

.offset-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.offset-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 60%;
    background: var(--secondary);
    transform: skewY(-5deg);
}

.offset-content p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.offset-image {
    flex: 1;
    position: relative;
    background-color: var(--accent);
}

.offset-image img {
    width: 100%;
    height: 450px;
    transform: translateX(-30px);
    box-shadow: 15px 15px 0 var(--secondary);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 80px 0;
    padding: 0 40px;
}

.service-card {
    flex: 1 1 calc(33.333% - 40px);
    min-width: 280px;
    background: #fff;
    padding: 40px 30px;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.service-card:nth-child(odd) {
    transform: translateY(-20px);
}

.service-card:nth-child(even) {
    transform: translateY(20px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 20px 0;
}

.service-price small {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 400;
}

.form-section {
    background: var(--light);
    padding: 100px 40px;
    margin: 80px 0;
    position: relative;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    box-shadow: -20px 20px 0 var(--accent);
}

.form-container h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    background: #fff;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.submit-btn {
    width: 100%;
    background: var(--secondary);
    color: #fff;
    padding: 18px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.contact-layout {
    display: flex;
    gap: 80px;
    margin: 80px 0;
    padding: 0 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 40px;
}

.info-block {
    margin-bottom: 35px;
    padding-left: 25px;
    border-left: 4px solid var(--secondary);
}

.info-block h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.info-block p {
    color: var(--gray);
    line-height: 1.8;
}

.contact-visual {
    flex: 1;
    background-color: var(--light);
    position: relative;
}

.contact-visual img {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

footer {
    background: var(--primary);
    color: #fff;
    padding: 60px 40px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--light);
    font-size: 0.9rem;
}

.disclaimer {
    background: rgba(193, 154, 107, 0.1);
    padding: 30px;
    margin: 60px 0;
    border-left: 5px solid var(--accent);
}

.disclaimer p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.8;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    color: #fff;
    padding: 25px;
    display: none;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
}

.cookie-banner.show {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.cookie-accept {
    background: var(--accent);
    color: var(--dark);
}

.cookie-accept:hover {
    background: var(--secondary);
    color: #fff;
}

.cookie-reject {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-reject:hover {
    background: #fff;
    color: var(--dark);
}

.thanks-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    background: var(--light);
    padding: 80px 60px;
    position: relative;
}

.thanks-content::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    z-index: -1;
}

.thanks-content h1 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.thanks-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.legal-page {
    padding: 80px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 40px 0 20px;
}

.legal-page h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin: 25px 0 15px;
}

.legal-page p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--gray);
}

.legal-page ul {
    margin: 20px 0 20px 40px;
    color: var(--gray);
}

.legal-page li {
    margin-bottom: 10px;
}

@media (max-width: 968px) {
    .hero-asymmetric {
        flex-direction: column;
        min-height: auto;
    }

    .hero-text-block {
        width: 100%;
        clip-path: none;
        padding: 60px 40px;
    }

    .hero-image-block {
        position: relative;
        width: 100%;
        height: 400px;
    }

    .offset-section {
        flex-direction: column;
        gap: 30px;
    }

    .offset-section:nth-child(even) {
        flex-direction: column;
    }

    .offset-image img {
        transform: none;
        box-shadow: none;
    }

    .contact-layout {
        flex-direction: column;
        gap: 40px;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .service-card:nth-child(odd),
    .service-card:nth-child(even) {
        transform: none;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
}
