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

:root {
    --primary-color: #2a7c5f;
    --secondary-color: #1a4d3a;
    --accent-color: #e8a842;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --text-muted: #7a7a7a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    display: flex;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

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

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    margin-top: 1.8rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

p {
    margin-bottom: 1.2rem;
}

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

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

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    font-weight: 600;
    color: var(--text-dark);
}

.nav-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background-color: var(--bg-white);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
}

.nav-brand {
    margin-bottom: 3rem;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-brand a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.nav-links {
    list-style: none;
    margin: 0;
    flex-grow: 1;
}

.nav-links li {
    margin-bottom: 0.5rem;
}

.nav-links a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
}

.nav-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.nav-footer a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.main-content {
    margin-left: 260px;
    flex-grow: 1;
    padding: 0;
}

.editorial-article {
    max-width: 100%;
    margin: 0 auto;
}

.hero-editorial {
    padding: 6rem 2rem 5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid var(--border-color);
}

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

.hero-label {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
}

.hero-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.page-header-editorial {
    padding: 5rem 2rem 3rem;
    background-color: var(--bg-light);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.header-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-family: 'Georgia', serif;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

.text-block-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.content-image-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.content-image-section.reverse {
    padding: 2rem 2rem 3rem;
}

.inline-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.image-caption {
    max-width: 680px;
    margin: 1.5rem auto 0;
    text-align: center;
}

.image-caption p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

.highlight-box {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
}

.highlight-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.benefit-list {
    list-style: none;
    margin-left: 0;
}

.benefit-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.benefit-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.services-preview {
    padding: 4rem 2rem;
    background-color: var(--bg-light);
}

.services-preview h2 {
    text-align: center;
    margin-top: 0;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

.service-cards-editorial {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card-mini {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    max-width: 450px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card-mini h3 {
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card-mini p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.price-tag {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cta-card {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.cta-card:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
}

.all-services-link {
    text-align: center;
    margin-top: 3rem;
}

.all-services-link a {
    font-size: 1.1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.testimonial-block {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.testimonial-block blockquote {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-dark);
}

.testimonial-block cite {
    display: block;
    margin-top: 1.5rem;
    font-style: normal;
    font-size: 1rem;
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.faq-editorial {
    margin-top: 2rem;
}

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

.faq-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.cta-section-editorial {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
}

.cta-content-box {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.cta-content-box h2 {
    color: var(--bg-white);
    margin-top: 0;
}

.cta-content-box p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.form-editorial {
    max-width: 500px;
    margin: 2rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: rgba(255, 255, 255, 0.95);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

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

.btn-submit-editorial {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.btn-submit-editorial:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.cta-inline-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--primary-color);
    transition: opacity 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cta-inline-text:hover {
    opacity: 0.7;
    text-decoration: none;
}

.cta-button-inline {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 6px;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.cta-button-inline:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
}

.final-section {
    padding-bottom: 4rem;
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
}

.footer-editorial {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 3rem 2rem 2rem;
    margin-left: 260px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}

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

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

.footer-col p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

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

.footer-col ul li a {
    color: var(--bg-light);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 1.5rem 2rem;
    z-index: 9999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
    display: none;
}

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

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

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

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

.btn-cookie {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

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

.btn-cookie.reject {
    background-color: transparent;
    color: var(--bg-white);
    border: 1px solid var(--bg-white);
}

.btn-cookie:hover {
    opacity: 0.8;
}

.services-full-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.service-item-detailed {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 3rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.service-item-detailed:hover {
    box-shadow: var(--shadow-md);
}

.service-header {
    padding: 2rem;
    background-color: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.service-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.service-body {
    padding: 2rem;
}

.service-body h4 {
    color: var(--primary-color);
    margin-top: 1.5rem;
}

.service-body ul {
    margin-top: 1rem;
}

.cta-button-service {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 6px;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.cta-button-service:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
}

.contact-info-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.contact-card {
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 250px;
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.process-list {
    counter-reset: process-counter;
    list-style: none;
    margin-left: 0;
    margin-top: 2rem;
}

.process-list li {
    counter-increment: process-counter;
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1.5rem;
}

.process-list li:before {
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.stats-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background-color: var(--bg-light);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
}

.stat-item {
    text-align: center;
    flex: 1 1 200px;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.thanks-page-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-message {
    text-align: left;
    margin-top: 2rem;
}

.next-steps {
    margin: 2rem 0;
}

.thanks-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

.thanks-actions {
    margin: 3rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.thanks-extra-info {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    text-align: left;
}

.quick-links {
    list-style: none;
    margin: 1rem 0 0 0;
}

.quick-links li {
    margin-bottom: 0.5rem;
}

.legal-page .legal-content h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-page .legal-content h3 {
    color: var(--secondary-color);
}

.cta-alternative {
    margin-top: 1rem;
    font-size: 0.95rem;
}

@media (max-width: 1024px) {
    .nav-sidebar {
        width: 220px;
    }

    .main-content {
        margin-left: 220px;
    }

    .footer-editorial {
        margin-left: 220px;
    }
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .nav-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem;
    }

    .nav-brand {
        margin-bottom: 1.5rem;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .nav-links li {
        margin-bottom: 0;
    }

    .nav-footer {
        margin-top: 1.5rem;
        padding-top: 1rem;
        display: flex;
        gap: 1rem;
    }

    .main-content {
        margin-left: 0;
    }

    .footer-editorial {
        margin-left: 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero-editorial {
        padding: 3rem 1.5rem;
    }

    .page-header-editorial {
        padding: 3rem 1.5rem 2rem;
    }

    .text-block-narrow {
        padding: 2rem 1.5rem;
    }

    .content-image-section {
        padding: 2rem 1.5rem;
    }

    .service-cards-editorial {
        flex-direction: column;
    }

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

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-grid {
        flex-direction: column;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

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

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

    .stats-section {
        flex-direction: column;
        gap: 2rem;
    }

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

    .thanks-actions {
        flex-direction: column;
    }
}

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

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .nav-links {
        flex-direction: column;
    }

    .service-price {
        font-size: 1.75rem;
    }

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