* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #1a3a52;
    --color-secondary: #2c5f7f;
    --color-accent: #d4a574;
    --color-dark: #0f1e2b;
    --color-light: #f8f9fa;
    --color-text: #2d3436;
    --color-text-light: #636e72;
    --color-border: #dfe6e9;
    --color-success: #00b894;
    --max-width-narrow: 680px;
    --max-width-medium: 900px;
    --max-width-wide: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--color-text);
    background-color: #ffffff;
    font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-top: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

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

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    font-weight: 600;
    color: var(--color-dark);
}

em {
    font-style: italic;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: #ffffff;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.nav-links a {
    color: var(--color-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-secondary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.editorial-container {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-hero {
    margin: 4rem 0;
}

.hero-text-narrow {
    margin-bottom: 2.5rem;
}

.lead-intro {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-top: 1.5rem;
}

.hero-image {
    margin: 0;
}

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

.story-section {
    margin: 5rem 0;
    padding: 0;
}

.story-section.bg-contrast {
    background-color: var(--color-light);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 4rem 1.5rem;
}

.story-section.bg-dark {
    background-color: var(--color-dark);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 4rem 1.5rem;
    color: #ffffff;
}

.story-section.bg-dark h2,
.story-section.bg-dark h3 {
    color: #ffffff;
}

.story-section.bg-dark p,
.story-section.bg-dark li {
    color: #e0e0e0;
}

.narrow-text {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

.visual-break {
    margin: 5rem -1.5rem;
    max-width: 100vw;
}

.inline-image-wide {
    margin: 0;
}

.inline-image-wide img {
    width: 100%;
    display: block;
}

.inline-image-wide figcaption {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
    font-style: italic;
    text-align: center;
    padding: 0 1.5rem;
}

.inline-cta {
    margin: 2.5rem 0;
}

.cta-link {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-secondary);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.cta-link:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.cta-link-light {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-link-light:hover {
    color: #ffffff;
}

.testimonial-inline {
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background-color: #f9f9f9;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-inline cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.testimonial-block {
    border: none;
    padding: 2rem;
    margin: 2.5rem 0;
    background-color: #ffffff;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 4px;
}

.testimonial-block cite {
    display: block;
    margin-top: 1.25rem;
    font-style: normal;
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.services-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: 6px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}

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

.service-card.featured {
    border: 2px solid var(--color-accent);
    background-color: #fffbf5;
}

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

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

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 1.5rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.badge-large {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--color-accent);
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-service {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--color-secondary);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-service:hover {
    background-color: var(--color-primary);
}

.process-steps {
    margin-top: 2.5rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    flex-shrink: 0;
}

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

.step p {
    margin-bottom: 0;
}

.form-section {
    margin: 5rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 2.5rem auto 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-dark);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--color-secondary);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-submit:hover {
    background-color: var(--color-primary);
}

.faq-item {
    margin-bottom: 2.5rem;
}

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

.final-cta {
    margin: 6rem 0;
    text-align: center;
}

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

.btn-large {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--color-secondary);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 1.5rem;
}

.btn-large:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.main-footer {
    background-color: var(--color-dark);
    color: #ffffff;
    padding: 3rem 2rem 1.5rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: var(--max-width-wide);
    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 {
    color: #b2bec3;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: #b2bec3;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.footer-section a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #b2bec3;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.sticky-btn {
    display: block;
    padding: 1rem 1.8rem;
    background-color: var(--color-accent);
    color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sticky-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    color: #ffffff;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-dark);
    color: #ffffff;
    padding: 1.5rem 2rem;
    z-index: 1001;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    display: none;
}

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

.cookie-content {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin-bottom: 0;
    color: #e0e0e0;
    font-size: 0.95rem;
    flex: 1;
}

.cookie-content a {
    color: var(--color-accent);
}

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

.btn-primary,
.btn-secondary {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #c79563;
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
}

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

.contact-info-block {
    margin: 2.5rem 0;
}

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

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

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

.contact-item a {
    color: var(--color-secondary);
    font-weight: 600;
}

.thanks-section {
    margin: 4rem 0;
    text-align: center;
}

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

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

.thanks-info {
    margin: 2.5rem 0;
    text-align: left;
}

.service-confirmation {
    background-color: var(--color-light);
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
    font-weight: 600;
    color: var(--color-primary);
}

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

.step-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
    text-align: left;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-secondary);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

.additional-resources {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.services-detailed {
    margin-top: 3rem;
}

.service-detail {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail.featured-service {
    background-color: #fffbf5;
    padding: 2rem;
    border-radius: 6px;
    border: 2px solid var(--color-accent);
}

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

.service-header h2 {
    margin: 0;
}

.price-tag {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.service-body h3 {
    margin-top: 2rem;
}

.legal-page .narrow-text {
    max-width: 800px;
}

.legal-page h2 {
    margin-top: 3rem;
}

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

.legal-date {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-style: italic;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--color-border);
}

.legal-table th {
    background-color: var(--color-light);
    font-weight: 600;
    color: var(--color-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--color-border);
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .editorial-container {
        padding: 0 1rem;
    }

    .visual-break {
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .story-section.bg-contrast,
    .story-section.bg-dark {
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 3rem 1rem;
    }

    .inline-image-wide figcaption {
        padding: 0 1rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        justify-content: stretch;
    }

    .cookie-buttons button {
        flex: 1;
    }

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

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

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

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

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

    .legal-table th,
    .legal-table td {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 1rem;
    }

    .article-hero {
        margin: 2rem 0;
    }

    .story-section {
        margin: 3rem 0;
    }

    .step {
        flex-direction: column;
        gap: 0.5rem;
    }

    .step-number {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}