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

:root {
    --primary: #8B6F47;
    --secondary: #2C1810;
    --accent: #D4AF37;
    --light: #F5F1E8;
    --dark: #1A1410;
    --mid: #6B5847;
    --success: #4A7C59;
    --error: #A83232;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background: var(--light);
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.ad-notice {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--dark);
    padding: 0.3rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.hero-section {
    margin-top: 4rem;
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-color: var(--mid);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 550px;
    margin-left: 8%;
    background: rgba(245, 241, 232, 0.92);
    padding: 3.5rem;
    transform: translateY(3rem);
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--mid);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.offset-section {
    display: flex;
    margin: 6rem 0;
    position: relative;
}

.offset-left {
    flex-direction: row-reverse;
}

.offset-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offset-content.bg-dark {
    background: var(--secondary);
    color: var(--light);
}

.offset-content.bg-light {
    background: var(--light);
    color: var(--secondary);
}

.offset-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.offset-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.offset-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

.services-grid {
    padding: 5rem 4rem;
    background: white;
}

.services-grid h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    max-width: 600px;
}

.services-grid .intro-text {
    font-size: 1.15rem;
    color: var(--mid);
    margin-bottom: 3rem;
    max-width: 700px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.service-card {
    background: var(--light);
    padding: 2.5rem;
    flex: 1;
    min-width: 280px;
    max-width: calc(33.333% - 1.5rem);
    position: relative;
    transition: transform 0.3s;
}

.service-card:nth-child(2) {
    transform: translateY(2rem);
}

.service-card:nth-child(4) {
    transform: translateY(-1.5rem);
}

.service-card:hover {
    transform: translateY(-0.5rem);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--secondary);
    line-height: 1.7;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.service-detail {
    font-size: 0.9rem;
    color: var(--mid);
    font-style: italic;
}

.asymmetric-block {
    position: relative;
    min-height: 600px;
    display: flex;
    margin: 4rem 0;
}

.block-bg {
    position: absolute;
    width: 55%;
    height: 100%;
    background-color: var(--mid);
    top: 0;
    left: 0;
    overflow: hidden;
}

.block-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.block-content {
    position: relative;
    margin-left: 45%;
    background: var(--primary);
    color: white;
    padding: 4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: -3rem;
}

.block-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

.block-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.form-section {
    background: var(--light);
    padding: 5rem 8%;
    position: relative;
}

.form-wrapper {
    max-width: 900px;
    background: white;
    padding: 3.5rem;
    transform: rotate(-0.5deg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.form-wrapper .subtitle {
    font-size: 1.1rem;
    color: var(--mid);
    margin-bottom: 2.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light);
    background: var(--light);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

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

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

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: var(--secondary);
}

.footer {
    background: var(--secondary);
    color: var(--light);
    padding: 3rem 4rem 2rem;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-col p,
.footer-col a {
    color: var(--light);
    text-decoration: none;
    line-height: 1.8;
    display: block;
    font-size: 0.95rem;
}

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

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: white;
    padding: 1.5rem 2rem;
    display: none;
    z-index: 9999;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner.active {
    display: flex;
}

.cookie-banner p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 2rem;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.cookie-btn.accept {
    background: var(--success);
    color: white;
}

.cookie-btn.reject {
    background: var(--light);
    color: var(--secondary);
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

.stacked-section {
    background: white;
    padding: 5rem 8%;
}

.stacked-section h2 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.stacked-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.contact-layout {
    padding: 6rem 8%;
    background: var(--light);
    min-height: 70vh;
}

.contact-asymmetric {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-main {
    flex: 2;
}

.contact-main h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.contact-info {
    flex: 1;
    background: var(--secondary);
    color: var(--light);
    padding: 3rem;
    transform: translateY(-3rem);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block strong {
    display: block;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.legal-page {
    padding: 8rem 8% 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.legal-page h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.legal-page p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-page ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.thanks-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: var(--light);
    text-align: center;
}

.thanks-page h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.thanks-page p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--secondary);
    max-width: 600px;
}

.thanks-page .cta-button {
    margin-top: 1rem;
}

.disclaimer {
    background: rgba(139, 111, 71, 0.1);
    padding: 2rem;
    margin: 3rem 0;
    border-left: 4px solid var(--primary);
}

.disclaimer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--mid);
}

@media (max-width: 968px) {
    .hero-content {
        margin-left: 5%;
        padding: 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .offset-section {
        flex-direction: column;
    }

    .offset-left {
        flex-direction: column;
    }

    .services-container {
        flex-direction: column;
    }

    .service-card {
        max-width: 100%;
        transform: none !important;
    }

    .contact-asymmetric {
        flex-direction: column;
    }

    .contact-info {
        transform: none;
    }

    .asymmetric-block {
        flex-direction: column;
    }

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

    .block-content {
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 0;
    }

    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-grid {
        flex-direction: column;
    }
}
