/* 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: #1a1a1a;
    background: #ffffff;
}

/* Typography - Editorial Style */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #0d0d0d;
}

h2 {
    font-size: 1.875rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
    color: #1a1a1a;
}

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

p {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    color: #3a3a3a;
}

.lead-text {
    font-size: 1.375rem;
    line-height: 1.6;
    color: #4a4a4a;
    font-weight: 400;
}

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

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Navigation - Minimal Editorial Style */
.nav-minimal {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo:hover {
    text-decoration: none;
    color: #2563eb;
}

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

.nav-links a {
    font-size: 0.9375rem;
    color: #4a4a4a;
    font-weight: 500;
    text-decoration: none;
}

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

/* Editorial Content Container */
.editorial-content {
    max-width: 100%;
    margin: 0 auto;
}

/* Text Narrow - Core of Editorial Layout */
.text-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Article Hero */
.article-hero {
    padding: 3rem 0 2rem;
}

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

.hero-image {
    max-width: 100%;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Story Sections */
.story-section {
    padding: 3rem 0;
}

/* Split Content for Editorial Flow */
.split-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.split-content .content-block {
    flex: 1;
}

.split-content .content-image {
    flex: 1;
}

.split-content .content-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Inline CTA Block - Editorial Style */
.inline-cta-block {
    padding: 2rem 0;
}

.cta-card-inline {
    max-width: 680px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
}

.cta-card-inline h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

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

/* Insight Section */
.insight-section {
    padding: 3rem 0;
    background: #f9fafb;
}

.insight-list {
    list-style: none;
    margin: 2rem 0;
}

.insight-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    line-height: 1.7;
}

.insight-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* Service Preview Section */
.service-preview {
    padding: 4rem 0;
}

.service-grid {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.service-card {
    flex: 1 1 280px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    border: 2px solid #2563eb;
}

.service-card .badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: #2563eb;
    color: #ffffff;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
}

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

.service-card p {
    flex: 1;
    font-size: 1rem;
}

.service-card .price {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0d0d0d;
    margin: 1.5rem 0 1rem;
}

/* Form Section */
.form-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.form-container-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-form {
    margin-top: 2.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    background: #ffffff;
    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;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: #2563eb;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
    text-decoration: none;
}

.btn-primary.large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #2563eb;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #2563eb;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.btn-service {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #2563eb;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.btn-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    background: #2563eb;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

/* Testimonials */
.testimonial {
    border-left: 4px solid #2563eb;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
}

.testimonial p {
    font-size: 1.125rem;
    line-height: 1.7;
}

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

/* Final CTA Section */
.final-cta {
    padding: 5rem 0;
    background: #f9fafb;
}

.center {
    text-align: center;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #d1d5db;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #d1d5db;
    font-size: 0.9375rem;
}

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

.copyright {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

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

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

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

.cookie-content p {
    margin: 0;
    color: #d1d5db;
    font-size: 0.9375rem;
}

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

.btn-accept {
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: #ffffff;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.btn-reject {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reject:hover {
    background: #ffffff;
    color: #1a1a1a;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.75rem;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99;
    transition: all 0.2s ease;
}

.sticky-cta:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Page Header */
.page-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid #e5e5e5;
}

/* Value List */
.value-list {
    list-style: none;
    margin: 2rem 0;
}

.value-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.value-list li:last-child {
    border-bottom: none;
}

.value-list strong {
    color: #2563eb;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: #f0f9ff;
}

/* Team Section */
.team-section {
    padding: 3rem 0;
}

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

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-block {
    flex: 1 1 280px;
}

.contact-block h2 {
    margin-top: 0;
    font-size: 1.25rem;
}

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

/* Services Detailed */
.services-detailed {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.service-detail {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    position: relative;
}

.service-detail.featured {
    border: 2px solid #2563eb;
    background: #f0f9ff;
}

.service-detail .badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: #2563eb;
    color: #ffffff;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.service-header h2 {
    margin: 0;
}

.price-large {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0d0d0d;
}

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

.service-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Thanks Page */
.thanks-section {
    padding: 5rem 0;
    text-align: center;
}

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

.thanks-details {
    background: #f0f9ff;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #2563eb;
}

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

.steps-list {
    list-style: none;
    counter-reset: steps;
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
}

.steps-list li {
    counter-increment: steps;
    padding: 1rem 0 1rem 3rem;
    position: relative;
    border-bottom: 1px solid #e5e5e5;
}

.steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

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

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

.preparation-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
}

.preparation-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Legal Pages */
.legal-page {
    padding: 2rem 0 4rem;
}

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

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

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

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

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

.cookie-table th,
.cookie-table td {
    padding: 0.875rem;
    text-align: left;
    border: 1px solid #e5e5e5;
}

.cookie-table th {
    background: #f9fafb;
    font-weight: 600;
}

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

    h2 {
        font-size: 2.25rem;
    }

    .split-content {
        flex-direction: row;
        align-items: center;
    }

    .split-content.reverse {
        flex-direction: row-reverse;
    }

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

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

    .nav-links {
        gap: 2.5rem;
    }
}

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

    .service-grid {
        gap: 2.5rem;
    }

    .article-hero {
        padding: 4rem 0 3rem;
    }

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

/* Mobile Navigation Toggle */
@media (max-width: 767px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 1.5rem;
        border-bottom: 1px solid #e5e5e5;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
}
