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

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: #1f2937;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

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

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

.cookie-content p {
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
}

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

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

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

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

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

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

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

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

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.brand:hover {
    color: #2563eb;
}

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

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

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

.nav-menu li a {
    color: #4b5563;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu li a:hover {
    color: #2563eb;
}

/* Editorial Wrapper - Narrow Content for Story Archetype */
.editorial-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Editorial Hero */
.editorial-hero {
    margin-bottom: 3rem;
}

.hero-image-container {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.hero-image-container img {
    width: 100%;
}

.hero-text-narrow {
    text-align: left;
}

.hero-text-narrow h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 800;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 2rem;
}

/* Editorial Content - Article Style */
.editorial-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
}

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

.story-block h2 {
    font-size: 1.9rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 700;
}

.story-block h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.story-block h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
    font-weight: 600;
}

.story-block p {
    margin-bottom: 1.5rem;
}

.story-block ul,
.story-block ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.story-block li {
    margin-bottom: 0.75rem;
}

/* Image Inline */
.image-inline {
    margin: 3rem 0;
}

.image-inline img {
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.caption {
    font-size: 0.95rem;
    color: #6b7280;
    font-style: italic;
    text-align: center;
}

/* Highlight Section */
.highlight-section {
    background-color: #f9fafb;
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

/* Numbered List */
.numbered-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.list-item {
    display: flex;
    gap: 1.5rem;
}

.number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.item-content {
    flex: 1;
}

.item-content h4 {
    margin-bottom: 0.5rem;
}

.item-content p {
    margin-bottom: 0;
}

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

.cta-link {
    font-size: 1.1rem;
    color: #2563eb;
    font-weight: 600;
    border-bottom: 2px solid #2563eb;
    padding-bottom: 2px;
}

.cta-link:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

.inline-cta-secondary {
    text-align: center;
    margin: 2rem 0;
}

.cta-link-alt {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: #f3f4f6;
    color: #1f2937;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cta-link-alt:hover {
    background-color: #e5e7eb;
}

.inline-cta-box {
    background-color: #eff6ff;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    margin: 3rem 0;
}

.inline-cta-box h3 {
    margin-bottom: 1rem;
}

.inline-cta-box p {
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial-inline {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #fefce8;
    border-left: 4px solid #eab308;
    border-radius: 4px;
}

.testimonial-inline blockquote {
    margin: 0;
}

.testimonial-inline p {
    font-size: 1.2rem;
    font-style: italic;
    color: #374151;
    margin-bottom: 1rem;
}

.testimonial-inline cite {
    font-size: 0.95rem;
    color: #6b7280;
    font-style: normal;
}

/* Services Editorial Style */
.services-editorial {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
}

.duration {
    font-size: 0.95rem;
    color: #6b7280;
}

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

.form-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.form-intro {
    text-align: center;
    margin-bottom: 2rem;
    color: #6b7280;
}

.editorial-form {
    max-width: 500px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    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,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.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: background-color 0.2s ease;
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

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

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

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

/* Final Section */
.final-section {
    text-align: center;
    padding: 2rem 0;
}

.final-cta {
    margin-top: 2rem;
}

.cta-link-large {
    font-size: 1.3rem;
    color: #2563eb;
    font-weight: 700;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 4px;
}

.cta-link-large:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 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;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    line-height: 1.6;
}

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

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

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

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

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 900;
    display: none;
}

.sticky-cta.visible {
    display: block;
}

.sticky-btn {
    display: block;
    padding: 1rem 2rem;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

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

/* Page Header (for other pages) */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.last-updated {
    font-size: 0.9rem;
    color: #6b7280;
}

/* About Page Styles */
.about-principles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.principle {
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.principle h4 {
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.principle p {
    margin-bottom: 0;
}

.client-types {
    list-style: disc;
    margin-left: 2rem;
}

.client-types li {
    margin-bottom: 0.75rem;
}

.about-cta {
    background-color: #eff6ff;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
}

.about-cta h3 {
    margin-bottom: 1rem;
}

.about-cta p {
    margin-bottom: 1.5rem;
}

/* Services Page Styles */
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 2rem 0;
}

.service-card-detailed {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.service-card-detailed:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card-detailed.featured {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.service-header {
    background-color: #f9fafb;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-card-detailed.featured .service-header {
    background-color: #dbeafe;
}

.service-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

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

.service-body {
    padding: 2rem;
}

.service-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.service-body h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-body ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-body ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.service-body ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
}

.service-duration {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.btn-service {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

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

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

.btn-featured:hover {
    background-color: #1e40af;
}

.services-cta {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

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

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

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.contact-item p {
    color: #4b5563;
    line-height: 1.8;
}

.contact-note {
    background-color: #eff6ff;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 2rem;
}

.contact-note p {
    margin-bottom: 0;
}

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

.guidance-block:last-child {
    border-bottom: none;
}

.guidance-block h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.legal-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    color: #374151;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.75rem;
}

/* Thanks Page */
.thanks-container {
    text-align: center;
    padding: 3rem 1.5rem;
}

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

.thanks-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #4b5563;
}

.thanks-service {
    background-color: #eff6ff;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.thanks-next {
    text-align: left;
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.thanks-next h2 {
    margin-bottom: 1.5rem;
}

.thanks-steps {
    padding-left: 1.5rem;
}

.thanks-steps li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu.active {
        max-height: 300px;
    }

    .nav-menu li {
        border-top: 1px solid #e5e7eb;
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 1.5rem;
    }

    .editorial-wrapper {
        padding: 2rem 1rem;
    }

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

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

    .editorial-content {
        font-size: 1rem;
    }

    .story-block h2 {
        font-size: 1.6rem;
    }

    .story-block h3 {
        font-size: 1.3rem;
    }

    .highlight-section {
        padding: 1.5rem;
    }

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

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

    .sticky-cta {
        bottom: 10px;
        right: 10px;
        left: 10px;
    }

    .sticky-btn {
        width: 100%;
        text-align: center;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .thanks-actions {
        flex-direction: column;
    }

    .thanks-actions .btn-primary,
    .thanks-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .cookie-content {
        gap: 1rem;
    }
}

@media (min-width: 769px) {
    .contact-layout {
        flex-direction: row;
        gap: 4rem;
    }

    .contact-info {
        flex: 1;
    }

    .contact-guidance {
        flex: 1;
    }
}