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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --light-gray: #ecf0f1;
    --border-color: #bdc3c7;
    --success-color: #27ae60;
    --warning-color: #e74c3c;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #ffffff;
}

.ad-disclosure {
    background-color: #fff3cd;
    color: #856404;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    border-bottom: 1px solid #ffeaa7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.editorial-nav {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

.editorial-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.article-header {
    margin-bottom: 50px;
}

.article-header h1 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.intro-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--secondary-color);
    font-style: italic;
}

.hero-image {
    margin: 50px 0;
    background-color: var(--light-gray);
}

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

.content-flow {
    font-size: 18px;
    line-height: 1.8;
}

.content-flow p {
    margin-bottom: 24px;
}

.content-flow h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.content-flow h3 {
    font-size: 24px;
    line-height: 1.4;
    margin-top: 35px;
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--primary-color);
}

.content-flow h4 {
    font-size: 20px;
    line-height: 1.4;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.content-flow ul,
.content-flow ol {
    margin-left: 30px;
    margin-bottom: 24px;
}

.content-flow li {
    margin-bottom: 12px;
}

.content-flow a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.content-flow a:hover {
    color: var(--primary-color);
}

.inline-figure {
    margin: 40px 0;
    background-color: var(--light-gray);
}

.inline-figure img {
    width: 100%;
    height: auto;
    display: block;
}

.inline-figure figcaption {
    padding: 12px 16px;
    font-size: 15px;
    color: var(--secondary-color);
    font-style: italic;
    text-align: center;
}

.inline-cta {
    background-color: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    padding: 30px;
    margin: 40px 0;
}

.inline-cta h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 24px;
}

.inline-cta p {
    margin-bottom: 16px;
}

.cta-link {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-link:hover {
    background-color: #2980b9;
    color: #ffffff;
}

.highlight-box {
    background-color: #e8f4f8;
    border: 1px solid #b8dce8;
    padding: 25px;
    margin: 35px 0;
    border-radius: 4px;
}

.highlight-box h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 22px;
    color: var(--primary-color);
}

.highlight-box p {
    margin-bottom: 0;
}

.testimonial {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin: 35px 0;
    font-style: italic;
}

.testimonial p {
    font-size: 19px;
    margin-bottom: 12px;
}

.testimonial cite {
    font-style: normal;
    font-size: 16px;
    color: var(--secondary-color);
}

blockquote {
    margin: 35px 0;
}

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin: 40px 0;
}

.service-card {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: auto;
    display: block;
    background-color: var(--light-gray);
}

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

.service-card p {
    padding: 0 20px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
}

.service-price {
    font-weight: 700;
    font-size: 18px;
    color: var(--accent-color);
    padding: 0 20px;
    margin-bottom: 20px;
}

.select-service {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 14px 20px;
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.select-service:hover {
    background-color: #2980b9;
}

.editorial-form {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 35px;
    margin: 40px 0;
}

.editorial-form h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 26px;
}

.form-intro {
    margin-bottom: 25px;
    font-size: 16px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: border-color 0.3s ease;
}

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

.submit-btn {
    padding: 14px 40px;
    background-color: var(--success-color);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #229954;
}

.references-section {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.references-section h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.references-list {
    font-size: 15px;
    line-height: 1.7;
}

.references-list li {
    margin-bottom: 12px;
}

.disclaimer-box {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    margin: 50px 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
}

.disclaimer-box p {
    margin: 0;
}

.editorial-footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 50px 20px 20px;
    margin-top: 80px;
}

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

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

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

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #ecf0f1;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    font-size: 14px;
    color: #ecf0f1;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.cookie-banner.active {
    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 {
    margin: 0;
    font-size: 14px;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: #3498db;
    text-decoration: underline;
}

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

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

.cookie-btn.accept {
    background-color: var(--success-color);
    color: #ffffff;
}

.cookie-btn.accept:hover {
    background-color: #229954;
}

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

.cookie-btn.reject:hover {
    background-color: #95a5a6;
}

.contact-info-layout {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    margin: 40px 0;
}

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

.location-image {
    flex: 1;
    min-width: 300px;
    background-color: var(--light-gray);
}

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

.contact-note {
    font-style: italic;
    font-size: 16px;
    color: var(--secondary-color);
    margin-top: 20px;
}

.faq-section {
    margin: 30px 0;
}

.faq-item {
    margin-bottom: 30px;
}

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

.faq-item p {
    font-size: 16px;
    line-height: 1.7;
}

.thanks-page .thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.next-steps {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 4px;
    margin-top: 40px;
}

.next-steps h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
}

.next-steps p {
    margin-bottom: 8px;
}

.legal-page .content-flow {
    font-size: 16px;
}

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

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

.legal-page h4 {
    font-size: 18px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 32px;
    }

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

    .content-flow {
        font-size: 17px;
    }

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

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

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

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

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

    .contact-info-layout {
        flex-direction: column;
    }
}