:root {
    --primary: #2d5a3d;
    --primary-dark: #1e3d29;
    --secondary: #6b9b7a;
    --accent: #a8d5ba;
    --text: #2c3e2d;
    --text-light: #5a6b5c;
    --bg: #fafcfa;
    --bg-alt: #f0f5f1;
    --white: #ffffff;
    --border: #d4e5d8;
    --shadow: rgba(45, 90, 61, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

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

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.ad-disclosure {
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
}

.header-main {
    padding: 16px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

nav {
    display: flex;
    gap: 32px;
}

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

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    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: 680px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 700;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

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

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

.btn-secondary:hover {
    background: var(--accent);
}

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

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

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

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

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

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

.bg-primary h2,
.bg-primary h3 {
    color: var(--white);
}

.bg-primary p {
    color: rgba(255,255,255,0.9);
}

.magazine-grid {
    display: flex;
    gap: 40px;
}

.magazine-main {
    flex: 2;
}

.magazine-sidebar {
    flex: 1;
    min-width: 280px;
}

.intro-block {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 40px;
}

.intro-block h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 28px;
}

.intro-block p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.intro-block p:last-child {
    margin-bottom: 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-dark);
}

.feature-item h4 {
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.sidebar-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px var(--shadow);
}

.sidebar-card h3 {
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-size: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar-cta {
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.sidebar-cta h3 {
    color: var(--white);
    border-bottom-color: rgba(255,255,255,0.3);
}

.sidebar-cta p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    flex: 1 1 calc(33.333% - 16px);
    min-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--shadow);
}

.service-card-img {
    height: 180px;
    background-color: var(--secondary);
    overflow: hidden;
}

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

.service-card-content {
    padding: 28px;
}

.service-card h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 20px;
}

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

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

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

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

.two-col {
    display: flex;
    gap: 60px;
    align-items: center;
}

.two-col-img {
    flex: 1;
    background-color: var(--secondary);
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}

.two-col-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.two-col-content {
    flex: 1;
}

.two-col-content h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 32px;
}

.two-col-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

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

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

.cta-banner {
    text-align: center;
    padding: 60px 40px;
}

.cta-banner h2 {
    margin-bottom: 16px;
}

.cta-banner p {
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: flex;
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    flex: 1;
}

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

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

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

.testimonial-info h4 {
    color: var(--primary-dark);
    font-size: 16px;
}

.testimonial-info p {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
}

.form-section {
    background: var(--white);
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 4px 20px var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.form-section h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 32px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

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

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-submit {
    text-align: center;
    margin-top: 32px;
}

.form-submit .btn {
    min-width: 200px;
}

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 0;
}

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

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

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

.footer-col p {
    opacity: 0.8;
    line-height: 1.7;
}

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

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

.footer-col ul a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 14px;
}

.legal-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.legal-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
}

.legal-links a:hover {
    color: var(--accent);
}

.disclaimer {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: 8px;
    margin-top: 40px;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.page-header p {
    opacity: 0.9;
    font-size: 18px;
}

.content-section {
    padding: 60px 0;
}

.content-section h2 {
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 16px;
    font-size: 24px;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.content-section ul {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-light);
}

.content-section ul li {
    margin-bottom: 8px;
}

.contact-grid {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-dark);
}

.contact-info-item h4 {
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.contact-info-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-map {
    flex: 1;
    min-height: 400px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thanks-section {
    text-align: center;
    padding: 100px 0;
}

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

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--primary-dark);
}

.thanks-section h1 {
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-size: 36px;
}

.thanks-section p {
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    color: var(--white);
    padding: 20px;
    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: 24px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    font-size: 14px;
    opacity: 0.9;
}

.cookie-content a {
    color: var(--accent);
}

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

.cookie-buttons button {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: all 0.3s;
}

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

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

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

.cookie-reject:hover {
    background: rgba(255,255,255,0.1);
}

.about-values {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.value-card {
    flex: 1;
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-dark);
}

.value-card h3 {
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.team-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.team-member {
    text-align: center;
    flex: 0 1 250px;
}

.team-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--secondary);
    margin: 0 auto 20px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h4 {
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.team-member p {
    color: var(--text-light);
    font-size: 14px;
}

.full-services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-detail {
    display: flex;
    gap: 40px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

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

.service-detail-img {
    flex: 0 0 40%;
    min-height: 300px;
    background-color: var(--secondary);
}

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

.service-detail-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-detail-content h3 {
    color: var(--primary-dark);
    font-size: 24px;
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.service-detail-content ul {
    list-style: none;
    margin-bottom: 24px;
}

.service-detail-content ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
}

.service-detail-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.service-detail-price {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

@media (max-width: 992px) {
    .magazine-grid {
        flex-direction: column;
    }

    .magazine-sidebar {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
    }

    .sidebar-card {
        flex: 1;
        min-width: 250px;
    }

    .two-col {
        flex-direction: column;
    }

    .two-col-img {
        min-height: 300px;
        width: 100%;
    }

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

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

    .service-detail-img {
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .header-main .container {
        flex-wrap: wrap;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 16px;
    }

    nav.active {
        display: flex;
    }

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

    .mobile-menu-btn {
        display: block;
    }

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

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

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

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

    .about-values {
        flex-direction: column;
    }

    .team-grid {
        flex-wrap: wrap;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

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

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