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

:root {
    --primary: #2d5016;
    --secondary: #7fa650;
    --accent: #f4a261;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
}

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

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

header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

.ad-disclosure {
    font-size: 0.75em;
    color: var(--gray);
    padding: 4px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

.hero-asymmetric {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 55%;
    height: 100%;
    background-color: var(--secondary);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 100%);
    margin-left: 5%;
    border-left: 6px solid var(--accent);
}

.hero-content h1 {
    font-size: 3.2em;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 35px;
    color: var(--gray);
}

.cta-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.05em;
}

.cta-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

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

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

.offset-content {
    flex: 1;
    padding: 40px;
    background: var(--light);
    transform: translateY(-30px);
}

.offset-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary);
}

.offset-image {
    flex: 1;
    min-height: 400px;
    position: relative;
    background-color: var(--secondary);
}

.offset-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateX(-20px) translateY(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

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

.service-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 35px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    transform: translateY(0) !important;
}

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

.service-card p {
    margin-bottom: 20px;
    color: var(--gray);
    line-height: 1.8;
}

.price-tag {
    font-size: 2em;
    font-weight: 700;
    color: var(--accent);
    margin: 20px 0;
}

.price-label {
    font-size: 0.5em;
    color: var(--gray);
    display: block;
    font-weight: 400;
}

.cta-secondary {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
}

.cta-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.overlapping-blocks {
    position: relative;
    margin: 120px 0;
    min-height: 500px;
}

.block-back {
    position: absolute;
    right: 10%;
    top: 40px;
    width: 50%;
    height: 450px;
    background-color: var(--primary);
}

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

.block-front {
    position: relative;
    left: 5%;
    width: 60%;
    background: var(--white);
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    z-index: 5;
}

.block-front h2 {
    font-size: 2.8em;
    margin-bottom: 25px;
    color: var(--primary);
}

.form-container {
    background: var(--light);
    padding: 50px;
    margin: 80px 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 200px;
    height: 100%;
    background: var(--accent);
    opacity: 0.1;
    transform: skewX(-10deg);
}

.form-container h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

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

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

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

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

footer {
    background: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
    margin-top: 100px;
}

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

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

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

.footer-column a {
    display: block;
    color: var(--light);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

.email-display {
    color: var(--light);
    cursor: default;
}

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

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

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.cookie-buttons button {
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1em;
}

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

.cookie-accept:hover {
    background: #e89450;
}

.cookie-reject {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.legal-page {
    padding: 80px 0;
}

.legal-page h1 {
    font-size: 3em;
    margin-bottom: 30px;
    color: var(--primary);
}

.legal-page h2 {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary);
}

.legal-page h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.legal-page p,
.legal-page ul {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-page ul {
    padding-left: 30px;
}

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

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

.thanks-content {
    max-width: 600px;
    background: var(--light);
    padding: 60px 40px;
    border-top: 6px solid var(--accent);
}

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

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

.contact-info-section {
    background: var(--light);
    padding: 60px;
    margin: 60px 0;
    transform: translateX(40px);
    border-left: 6px solid var(--accent);
}

.contact-info-section h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: var(--primary);
}

.info-item {
    margin-bottom: 25px;
}

.info-item h3 {
    font-size: 1.3em;
    color: var(--secondary);
    margin-bottom: 8px;
}

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

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

.irregular-item {
    background: var(--white);
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.irregular-item:nth-child(1) {
    flex: 1 1 55%;
    transform: translateY(-20px);
}

.irregular-item:nth-child(2) {
    flex: 1 1 40%;
    transform: translateY(20px);
}

.irregular-item:nth-child(3) {
    flex: 1 1 100%;
}

.irregular-item:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    transform: translateY(0) !important;
}

.irregular-item h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary);
}

.disclaimer {
    background: #fff9e6;
    border-left: 4px solid var(--accent);
    padding: 30px;
    margin: 60px 0;
    font-size: 0.95em;
    line-height: 1.8;
}

.disclaimer strong {
    color: var(--primary);
}

.references {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #ddd;
}

.references h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--primary);
}

.references ol {
    padding-left: 25px;
}

.references li {
    margin-bottom: 15px;
    line-height: 1.8;
}

.references a {
    color: var(--secondary);
    word-break: break-all;
}

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

.citation {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    vertical-align: super;
}

.citation:hover {
    color: var(--primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero-image-container {
        width: 100%;
        left: 0;
        clip-path: none;
        opacity: 0.3;
    }

    .hero-content {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 2.2em;
    }

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

    .offset-image img {
        transform: none;
    }

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

    .block-back {
        position: relative;
        width: 100%;
        right: 0;
        top: 0;
    }

    .block-front {
        width: 100%;
        left: 0;
        margin-top: -50px;
    }

    .irregular-item:nth-child(1),
    .irregular-item:nth-child(2) {
        flex: 1 1 100%;
        transform: none;
    }

    .contact-info-section {
        transform: none;
    }

    nav {
        width: 100%;
        justify-content: center;
    }
}
