:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --secondary: #74c69d;
    --accent: #d8f3dc;
    --text: #1a1a2e;
    --text-light: #4a4a68;
    --bg: #fafafa;
    --bg-alt: #f0f7f4;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

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

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    text-align: center;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 60px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary-dark);
}

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

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

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

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

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

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

.section-alt {
    background: var(--bg-alt);
}

.section-dark {
    background: var(--primary-dark);
    color: var(--white);
}

.section-title {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Split Layout */
.split {
    display: flex;
    gap: 60px;
    align-items: center;
}

.split-reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    background-color: var(--bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 400px;
}

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

/* Cards */
.cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    flex: 1;
    min-width: 300px;
    max-width: 380px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 220px;
    background-color: var(--bg-alt);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 28px;
}

.card-title {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-text {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 15px;
}

.card-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
}

.card-price small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
}

/* Services List */
.service-item {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    align-items: center;
}

.service-item:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 300px;
    height: 220px;
    background-color: var(--bg-alt);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: var(--text);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

/* Testimonials */
.testimonial {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 20px;
}

.testimonial-info h4 {
    font-size: 16px;
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 14px;
    color: var(--text-light);
}

/* Form Styles */
.form-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 100px 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 32px;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text);
}

.form-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 35px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
}

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

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

.form-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Benefits */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.benefit-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    padding: 35px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
}

.benefit-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 50px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* CTA Blocks */
.cta-block {
    background: var(--primary);
    color: var(--white);
    padding: 60px;
    border-radius: var(--radius);
    text-align: center;
    margin: 50px 0;
}

.cta-block h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-block p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--accent);
    padding: 30px 40px;
    border-radius: var(--radius);
    margin: 40px 0;
}

.cta-inline-content h4 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.cta-inline-content p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary);
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

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

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    line-height: 1.7;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
}

/* Thanks Page */
.thanks-container {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 50px;
}

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

.thanks-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text);
    color: var(--white);
    padding: 25px;
    z-index: 9999;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}

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

.cookie-btn {
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.cookie-reject {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.legal-content h1 {
    font-size: 38px;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.legal-content h2 {
    font-size: 24px;
    margin: 35px 0 18px;
    color: var(--text);
}

.legal-content h3 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: var(--text);
}

.legal-content p {
    margin-bottom: 18px;
    color: var(--text-light);
    line-height: 1.8;
}

.legal-content ul {
    margin: 18px 0;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 10px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Page */
.contact-grid {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    margin-bottom: 35px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* About Page */
.about-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.timeline-year {
    flex: 0 0 100px;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
    .split {
        flex-direction: column;
    }

    .split-reverse {
        flex-direction: column;
    }

    .split-image {
        min-height: 300px;
        width: 100%;
    }

    .service-item,
    .service-item:nth-child(even) {
        flex-direction: column;
    }

    .service-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        gap: 0;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .section {
        padding: 60px 0;
    }

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

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

    .cta-inline {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-grid {
        gap: 30px;
    }

    .footer-col {
        min-width: 100%;
    }

    .stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 40px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .card {
        min-width: 100%;
    }

    .benefit-item {
        min-width: 100%;
    }

    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}
