/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #fefefe;
}

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

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e40af;
}

/* Navigation - Minimal style for Editorial archetype */
.nav-minimal {
    padding: 1.5rem 1rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: #1e293b;
}

/* Editorial Content - Narrow centered layout */
.editorial-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.editorial-hero {
    margin-bottom: 3rem;
    text-align: left;
}

.editorial-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #475569;
    font-weight: 400;
}

.editorial-section {
    margin-bottom: 3.5rem;
}

.editorial-section h2 {
    font-size: 1.875rem;
    line-height: 1.3;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.editorial-section h3 {
    font-size: 1.375rem;
    line-height: 1.4;
    font-weight: 600;
    color: #334155;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.editorial-section p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.25rem;
}

.editorial-section ul,
.editorial-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.editorial-section li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 0.75rem;
}

/* Images - Editorial style */
.editorial-image {
    margin: 3rem 0;
    border-radius: 4px;
    overflow: hidden;
}

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

.editorial-image-small {
    margin: 2.5rem 0;
    border-radius: 4px;
    overflow: hidden;
}

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

/* Inline CTAs - Story-driven approach */
.inline-cta {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f8fafc;
    border-left: 4px solid #2563eb;
}

.inline-cta p {
    font-size: 1.125rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.cta-link {
    display: inline-block;
    color: #2563eb;
    font-weight: 600;
    font-size: 1.0625rem;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 2px;
}

.cta-link:hover {
    color: #1e40af;
    border-bottom-color: #1e40af;
}

.inline-cta-box {
    margin: 4rem 0;
    padding: 2.5rem;
    background-color: #f1f5f9;
    border-radius: 8px;
}

.inline-cta-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.inline-cta-box p {
    font-size: 1.0625rem;
    color: #475569;
    margin-bottom: 2rem;
}

/* Services Preview Cards */
.services-preview {
    margin-top: 4rem;
}

.service-card {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.service-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.875rem;
}

.service-card p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb;
    margin-top: 0.75rem;
}

.service-price-box {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background-color: #eff6ff;
    border-radius: 6px;
}

.service-price-box strong {
    color: #1e40af;
    font-size: 1.0625rem;
}

/* Form Styling - Editorial inline style */
.editorial-form {
    margin-top: 2rem;
}

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

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    color: #1e293b;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #2563eb;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e40af;
    color: #ffffff;
}

.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #2563eb;
    background-color: transparent;
    border: 2px solid #2563eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: #ffffff;
}

/* Contact Info */
.contact-info {
    margin-top: 3rem;
}

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

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #475569;
}

.contact-item a {
    color: #2563eb;
    font-weight: 500;
}

/* Thanks Page Specific */
.thanks-hero {
    text-align: center;
    padding: 2rem 0;
}

.thanks-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.thanks-link {
    display: block;
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border-left: 3px solid #2563eb;
    color: #1e293b;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.thanks-link:hover {
    background-color: #f1f5f9;
}

/* Legal Content */
.legal-content h2 {
    margin-top: 2.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
}

/* Final CTA Section */
.final-cta {
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid #e2e8f0;
}

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

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

/* Footer */
.footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 3rem 1.5rem 2rem;
    margin-top: 5rem;
}

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

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

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer-col a {
    display: block;
    font-size: 0.9375rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1e293b;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    min-width: 280px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
}

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

.btn-accept {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #2563eb;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-accept:hover {
    background-color: #1e40af;
}

.btn-reject {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #e2e8f0;
    background-color: transparent;
    border: 1px solid #475569;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reject:hover {
    background-color: #334155;
    border-color: #64748b;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .editorial-hero h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.125rem;
    }

    .editorial-section h2 {
        font-size: 1.625rem;
    }

    .editorial-section h3 {
        font-size: 1.25rem;
    }

    .editorial-section p,
    .editorial-section li {
        font-size: 1rem;
    }

    .nav-center {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
    }

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

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

    .cookie-buttons {
        flex-direction: column;
    }

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

    .inline-cta {
        padding: 1.5rem;
    }

    .inline-cta-box {
        padding: 2rem 1.5rem;
    }

    .editorial-content {
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

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

    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }
}