/* Global 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: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e40af;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f2937;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    justify-content: center;
}

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

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.cookie-content a {
    color: #60a5fa;
    text-decoration: underline;
}

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

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

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

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

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

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

/* Navigation */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.brand {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.02em;
}

.brand:hover {
    color: #2563eb;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

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

.ad-label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.8rem;
    color: #9ca3af;
    background-color: #f3f4f6;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

/* Editorial Container (Main Layout) */
.editorial-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Article Header */
.article-header {
    margin-bottom: 3rem;
}

.hero-image-wrapper {
    margin-bottom: 2.5rem;
    background-color: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.header-content {
    text-align: left;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1rem;
}

/* Page Header (For Non-Article Pages) */
.page-header {
    margin: 3rem 0 2.5rem;
    text-align: left;
}

.page-header h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 1rem;
    font-weight: 700;
}

.update-date {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* Content Section */
.content-section {
    margin-bottom: 4rem;
}

.text-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.text-content h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    color: #111827;
    margin: 2.5rem 0 1.25rem;
    font-weight: 700;
}

.text-content h3 {
    font-size: 1.35rem;
    line-height: 1.4;
    color: #1f2937;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.text-content h4 {
    font-size: 1.15rem;
    line-height: 1.4;
    color: #374151;
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
}

.text-content ul,
.text-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.text-content li {
    margin-bottom: 0.75rem;
}

.text-content strong {
    font-weight: 600;
    color: #111827;
}

.text-content sup {
    font-size: 0.75em;
}

.text-content sup a {
    color: #2563eb;
    font-weight: 600;
}

/* Inline Images */
.inline-image-wrapper {
    margin: 2.5rem 0;
    background-color: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.inline-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Blockquotes */
blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background-color: #f9fafb;
    border-left: 4px solid #2563eb;
    font-style: italic;
}

blockquote p {
    font-size: 1.15rem;
    color: #374151;
    margin-bottom: 0.75rem;
}

blockquote footer {
    font-size: 0.95rem;
    color: #6b7280;
    font-style: normal;
    margin-top: 0.5rem;
}

/* Service Highlights (Inline Service Cards) */
.service-highlight {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.service-highlight h3 {
    font-size: 1.5rem;
    color: #111827;
    margin: 0 0 0.75rem;
}

.service-highlight .price-tag {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0.5rem 0 1rem;
}

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

.btn-primary {
    display: inline-block;
    padding: 0.95rem 2.25rem;
    background-color: #2563eb;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background-color: #1e40af;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Disclaimer Box */
.disclaimer-box {
    margin: 2.5rem 0;
    padding: 1.75rem;
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 6px;
}

.disclaimer-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #78350f;
    margin: 0;
}

/* References Section */
.references-section {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f9fafb;
    border-top: 2px solid #e5e7eb;
}

.references-section h3 {
    font-size: 1.25rem;
    color: #111827;
    margin-bottom: 1rem;
}

.references-list {
    list-style: decimal;
    margin-left: 1.5rem;
}

.references-list li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 0.75rem;
}

.references-list a {
    color: #2563eb;
    text-decoration: underline;
}

/* Form Section */
.form-section {
    margin: 3rem 0;
    padding: 2.5rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.form-container h2 {
    font-size: 1.75rem;
    color: #111827;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

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

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

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

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 0.95rem 2rem;
    background-color: #2563eb;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.btn-submit:hover {
    background-color: #1e40af;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

/* Services Page - Service Cards */
.service-card {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.service-image-wrapper {
    width: 100%;
    margin-bottom: 1.5rem;
    background-color: #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-content h2 {
    font-size: 1.75rem;
    color: #111827;
    margin: 0 0 1rem;
}

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

.service-content p {
    margin-bottom: 1.25rem;
}

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

.service-content li {
    margin-bottom: 0.65rem;
    font-size: 1rem;
}

/* Contact Page */
.contact-info-box {
    margin: 2rem 0;
    padding: 2rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.contact-info-box h2 {
    font-size: 1.75rem;
    color: #111827;
    margin-bottom: 2rem;
}

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

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.contact-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.email-display {
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    color: #1f2937;
    background-color: #f3f4f6;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
}

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

/* CTA Section */
.cta-section {
    margin: 3rem 0;
    padding: 2.5rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    text-align: center;
}

.cta-section h2 {
    font-size: 1.75rem;
    color: #111827;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

/* Thanks Page */
.thanks-page-content {
    margin: 3rem 0;
    text-align: center;
}

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

.thanks-page-content h1 {
    font-size: 2rem;
    color: #111827;
    margin-bottom: 1.5rem;
}

.thanks-page-content .text-content {
    text-align: left;
}

.thanks-info-box {
    margin: 2rem 0;
    padding: 2rem;
    background-color: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
}

.thanks-info-box h2 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 1rem;
}

.thanks-info-box ol {
    margin-left: 1.5rem;
}

.thanks-info-box li {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.service-display {
    margin: 2rem 0;
    padding: 1.25rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 1.05rem;
}

.service-display.hidden {
    display: none;
}

#service-name {
    font-weight: 700;
    color: #2563eb;
}

/* Legal Pages Specific */
.legal-page .text-content h2 {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

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

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

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

.footer-section h4 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

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

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

.footer-section a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    color: #d1d5db;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9rem;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

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

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

    .text-content {
        font-size: 1rem;
    }

    .text-content h2 {
        font-size: 1.5rem;
    }

    .text-content h3 {
        font-size: 1.25rem;
    }

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

    .cookie-buttons {
        width: 100%;
    }

    .btn-cookie,
    .btn-cookie-secondary {
        flex: 1;
    }

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

    .service-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .editorial-container {
        padding: 0 1rem;
    }

    .article-header h1 {
        font-size: 1.75rem;
    }

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

    .form-section {
        padding: 1.5rem;
    }

    .contact-form {
        max-width: 100%;
    }
}
