:root {
    --primary: #2d5a7b;
    --primary-dark: #1e3d52;
    --secondary: #e8a838;
    --accent: #4a9b8f;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --bg: #fafbfc;
    --bg-alt: #f0f4f7;
    --bg-dark: #1a2634;
    --white: #ffffff;
    --border: #dde4ea;
    --shadow: rgba(45, 90, 123, 0.12);
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    font-size: 17px;
}

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

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

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

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

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

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

.header-top {
    background: var(--bg-dark);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ad-disclosure {
    background: var(--secondary);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 12px;
}

.header-main {
    padding: 18px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

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

.nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background: #d49a2e;
    color: var(--bg-dark);
}

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

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

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

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

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

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

.hero-image {
    margin-top: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
    background-color: var(--bg-alt);
}

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

.section {
    padding: 80px 0;
}

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

.section-dark {
    background: var(--bg-dark);
    color: var(--white);
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 48px;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.editorial-block {
    margin-bottom: 60px;
}

.editorial-block h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.editorial-block h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--primary);
}

.editorial-block p {
    margin-bottom: 20px;
    font-size: 18px;
}

.editorial-image {
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bg-alt);
}

.editorial-image img {
    width: 100%;
    height: 320px;
}

.editorial-image.full-width {
    margin-left: -100px;
    margin-right: -100px;
    border-radius: 0;
}

.inline-cta {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: 10px;
    margin: 40px 0;
    border-left: 4px solid var(--secondary);
}

.inline-cta p {
    margin-bottom: 16px;
    font-weight: 500;
}

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

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
}

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

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

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

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

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

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

.split-image img {
    width: 100%;
    height: 400px;
}

.process-list {
    counter-reset: process;
}

.process-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.process-number {
    counter-increment: process;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.process-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.process-content p {
    color: var(--text-light);
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 30px;
}

.testimonial-text {
    font-size: 19px;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--text);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-info h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

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

.form-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
}

.form-container {
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

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

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

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

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

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

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

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 18px;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.contact-info-item {
    flex: 1 1 250px;
}

.contact-info-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary);
}

.contact-info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

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

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

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-col a {
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

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

.footer-legal a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.disclaimer {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 40px;
    line-height: 1.8;
}

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

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

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

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

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

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

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

.cookie-accept {
    background: var(--secondary);
    color: var(--bg-dark);
}

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

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

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

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

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

.thanks-content h1 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

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

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

.legal-page h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

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

.legal-page h3 {
    font-size: 20px;
    margin: 30px 0 12px;
    color: var(--text);
}

.legal-page p {
    margin-bottom: 16px;
}

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

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

.about-intro {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.about-intro-content {
    flex: 1.2;
}

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

.about-intro-image img {
    width: 100%;
    height: 350px;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.value-item {
    flex: 1 1 calc(50% - 15px);
    min-width: 280px;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
}

@media (max-width: 900px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 30px var(--shadow);
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .mobile-toggle {
        display: block;
    }

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

    .split-section,
    .split-section.reverse {
        flex-direction: column;
    }

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

    .editorial-image.full-width {
        margin-left: -24px;
        margin-right: -24px;
    }

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

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

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

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

    .section-title {
        font-size: 28px;
    }

    .section {
        padding: 50px 0;
    }

    .footer-grid {
        gap: 30px;
    }

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

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