/* 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, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #ffffff;
}

/* Ad Notice */
.ad-notice {
    background-color: #f8f9fa;
    color: #6c757d;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
    border-bottom: 1px solid #e9ecef;
}

/* Header */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
}

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

.main-nav a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #2c3e50;
}

/* Container Layouts - Editorial Story Archetype */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Editorial Flow */
.editorial-flow {
    background-color: #ffffff;
}

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

.story-section.darker-bg {
    background-color: #f8f9fa;
}

.story-section.hero-story {
    padding: 5rem 0 4rem;
}

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

.story-intro h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.lead-text {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #2c3e50;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Inline Images - Editorial Style */
.inline-image {
    margin: 3rem 0;
    background-color: #f0f0f0;
}

.inline-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.inline-image-small {
    margin: 2rem 0;
    background-color: #f0f0f0;
}

.inline-image-small img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Insight Blocks */
.insight-block {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #ffffff;
    border-left: 4px solid #3b82f6;
}

.darker-bg .insight-block {
    background-color: #ffffff;
}

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

.inline-cta p {
    margin-bottom: 0;
    font-size: 1.15rem;
}

.cta-inline-block {
    margin: 3rem 0;
    padding: 2.5rem;
    background-color: #f0f9ff;
    border-radius: 4px;
}

.cta-inline-block h3 {
    margin-top: 0;
}

.cta-link {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #3b82f6;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-link:hover {
    background-color: #2563eb;
}

/* Testimonials */
.testimonial-flow {
    background-color: #fafafa;
}

.testimonial-card {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #ffffff;
    border-left: 4px solid #8b5cf6;
    font-style: italic;
}

.testimonial-card p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #374151;
}

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

/* Service Cards */
.service-cards {
    margin: 3rem 0;
}

.service-card {
    margin-bottom: 2.5rem;
    padding: 2.5rem;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card.featured {
    border-color: #3b82f6;
    background-color: #f0f9ff;
}

.service-card h3 {
    margin-top: 0;
    font-size: 1.75rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin: 1.5rem 0;
}

.service-price-large {
    font-size: 2.25rem;
    font-weight: 700;
    color: #3b82f6;
}

.service-detail-card {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid #e5e7eb;
}

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

.service-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.service-list li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.select-service-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.select-service-btn:hover {
    background-color: #2563eb;
}

/* Form Styles */
.contact-form-wrapper {
    margin: 3rem 0;
    padding: 2.5rem;
    background-color: #f9fafb;
    border-radius: 4px;
    border: 2px solid #3b82f6;
}

.service-form {
    margin-top: 2rem;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.submit-btn {
    padding: 1rem 2.5rem;
    background-color: #10b981;
    color: #ffffff;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Disclaimer */
.disclaimer-box {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 4px;
}

.disclaimer-box h4 {
    margin-top: 0;
    color: #92400e;
}

.disclaimer-box p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #78350f;
}

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

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

.email-text {
    color: #6b7280;
    font-weight: 500;
}

.info-note {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f0f9ff;
    border-radius: 4px;
}

/* Thank You Page */
.thank-you-section {
    padding: 5rem 0;
}

.confirmation-box {
    margin: 3rem 0;
    padding: 2.5rem;
    background-color: #d1fae5;
    border-left: 4px solid #10b981;
    border-radius: 4px;
}

.confirmation-box h2 {
    margin-top: 0;
    color: #065f46;
}

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

.simple-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.simple-list li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.simple-list a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.simple-list a:hover {
    text-decoration: underline;
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
}

.legal-section {
    margin-bottom: 3rem;
}

.last-updated {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
}

.legal-content h3 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

/* References Section */
.references-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.references-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: decimal;
}

.references-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b7280;
}

.references-list a {
    color: #3b82f6;
    text-decoration: none;
    word-break: break-all;
}

.references-list a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

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

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

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #9ca3af;
}

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

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

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    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;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-bottom: 0;
    flex: 1;
    font-size: 0.95rem;
}

.cookie-content a {
    color: #93c5fd;
    text-decoration: underline;
}

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

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

.cookie-btn.accept {
    background-color: #10b981;
    color: #ffffff;
}

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

.cookie-btn.reject {
    background-color: #6b7280;
    color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .story-intro h1 {
        font-size: 2rem;
    }

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

    h2 {
        font-size: 1.65rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

    .service-detail-header {
        flex-direction: column;
    }

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

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

    .cookie-buttons {
        justify-content: center;
    }

    .main-nav {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container,
    .container-narrow {
        padding: 0 1.25rem;
    }

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

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

    .service-price {
        font-size: 1.75rem;
    }

    .service-price-large {
        font-size: 1.85rem;
    }
}