:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #1e293b;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
}

* {
    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);
}

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: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.narrow {
    max-width: 740px;
    margin: 0 auto;
}

.ad-disclosure {
    background-color: var(--bg-alt);
    padding: 8px 0;
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

header {
    background-color: var(--bg);
    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: 24px;
    font-weight: 700;
    color: var(--secondary);
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

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

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--secondary);
    margin: 5px 0;
    transition: 0.3s;
}

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a365d;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 640px;
    padding: 60px 0;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 32px;
}

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

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

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

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

.btn-secondary:hover {
    background-color: #d97706;
    color: var(--secondary);
}

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

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

section {
    padding: 80px 0;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-dark .section-header h2 {
    color: #fff;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.8);
}

.editorial-block {
    padding: 60px 0;
}

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

.editorial-block h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin: 32px 0 16px;
}

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

.editorial-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    background-color: #cbd5e1;
}

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

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

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

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

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

.service-card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 280px;
    background-color: var(--bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-card-image {
    height: 180px;
    background-color: #cbd5e1;
}

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

.service-card-content {
    padding: 24px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    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(--primary);
    margin-bottom: 16px;
}

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

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.feature-item {
    flex: 1 1 calc(50% - 16px);
    min-width: 280px;
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 15px;
    color: var(--text-light);
}

.testimonial-block {
    background-color: var(--bg-alt);
    border-radius: 12px;
    padding: 40px;
    margin: 48px 0;
}

.testimonial-block blockquote {
    font-size: 20px;
    font-style: italic;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.testimonial-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.testimonial-author-info strong {
    display: block;
    color: var(--secondary);
}

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

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

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

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background-color: #cbd5e1;
}

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

.contact-grid {
    display: flex;
    gap: 48px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background-color: var(--bg-alt);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.contact-item-content strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 4px;
}

.contact-item-content span {
    color: var(--text-light);
    font-size: 15px;
}

.contact-form-wrapper {
    flex: 1;
    background-color: var(--bg-alt);
    padding: 40px;
    border-radius: 12px;
}

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

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

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

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

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

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

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

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

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

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

.footer-col h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    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);
    font-size: 15px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

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

.footer-about p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-bottom p {
    font-size: 14px;
}

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

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

.footer-bottom-links a:hover {
    color: #fff;
}

.disclaimer {
    background-color: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 8px;
    margin-top: 32px;
    font-size: 13px;
    line-height: 1.6;
}

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

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

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

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

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

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

.cookie-buttons .btn {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-accept {
    background-color: var(--success);
    color: #fff;
}

.btn-accept:hover {
    background-color: #059669;
    color: #fff;
}

.btn-reject {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-reject:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

.page-header {
    background-color: var(--bg-alt);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    color: var(--text-light);
}

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

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--secondary);
    margin: 40px 0 16px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin: 28px 0 12px;
}

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

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

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

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

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

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

.thanks-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

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

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

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

.about-story-content {
    flex: 1.5;
}

.about-story-sidebar {
    flex: 1;
    background-color: var(--bg-alt);
    padding: 32px;
    border-radius: 12px;
    position: sticky;
    top: 100px;
}

.about-story-sidebar h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 16px;
}

.about-story-sidebar ul {
    list-style: none;
}

.about-story-sidebar li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.about-story-sidebar li:last-child {
    border-bottom: none;
}

.stat-grid {
    display: flex;
    gap: 32px;
    margin: 48px 0;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 32px;
    background-color: var(--bg-alt);
    border-radius: 12px;
}

.stat-item .number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .label {
    font-size: 15px;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .split-section {
        flex-direction: column;
    }

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

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

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

    .about-story-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 17px;
    }

    nav {
        display: none;
    }

    nav.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg);
        border-top: 1px solid var(--border);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    nav.active ul {
        flex-direction: column;
        width: 100%;
        padding: 20px;
        gap: 0;
    }

    nav.active li {
        border-bottom: 1px solid var(--border);
    }

    nav.active a {
        display: block;
        padding: 16px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-header h2 {
        font-size: 28px;
    }

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

    .feature-item {
        flex: 1 1 100%;
    }

    .footer-col {
        flex: 1 1 100%;
    }

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

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

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

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