:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #3b82f6;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --max-width: 1200px;
    --content-width: 720px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

a:hover {
    color: var(--primary-dark);
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.ad-disclosure {
    font-size: 0.75rem;
    color: var(--text-light);
    background: var(--bg-alt);
    padding: 4px 10px;
    border-radius: 4px;
    margin-left: 16px;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: var(--text);
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

nav a:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

nav a.active {
    background: var(--primary);
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

.hero-editorial {
    padding: 80px 24px 60px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-editorial .content-narrow {
    text-align: center;
}

.hero-editorial h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-editorial .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-image-container {
    margin: 48px auto 0;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-alt);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

.editorial-section {
    padding: 80px 24px;
}

.editorial-section.alt {
    background: var(--bg-alt);
}

.editorial-section h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 24px;
    font-weight: 700;
}

.editorial-section h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
    margin-top: 40px;
    font-weight: 600;
}

.editorial-section p {
    margin-bottom: 20px;
    color: var(--text);
}

.inline-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--border);
}

.inline-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.inline-image figcaption {
    padding: 12px 16px;
    font-size: 0.875rem;
    color: var(--text-light);
    background: var(--bg-alt);
}

.cta-inline {
    margin: 40px 0;
    padding: 32px;
    background: var(--primary);
    border-radius: 12px;
    text-align: center;
    color: white;
}

.cta-inline h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.cta-inline a {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-inline a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    flex: 1 1 340px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.service-card-image {
    height: 180px;
    margin: -32px -32px 24px;
    background-color: var(--bg-alt);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

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

.service-card h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    text-align: center;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.form-section {
    padding: 80px 24px;
    background: var(--bg-alt);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.form-container h2 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 8px;
    text-align: center;
}

.form-container .subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

.about-hero {
    padding: 100px 24px 60px;
    background: var(--bg-alt);
    text-align: center;
}

.about-hero h1 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    padding: 80px 24px;
}

.about-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 0 0 400px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-alt);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.values-section {
    padding: 80px 24px;
    background: var(--bg-alt);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 40px;
}

.value-item {
    flex: 1 1 280px;
    text-align: center;
    padding: 32px;
}

.value-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
}

.value-item h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.value-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-section {
    padding: 80px 24px;
}

.contact-grid {
    display: flex;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-item-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.thanks-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
}

.thanks-content {
    max-width: 500px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 2.5rem;
}

.thanks-content h1 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.thanks-content p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.legal-page {
    padding: 100px 24px 80px;
}

.legal-page h1 {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 32px;
}

.legal-page h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-page h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-page p {
    margin-bottom: 16px;
    color: var(--text);
}

.legal-page ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-page li {
    margin-bottom: 8px;
    color: var(--text);
}

footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 24px 24px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    max-width: var(--max-width);
    margin: 0 auto 48px;
}

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

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

.footer-col a {
    display: block;
    color: #94a3b8;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

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

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

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.875rem;
}

.disclaimer {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: 8px;
    margin-top: 40px;
    font-size: 0.875rem;
    color: var(--text-light);
    border-left: 4px solid var(--warning);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: white;
    padding: 20px 24px;
    z-index: 1000;
    display: none;
}

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

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--accent);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

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

.cookie-accept:hover {
    background: var(--primary-dark);
}

.cookie-reject {
    background: #475569;
    color: white;
}

.cookie-reject:hover {
    background: #64748b;
}

.references-section {
    padding: 40px 24px;
    background: var(--bg-alt);
}

.references-section h3 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.references-list {
    list-style: none;
    padding: 0;
}

.references-list li {
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.references-list a {
    color: var(--primary);
}

@media (max-width: 900px) {
    .about-grid {
        flex-direction: column;
    }

    .about-image {
        flex: none;
        width: 100%;
    }

    .about-image img {
        height: 300px;
    }

    .contact-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-top: 16px;
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

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

    .hero-image-container img {
        height: 250px;
    }

    .editorial-section {
        padding: 60px 24px;
    }

    .form-container {
        padding: 32px 24px;
    }

    .footer-grid {
        gap: 32px;
    }

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

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

    .hero-editorial {
        padding: 60px 16px 40px;
    }

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

    .service-card {
        flex: 1 1 100%;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
}
