/* 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: #2c3e50;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a252f;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: #4a90a4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c5f6f;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a252f;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
}

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

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

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

.cookie-content a {
    color: #67b8d0;
    text-decoration: underline;
}

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

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

.btn-cookie.accept {
    background-color: #4a90a4;
    color: #ffffff;
}

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

.btn-cookie.reject {
    background-color: #5a5a5a;
    color: #ffffff;
}

.btn-cookie.reject:hover {
    background-color: #4a4a4a;
}

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

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

.logo {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a252f;
    text-decoration: none;
}

.ad-disclosure {
    font-size: 0.75rem;
    color: #7a7a7a;
    padding: 0.3rem 0.7rem;
    background-color: #f5f5f5;
    border-radius: 3px;
    margin: 0 auto;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1a252f;
    transition: all 0.3s ease;
}

.nav-menu {
    display: none;
    list-style: none;
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

.nav-menu li a {
    display: block;
    padding: 0.7rem 0;
    color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #4a90a4;
}

/* Editorial Main Layout */
.editorial-main {
    background-color: #fafafa;
    padding: 2rem 0;
}

.story-article {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
    background-color: #ffffff;
}

.story-header {
    text-align: center;
    padding: 2.5rem 0 2rem;
    border-bottom: 3px solid #4a90a4;
    margin-bottom: 2.5rem;
}

.story-header h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

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

.story-content {
    padding: 0 0 3rem;
}

.opening {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #1a252f;
}

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

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

.inline-image figcaption {
    margin-top: 0.7rem;
    font-size: 0.9rem;
    color: #7a7a7a;
    text-align: center;
    font-style: italic;
}

/* Inline CTAs */
.inline-cta {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f0f8ff;
    border-left: 4px solid #4a90a4;
}

.inline-cta.centered {
    text-align: center;
    border-left: none;
    border-top: 4px solid #4a90a4;
}

.cta-link {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: #4a90a4;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-link:hover {
    background-color: #3a7184;
    color: #ffffff;
}

.cta-link.primary {
    background-color: #f4a261;
}

.cta-link.primary:hover {
    background-color: #e89350;
}

/* Feature Inline Blocks */
.feature-inline {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid #e0e0e0;
}

.feature-inline h3 {
    margin-top: 0;
    color: #4a90a4;
}

/* Story List */
.story-list {
    list-style: none;
    margin: 1.5rem 0;
}

.story-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.story-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4a90a4;
    font-weight: bold;
}

/* Testimonials */
blockquote.testimonial {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background-color: #f9f9f9;
    border-left: 5px solid #f4a261;
    font-style: italic;
}

blockquote.testimonial p {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

blockquote.testimonial cite {
    display: block;
    font-size: 0.9rem;
    color: #7a7a7a;
    font-style: normal;
    margin-top: 0.5rem;
}

/* Forms */
.story-form {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 6px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    color: #1a252f;
}

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

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: #4a90a4;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Services Page */
.service-block {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 6px;
    border-top: 4px solid #4a90a4;
}

.service-block.minimal {
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #67b8d0;
}

.service-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.service-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: #1a252f;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4a90a4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.service-content p {
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    border-bottom: 1px solid #e8e8e8;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a90a4;
    font-weight: bold;
    font-size: 1.2rem;
}

.service-ideal {
    margin-top: 1.5rem;
    font-style: italic;
    color: #5a5a5a;
    font-size: 0.95rem;
}

.service-cta {
    display: inline-block;
    margin-top: 1rem;
}

/* FAQ Items */
.faq-item {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 3px solid #e0e0e0;
}

.faq-item h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #1a252f;
}

/* Contact Page */
.contact-info-block {
    margin: 2.5rem 0;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.contact-item h3 {
    margin-top: 0;
    color: #4a90a4;
}

.contact-note {
    font-size: 0.9rem;
    color: #7a7a7a;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Thanks Page */
.thanks-page .story-header {
    border-bottom-color: #4a90a4;
}

.thanks-steps {
    margin: 2.5rem 0;
}

.thanks-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f0f8ff;
    border-radius: 6px;
    border-left: 4px solid #4a90a4;
}

.thanks-step h3 {
    margin-top: 0;
    color: #4a90a4;
    font-size: 1.2rem;
}

.thanks-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #fff9e6;
    border-radius: 6px;
    border-left: 4px solid #f4a261;
}

.selected-service-info {
    font-weight: 600;
    color: #1a252f;
}

/* Legal Pages */
.legal-page .story-article {
    max-width: 800px;
}

.legal-content {
    font-size: 0.95rem;
}

.legal-content ul,
.legal-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

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

.legal-content table th,
.legal-content table td {
    padding: 0.8rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.legal-content table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.cookie-table {
    font-size: 0.9rem;
}

/* Closing Section */
.closing-section {
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    background-color: #f0f8ff;
    border-radius: 6px;
}

.closing-section h2 {
    margin-top: 0;
}

/* Footer */
.footer {
    background-color: #1a252f;
    color: #e0e0e0;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

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

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

.footer-section p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #b0b0b0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin-bottom: 0.8rem;
}

.disclaimer {
    font-size: 0.8rem;
    font-style: italic;
    color: #8a8a8a;
    line-height: 1.5;
}

/* Tablet Styles */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .hamburger {
        display: none;
    }

    .nav-menu {
        display: flex;
        flex-direction: row;
        width: auto;
        margin-top: 0;
        gap: 2rem;
    }

    .nav-menu li a {
        padding: 0;
    }

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

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

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

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

    .story-article {
        padding: 2rem;
    }

    .story-content {
        padding: 0 0 4rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .story-header h1 {
        font-size: 3.2rem;
    }

    .lead {
        font-size: 1.3rem;
    }

    .opening {
        font-size: 1.25rem;
    }

    .editorial-main {
        padding: 3rem 0;
    }
}