:root {
    --primary: #1a2e4c;
    --secondary: #e85d3b;
    --accent: #3a7ca5;
    --light: #f7f9fc;
    --dark: #0d1b2a;
    --text: #2c3e50;
    --text-light: #6c7a89;
    --border: #dde4ec;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(26, 46, 76, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 46, 76, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

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

.ad-disclosure {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 12px;
    text-align: center;
}

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

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

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

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

nav {
    display: flex;
    gap: 32px;
}

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

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

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

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

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--primary);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: var(--white);
}

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

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 59, 0.35);
}

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

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

.section {
    padding: 80px 0;
}

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

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

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

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

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

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

.magazine-grid {
    display: flex;
    gap: 40px;
}

.magazine-main {
    flex: 2;
}

.magazine-sidebar {
    flex: 1;
    min-width: 300px;
}

.intro-text {
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 24px;
}

.intro-text:first-of-type::first-letter {
    float: left;
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 12px 0 0;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary);
}

.sidebar-widget ul {
    list-style: none;
}

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

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

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

.service-card {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 280px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-img {
    height: 180px;
    background-color: var(--accent);
    overflow: hidden;
}

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

.service-content {
    padding: 24px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

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

.service-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.price {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary);
}

.price-note {
    font-size: 13px;
    color: var(--text-light);
}

.features-row {
    display: flex;
    gap: 60px;
    align-items: center;
}

.features-row.reverse {
    flex-direction: row-reverse;
}

.features-content {
    flex: 1;
}

.features-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--primary);
    min-height: 360px;
}

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

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

.features-content p {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 10px 0;
    font-size: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list li::before {
    content: "✓";
    color: var(--secondary);
    font-weight: 700;
    flex-shrink: 0;
}

.about-intro {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.about-text {
    flex: 1.5;
}

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

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

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

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
}

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

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

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

.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    background-color: var(--primary);
}

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

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

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

.contact-layout {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-form-wrap {
    flex: 1.2;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-block {
    margin-bottom: 32px;
}

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

.contact-block p {
    font-size: 16px;
    color: var(--text);
    line-height: 1.7;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.15);
}

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

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

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

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

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

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

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

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

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

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

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

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

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

.disclaimer {
    background: var(--light);
    padding: 32px 0;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

.disclaimer p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

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

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

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

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

.cookie-text a {
    color: var(--secondary);
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

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

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

.cookie-btn:hover {
    opacity: 0.85;
}

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

.page-header h1 {
    font-size: 40px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    opacity: 0.85;
    margin-top: 12px;
}

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

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

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

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

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

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

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

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

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

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

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-section .btn-primary:hover {
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.35);
}

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

.inline-cta p {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

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

    .magazine-sidebar {
        min-width: auto;
    }

    .features-row,
    .features-row.reverse {
        flex-direction: column;
    }

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

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

    .service-card {
        flex: 1 1 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s;
    }

    nav.active {
        right: 0;
    }

    nav a {
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 32px;
    }

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

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

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

    .team-member {
        flex: 1 1 calc(50% - 16px);
    }

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

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