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

:root {
    --color-primary: #2c3e50;
    --color-secondary: #34495e;
    --color-accent: #3498db;
    --color-text: #333;
    --color-text-light: #666;
    --color-background: #fff;
    --color-background-alt: #f8f9fa;
    --color-border: #e0e0e0;
    --spacing-narrow: 680px;
    --spacing-section: 4rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
}

.ad-notice {
    background-color: var(--color-background-alt);
    text-align: center;
    padding: 0.6rem;
    font-size: 0.85rem;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border);
}

.editorial-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

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

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.editorial-article {
    margin: 0 auto;
}

.article-hero {
    position: relative;
    margin-bottom: 3rem;
}

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

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

.small-hero .hero-image-container {
    height: 400px;
}

.article-hero h1 {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.5rem;
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    max-width: 900px;
    line-height: 1.2;
}

.article-hero .subtitle {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.3rem;
    color: white;
    text-align: center;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.article-content {
    padding: 0 2rem;
}

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

.lead-paragraph {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.article-content h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--color-secondary);
}

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

.article-content li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.inline-image {
    margin: 3rem 0;
    background-color: var(--color-background-alt);
}

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

.image-caption {
    padding: 1rem;
    font-style: italic;
    color: var(--color-text-light);
    text-align: center;
    font-size: 0.95rem;
}

.editorial-quote {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--color-background-alt);
    border-left: 4px solid var(--color-accent);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
}

.editorial-quote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.cta-inline {
    margin: 4rem 0;
    padding: 3rem;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
}

.cta-inline h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.cta-inline p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: white;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-card-editorial {
    margin: 3rem 0;
    padding: 3rem;
    background-color: var(--color-background-alt);
    border-left: 4px solid var(--color-accent);
}

.service-card-editorial h3 {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--color-primary);
}

.service-benefits {
    list-style: none;
    margin-left: 0;
    margin-top: 1.5rem;
}

.service-benefits li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
}

.service-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.service-pricing {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.btn-select {
    padding: 1rem 2rem;
    background-color: var(--color-accent);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-select:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.faq-editorial {
    margin: 3rem 0;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

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

.faq-item h4 {
    margin-top: 0;
    color: var(--color-primary);
}

.editorial-form {
    margin: 3rem 0;
    padding: 3rem;
    background-color: var(--color-background-alt);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

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

.form-group textarea {
    resize: vertical;
}

.form-notice {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.form-notice p {
    margin-bottom: 0.5rem;
}

.btn-submit {
    padding: 1rem 3rem;
    background-color: var(--color-accent);
    color: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

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

.disclaimer-section {
    margin: 4rem 0;
    padding: 2rem;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.disclaimer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #856404;
    margin-bottom: 0;
}

.editorial-footer {
    background-color: var(--color-primary);
    color: white;
    margin-top: 6rem;
    padding: 3rem 2rem 1.5rem;
}

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

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    font-size: 0.95rem;
    opacity: 0.9;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    color: white;
    padding: 1.5rem 2rem;
    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;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

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

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

.btn-accept,
.btn-reject {
    padding: 0.7rem 1.5rem;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

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

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

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

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

.legal-page .content-narrow {
    max-width: 800px;
}

.legal-updated {
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.contact-info-legal {
    padding: 1rem;
    background-color: var(--color-background-alt);
    border-left: 3px solid var(--color-accent);
}

.contact-email {
    font-family: monospace;
    background-color: var(--color-background-alt);
    padding: 0.5rem;
    display: inline-block;
}

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

.contact-note {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

.location-info {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.location-info:last-of-type {
    border-bottom: none;
}

.contact-info-section {
    margin: 2rem 0;
}

.thanks-content {
    padding: 4rem 2rem;
}

.thanks-container {
    text-align: center;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background-color: #28a745;
    color: white;
    font-size: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-container h1 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

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

.selected-service-display {
    background-color: var(--color-background-alt);
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 4px solid var(--color-accent);
}

.selected-service-display p {
    margin-bottom: 0.5rem;
}

.thanks-info {
    margin: 3rem 0;
    text-align: left;
    background-color: var(--color-background-alt);
    padding: 2rem;
}

.thanks-steps {
    list-style: none;
    margin-left: 0;
}

.thanks-steps li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}

.thanks-steps li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.thanks-note {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    margin: 2rem 0;
}

.thanks-resources {
    margin: 3rem 0;
}

.resource-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.resource-card {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 2rem;
    background-color: var(--color-background-alt);
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.3s;
}

.resource-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.resource-card p {
    margin: 0;
    font-size: 0.95rem;
}

.thanks-cta {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--color-background-alt);
}

@media (max-width: 768px) {
    .editorial-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

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

    .article-hero .subtitle {
        font-size: 1rem;
    }

    .hero-image-container,
    .small-hero .hero-image-container {
        height: 300px;
    }

    .content-narrow {
        padding: 0 1rem;
    }

    .service-pricing {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

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

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