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

:root {
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #0f4c75;
    --color-highlight: #3282b8;
    --color-text: #2d2d2d;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-border: #e0e0e0;
    --max-width: 720px;
    --spacing-unit: 1.5rem;
}

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

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

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.9rem;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--color-highlight);
    text-decoration: underline;
}

strong {
    font-weight: 600;
    color: var(--color-primary);
}

em {
    font-style: italic;
    color: var(--color-text-light);
}

ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

ul li {
    margin-bottom: 0.5rem;
}

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

.nav-editorial {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1.2rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

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

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

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

.editorial-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}

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

.hero-content {
    margin-bottom: 2rem;
}

.overline {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 0.8rem;
}

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

.hero-image {
    margin: 2rem 0;
    border-radius: 4px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
}

.editorial-section {
    margin-bottom: 2.5rem;
}

.editorial-section.image-inline {
    margin: 3rem 0;
}

.editorial-section img {
    border-radius: 4px;
    margin-bottom: 0.8rem;
}

figcaption {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
    text-align: center;
    margin-top: 0.5rem;
}

.highlight-box {
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-accent);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 2px;
}

.highlight-box h3 {
    margin-top: 0;
}

.testimonial {
    font-style: italic;
    color: var(--color-text-light);
    border-left: 3px solid var(--color-border);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.inline-cta {
    margin: 2rem 0;
    text-align: center;
}

.btn-inline {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.9rem 2rem;
    background: var(--color-accent);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-inline:hover {
    background: var(--color-highlight);
    text-decoration: none;
}

.btn-inline-secondary {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-inline-secondary:hover {
    background: var(--color-accent);
    color: white;
    text-decoration: none;
}

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

.service-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s;
}

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

.service-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 1.2rem;
}

.service-includes {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-includes li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-size: 0.95rem;
}

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

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

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

.btn-select {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-select:hover {
    background: var(--color-highlight);
}

.btn-select.selected {
    background: var(--color-primary);
}

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

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

.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: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1rem;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: border-color 0.2s;
}

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

.form-group input[readonly] {
    background: var(--color-bg);
    color: var(--color-primary);
    font-weight: 500;
}

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

.btn-submit:hover {
    background: var(--color-highlight);
}

.btn-submit:disabled {
    background: var(--color-border);
    cursor: not-allowed;
}

.form-notice {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 1rem;
    text-align: center;
}

.final-cta {
    text-align: center;
    font-size: 1.1rem;
    margin: 3rem 0;
}

.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    margin-bottom: 1rem;
}

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

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

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

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

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.footer-col a:hover {
    color: white;
    text-decoration: none;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-secondary);
    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;
    flex-wrap: wrap;
    gap: 1.5rem;
}

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

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

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

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

.btn-cookie:hover {
    opacity: 0.9;
}

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

.btn-cookie.reject {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.thanks-page .thanks-box {
    background: var(--color-bg-alt);
    padding: 2.5rem;
    border-radius: 4px;
    margin: 2rem 0;
}

.thanks-box h2 {
    margin-top: 0;
}

.service-confirmation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 4px;
    border-left: 4px solid var(--color-accent);
}

.legal-page .editorial-section {
    margin-bottom: 2rem;
}

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

.legal-page ul {
    margin-left: 1rem;
}

.note {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-style: italic;
    padding: 1rem;
    background: var(--color-bg-alt);
    border-radius: 4px;
    margin: 1rem 0;
}

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

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

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

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

    .service-card {
        padding: 1.5rem;
    }

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

    .btn-select,
    .btn-submit {
        width: 100%;
    }

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

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

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

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

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

    .form-section {
        padding: 1.5rem;
    }
}