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

:root {
    --color-primary: #2b4c7e;
    --color-primary-dark: #1a2f4f;
    --color-accent: #d4754e;
    --color-text: #2c2c2c;
    --color-text-light: #5a5a5a;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-bg-dark: #1f2937;
    --color-border: #e1e4e8;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-dark);
    color: #ffffff;
    padding: 1.5rem;
    z-index: 10000;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

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

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

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin: 0;
    line-height: 1.6;
}

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

.btn-cookie {
    padding: 0.75rem 2rem;
    border: none;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    background: #c26340;
    transform: translateY(-2px);
}

.btn-cookie.btn-secondary {
    background: transparent;
    border: 2px solid #ffffff;
}

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

.nav-minimal {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

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

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

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.editorial-container {
    max-width: 100%;
}

.hero-editorial {
    padding: 5rem 2rem 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    border-radius: 3px;
}

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

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

.page-header-editorial {
    padding: 4rem 2rem 3rem;
    background: var(--color-bg-alt);
}

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

.header-lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

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

.story-section {
    padding: 4rem 0;
    background: var(--color-bg);
}

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

.story-section.final {
    padding-bottom: 5rem;
}

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

.story-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--color-text);
    font-weight: 600;
}

.story-section h4 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--color-text);
    font-weight: 600;
}

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

.story-section ul {
    margin: 1.5rem 0 1.5rem 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.story-section li {
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.inline-image {
    width: 100%;
    height: auto;
    margin: 2.5rem 0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-inline {
    padding: 3rem 0;
    background: var(--color-primary);
}

.cta-box {
    background: var(--color-primary);
    padding: 2.5rem;
    text-align: center;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-box h3 {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #c26340;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 117, 78, 0.3);
}

.btn-primary-large {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--color-accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary-large:hover {
    background: #c26340;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 117, 78, 0.35);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 5px;
    border: 2px solid var(--color-primary);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.feature-item {
    padding: 1.5rem;
    background: var(--color-bg);
    border-left: 4px solid var(--color-accent);
}

.feature-item h4 {
    margin-top: 0;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

.services-editorial {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 3rem 0;
}

.service-card-editorial {
    padding: 2.5rem;
    background: var(--color-bg);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.story-section.alternate .service-card-editorial {
    background: #ffffff;
}

.service-card-editorial:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-header h3,
.service-header h2 {
    flex: 1;
    margin: 0;
    font-size: 1.75rem;
    color: var(--color-text);
    font-weight: 700;
    min-width: 250px;
}

.price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-accent);
    white-space: nowrap;
}

.service-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-intro {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-points {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
    padding: 0;
}

.service-points li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.6;
}

.service-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 1.1rem;
}

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

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

.service-card-editorial.detailed {
    padding: 3rem;
}

.service-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.testimonial-section {
    padding: 4rem 0;
    background: var(--color-bg-dark);
}

.testimonial-editorial {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--color-accent);
    border-radius: 4px;
}

.testimonial-editorial p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #ffffff;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-editorial cite {
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    font-size: 1rem;
}

.cta-section-large {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    text-align: center;
}

.cta-section-large h2 {
    color: #ffffff;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.cta-section-large p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-section {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}

.form-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-weight: 700;
    font-family: var(--font-serif);
}

.form-section p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.enrollment-form {
    background: var(--color-bg);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

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

.form-group input[readonly] {
    background: var(--color-bg-alt);
    cursor: not-allowed;
}

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

.btn-submit:hover {
    background: #c26340;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 117, 78, 0.3);
}

.services-section-full {
    padding: 3rem 0;
}

.contact-section {
    padding: 3rem 0;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 2rem 0;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
}

.contact-item p {
    font-size: 1.05rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 0;
}

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

.contact-item a:hover {
    text-decoration: underline;
}

.thanks-section {
    padding: 5rem 0;
    background: var(--color-bg-alt);
}

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

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

.thanks-lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

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

.thanks-next {
    text-align: left;
    margin: 3rem 0;
}

.thanks-next h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-weight: 700;
}

.thanks-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0;
}

.thanks-steps li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.thanks-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--color-accent);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

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

.legal-section {
    padding: 3rem 0 5rem;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.25rem;
    color: var(--color-text);
    font-weight: 700;
}

.legal-section h3 {
    font-size: 1.35rem;
    margin: 2rem 0 1rem;
    color: var(--color-text);
    font-weight: 600;
}

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

.legal-section ul {
    margin: 1.25rem 0 1.5rem 1.5rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.legal-section li {
    margin-bottom: 0.75rem;
}

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

.legal-section a:hover {
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.cookie-table thead {
    background: var(--color-bg-alt);
}

.cookie-table th {
    padding: 0.9rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--color-border);
}

.cookie-table td {
    padding: 0.9rem;
    border-bottom: 1px solid var(--color-border);
}

.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 280px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

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

.footer-column li {
    margin-bottom: 0.6rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    padding: 1.25rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

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

.sticky-cta-content span {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
}

.btn-sticky {
    padding: 0.75rem 2rem;
    background: var(--color-accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-sticky:hover {
    background: #c26340;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.75rem 2rem;
    }

    .nav-menu li a::after {
        display: none;
    }

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

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

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

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

    .service-header {
        flex-direction: column;
    }

    .service-header h3,
    .service-header h2 {
        min-width: auto;
    }

    .service-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

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

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

    .btn-cookie {
        width: 100%;
    }

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

    .btn-sticky {
        width: 100%;
    }

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

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

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

    .cookie-table {
        font-size: 0.85rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .narrow-content {
        padding: 0 1.5rem;
    }

    .nav-wrapper {
        padding: 1rem 1.5rem;
    }

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

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

    .story-section {
        padding: 3rem 0;
    }

    .service-card-editorial {
        padding: 1.75rem;
    }

    .service-card-editorial.detailed {
        padding: 2rem;
    }

    .enrollment-form {
        padding: 1.75rem;
    }

    .cta-section-large {
        padding: 3.5rem 1.5rem;
    }

    .cta-section-large h2 {
        font-size: 1.75rem;
    }
}
