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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
}

.ad-disclosure {
    background-color: #f8f9fa;
    color: #6c757d;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    border-bottom: 1px solid #e9ecef;
}

.main-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

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

.story-flow {
    max-width: 100%;
}

.hero-editorial {
    position: relative;
    height: 600px;
    margin-bottom: 60px;
    background-color: #1a1a1a;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 30px;
}

.hero-text-overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.content-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 30px 80px;
}

.page-header-editorial {
    text-align: center;
    padding: 80px 30px 60px;
    background-color: #f8f9fa;
}

.page-header-editorial h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.header-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 300;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #34495e;
    margin-bottom: 35px;
    font-weight: 300;
}

.content-narrow h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 50px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.content-narrow h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 35px;
    margin-bottom: 18px;
}

.content-narrow p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 22px;
    color: #34495e;
}

.inline-image-section {
    margin: 50px 0;
}

.inline-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.image-caption {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 12px;
    text-align: center;
}

.reference-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.reference-link:hover {
    text-decoration: underline;
}

.cta-inline {
    margin: 40px 0;
    text-align: center;
}

.cta-link {
    color: #3498db;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 2px solid #3498db;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
}

.insight-box {
    background-color: #f0f4f8;
    border-left: 4px solid #3498db;
    padding: 30px;
    margin: 45px 0;
    border-radius: 4px;
}

.insight-box h3 {
    margin-top: 0;
    color: #2c3e50;
}

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

.services-grid-editorial {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin: 50px 0;
}

.service-card {
    background-color: #f8f9fa;
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
}

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

.service-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

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

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #27ae60;
    margin-top: 20px;
    margin-bottom: 15px;
}

.service-select-btn {
    background-color: #3498db;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.contact-form-section {
    background-color: #f8f9fa;
    padding: 50px;
    border-radius: 8px;
    margin: 60px 0;
}

.contact-form-section h2 {
    margin-top: 0;
}

.editorial-form {
    margin-top: 30px;
}

.service-display {
    background-color: #e3f2fd;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-weight: 500;
    color: #1565c0;
    display: none;
}

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

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    background-color: #27ae60;
    color: #ffffff;
    border: none;
    padding: 14px 35px;
    font-size: 1.05rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.testimonial-editorial {
    background-color: #ffffff;
    border-left: 4px solid #95a5a6;
    padding: 35px;
    margin: 50px 0;
    font-style: italic;
}

.testimonial-editorial blockquote {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 15px;
}

.testimonial-author {
    font-style: normal;
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.cta-box-editorial {
    background-color: #ecf0f1;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    margin: 50px 0;
}

.cta-box-editorial h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.cta-box-editorial p {
    margin-bottom: 25px;
}

.cta-button-secondary {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button-secondary:hover {
    background-color: #2980b9;
}

.editorial-list {
    margin-left: 30px;
    margin-bottom: 25px;
}

.editorial-list li {
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #34495e;
}

.services-detailed {
    margin: 40px 0;
}

.service-detailed-card {
    background-color: #ffffff;
    padding: 0;
    margin-bottom: 50px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 40px;
}

.service-detailed-card:last-child {
    border-bottom: none;
}

.service-detailed-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-price-large {
    font-size: 2.2rem;
    font-weight: 700;
    color: #27ae60;
    margin: 25px 0;
}

.contact-info-block {
    margin-bottom: 45px;
}

.contact-detail {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
}

.contact-note {
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-top: 10px;
}

.thanks-section {
    padding-top: 60px;
}

.thanks-content h1 {
    text-align: center;
    margin-bottom: 30px;
}

.service-confirmation {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
    font-size: 1.05rem;
    color: #155724;
    display: none;
}

.service-confirmation.visible {
    display: block;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 45px;
}

.legal-content h3 {
    font-size: 1.3rem;
}

.legal-content ul,
.legal-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

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

.cookies-table th,
.cookies-table td {
    border: 1px solid #dee2e6;
    padding: 12px;
    text-align: left;
}

.cookies-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.main-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 30px 30px;
}

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

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

.footer-section h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: #bdc3c7;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: #3498db;
}

.references-list {
    padding-left: 20px;
}

.references-list li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.references-list a {
    color: #3498db;
    text-decoration: none;
}

.references-list a:hover {
    text-decoration: underline;
}

.footer-disclaimer {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #bdc3c7;
    margin: 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.9rem;
}

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

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

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

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

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

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

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

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

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

.cookie-btn.reject:hover {
    background-color: #7f8c8d;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
    }

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

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

    .content-narrow {
        padding: 0 20px 60px;
    }

    .page-header-editorial {
        padding: 50px 20px 40px;
    }

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

    .content-narrow h2 {
        font-size: 1.6rem;
    }

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

    .contact-form-section {
        padding: 30px 25px;
    }

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

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

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

    .cookie-btn {
        flex: 1;
    }
}