:root {
    --primary: #1a2d4a;
    --secondary: #3d6cb9;
    --accent: #e8a838;
    --text: #2c3e50;
    --text-light: #6c7a89;
    --bg: #fafbfc;
    --bg-alt: #f0f3f7;
    --white: #ffffff;
    --border: #dce3eb;
    --success: #27ae60;
    --error: #c0392b;
}

* {
    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-color: var(--bg);
}

.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

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

h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 16px;
}

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

h2 {
    font-size: 1.9rem;
    font-weight: 600;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

p {
    margin-bottom: 18px;
}

.ad-disclosure {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

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

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

.nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

.hero-editorial {
    background: linear-gradient(135deg, var(--primary) 0%, #2c4a6e 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-editorial h1 {
    color: var(--white);
    font-size: 2.6rem;
    margin-bottom: 24px;
}

.hero-editorial .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 32px;
}

.article-section {
    padding: 60px 0;
}

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

.inline-image {
    margin: 32px 0;
    background: var(--bg-alt);
    border-radius: 8px;
    overflow: hidden;
}

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

.inline-image figcaption {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.content-cta {
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    padding: 24px 28px;
    margin: 36px 0;
    border-radius: 0 8px 8px 0;
}

.content-cta h3 {
    margin-bottom: 12px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

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

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

.btn-accent:hover {
    background: #d49a2e;
    color: var(--primary);
}

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

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

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

.service-card {
    flex: 1 1 300px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px;
    transition: box-shadow 0.2s ease;
}

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

.service-card h3 {
    margin-bottom: 12px;
}

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

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

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

.testimonial {
    background: var(--white);
    border-radius: 10px;
    padding: 32px;
    margin: 40px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 16px;
    padding-left: 40px;
}

.testimonial-author {
    padding-left: 40px;
    font-weight: 600;
    color: var(--primary);
}

.testimonial-role {
    font-size: 14px;
    color: var(--text-light);
}

.form-section {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.form-section h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 32px;
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: 10px;
    max-width: 560px;
    margin: 0 auto;
}

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

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

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

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

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

.form-submit {
    text-align: center;
    margin-top: 24px;
}

.form-submit .btn {
    width: 100%;
    padding: 16px;
}

.benefits-list {
    list-style: none;
    margin: 32px 0;
}

.benefits-list li {
    padding: 12px 0 12px 36px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    text-align: center;
}

.stat-item {
    flex: 0 0 auto;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

.footer {
    background: var(--primary);
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 32px;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.disclaimer {
    background: var(--bg-alt);
    padding: 32px;
    margin: 40px 0;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-light);
    border: 1px solid var(--border);
}

.disclaimer h4 {
    color: var(--text);
    margin-bottom: 12px;
    font-size: 15px;
}

.references {
    background: var(--white);
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.references h4 {
    font-size: 1rem;
    margin-bottom: 16px;
}

.references ol {
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.references li {
    margin-bottom: 8px;
}

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

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

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

.cookie-text {
    flex: 1;
    font-size: 14px;
}

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

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

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

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

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

.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 8px;
}

.page-content {
    padding: 48px 0;
}

.legal-content h2 {
    margin-top: 32px;
    font-size: 1.4rem;
}

.legal-content h3 {
    margin-top: 24px;
    font-size: 1.2rem;
}

.legal-content ul {
    margin: 16px 0 16px 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

.contact-info {
    background: var(--white);
    padding: 32px;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 32px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

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

.contact-icon {
    width: 24px;
    color: var(--secondary);
    flex-shrink: 0;
}

.thanks-section {
    text-align: center;
    padding: 80px 0;
}

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

.thanks-section h1 {
    margin-bottom: 16px;
}

.thanks-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.about-intro {
    display: flex;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.about-intro-text {
    flex: 1;
}

.about-intro-image {
    flex: 0 0 340px;
    background: var(--bg-alt);
    border-radius: 10px;
    overflow: hidden;
}

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

.team-grid {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.team-member {
    flex: 1 1 240px;
    text-align: center;
    padding: 24px;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: var(--bg-alt);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: 14px;
    color: var(--text-light);
}

.sticky-cta {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta .btn {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.highlight-box {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
}

.highlight-box h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.highlight-box p {
    opacity: 0.9;
    margin-bottom: 24px;
}

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

    h2 {
        font-size: 1.5rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-editorial {
        padding: 48px 0;
    }

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

    .stats-row {
        flex-direction: column;
        gap: 24px;
    }

    .about-intro {
        flex-direction: column;
    }

    .about-intro-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .footer-grid {
        flex-direction: column;
        gap: 24px;
    }

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

    .sticky-cta {
        right: 16px;
        bottom: 100px;
    }
}
