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

:root {
    --color-primary: #2c3e50;
    --color-secondary: #e74c3c;
    --color-accent: #3498db;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-border: #e0e0e0;
    --font-body: 'Georgia', serif;
    --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --spacing-unit: 1rem;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1.3rem;
}

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

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

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

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

li {
    margin-bottom: 0.5rem;
}

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
}

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

.nav-links a {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

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

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

.hero-editorial {
    padding: 3rem 2rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-content-narrow {
    margin-bottom: 2rem;
}

.hero-editorial h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.hero-image {
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 4px;
}

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

.content-section {
    padding: 2rem 2rem 4rem;
}

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

.opening-graf {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--color-primary);
    font-style: italic;
}

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

.inline-image img {
    width: 100%;
    border-radius: 4px;
}

.inline-image figcaption {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 0.8rem;
    font-style: italic;
    text-align: center;
}

.editorial-list {
    list-style: none;
    padding-left: 0;
}

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

.editorial-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.testimonial-inline {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-accent);
    font-size: 1.1rem;
    font-style: italic;
}

.testimonial-inline cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-style: normal;
    color: var(--color-text-light);
}

.cta-inline {
    margin: 2rem 0;
    text-align: center;
}

.btn-text-cta {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: transform 0.3s ease;
    display: inline-block;
}

.btn-text-cta:hover {
    transform: translateX(5px);
}

.insight-box {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #fff8e1;
    border-radius: 4px;
}

.insight-box h4 {
    margin-bottom: 1rem;
    color: var(--color-primary);
}

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

.cta-card-inline {
    margin: 3rem 0;
    padding: 2.5rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: 8px;
    text-align: center;
}

.cta-card-inline h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-card-inline p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.urgency-section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #ffebee;
    border-radius: 8px;
    text-align: center;
}

.urgency-section h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.services-editorial {
    margin: 3rem 0;
}

.service-item {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}

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

.service-item h3,
.service-item h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-item p {
    color: var(--color-text);
    line-height: 1.7;
}

.service-benefits {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: var(--color-bg-light);
    border-radius: 4px;
}

.service-benefits h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.service-benefits ul {
    margin-bottom: 0;
}

.service-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
}

.service-duration {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-secondary);
    font-family: var(--font-heading);
}

.btn-select-service,
.btn-primary,
.btn-secondary,
.btn-submit {
    padding: 0.9rem 1.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-select-service,
.btn-primary {
    background-color: var(--color-accent);
    color: white;
}

.btn-select-service:hover,
.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

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

.btn-submit {
    background-color: var(--color-secondary);
    color: white;
    width: 100%;
}

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

.final-cta-section {
    margin: 4rem 0 2rem;
    text-align: center;
}

.final-cta-section h2 {
    margin-bottom: 1rem;
}

.editorial-form {
    margin: 2rem 0;
    padding: 2.5rem;
    background-color: var(--color-bg-light);
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

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

.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 3rem 2rem 1.5rem;
}

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

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

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
}

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

.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 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    color: white;
    padding: 1.5rem 2rem;
    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;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
}

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

.btn-cookie-accept,
.btn-cookie-reject {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

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

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

.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sticky-cta.show {
    opacity: 1;
    visibility: visible;
}

.btn-sticky {
    padding: 1rem 2rem;
    background-color: var(--color-secondary);
    color: white;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-sticky:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-content {
    min-height: 60vh;
}

.page-header {
    padding: 3rem 2rem 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-info-box {
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--color-bg-light);
    border-radius: 8px;
}

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

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.contact-item p {
    margin-bottom: 0.3rem;
}

.info-note {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #e3f2fd;
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
}

.info-note p {
    margin-bottom: 0;
}

.thanks-page {
    padding: 4rem 2rem;
}

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

.thanks-box h1 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

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

.thanks-info h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.thanks-info ol {
    margin-bottom: 0;
}

.service-confirmation {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #e8f5e9;
    border-radius: 8px;
}

.service-confirmation h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.selected-service {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0;
}

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

.legal-page h2 {
    margin-top: 2rem;
}

.legal-update {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-style: italic;
}

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

    .nav-links {
        gap: 1rem;
    }

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

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

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

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

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

    .btn-cookie-accept,
    .btn-cookie-reject {
        width: 100%;
    }

    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
    }

    .btn-sticky {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

    .thanks-actions .btn-primary,
    .thanks-actions .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-editorial {
        padding: 1rem;
    }

    .hero-editorial,
    .content-section,
    .page-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .editorial-form {
        padding: 1.5rem;
    }
}
