:root {
    --primary: #2c5f7c;
    --primary-dark: #1d4259;
    --secondary: #e8a54b;
    --accent: #7cb5a8;
    --text: #2d3436;
    --text-light: #636e72;
    --bg: #fafafa;
    --bg-alt: #f0f4f6;
    --white: #ffffff;
    --border: #dfe6e9;
    --shadow: rgba(44, 95, 124, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

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

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

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

.header-top {
    background: var(--primary-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    text-align: center;
}

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

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

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

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

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

.hero-editorial h1 {
    font-size: 42px;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-editorial .lead {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-image-container {
    margin: 40px 0;
    background: var(--bg-alt);
    border-radius: 12px;
    overflow: hidden;
}

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

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

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

.article-section h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.article-section h3 {
    font-size: 24px;
    color: var(--primary);
    margin: 32px 0 16px;
    font-weight: 600;
}

.article-section p {
    margin-bottom: 20px;
    font-size: 17px;
}

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

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

.inline-image.small {
    margin: 32px 0;
    max-width: 480px;
}

.inline-image.small img {
    height: 240px;
}

.inline-cta {
    background: var(--primary);
    color: var(--white);
    padding: 24px 32px;
    border-radius: 8px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.inline-cta p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.inline-cta a {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
}

.inline-cta a:hover {
    background: var(--white);
    color: var(--primary);
}

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

.service-card {
    flex: 1 1 calc(50% - 12px);
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
    box-shadow: 0 8px 32px var(--shadow);
    transform: translateY(-4px);
}

.service-card h4 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

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

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

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

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

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

.btn-secondary:hover {
    background: #d4942f;
}

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

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

.testimonial-block {
    background: var(--white);
    border-left: 4px solid var(--secondary);
    padding: 28px 32px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 16px var(--shadow);
}

.testimonial-block p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-block cite {
    font-size: 14px;
    color: var(--text-light);
    font-style: normal;
    font-weight: 600;
}

.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 32px;
    padding: 48px 0;
    background: var(--primary-dark);
    border-radius: 12px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-item .number {
    font-size: 48px;
    font-weight: 700;
    display: block;
    color: var(--secondary);
}

.stat-item .label {
    font-size: 14px;
    opacity: 0.9;
}

.form-section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
}

.form-section h3 {
    margin-top: 0;
    margin-bottom: 24px;
}

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

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

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

.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(44, 95, 124, 0.1);
}

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

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.contact-info {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: 12px;
    margin-top: 40px;
}

.contact-info h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

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

.contact-info-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.contact-info-item span {
    font-size: 15px;
}

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 24px;
    margin-top: 80px;
}

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

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

.footer-col h5 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-col p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

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

.disclaimer {
    background: var(--bg-alt);
    padding: 24px;
    border-radius: 8px;
    margin: 40px 0;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.legal-content {
    padding: 60px 0;
}

.legal-content h2 {
    font-size: 24px;
    color: var(--primary-dark);
    margin: 32px 0 16px;
}

.legal-content h3 {
    font-size: 18px;
    color: var(--primary);
    margin: 24px 0 12px;
}

.legal-content p,
.legal-content li {
    margin-bottom: 12px;
    font-size: 15px;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 20px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 14px;
    min-width: 280px;
}

.cookie-content a {
    color: var(--primary);
}

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

.cookie-buttons button {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

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

.cookie-reject {
    background: var(--bg-alt);
    color: var(--text);
    border: 1px solid var(--border);
}

.thanks-container {
    text-align: center;
    padding: 100px 24px;
    max-width: 600px;
    margin: 0 auto;
}

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

.thanks-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.thanks-container h1 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

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

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

.team-member {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 220px;
    text-align: center;
}

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

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

.team-member h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

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

.references-list {
    background: var(--bg-alt);
    padding: 24px 32px;
    border-radius: 8px;
    margin: 40px 0;
}

.references-list h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.references-list ol {
    padding-left: 20px;
}

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-editorial h1 {
        font-size: 28px;
    }

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

    .inline-image {
        margin: 32px -12px;
    }

    .inline-cta {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .stats-row {
        padding: 32px 16px;
    }

    .stat-item .number {
        font-size: 36px;
    }

    .footer-grid {
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

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

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