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

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

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

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

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

a:hover {
    color: #1e40af;
}

/* Navigation */
.navigation {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

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

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

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: #1e293b;
    margin: 3px 0;
    transition: 0.3s;
}

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

.nav-menu a {
    color: #475569;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* Editorial Content Structure */
.editorial-content {
    max-width: 100%;
}

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

/* Hero Section */
.hero-editorial {
    padding: 4rem 1.5rem 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text-wrapper {
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

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

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

.hero-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Page Header */
.page-header {
    padding: 4rem 0 2rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

/* Content Blocks */
.content-block {
    padding: 3.5rem 0;
}

.content-block.alternate-bg {
    background-color: #f8fafc;
}

.content-block.final-note {
    padding-bottom: 5rem;
}

.opening-paragraph {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.content-block h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2.5rem 0 1.25rem;
    letter-spacing: -0.02em;
}

.content-block h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-block ul,
.content-block ol {
    margin: 1.5rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}

.content-block li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

/* Inline Figures */
.content-image-inline {
    padding: 3.5rem 0;
}

.inline-figure {
    margin: 2.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.inline-figure img {
    width: 100%;
}

.inline-figure figcaption {
    padding: 1rem;
    font-size: 0.9rem;
    color: #64748b;
    font-style: italic;
    text-align: center;
    background-color: #f8fafc;
}

/* Services Preview */
.services-preview {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex: 1 1 calc(33.333% - 1.5rem);
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

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

.price-tag {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
}

.cta-inline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.cta-inline:hover {
    background-color: #1e40af;
    color: #ffffff;
}

/* Services Detailed */
.services-detailed {
    padding: 2rem 0;
}

.service-detail {
    padding: 4rem 0;
}

.service-detail.alternate-bg {
    background-color: #f8fafc;
}

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

.service-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.price-display {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.service-image {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.service-description h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

/* Testimonials */
.testimonial-section {
    padding: 4rem 0;
    background-color: #f1f5f9;
}

.testimonial {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid #2563eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.testimonial p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-style: normal;
    color: #64748b;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: #ffffff;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #e0e7ff;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

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

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 0.5rem;
}

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

.btn-primary:hover {
    background-color: #1e40af;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
}

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

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

.cta-section .btn-primary {
    background-color: #ffffff;
    color: #2563eb;
}

.cta-section .btn-primary:hover {
    background-color: #f1f5f9;
    color: #1e40af;
}

.cta-section .btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

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

/* Form Section */
.form-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-top: 2rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    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: 120px;
}

/* Contact Info */
.contact-info-section {
    padding: 3rem 0;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-item {
    flex: 1 1 300px;
}

.contact-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.contact-item p,
.contact-item address {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    font-style: normal;
}

.detail-note {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.5rem;
}

/* FAQ */
.faq-item {
    margin: 2.5rem 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

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

.faq-item h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: #475569;
}

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

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: #10b981;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.thanks-section h1 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.thanks-details {
    background-color: #f0f9ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid #2563eb;
}

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

.next-steps h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.steps-list {
    max-width: 600px;
    margin: 0 auto;
    counter-reset: step-counter;
    list-style: none;
}

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

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

.thanks-actions {
    margin: 3rem 0;
}

.thanks-note {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #fef3c7;
    border-radius: 8px;
}

.thanks-note p {
    margin: 0;
    color: #78350f;
}

.resource-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.resource-link {
    flex: 1 1 300px;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.resource-link:hover {
    transform: translateY(-4px);
}

.resource-link h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.resource-link p {
    color: #64748b;
    margin: 0;
}

/* Legal Pages */
.legal-page {
    padding: 2rem 0 4rem;
}

.last-updated {
    color: #64748b;
    font-size: 0.95rem;
}

.legal-page h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-page h3 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

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

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-table th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #1e293b;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1e293b;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

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

.cookie-content p {
    flex: 1 1 300px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie:not(.secondary) {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-cookie:not(.secondary):hover {
    background-color: #1e40af;
}

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

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

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 4rem;
}

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

.footer-section {
    flex: 1 1 250px;
}

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

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

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

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

.footer-section a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

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

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

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

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

    .nav-menu a {
        display: block;
        padding: 1rem;
    }

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

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

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

    .content-block h2 {
        font-size: 1.65rem;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-details {
        flex-direction: column;
    }

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

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

    .btn-cookie {
        width: 100%;
    }

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

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

    .hero-editorial {
        padding: 2rem 1rem;
    }

    .content-block {
        padding: 2.5rem 0;
    }

    .narrow-column {
        padding: 0 1rem;
    }
}
