:root {
    --primary: #1a5f4a;
    --primary-dark: #134438;
    --secondary: #2d8b6e;
    --accent: #e8f4f0;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --bg: #fafcfb;
    --bg-alt: #f0f5f3;
    --white: #ffffff;
    --border: #d4e5df;
    --error: #c53030;
    --shadow: 0 4px 20px rgba(26, 95, 74, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 95, 74, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

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

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

.ad-disclosure {
    background-color: var(--accent);
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

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

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text);
    transition: all 0.3s ease;
}

.hero-editorial {
    padding: 80px 24px 100px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--bg) 100%);
}

.hero-editorial .container-narrow {
    text-align: center;
}

.hero-editorial h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-image-wrap {
    margin-top: 48px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-alt);
}

.hero-image-wrap img {
    width: 100%;
    height: 400px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

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

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

.section {
    padding: 80px 24px;
}

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

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

.section-dark h2, .section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.9);
}

.editorial-block {
    margin-bottom: 48px;
}

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

.inline-image {
    margin: 32px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--bg-alt);
}

.inline-image img {
    width: 100%;
    height: 320px;
}

.image-caption {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-light);
    background-color: var(--white);
    text-align: center;
}

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

.service-card {
    flex: 1 1 340px;
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-image {
    height: 200px;
    background-color: var(--bg-alt);
}

.service-card-image img {
    width: 100%;
    height: 100%;
}

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

.service-card h3 {
    margin-bottom: 12px;
}

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

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

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

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-alt);
}

.split-image img {
    width: 100%;
    height: 400px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    flex-wrap: wrap;
}

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

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

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

.testimonial-block {
    background-color: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin: 40px 0;
    position: relative;
}

.testimonial-block::before {
    content: '"';
    font-size: 120px;
    color: var(--accent);
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text);
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

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

.cta-section {
    text-align: center;
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.cta-section .btn:hover {
    background-color: var(--accent);
    color: var(--primary-dark);
}

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

.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: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background-color: var(--white);
}

.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;
}

.form-error {
    color: var(--error);
    font-size: 14px;
    margin-top: 6px;
    display: none;
}

.form-group.error input,
.form-group.error select {
    border-color: var(--error);
}

.form-group.error .form-error {
    display: block;
}

.contact-info-grid {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-info-item {
    flex: 1 1 280px;
    background-color: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

.about-values {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.value-item {
    flex: 1 1 260px;
    text-align: center;
    padding: 32px 24px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.value-icon {
    width: 64px;
    height: 64px;
    background-color: 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);
}

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

.footer-grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1 1 240px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

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

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

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-section {
    background-color: var(--bg-alt);
    padding: 40px 24px;
    border-top: 1px solid var(--border);
}

.disclaimer-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
}

.references-section {
    padding: 40px 24px;
    background-color: var(--white);
}

.references-section h4 {
    margin-bottom: 16px;
}

.references-list {
    list-style: none;
}

.references-list li {
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-light);
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 24px;
    z-index: 1000;
    display: none;
}

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

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

.cookie-text {
    flex: 1;
    font-size: 14px;
    color: var(--text);
}

.cookie-text a {
    color: var(--primary);
}

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

.cookie-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

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

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

.cookie-btn.reject {
    background-color: var(--bg-alt);
    color: var(--text);
}

.cookie-btn.reject:hover {
    background-color: var(--border);
}

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

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

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

.thanks-container h1 {
    margin-bottom: 16px;
}

.thanks-container p {
    color: var(--text-light);
    max-width: 500px;
}

.legal-content {
    padding: 60px 24px;
}

.legal-content h1 {
    margin-bottom: 32px;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

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

.legal-content ul {
    padding-left: 24px;
}

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

.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-light);
}

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

.page-header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--bg) 100%);
    padding: 60px 24px;
    text-align: center;
}

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

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

.team-section {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

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

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

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

.team-member h4 {
    margin-bottom: 4px;
}

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

@media (max-width: 900px) {
    .split-section {
        flex-direction: column;
    }

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

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

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

    .stats-row {
        gap: 32px;
    }

    .stat-number {
        font-size: 2.4rem;
    }
}

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

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
    }

    .hamburger {
        display: flex;
    }

    .header-inner {
        position: relative;
    }

    .form-container {
        padding: 32px 24px;
    }

    .footer-grid {
        gap: 32px;
    }

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

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .section {
        padding: 60px 16px;
    }

    h1 {
        font-size: 1.9rem;
    }

    .hero-editorial {
        padding: 60px 16px 80px;
    }

    .hero-editorial h1 {
        font-size: 2rem;
    }

    .hero-image-wrap img {
        height: 280px;
    }

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

    .testimonial-block {
        padding: 32px 24px;
    }

    .cta-section {
        padding: 60px 16px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }
}
