/* 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: #ffffff;
    overflow-x: hidden;
}

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

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

a:hover {
    color: #1e40af;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 1000;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

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

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

.cookie-content p {
    flex: 1;
    min-width: 250px;
    margin: 0;
    font-size: 0.95rem;
}

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

.btn-cookie {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#cookie-accept {
    background: #10b981;
    color: white;
}

#cookie-accept:hover {
    background: #059669;
}

#cookie-reject {
    background: transparent;
    color: white;
    border: 1px solid white;
}

#cookie-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

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

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

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

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

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

/* Editorial Content Layout */
.editorial-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

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

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

.story-intro {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4b5563;
    font-weight: 400;
}

.legal-updated {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* Images - Editorial Style */
.story-image {
    margin: 3rem 0;
    width: calc(100% + 4rem);
    margin-left: -2rem;
}

.story-image img {
    width: 100%;
    border-radius: 8px;
}

.story-image-small {
    margin: 2.5rem 0;
}

.story-image-small img {
    border-radius: 6px;
}

/* Content Blocks */
.content-block {
    margin-bottom: 2.5rem;
}

.content-block h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin: 2.5rem 0 1.25rem;
    line-height: 1.3;
}

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

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

.content-block ul,
.content-block ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

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

/* Inline CTA */
.inline-cta {
    background: #f9fafb;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
}

.inline-cta h3 {
    font-size: 1.4rem;
    margin: 0 0 1.25rem 0;
    color: #111827;
}

.btn-inline {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

/* Testimonials Inline */
.testimonial-inline {
    margin: 3rem 0;
    padding: 2rem;
    background: #fef3c7;
    border-radius: 8px;
}

.testimonial-inline blockquote {
    margin: 0;
}

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

.testimonial-inline cite {
    font-style: normal;
    font-size: 0.95rem;
    color: #92400e;
    font-weight: 600;
}

/* Services Preview on Home */
.services-preview {
    margin: 4rem 0;
}

.services-preview h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #111827;
    text-align: center;
}

.service-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.service-age {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1rem;
}

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

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
    margin: 1.5rem 0;
    display: block;
}

.btn-select-service {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

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

/* Services Detail Page */
.services-list {
    margin: 3rem 0;
}

.service-detail-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.service-detail-card h2 {
    font-size: 2rem;
    color: #111827;
    margin: 0 0 0.75rem 0;
}

.service-meta {
    font-size: 1rem;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.service-description {
    margin-bottom: 2rem;
}

.service-pricing {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.price-large {
    font-size: 2rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 1.5rem;
}

/* Form Section */
.form-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: #f9fafb;
    border-radius: 8px;
}

.form-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #111827;
}

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

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

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

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

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

.form-selected-service {
    background: #dbeafe;
    padding: 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-selected-service strong {
    color: #1e40af;
}

.btn-submit {
    background: #10b981;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.final-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: #eff6ff;
    border-radius: 8px;
    margin: 3rem 0;
}

/* Contact Page */
.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.contact-card h2 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    color: #111827;
}

.contact-card p {
    margin: 0.5rem 0;
    line-height: 1.7;
}

.note {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 1rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.faq-item h3 {
    font-size: 1.2rem;
    color: #111827;
    margin-bottom: 0.75rem;
}

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

/* Thanks Page */
.thanks-page {
    text-align: center;
}

.thanks-content {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
}

.step h3 {
    font-size: 1.2rem;
    color: #111827;
    margin: 0 0 0.75rem 0;
}

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

.selected-program-box {
    background: #dbeafe;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: none;
}

.selected-program-box h3 {
    color: #1e40af;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.selected-program-box p {
    margin: 0;
    color: #1e40af;
    font-size: 1rem;
}

.thanks-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

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

/* Legal Pages */
.legal-page .content-block {
    margin-bottom: 2rem;
}

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

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

.cookie-detail {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.cookie-detail h3 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
}

.cookie-detail p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #e5e7eb;
    margin-top: 4rem;
    padding: 3rem 2rem 1.5rem;
}

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

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

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

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

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

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

.footer-section a {
    color: #d1d5db;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

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

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

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

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .editorial-content {
        padding: 2rem 1.5rem;
    }

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

    .story-intro {
        font-size: 1.1rem;
    }

    .story-image {
        width: 100%;
        margin-left: 0;
    }

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

    .content-block p,
    .content-block li {
        font-size: 1rem;
    }

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

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

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

    .thanks-links .btn-inline {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .story-header h1 {
        font-size: 1.75rem;
    }

    .btn-inline,
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .service-card,
    .service-detail-card {
        padding: 1.5rem;
    }

    .form-section {
        padding: 2rem 1.5rem;
    }
}
