/* 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: #2c2c2c;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #1a5f7a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0d3d51;
}

/* Navigation */
.nav-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #4a4a4a;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1a5f7a;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c2c2c;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 2000;
    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;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

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

.btn-cookie-accept {
    background: #1a5f7a;
    color: #ffffff;
}

.btn-cookie-accept:hover {
    background: #0d3d51;
}

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

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

/* Story Container - Editorial Style */
.story-container {
    width: 100%;
}

/* Story Hero */
.story-hero {
    padding: 5rem 5% 3rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.hero-content-narrow {
    max-width: 680px;
    margin: 0 auto 3rem;
}

.story-hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
}

.hero-lead {
    font-size: 1.25rem;
    color: #4a4a4a;
    line-height: 1.6;
}

.hero-image {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

/* Page Header */
.page-header {
    padding: 4rem 5% 2rem;
    background: #f9fafb;
}

.page-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #1a1a1a;
}

.page-lead {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.6;
}

/* Content Narrow - Editorial Core */
.content-narrow {
    max-width: 680px;
    margin: 0 auto;
}

/* Story Sections */
.story-section {
    padding: 4rem 5%;
}

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

.story-section h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 2rem 0 1rem;
    font-weight: 600;
    color: #2c2c2c;
}

.story-section h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
    color: #2c2c2c;
}

.story-section p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #3a3a3a;
}

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

.story-list li {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: #3a3a3a;
    line-height: 1.6;
}

/* Background Variations */
.bg-contrast {
    background: #2c2c2c;
    color: #ffffff;
}

.bg-contrast h2,
.bg-contrast h3,
.bg-contrast h4,
.bg-contrast p,
.bg-contrast li {
    color: #ffffff;
}

.bg-light {
    background: #f9fafb;
}

.bg-dark {
    background: #1a1a1a;
    color: #ffffff;
}

.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark p,
.bg-dark li {
    color: #ffffff;
}

/* Content Image - Inline */
.content-image {
    margin: 2.5rem 0;
    border-radius: 6px;
    overflow: hidden;
}

.content-image img {
    width: 100%;
}

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

.link-arrow {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a5f7a;
    display: inline-block;
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    transform: translateX(5px);
}

.inline-cta-prominent {
    text-align: center;
    margin: 3rem 0;
}

/* Buttons */
.btn-cta-large {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #1a5f7a;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-cta-large:hover {
    background: #0d3d51;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 95, 122, 0.3);
}

.btn-service {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: #1a5f7a;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn-service:hover {
    background: #0d3d51;
    transform: translateY(-2px);
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: #1a5f7a;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #0d3d51;
}

/* Feature Grid */
.feature-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.feature-item p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonial-inline {
    margin: 3rem 0;
    padding: 2rem;
    background: #f9fafb;
    border-left: 4px solid #1a5f7a;
    font-size: 1.15rem;
    line-height: 1.7;
    font-style: italic;
}

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

.testimonial-block {
    margin: 2rem 0;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}

.testimonial-block p {
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-block cite {
    display: block;
    font-style: normal;
    font-size: 0.9rem;
    color: #6a6a6a;
    font-weight: 600;
}

/* Service Cards */
.service-card {
    margin: 2.5rem 0;
    padding: 2.5rem;
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    position: relative;
}

.service-card.featured {
    border-color: #1a5f7a;
    box-shadow: 0 10px 30px rgba(26, 95, 122, 0.1);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 2.5rem;
    padding: 0.4rem 1rem;
    background: #1a5f7a;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-header h3 {
    font-size: 1.8rem;
    margin: 0;
}

.service-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a5f7a;
}

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

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

.service-features li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: #3a3a3a;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a5f7a;
    font-weight: 700;
}

/* Forms */
.inquiry-form {
    margin: 2rem 0;
}

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

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

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

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

.form-group textarea {
    resize: vertical;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.process-step {
    position: relative;
    padding-left: 4rem;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a5f7a;
    color: #ffffff;
    font-weight: 700;
    border-radius: 50%;
    font-size: 1.1rem;
}

.process-step h3 {
    font-size: 1.3rem;
    margin: 0 0 0.75rem 0;
}

.process-step p {
    margin: 0;
    font-size: 1rem;
}

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

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

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

.faq-item p {
    margin: 0;
    font-size: 1rem;
}

/* Center Text */
.center-text {
    text-align: center;
}

.center-text h2,
.center-text h3 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Final CTA */
.final-cta {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #1a5f7a 0%, #0d3d51 100%);
    color: #ffffff;
}

.final-cta h2 {
    color: #ffffff;
}

.final-cta p {
    color: #ffffff;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.sticky-cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #1a5f7a;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(26, 95, 122, 0.4);
    transition: all 0.3s ease;
}

.sticky-cta-btn:hover {
    background: #0d3d51;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26, 95, 122, 0.5);
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: #ffffff;
    padding: 3rem 5% 1.5rem;
}

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

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

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

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

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

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

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

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

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

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

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

.contact-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8e8e8;
}

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

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

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

.contact-note {
    font-size: 0.9rem;
    color: #6a6a6a;
    font-style: italic;
}

/* Philosophy & Methodology */
.philosophy-item,
.methodology-item {
    margin: 2rem 0;
}

.philosophy-item h3,
.methodology-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.methodology-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

/* Thanks Page */
.thanks-section {
    padding: 4rem 5%;
    min-height: 60vh;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: #1a5f7a;
    color: #ffffff;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.thanks-lead {
    font-size: 1.2rem;
    color: #4a4a4a;
    margin-bottom: 3rem;
}

.thanks-content h2 {
    margin-top: 3rem;
}

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

.thanks-step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.thanks-step p {
    margin: 0;
    font-size: 1rem;
}

.service-confirmation {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f0f8ff;
    border-left: 4px solid #1a5f7a;
    border-radius: 4px;
}

.service-confirmation p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.thanks-actions {
    margin: 3rem 0;
}

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

.thanks-link {
    padding: 0.75rem 1.5rem;
    background: #f9fafb;
    color: #1a5f7a;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.thanks-link:hover {
    background: #1a5f7a;
    color: #ffffff;
    border-color: #1a5f7a;
}

.thanks-note {
    margin: 3rem 0;
    padding: 1.5rem;
    background: #fffbf0;
    border-left: 4px solid #f0ad4e;
    border-radius: 4px;
}

.thanks-note p {
    margin: 0;
    font-size: 0.95rem;
}

.expectations-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.expectation-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.expectation-item p {
    margin: 0;
    font-size: 1rem;
}

/* Legal Pages */
.legal-page h2 {
    margin-top: 3rem;
}

.legal-page h3 {
    margin-top: 2rem;
}

.legal-page h4 {
    margin-top: 1.5rem;
}

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

.legal-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

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

.cookie-table thead {
    background: #f9fafb;
}

.cookie-table th {
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e8e8e8;
}

.cookie-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e8e8e8;
}

.cookie-table tbody tr:hover {
    background: #f9fafb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

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

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

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

    .story-section {
        padding: 3rem 5%;
    }

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

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

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }

    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
    }

    .sticky-cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .thanks-steps,
    .process-steps {
        gap: 1.5rem;
    }

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

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
}

@media (min-width: 769px) {
    .feature-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .feature-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .methodology-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .methodology-item {
        flex: 1 1 calc(50% - 1rem);
    }

    .expectations-grid {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }

    .expectation-item {
        flex: 1;
    }
}
