/* 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;
}

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

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

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: #5a5a5a;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

/* Editorial Content - Article-like Structure */
.editorial-content {
    max-width: 680px;
    margin: 3rem auto 5rem;
    padding: 0 1.5rem;
}

.story-header {
    margin-bottom: 3rem;
}

.story-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.story-header .lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #5a5a5a;
    font-weight: 400;
}

/* Story Sections */
.story-section {
    margin: 2.5rem 0;
}

.story-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    letter-spacing: -0.02em;
}

.story-section h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
}

.story-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.story-section p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.story-section ul,
.story-section ol {
    margin: 1.5rem 0 1.5rem 1.75rem;
}

.story-section li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Inline Images - Editorial Style */
.inline-image {
    margin: 3rem 0;
    width: 100%;
}

.inline-image.small {
    margin: 2.5rem auto;
    max-width: 560px;
}

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

/* Highlight Box */
.highlight-box {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 1.75rem 2rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.highlight-box h3 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.highlight-box ul,
.highlight-box ol {
    margin-left: 1.5rem;
}

/* Inline CTA - Within Content */
.inline-cta {
    background-color: #ecf7ff;
    border-radius: 6px;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    text-align: center;
}

.inline-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #2c3e50;
}

.inline-cta strong {
    color: #1a1a1a;
}

.cta-link {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.cta-link:hover {
    background-color: #2980b9;
}

/* Testimonial Box */
.testimonial-box {
    border-left: 4px solid #95a5a6;
    padding-left: 2rem;
    margin: 3rem 0;
    font-style: italic;
}

.testimonial-box blockquote {
    margin: 0;
}

.testimonial-box p {
    font-size: 1.15rem;
    color: #34495e;
    margin-bottom: 0.75rem;
}

.testimonial-box footer {
    font-style: normal;
    font-size: 0.95rem;
    color: #7f8c8d;
    margin-top: 0.5rem;
}

/* Services Preview - Card Based */
.services-preview {
    margin: 3rem 0;
}

.services-preview h2 {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a1a1a;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 2rem;
    margin-bottom: 1.75rem;
    transition: box-shadow 0.2s ease;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.service-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #4a4a4a;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #27ae60;
    margin: 1.25rem 0;
}

.service-cta {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 0.65rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.service-cta:hover {
    background-color: #2980b9;
}

/* Services Detail Page */
.services-detail {
    margin: 2.5rem 0;
}

.service-detail-card {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid #e8e8e8;
}

.service-detail-card.featured {
    border: 2px solid #3498db;
    background-color: #f0f8ff;
}

.service-detail-card h3 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.service-detail-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

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

.service-detail-card li {
    margin-bottom: 0.65rem;
    line-height: 1.7;
}

.service-detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #27ae60;
    margin: 1rem 0 1.5rem;
}

.service-detail-cta {
    display: inline-block;
    background-color: #27ae60;
    color: #ffffff;
    padding: 0.85rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.service-detail-cta:hover {
    background-color: #229954;
}

/* Contact Info */
.contact-info-box {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 2rem;
    margin: 2rem 0;
}

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

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

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

/* Form Styling - Editorial */
.editorial-form {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 6px;
    margin: 2rem 0;
}

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

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

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

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

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

.btn-submit {
    background-color: #27ae60;
    color: #ffffff;
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: #229954;
}

/* Steps List */
.steps-list,
.process-list {
    counter-reset: step-counter;
    list-style: none;
    margin: 2rem 0 2rem 0;
}

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

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

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

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

.faq-item h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.7;
}

/* Final CTA */
.final-cta {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 6px;
    text-align: center;
    margin: 3rem 0;
}

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

.final-cta p {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.final-cta a {
    color: #3498db;
}

.final-cta a:hover {
    color: #5dade2;
}

/* Legal Pages */
.legal-page {
    max-width: 820px;
}

.legal-page .story-section {
    margin: 2rem 0;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
}

.legal-page h3 {
    font-size: 1.25rem;
}

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

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

.cookie-table th {
    background-color: #ecf0f1;
    font-weight: 600;
    color: #2c3e50;
}

/* Thanks Page */
.thanks-page .story-header h1 {
    color: #27ae60;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 5rem;
}

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

.footer-section {
    flex: 1;
    min-width: 220px;
}

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

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

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    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;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-content a {
    color: #3498db;
}

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

.cookie-btn {
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-btn.accept {
    background-color: #27ae60;
    color: #ffffff;
}

.cookie-btn.accept:hover {
    background-color: #229954;
}

.cookie-btn.reject {
    background-color: #95a5a6;
    color: #ffffff;
}

.cookie-btn.reject:hover {
    background-color: #7f8c8d;
}

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

    .nav-links {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    .story-header .lead {
        font-size: 1.1rem;
    }

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

    .editorial-form {
        padding: 1.75rem;
    }

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

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

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

    .cookie-btn {
        width: 100%;
    }

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

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

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

    .editorial-content {
        padding: 0 1rem;
    }

    .story-header h1 {
        font-size: 1.75rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}