/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #ffffff;
}

/* Typography - Editorial Style */
h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a252f;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.875rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
}

p {
    margin-bottom: 1.25rem;
}

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

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

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

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Navigation - Minimal Style */
.nav-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.nav-brand {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a252f;
}

.nav-brand a {
    color: #1a252f;
    text-decoration: none;
}

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

.nav-links a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Editorial Container - Article-like layout */
.editorial-container {
    max-width: 100%;
    margin: 0 auto;
}

.article-hero {
    padding: 3rem 1.5rem;
    background: #f9fafb;
}

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

.hero-intro {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 900px;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    border-radius: 4px;
}

/* Content Sections - Narrow centered text */
.content-section {
    padding: 3rem 1.5rem;
}

.content-section.bg-light {
    background: #f9fafb;
}

.content-section.bg-accent {
    background: #eff6ff;
}

.text-narrow {
    max-width: 680px;
    margin: 0 auto;
}

.text-narrow.center {
    text-align: center;
}

/* Inline Images - Editorial Style */
.inline-image-block {
    margin: 2rem 0;
}

.inline-image-block img {
    width: 100%;
    border-radius: 4px;
}

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

blockquote.testimonial-inline p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

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

/* Feature Lists */
.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.875rem;
}

.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
    font-size: 1.25rem;
}

/* Buttons - Inline CTAs */
.btn-primary,
.btn-secondary,
.btn-select-service,
.btn-submit {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

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

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

.btn-secondary:hover {
    background: #4b5563;
    text-decoration: none;
}

.btn-select-service,
.btn-submit {
    background: #2563eb;
    color: #ffffff;
    width: 100%;
}

.btn-select-service:hover,
.btn-submit:hover {
    background: #1d4ed8;
    text-decoration: none;
}

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

/* Services Section - Card Layout */
.services-reveal {
    padding: 4rem 1.5rem;
    background: #f9fafb;
}

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 2rem;
    position: relative;
}

.service-card.featured {
    border: 2px solid #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: #2563eb;
    color: #ffffff;
    padding: 0.375rem 1rem;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.service-card > p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.service-includes h4 {
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.service-includes ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-includes li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.625rem;
}

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

.service-price {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a252f;
    margin: 1.5rem 0;
}

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

.pension-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

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

.form-group label {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    color: #1a252f;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    transition: border-color 0.2s;
}

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

/* FAQ Items */
.faq-item {
    margin-bottom: 2rem;
}

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

/* Feature Highlights */
.feature-highlight {
    background: #f8fafc;
    padding: 1.5rem 2rem;
    border-radius: 4px;
    margin: 2rem 0;
}

.feature-highlight h3 {
    margin-top: 0;
}

/* Process Steps */
.process-steps {
    margin-top: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
}

.process-step h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Final CTA Section */
.final-cta {
    padding: 4rem 1.5rem;
    background: #1e293b;
    color: #ffffff;
}

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

.final-cta .btn-primary {
    background: #ffffff;
    color: #1e293b;
}

.final-cta .btn-primary:hover {
    background: #f1f5f9;
}

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

/* Footer */
.site-footer {
    background: #1a252f;
    color: #9ca3af;
    padding: 3rem 1.5rem 1.5rem;
}

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

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

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

.footer-section p {
    font-size: 0.875rem;
    line-height: 1.6;
}

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

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

.footer-section a {
    color: #9ca3af;
    font-size: 0.875rem;
    text-decoration: none;
}

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

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

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1e293b;
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.btn-sticky {
    display: block;
    max-width: 400px;
    margin: 0 auto;
    padding: 0.875rem 2rem;
    background: #2563eb;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

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

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

.cookie-banner.hidden {
    display: none;
}

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

.cookie-content p {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
}

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

.btn-cookie {
    padding: 0.625rem 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

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

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

.btn-cookie.secondary:hover {
    background: #374151;
}

/* Page Container */
.page-container {
    min-height: calc(100vh - 200px);
}

.page-header {
    padding: 3rem 1.5rem 2rem;
    text-align: center;
    background: #f9fafb;
}

.page-intro {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 680px;
    margin: 0 auto;
}

/* Services Section on Services Page */
.services-section {
    padding: 3rem 1.5rem;
}

/* Contact Page */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-details {
    margin-top: 2rem;
}

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

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #4b5563;
    margin-bottom: 0;
}

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

.map-placeholder {
    width: 100%;
    height: 400px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.thanks-icon {
    margin: 0 auto 2rem;
    width: 80px;
}

.thanks-message {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.next-steps {
    max-width: 680px;
    margin: 0 auto 3rem;
    text-align: left;
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.step-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.step-item strong {
    color: #2563eb;
    display: block;
    margin-bottom: 0.5rem;
}

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

/* Legal Pages */
.legal-page h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.legal-page h2:first-of-type {
    border-top: none;
    margin-top: 0;
}

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

.legal-note {
    font-style: italic;
    color: #6b7280;
    margin-top: 3rem;
}

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

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

.cookie-table th {
    background: #f9fafb;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    color: #374151;
}

.browser-instructions {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.browser-instructions h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.browser-instructions h4:first-child {
    margin-top: 0;
}

.browser-instructions p {
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: #4b5563;
}

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

    h2 {
        font-size: 2.25rem;
    }

    .service-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .service-card {
        flex: 1 1 calc(50% - 1rem);
    }

    .contact-grid {
        flex-direction: row;
    }

    .contact-info {
        flex: 1;
    }

    .contact-map {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .service-cards {
        flex-direction: column;
    }

    .service-card {
        flex: 1 1 100%;
    }

    .sticky-cta {
        display: none;
    }
}

@media (max-width: 767px) {
    .nav-minimal {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
    }
}
