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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e67e22;
    --text-color: #333;
    --light-text: #666;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

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

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

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

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

.btn-cookie,
.btn-cookie-secondary {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

.btn-cookie-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

.nav-floating {
    position: sticky;
    top: 0;
    background-color: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

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

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

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

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

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

.ad-notice {
    font-size: 11px;
    color: var(--light-text);
    padding: 4px 10px;
    background-color: var(--light-bg);
    border-radius: 4px;
}

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

.article-hero {
    margin-bottom: 60px;
    text-align: left;
}

.article-title {
    font-size: 42px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.article-intro {
    font-size: 22px;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 30px;
}

.hero-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--light-bg);
}

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

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

.section-heading {
    font-size: 32px;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.article-list {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-left: 30px;
    margin-bottom: 20px;
}

.article-list li {
    margin-bottom: 10px;
}

.inline-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    margin: 30px 0;
    background-color: var(--light-bg);
}

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

.inline-cta {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 6px;
    text-align: center;
    margin: 40px 0;
}

.inline-cta h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.cta-link:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.service-card-editorial {
    background-color: var(--light-bg);
    padding: 35px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.service-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

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

.btn-select-service {
    padding: 14px 28px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select-service:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.citation {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.citation:hover {
    text-decoration: underline;
}

.testimonial-section {
    background-color: var(--light-bg);
    padding: 40px 30px;
    border-radius: 6px;
}

.testimonial {
    margin-bottom: 30px;
}

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 10px;
}

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

.form-wrapper {
    background-color: var(--light-bg);
    padding: 40px 35px;
    border-radius: 6px;
    margin: 40px 0;
}

.editorial-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
}

.form-notice.show {
    display: block;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.btn-submit {
    padding: 16px 32px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    background-color: #d35400;
    transform: translateY(-2px);
}

.btn-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

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

.disclaimer {
    font-size: 14px;
    line-height: 1.6;
    color: var(--light-text);
}

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

.references-section h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.references-list {
    font-size: 14px;
    line-height: 1.7;
    color: var(--light-text);
    margin-left: 20px;
}

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

.references-list a {
    color: var(--light-text);
    text-decoration: none;
}

.references-list a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
}

.contact-block h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-block p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
}

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

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

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

.faq-item p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
}

.thanks-hero {
    text-align: center;
}

.thanks-content {
    text-align: left;
}

.legal-page .article-section h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 700;
}

.services-detailed .service-card-editorial {
    margin-bottom: 50px;
}

.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-column p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

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

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

.footer-column ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

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

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

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        justify-content: center;
    }

    .article-title {
        font-size: 32px;
    }

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

    .section-heading {
        font-size: 26px;
    }

    .article-text {
        font-size: 16px;
    }

    .service-card-editorial {
        padding: 25px;
    }

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

    .cookie-buttons {
        justify-content: center;
    }

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