:root {
    --primary: #2d5a4a;
    --primary-light: #3d7a64;
    --primary-dark: #1d3a30;
    --accent: #e8a54b;
    --accent-light: #f4c078;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #717171;
    --bg-light: #fafaf8;
    --bg-warm: #f5f3ef;
    --bg-section: #eef2f0;
    --white: #ffffff;
    --border: #d4d4d4;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-strong: rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1140px;
    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-light);
}

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

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

h1 { font-size: 2.8rem; margin-bottom: 1.2rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.6rem; }

p { margin-bottom: 1.2rem; }

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

.header-top {
    background-color: var(--bg-warm);
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.ad-disclosure {
    background-color: var(--accent);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 500;
}

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

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

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

.logo span {
    color: var(--accent);
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

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

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

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--accent-light);
    color: var(--text-dark);
}

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

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

.hero {
    position: relative;
    padding: 80px 0 100px;
    background-color: var(--bg-section);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-image {
    flex: 1;
    position: relative;
    background-color: var(--primary-light);
    border-radius: 12px;
    overflow: hidden;
    min-height: 420px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.section {
    padding: 80px 0;
}

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

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

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

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

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

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

.editorial-block p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.editorial-image {
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bg-section);
    min-height: 300px;
    position: relative;
}

.editorial-image img {
    width: 100%;
    height: auto;
    display: block;
}

.editorial-quote {
    border-left: 4px solid var(--accent);
    padding: 24px 32px;
    margin: 40px 0;
    background-color: var(--bg-warm);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-medium);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1 1 320px;
    max-width: 360px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.service-card-image {
    height: 180px;
    margin: -32px -32px 24px -32px;
    background-color: var(--bg-section);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

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

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

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

.service-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.service-price .amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

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

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.benefit-content h4 {
    margin-bottom: 6px;
    color: var(--primary);
}

.benefit-content p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.testimonial-section {
    background-color: var(--bg-warm);
    padding: 60px 0;
}

.testimonial-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 24px;
    line-height: 1.8;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info strong {
    display: block;
    color: var(--text-dark);
}

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

.cta-section {
    background-color: var(--primary);
    padding: 70px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-section .btn-secondary {
    font-size: 1.1rem;
    padding: 16px 36px;
}

.form-section {
    background-color: var(--bg-section);
    padding: 80px 0;
}

.form-container {
    background-color: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 40px var(--shadow);
    max-width: 640px;
    margin: 0 auto;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 12px;
}

.form-container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 36px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: var(--bg-light);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.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, 74, 0.1);
}

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

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

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

.split-section {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.split-content {
    flex: 1;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-image {
    flex: 1;
    min-height: 500px;
    background-color: var(--bg-section);
    position: relative;
}

.split-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-intro {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-intro-text {
    flex: 1;
}

.about-intro-image {
    flex: 0 0 380px;
    height: 320px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bg-section);
    position: relative;
}

.about-intro-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.contact-details h4 {
    margin-bottom: 4px;
}

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

.footer {
    background-color: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

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

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

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

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

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

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

.disclaimer {
    background-color: var(--bg-warm);
    padding: 30px 0;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

.disclaimer p {
    margin: 0;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.references h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

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

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

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

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

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

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

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
}

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

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

.cookie-buttons .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

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

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

.btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

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

.page-header h1 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 2.4rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 1.1rem;
}

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

.page-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.page-content h3 {
    margin-top: 30px;
    margin-bottom: 12px;
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 28px;
}

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

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

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

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

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

.thanks-content p {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.inline-cta {
    background-color: var(--bg-warm);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

.inline-cta h4 {
    margin-bottom: 12px;
}

.inline-cta p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta .btn {
    box-shadow: 0 4px 20px var(--shadow-strong);
}

@media (max-width: 992px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    .hero-content {
        flex-direction: column;
    }

    .hero-image {
        min-height: 320px;
        width: 100%;
    }

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

    .split-content {
        padding: 50px 24px;
    }

    .split-image {
        min-height: 350px;
    }

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

    .about-intro-image {
        flex: 0 0 280px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-main {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        box-shadow: -4px 0 20px var(--shadow);
        transition: right 0.3s ease;
        align-items: flex-start;
    }

    .nav-main.open {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
