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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2d2d2d;
    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: #134354;
}

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

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

.brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a5f7a;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.95rem;
    color: #555;
}

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

/* Editorial Content - Main Container */
.editorial-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

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

.article-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
    font-weight: 400;
}

/* Text Blocks */
.text-block {
    margin-bottom: 2.5rem;
}

.text-block h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.text-block h3 {
    font-size: 1.35rem;
    line-height: 1.4;
    font-weight: 600;
    color: #2d2d2d;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.text-block h4 {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    color: #2d2d2d;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.text-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3d3d3d;
    margin-bottom: 1.25rem;
}

.text-block ul,
.text-block ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.text-block li {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #3d3d3d;
    margin-bottom: 0.5rem;
}

/* Highlight Section */
.highlight-section {
    background-color: #f5f9fa;
    padding: 2rem;
    border-left: 4px solid #1a5f7a;
    margin: 3rem 0;
}

/* Inline Images */
.inline-image {
    margin: 3rem 0;
}

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

/* Testimonials */
.testimonial-inline {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #fff;
    border-left: 4px solid #e5e5e5;
}

.testimonial-inline blockquote {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #2d2d2d;
    font-style: italic;
}

.testimonial-inline cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #777;
    font-style: normal;
}

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

.cta-link,
.cta-link-secondary {
    display: inline-block;
    padding: 0.9rem 1.75rem;
    background-color: #1a5f7a;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

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

.cta-link-secondary {
    background-color: #ffffff;
    color: #1a5f7a;
    border: 2px solid #1a5f7a;
}

.cta-link-secondary:hover {
    background-color: #f5f9fa;
    color: #134354;
    border-color: #134354;
}

/* Services List */
.services-list {
    margin: 3rem 0;
}

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

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

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

.service-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a5f7a;
}

.service-description p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3d3d3d;
    margin-bottom: 0.75rem;
}

.service-description .note {
    font-size: 0.95rem;
    color: #777;
}

/* Contact Info */
.contact-info {
    margin: 3rem 0;
}

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

.contact-detail h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.contact-detail p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3d3d3d;
}

.contact-detail .note {
    font-size: 0.95rem;
    color: #777;
    font-style: italic;
    margin-top: 0.5rem;
}

/* FAQ */
.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.faq-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3d3d3d;
}

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

.form-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.form-section > p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem;
    font-size: 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    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;
}

.btn-submit {
    padding: 1rem 2rem;
    background-color: #1a5f7a;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: inherit;
}

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

/* Legal Page Styles */
.legal-page h2 {
    margin-top: 2.5rem;
}

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

/* Closing Section */
.closing {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

/* Footer */
.footer-editorial {
    background-color: #2d2d2d;
    color: #d0d0d0;
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 5rem;
}

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

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

.footer-col h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

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

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

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

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

.footer-col a {
    color: #d0d0d0;
    font-size: 0.95rem;
}

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: none;
}

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

.cookie-content {
    max-width: 720px;
    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-content a {
    color: #87ceeb;
    text-decoration: underline;
}

.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: background-color 0.3s ease;
    font-family: inherit;
}

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

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

.cookie-btn.reject {
    background-color: #555;
    color: #ffffff;
}

.cookie-btn.reject:hover {
    background-color: #444;
}

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

    .nav-links {
        gap: 1rem;
    }

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

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

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

    .editorial-content {
        padding: 2rem 1rem;
    }

    .highlight-section,
    .testimonial-inline,
    .form-section {
        padding: 1.5rem;
    }

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

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

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

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

    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

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

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