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

:root {
    --primary-color: #2c5f7c;
    --secondary-color: #4a8ba8;
    --accent-color: #d4924d;
    --text-dark: #1a2332;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --error-color: #e53e3e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.ad-notice {
    background-color: var(--accent-color);
    color: white;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

.story-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 120px;
}

.article-hero {
    margin-bottom: 48px;
}

.hero-image-wrapper {
    margin-bottom: 32px;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.article-hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
    font-weight: 700;
}

.lead-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 16px;
}

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

.content-block h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.content-block h3 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

.content-block p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-medium);
}

.content-block ul {
    margin: 20px 0 20px 24px;
}

.content-block li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: var(--text-medium);
}

.inline-image-section {
    margin: 56px 0;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.inline-image-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.highlight-section {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 4px;
    border-left: 4px solid var(--primary-color);
}

.inline-cta {
    margin-top: 24px;
}

.text-link-cta {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.text-link-cta:hover {
    color: var(--secondary-color);
}

.text-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s;
}

.text-link:hover {
    color: var(--secondary-color);
}

.service-card-editorial {
    display: flex;
    gap: 40px;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border-color);
}

.service-card-editorial:last-of-type {
    border-bottom: none;
}

.service-card-editorial.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    min-width: 300px;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--bg-light);
}

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

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.service-content p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-medium);
    margin-bottom: 12px;
}

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

.service-select-btn,
.service-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.service-select-btn:hover,
.service-link:hover {
    background-color: var(--secondary-color);
}

.testimonial-inline {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 4px;
    margin-bottom: 24px;
    border-left: 4px solid var(--accent-color);
}

.testimonial-text {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 600;
}

.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 48px;
    border-radius: 4px;
    margin-top: 64px;
}

.cta-section h2,
.cta-section h3 {
    color: white;
}

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

.cta-section .text-link {
    color: var(--accent-color);
    font-weight: 600;
}

.cta-section .text-link:hover {
    color: white;
}

.editorial-form {
    background-color: white;
    padding: 32px;
    border-radius: 4px;
    margin-top: 32px;
}

.form-notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 15px;
}

.form-notice.error {
    background-color: #fed7d7;
    color: var(--error-color);
}

.form-notice.success {
    background-color: #c6f6d5;
    color: var(--success-color);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

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

.form-group input[readonly] {
    background-color: var(--bg-light);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.disclaimer-section {
    background-color: #fff5e6;
    padding: 32px;
    border-radius: 4px;
    border-left: 4px solid var(--accent-color);
}

.disclaimer-section h3 {
    color: var(--accent-color);
}

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: white;
}

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

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

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

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

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

.cookie-content p {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-medium);
}

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

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

.cookie-btn {
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

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

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

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

.page-header {
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.last-updated {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.contact-info-block {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.contact-info-block h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.email-text {
    font-family: monospace;
    font-size: 17px;
    color: var(--text-dark);
    user-select: all;
}

.thanks-page .page-header {
    text-align: center;
}

.thanks-info {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.back-home-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s;
}

.back-home-btn:hover {
    background-color: var(--secondary-color);
}

.legal-page .content-block {
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 28px;
    margin-top: 32px;
}

.legal-page h3 {
    font-size: 22px;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.cookies-table th,
.cookies-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookies-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.cookies-table td {
    font-size: 16px;
    color: var(--text-medium);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
        font-size: 14px;
    }

    .story-container {
        padding: 40px 20px 80px;
    }

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

    .lead-text {
        font-size: 18px;
    }

    .content-block h2 {
        font-size: 26px;
    }

    .content-block p,
    .content-block li {
        font-size: 17px;
    }

    .service-card-editorial {
        flex-direction: column;
        gap: 24px;
    }

    .service-card-editorial.reverse {
        flex-direction: column;
    }

    .service-image {
        min-width: 100%;
    }

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

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

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