/* 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: #2c2c2c;
    background-color: #fafafa;
}

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

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

a:hover {
    color: #0d3a4d;
}

/* Editorial Navigation */
.editorial-nav {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-size: 0.9rem;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

/* Editorial Article Layout */
.editorial-article {
    max-width: 720px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.article-header {
    margin-bottom: 3rem;
    text-align: center;
}

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

.lead-text {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

/* Article Sections */
.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    margin-top: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.article-section h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
    color: #2c2c2c;
}

.article-section p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

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

.article-section li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Images */
.hero-image {
    margin: 3rem 0;
    width: 100%;
}

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

.hero-image figcaption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-style: italic;
}

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

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

.inline-image.wide {
    margin-left: -5rem;
    margin-right: -5rem;
}

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

.inline-cta.centered {
    text-align: center;
}

.cta-link {
    font-size: 1.05rem;
    color: #1a5f7a;
    font-weight: 600;
    border-bottom: 2px solid #1a5f7a;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: #0d3a4d;
    border-bottom-color: #0d3a4d;
}

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

.cta-button:hover {
    background-color: #0d3a4d;
    color: #ffffff;
}

.cta-button.large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

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

.service-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 2rem;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
    color: #1a1a1a;
}

.service-card p {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1rem;
}

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

.service-price-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a5f7a;
    margin: 1.5rem 0;
}

.select-service-btn {
    background-color: #f5f5f5;
    color: #2c2c2c;
    border: 1px solid #d0d0d0;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
}

.select-service-btn:hover {
    background-color: #1a5f7a;
    color: #ffffff;
    border-color: #1a5f7a;
}

.select-service-btn.selected {
    background-color: #1a5f7a;
    color: #ffffff;
    border-color: #1a5f7a;
}

/* Process List */
.process-list {
    background-color: #f9f9f9;
    padding: 2rem;
    border-left: 4px solid #1a5f7a;
    border-radius: 4px;
    margin: 2rem 0;
}

.process-list li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.process-list li strong {
    color: #1a5f7a;
}

/* Testimonials */
.testimonial {
    background-color: #f9f9f9;
    border-left: 4px solid #1a5f7a;
    padding: 1.75rem;
    margin: 2rem 0;
    font-style: italic;
}

.testimonial p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #333;
}

.testimonial cite {
    font-style: normal;
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
}

/* Form */
.form-section {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 2.5rem;
    margin-top: 3rem;
}

.editorial-form {
    margin-top: 2rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    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;
}

.submit-btn {
    background-color: #1a5f7a;
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

/* Final CTA Section */
.final-cta {
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

.final-cta h2 {
    margin-top: 0;
}

/* Footer */
.site-footer {
    background-color: #2c2c2c;
    color: #e0e0e0;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

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

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

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

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

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

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

.footer-section a {
    color: #e0e0e0;
    font-size: 0.95rem;
}

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

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

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
}

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

.sticky-cta-button {
    background-color: #1a5f7a;
    color: #ffffff;
    padding: 1rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.sticky-cta-button:hover {
    background-color: #0d3a4d;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    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;
    flex-wrap: wrap;
}

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

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

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

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

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

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

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

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

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.thanks-message {
    font-size: 1.15rem;
    color: #333;
    margin-bottom: 2rem;
}

.thanks-details {
    margin: 2rem 0;
}

.service-selected {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #1a5f7a;
}

.service-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a5f7a;
}

.thanks-contact {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 6px;
    margin: 2rem 0;
}

.thanks-contact h3 {
    margin-top: 0;
}

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

/* Contact Page Specific */
.contact-info-large {
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 1.5rem 0;
}

.hours-table {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 600;
    color: #2c2c2c;
}

.hours-time {
    color: #666;
}

/* Legal Pages */
.legal-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

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

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

.cookie-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #2c2c2c;
}

/* Service Detail Page */
.service-detail {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.additional-services {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 6px;
    list-style-position: inside;
}

.additional-services li {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }

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

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

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

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

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

    .sticky-cta-button {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }

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

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .thanks-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hours-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .service-price-large {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .article-header h1 {
        font-size: 1.75rem;
    }

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

    .nav-links {
        width: 100%;
        justify-content: center;
    }

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