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

:root {
    --color-primary: #2c3e50;
    --color-secondary: #34495e;
    --color-accent: #e74c3c;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-border: #e0e0e0;
    --max-width-narrow: 720px;
    --max-width-wide: 1200px;
    --spacing-unit: 1.5rem;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 2.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
}

p {
    margin-bottom: 1.2rem;
}

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

a:hover {
    color: #c0392b;
}

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

.ad-notice {
    background-color: var(--color-secondary);
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.main-nav {
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo:hover {
    color: var(--color-accent);
}

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

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

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

.editorial-hero {
    margin-bottom: 3rem;
}

.hero-image-wrapper {
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: var(--color-bg-alt);
}

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

.hero-content-narrow {
    max-width: var(--max-width-narrow);
    margin: 3rem auto;
    padding: 0 2rem;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.editorial-flow {
    padding: 3rem 0;
}

.narrow-content {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 2rem;
}

.inline-cta-soft {
    background-color: var(--color-bg-alt);
    border-left: 4px solid var(--color-accent);
    padding: 1.5rem;
    margin: 2rem 0;
}

.inline-cta-soft p {
    margin: 0;
    font-style: italic;
}

.inline-image {
    margin: 2.5rem 0;
    border-radius: 4px;
    background-color: var(--color-bg-alt);
}

.citation-link {
    font-size: 0.9em;
    vertical-align: super;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.testimonial-inline {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--color-bg-alt);
    border-radius: 4px;
}

.testimonial-inline blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 1.5rem;
}

.testimonial-inline p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

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

.services-preview-editorial {
    background-color: var(--color-bg-alt);
    padding: 4rem 0;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
}

.service-card-editorial {
    background-color: var(--color-bg);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.service-card-editorial h3 {
    margin-top: 0;
}

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

.btn-text-link {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    margin-top: 0.5rem;
}

.form-section-editorial {
    padding: 4rem 0;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.btn-submit {
    background-color: var(--color-accent);
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.trust-markers {
    background-color: var(--color-bg-alt);
    padding: 3rem 0;
}

.main-footer {
    background-color: var(--color-primary);
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

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

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

.footer-column a {
    color: #ecf0f1;
}

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

.footer-references {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.footer-references h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-references ol {
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-references a {
    color: #ecf0f1;
}

.footer-disclaimer {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-secondary);
    color: white;
    padding: 1.5rem;
    display: none;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.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;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

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

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

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

.btn-cookie-accept {
    background-color: var(--color-accent);
    color: white;
}

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

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

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

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

.service-card-full {
    background-color: var(--color-bg);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.service-card-full h3 {
    margin-top: 0;
    font-size: 1.75rem;
}

.service-details {
    margin: 1.5rem 0;
}

.service-details ul {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.service-details li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.contact-info-section {
    background-color: var(--color-bg-alt);
    padding: 2.5rem;
    border-radius: 4px;
    margin: 2rem 0;
}

.contact-info-section h3 {
    margin-top: 0;
}

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

.contact-detail h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.contact-detail p {
    margin: 0;
    color: var(--color-text-light);
}

.legal-content {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-content h1 {
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

.thanks-page {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
}

.thanks-page h1 {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.thanks-page p {
    font-size: 1.1rem;
    max-width: 600px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    color: white;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .nav-links {
        gap: 1rem;
    }

    .hero-image-wrapper {
        height: 400px;
    }

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

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