/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2a2a2a;
    background-color: #fefefe;
}

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

a {
    color: #1a5490;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0d3a6f;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-cookie {
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #1a5490;
    color: #ffffff;
}

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

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

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

/* Navigation - Editorial Style */
.nav-editorial {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2a2a2a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu li a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    color: #5a5a5a;
    transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #1a5490;
}

/* Editorial Main Container */
.editorial-main {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Article Header */
.article-header {
    margin-bottom: 4rem;
}

.header-content {
    margin-bottom: 2.5rem;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.article-lead {
    font-size: 1.3rem;
    color: #5a5a5a;
    line-height: 1.6;
    font-style: italic;
}

.header-image {
    margin: 2rem 0;
}

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

/* Page Header (for subpages) */
.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.page-header h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.page-lead {
    font-size: 1.15rem;
    color: #6a6a6a;
    line-height: 1.6;
}

/* Article Sections */
.article-section {
    margin-bottom: 4rem;
}

.article-section.alternate {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
}

.article-section.visual-break {
    margin: 5rem 0;
}

.section-content {
    max-width: 100%;
}

.article-section h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.article-section h3 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin: 2rem 0 1rem;
    color: #2a2a2a;
    font-weight: 600;
}

.article-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #3a3a3a;
    margin-bottom: 2rem;
}

/* Blockquotes - Editorial Style */
.editorial-quote {
    margin: 3rem 0;
    padding: 2rem 2.5rem;
    background-color: #f5f7fa;
    border-left: 4px solid #1a5490;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    color: #2a2a2a;
}

.editorial-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-style: normal;
    color: #6a6a6a;
}

/* Lists */
.insights-list,
.results-list,
.method-list {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.insights-list li,
.results-list li,
.method-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Inline Images */
.inline-image {
    margin: 3rem 0;
}

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

.full-width-image {
    margin: 4rem -2rem;
}

.full-width-image img {
    width: calc(100% + 4rem);
    border-radius: 0;
}

/* Language Grid */
.language-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.language-card {
    background-color: #f9f9f9;
    padding: 1.8rem;
    border-radius: 6px;
    border-left: 3px solid #1a5490;
}

.language-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    color: #1a5490;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.language-card p {
    margin: 0;
    font-size: 1rem;
    color: #4a4a4a;
}

/* Testimonial Section */
.testimonial-section {
    background-color: #f0f4f8;
    padding: 3rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
}

.testimonial-card {
    background-color: #ffffff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2a2a2a;
    margin-bottom: 1rem;
}

.testimonial-card cite {
    display: block;
    font-size: 0.95rem;
    font-style: normal;
    color: #6a6a6a;
}

/* Services Showcase */
.services-showcase {
    margin: 3rem 0;
}

.service-item {
    background-color: #ffffff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #1a5490;
}

.service-item h3 {
    margin: 0 0 1rem 0;
    font-size: 1.4rem;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a5490;
    margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Buttons */
.btn-primary,
.btn-primary-large,
.btn-select,
.btn-submit {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: #1a5490;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary-large {
    font-size: 1.15rem;
    padding: 1.1rem 2.5rem;
}

.btn-primary:hover,
.btn-primary-large:hover,
.btn-select:hover,
.btn-submit:hover {
    background-color: #0d3a6f;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #1a5490;
    color: #1a5490;
}

.btn-secondary:hover {
    background-color: #1a5490;
    color: #ffffff;
}

/* CTA Inline */
.cta-inline,
.cta-emphasis,
.cta-final {
    margin: 3rem 0;
    text-align: center;
}

.cta-emphasis {
    padding: 2.5rem;
    background-color: #f0f4f8;
    border-radius: 6px;
}

/* Form Section */
.form-section {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
    margin-top: 4rem;
}

.editorial-form {
    margin-top: 2rem;
    max-width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2a2a2a;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5490;
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 1rem;
}

/* Services Detailed Page */
.services-detailed {
    margin: 3rem 0;
}

.service-detailed {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #e5e5e5;
}

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

.service-detailed.highlighted {
    background-color: #f0f4f8;
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 2px solid #1a5490;
}

.service-header {
    margin-bottom: 2rem;
}

.service-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: #1a5490;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.service-body {
    font-family: Georgia, 'Times New Roman', serif;
}

.service-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #3a3a3a;
}

.service-body ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-body li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.service-cta {
    margin-top: 2rem;
}

/* Pillars Grid */
.pillars-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.pillar-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 6px;
    border-left: 4px solid #1a5490;
}

.pillar-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    color: #1a5490;
}

.pillar-card p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Contact Page */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 6px;
}

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

.contact-item h3 {
    margin: 0 0 0.8rem 0;
    font-size: 1.2rem;
    color: #1a5490;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.contact-item p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.contact-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #e8f4fd;
    border-radius: 4px;
}

.contact-note p {
    margin: 0;
    font-size: 0.95rem;
    color: #2a5478;
}

.contact-cta {
    padding: 2.5rem;
    background-color: #f0f4f8;
    border-radius: 6px;
    text-align: center;
}

.contact-cta h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contact-cta p {
    margin-bottom: 2rem;
}

/* FAQ */
.faq-list {
    margin: 2rem 0;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

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

.faq-item h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: #1a5490;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.faq-item p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Thanks Page */
.thanks-section {
    padding: 4rem 0;
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

.thanks-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1a5490;
}

.thanks-message {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.service-name {
    font-size: 1.1rem;
    margin: 0;
}

.thanks-info {
    font-size: 1rem;
    color: #6a6a6a;
    margin-bottom: 3rem;
}

.thanks-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Legal Pages */
.legal-page .section-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: #1a5490;
}

.legal-page h3 {
    font-size: 1.2rem;
    margin: 2rem 0 1rem;
    color: #2a2a2a;
}

.legal-page p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.legal-page ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.7rem;
    line-height: 1.7;
}

/* Footer */
.footer-editorial {
    background-color: #2a2a2a;
    color: #e5e5e5;
    padding: 3rem 2rem 1.5rem;
    margin-top: 5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

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

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

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

.footer-section a {
    color: #b5b5b5;
    font-size: 0.95rem;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #4a4a4a;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #8a8a8a;
}

/* Responsive Design */
@media (min-width: 768px) {
    .article-header h1 {
        font-size: 3rem;
    }

    .article-lead {
        font-size: 1.4rem;
    }

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

    .language-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .language-card {
        flex: 1;
        min-width: 250px;
    }

    .pillars-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .pillar-card {
        flex: 1;
        min-width: 280px;
    }

    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .cookie-content p {
        text-align: left;
        flex: 1;
    }

    .cookie-buttons {
        flex-shrink: 0;
    }

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

    .contact-info {
        flex: 1.2;
    }

    .contact-cta {
        flex: 1;
    }

    .thanks-actions {
        flex-direction: row;
        justify-content: center;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-section {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .editorial-main {
        max-width: 720px;
    }

    .article-header h1 {
        font-size: 3.5rem;
    }

    .full-width-image {
        margin: 5rem -4rem;
    }

    .full-width-image img {
        width: calc(100% + 8rem);
    }
}

@media (max-width: 600px) {
    .nav-menu {
        gap: 1rem;
    }

    .nav-menu li a {
        font-size: 0.85rem;
    }

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

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

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

    .btn-submit {
        font-size: 1rem;
    }
}