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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #2c2c2c;
    background-color: #fafafa;
    font-size: 18px;
}

h1, h2, h3, h4 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

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

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

p {
    margin-bottom: 1.3rem;
}

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

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

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

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

li {
    margin-bottom: 0.6rem;
}

/* Ad Disclosure */
.ad-disclosure {
    background-color: #fff3cd;
    border-bottom: 1px solid #ffc107;
    padding: 0.6rem;
    text-align: center;
    font-size: 0.85rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #856404;
}

/* Editorial Navigation */
.editorial-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
}

.nav-links li {
    margin: 0;
}

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

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

/* Editorial Container - Narrow Centered Layout */
.editorial-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Article Hero */
.article-hero {
    margin-bottom: 3rem;
}

.article-hero.small {
    margin-bottom: 2rem;
}

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

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

.article-lead {
    font-size: 1.35rem;
    color: #4a4a4a;
    font-style: italic;
    line-height: 1.6;
}

/* Article Content */
.article-content {
    font-size: 1.05rem;
    color: #333;
}

/* Inline Images */
.inline-image-block {
    margin: 2.5rem 0;
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 4px;
}

.inline-image-block img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    object-fit: cover;
}

.image-caption {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    text-align: center;
    margin-bottom: 0;
}

/* Insight Block */
.insight-block {
    background-color: #f0f9ff;
    border-left: 4px solid #2563eb;
    padding: 1.5rem;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.insight-block p {
    margin-bottom: 0;
}

.insight-block a {
    font-weight: 600;
}

/* Services Preview - Inline Editorial Style */
.services-preview {
    margin: 3rem 0;
}

.service-inline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e5e5;
}

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

.service-inline.reverse {
    flex-direction: column;
}

.service-inline img {
    width: 100%;
    border-radius: 4px;
    background-color: #e5e7eb;
    object-fit: cover;
}

.service-text h3 {
    margin-top: 0;
}

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

/* CTA Inline Buttons */
.cta-inline {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.9rem 1.8rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.cta-inline:hover {
    background-color: #1e40af;
}

/* Testimonials */
.testimonial-block {
    background-color: #fafafa;
    border-left: 4px solid #9ca3af;
    padding: 1.8rem;
    margin: 2.5rem 0;
}

.testimonial-block blockquote {
    margin: 0;
}

.testimonial-block p {
    font-size: 1.15rem;
    font-style: italic;
    color: #374151;
    margin-bottom: 1rem;
}

.testimonial-block cite {
    font-style: normal;
    font-size: 0.95rem;
    color: #6b7280;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

.form-section h3 {
    margin-top: 0;
}

.editorial-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-notice {
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #78350f;
    display: none;
}

.form-notice.show {
    display: block;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

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

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

.form-submit:hover {
    background-color: #059669;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 3rem 0;
    font-size: 0.9rem;
    color: #4b5563;
}

.disclaimer-section p {
    margin-bottom: 0;
}

/* References Section */
.references-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e5e5;
}

.references-section h3 {
    margin-top: 0;
}

.references-section ol {
    font-size: 0.9rem;
}

.references-section li {
    margin-bottom: 0.8rem;
}

/* Services Full List (Services Page) */
.services-full-list {
    margin: 2rem 0;
}

.service-detailed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e5e5;
}

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

.service-image-full {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.service-image-full img {
    width: 100%;
    object-fit: cover;
}

.service-info h2 {
    margin-top: 0;
}

.service-info ul {
    margin-top: 1rem;
}

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

.cta-service {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    transition: background-color 0.2s ease;
    width: 100%;
}

.cta-service:hover {
    background-color: #1e40af;
}

/* Contact Page Layout */
.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-block {
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 2rem;
    border-radius: 4px;
}

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

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

.contact-item h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

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

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

.contact-visual {
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 4px;
}

.contact-visual img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    object-fit: cover;
}

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

.thanks-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.thanks-lead {
    font-size: 1.2rem;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.thanks-service-info {
    background-color: #f0f9ff;
    border: 1px solid #bfdbfe;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
}

.thanks-next-steps {
    text-align: left;
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 4px;
    margin: 2rem 0;
}

.thanks-next-steps h2 {
    margin-top: 0;
}

.thanks-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.button-primary,
.button-secondary {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    display: block;
}

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

.button-primary:hover {
    background-color: #1e40af;
    text-decoration: none;
}

.button-secondary {
    background-color: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.button-secondary:hover {
    background-color: #eff6ff;
    text-decoration: none;
}

.thanks-note {
    background-color: #fef3c7;
    border: 1px solid #fbbf24;
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 2rem;
    text-align: left;
    font-size: 0.95rem;
}

/* Legal Pages */
.legal-page .article-content {
    font-size: 1rem;
}

.legal-content h2 {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
}

.legal-content h2:first-child {
    border-top: none;
}

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

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

.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.9rem;
    line-height: 1.6;
}

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

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

.footer-section a {
    color: #d1d5db;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

/* 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: 1000;
    display: none;
}

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

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

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

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

.cookie-accept,
.cookie-reject {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cookie-accept {
    background-color: #10b981;
    color: #ffffff;
}

.cookie-accept:hover {
    background-color: #059669;
}

.cookie-reject {
    background-color: #6b7280;
    color: #ffffff;
}

.cookie-reject:hover {
    background-color: #4b5563;
}

.cookie-learn {
    color: #93c5fd;
    font-size: 0.9rem;
    text-decoration: underline;
}

.cookie-learn:hover {
    color: #bfdbfe;
}

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .editorial-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 5%;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .editorial-container {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .cookie-content {
        text-align: left;
        align-items: flex-start;
    }

    .cookie-buttons {
        justify-content: flex-start;
    }

    .thanks-actions {
        gap: 0.8rem;
    }
}

@media (min-width: 769px) {
    .service-inline {
        flex-direction: row;
        align-items: flex-start;
    }

    .service-inline.reverse {
        flex-direction: row-reverse;
    }

    .service-inline img {
        width: 45%;
        flex-shrink: 0;
    }

    .service-text {
        flex: 1;
    }

    .service-detailed {
        flex-direction: row;
        align-items: flex-start;
    }

    .service-detailed.reverse {
        flex-direction: row-reverse;
    }

    .service-image-full {
        width: 45%;
        flex-shrink: 0;
    }

    .service-info {
        flex: 1;
    }

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

    .contact-info-block {
        flex: 1;
    }

    .contact-visual {
        flex: 1;
    }

    .thanks-actions {
        flex-direction: row;
        justify-content: center;
    }

    .cta-service {
        width: auto;
    }
}