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

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

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

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

a:hover {
    color: #1d4ed8;
}

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

.cookie-banner.hidden {
    display: none;
}

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

.cookie-content p {
    margin: 0;
    text-align: center;
}

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

.btn-accept,
.btn-reject {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

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

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

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

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: #4b5563;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* Editorial Container - Narrow Centered Layout */
.editorial-container {
    max-width: 100%;
    margin: 0 auto;
}

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

/* Article Hero */
.article-hero {
    padding: 4rem 2rem 3rem;
    background-color: #f9fafb;
}

.hero-text-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-text-centered h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
    font-weight: 400;
}

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

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Story Section - Editorial Flow */
.story-section {
    padding: 4rem 0;
}

.opening-line {
    font-size: 1.35rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-weight: 400;
}

.story-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

.story-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.story-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 2.5rem 0 1rem;
    line-height: 1.4;
}

/* Inline Images */
.inline-image {
    margin: 2.5rem 0;
    border-radius: 6px;
    width: 100%;
}

/* Lists */
.story-list {
    margin: 1.5rem 0 1.5rem 1.5rem;
    line-height: 1.9;
}

.story-list li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: #374151;
}

/* Insight Box */
.insight-box {
    background-color: #f0f9ff;
    border-left: 4px solid #2563eb;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    border-radius: 4px;
}

.insight-box p {
    margin: 0;
    font-size: 1.15rem;
    color: #1e3a8a;
}

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

.cta-link {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.cta-link:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Testimonial Inline */
.testimonial-inline {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.testimonial-inline blockquote {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #1a1a1a;
    font-style: italic;
    margin: 0;
}

.testimonial-inline cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #6b7280;
    font-style: normal;
    font-weight: 500;
}

/* Service Cards */
.service-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
}

.service-card p {
    margin-bottom: 1rem;
    color: #374151;
}

.service-card ul {
    margin: 1rem 0 1rem 1.5rem;
}

.service-card li {
    margin-bottom: 0.5rem;
    color: #374151;
}

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

/* Form Section */
.form-section {
    background-color: #f9fafb;
    padding: 4rem 0;
    margin: 3rem 0 0;
}

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

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

/* Closing Section */
.closing-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.final-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-cta-large {
    display: inline-block;
    padding: 1.25rem 3rem;
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    font-size: 1.15rem;
    transition: all 0.2s ease;
}

.btn-cta-large:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* Contact Info Blocks */
.contact-info-block {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.contact-info-block h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
}

.contact-info-block p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.contact-note {
    font-size: 0.95rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.75rem;
}

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

.thanks-header {
    text-align: center;
    margin-bottom: 3rem;
}

.thanks-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.thanks-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
}

.thanks-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1.5rem;
}

.thanks-list {
    margin: 1.5rem 0 1.5rem 1.5rem;
}

.thanks-list li {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

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

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

.thanks-note {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

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

.thanks-cta {
    text-align: center;
    margin-top: 3rem;
}

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

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

/* Legal Pages */
.legal-page .story-section {
    padding: 3rem 0;
}

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

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

.legal-page ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

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

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

.cookie-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.cookie-table td {
    padding: 1rem 0.5rem;
    font-size: 0.95rem;
}

/* Footer */
.footer-editorial {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 3rem 2rem 2rem;
    margin-top: 4rem;
}

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

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

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-column p {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 0.95rem;
}

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

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

.footer-column a {
    color: #d1d5db;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Highlight Section */
.highlight-section {
    background-color: #f9fafb;
    padding: 4rem 0;
    margin: 3rem 0;
}

.trust-section {
    padding: 4rem 0;
}

.services-overview {
    padding: 4rem 0;
}

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

    .nav-links {
        gap: 1.5rem;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .narrow-text {
        padding: 0 1.5rem;
    }

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

    .opening-line {
        font-size: 1.2rem;
    }

    .story-section p {
        font-size: 1.05rem;
    }

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

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

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

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

    .article-hero {
        padding: 3rem 1.5rem 2rem;
    }

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

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-text-centered h1 {
        font-size: 2.35rem;
    }

    .narrow-text {
        padding: 0 2.5rem;
    }
}