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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #7a7a7a;
    --bg-light: #f9f9f9;
    --bg-alt: #f0f4f8;
    --border-color: #e0e0e0;
    --accent-color: #3498db;
}

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

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

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

a:hover {
    color: var(--secondary-color);
}

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

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

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-medium);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.editorial-flow {
    background-color: #ffffff;
}

.editorial-hero {
    padding: 3rem 1.5rem;
    background-color: var(--bg-light);
}

.hero-content-narrow {
    max-width: 680px;
    margin: 0 auto 2rem;
}

.editorial-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-medium);
}

.hero-image {
    max-width: 900px;
    margin: 0 auto;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.editorial-section {
    padding: 4rem 1.5rem;
}

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

.editorial-section.cta-section {
    background-color: var(--primary-color);
    color: #ffffff;
}

.editorial-section.cta-section h2,
.editorial-section.cta-section p {
    color: #ffffff;
}

.content-narrow {
    max-width: 680px;
    margin: 0 auto;
}

.editorial-section h2 {
    font-size: 2rem;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.editorial-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
}

.inline-cta {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background-color: var(--secondary-color);
    color: #ffffff;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.inline-cta:hover {
    background-color: #c0392b;
    color: #ffffff;
}

.inline-image {
    margin: 2.5rem 0;
}

.inline-image img {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.highlight-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

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

blockquote {
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-medium);
}

blockquote cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-cards-editorial {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.service-card-editorial {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.service-card-editorial h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card-editorial p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.service-card-editorial .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 1rem 0;
}

.btn-select-service {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.form-section-editorial {
    background-color: #ffffff;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 2.5rem;
    margin-top: 3rem;
}

.form-section-editorial h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.editorial-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.editorial-form input[type="text"],
.editorial-form input[type="email"] {
    padding: 0.875rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
}

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

.service-display {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 5px;
    font-weight: 600;
    color: var(--text-dark);
    display: none;
}

.service-display.active {
    display: block;
}

.btn-submit {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

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

.btn-primary-large {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.btn-primary-large:hover {
    background-color: #c0392b;
    color: #ffffff;
}

.page-header-editorial {
    padding: 3rem 1.5rem;
    background-color: var(--bg-light);
}

.page-header-editorial h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-header-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-medium);
}

.services-detailed {
    background-color: #ffffff;
}

.service-detail {
    padding: 3rem 1.5rem;
}

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

.service-detail h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.service-detail ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-detail li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: var(--text-medium);
}

.contact-details {
    padding: 3rem 1.5rem;
    background-color: var(--bg-alt);
}

.contact-info-block {
    margin-bottom: 2.5rem;
}

.contact-info-block h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info-block p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.contact-info-block .note {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-item p {
    font-size: 1.05rem;
    color: var(--text-medium);
}

.thanks-section {
    padding: 4rem 1.5rem;
    background-color: var(--bg-light);
}

.thanks-section h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.thanks-content {
    margin-top: 2.5rem;
}

.thanks-content h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 700;
}

.thanks-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.thanks-content li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: var(--text-medium);
}

.thanks-cta {
    margin-top: 2.5rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
    color: #ffffff;
}

.legal-content {
    padding: 3rem 1.5rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.legal-content h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-content h3 {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.legal-content ul {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: var(--text-medium);
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

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

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

.cookies-table td {
    color: var(--text-medium);
}

.footer-editorial {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 3rem 1.5rem 1.5rem;
}

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

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

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

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

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

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

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

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-cookie.accept {
    background-color: #27ae60;
    color: #ffffff;
}

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

.btn-cookie.reject {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

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

.final-cta {
    text-align: center;
}

@media (min-width: 768px) {
    .editorial-hero h1 {
        font-size: 3.5rem;
    }

    .hero-lead {
        font-size: 1.4rem;
    }

    .page-header-editorial h1 {
        font-size: 3.25rem;
    }

    .page-header-editorial .lead {
        font-size: 1.35rem;
    }

    .editorial-section {
        padding: 5rem 1.5rem;
    }

    .editorial-section h2 {
        font-size: 2.25rem;
    }

    .service-cards-editorial {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card-editorial {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 767px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

    .hero-lead {
        font-size: 1.1rem;
    }

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

    .editorial-section h2 {
        font-size: 1.65rem;
    }

    .editorial-section p {
        font-size: 1.05rem;
    }

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

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

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
    }
}
