:root {
    --color-primary: #3A0F55;
    --color-secondary: #1ABCBD;
    --color-light: #FFFFFF;
    --color-dark: #1F2230;
    --color-muted: #4B4F58;
    --color-background: #F6F6F9;
    --color-accent: #5F6B7E;
    --color-border: rgba(90, 96, 120, 0.15);
    --font-primary: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-dark);
    line-height: 1.6;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header {
    background: linear-gradient(90deg, rgba(58, 15, 85, 0.95), rgba(31, 34, 48, 0.95));
    color: var(--color-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-light);
    letter-spacing: 0.04em;
}

.nav-toggle {
    display: none;
}

.burger {
    width: 44px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 3px;
    background: var(--color-light);
}

.main-nav {
    position: fixed;
    inset: 0;
    background: rgba(31, 34, 48, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-nav a {
    font-size: 1.4rem;
    color: var(--color-light);
    font-weight: 500;
}

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

.nav-toggle:checked ~ .main-nav {
    transform: translateY(0);
}

.hero {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(58, 15, 85, 0.08), rgba(26, 188, 189, 0.08));
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    background: rgba(58, 15, 85, 0.12);
    border-radius: 50%;
    z-index: 0;
}

.hero::before {
    width: 280px;
    height: 280px;
    top: -90px;
    right: -130px;
}

.hero::after {
    width: 220px;
    height: 220px;
    bottom: -110px;
    left: -80px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 40px;
}

.hero-compact {
    padding: 70px 0 40px;
}

.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 18px;
    color: var(--color-primary);
}

.hero-content p {
    margin-bottom: 16px;
    color: var(--color-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
    display: grid;
    gap: 12px;
    color: var(--color-dark);
    font-weight: 500;
}

.btn,
.btn-secondary {
    border: none;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

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

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

.btn:hover {
    background: #2c0a3f;
    color: var(--color-light);
}

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

.section {
    padding: 72px 0;
}

.section-highlight {
    background: var(--color-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-focus {
    background: #ECEFF5;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid-two {
    grid-template-columns: 1fr;
}

.grid-three {
    grid-template-columns: 1fr;
}

.grid-four {
    grid-template-columns: 1fr;
}

.feature-card,
.focus-card,
.service-card,
.media-card {
    background: var(--color-light);
    padding: 28px;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    box-shadow: 0 14px 40px -32px rgba(31, 34, 48, 0.5);
}

.focus-card {
    background: rgba(58, 15, 85, 0.06);
    border: none;
}

.media-card {
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.feature-card h3,
.service-card h3,
.focus-card h3 {
    color: var(--color-primary);
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.bullet-list {
    padding: 0;
    margin: 20px 0 0 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.bullet-list li {
    padding-left: 28px;
    position: relative;
    color: var(--color-muted);
}

.bullet-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(26, 188, 189, 0.15);
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
    display: grid;
    gap: 24px;
}

.timeline-step {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 12px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    background: var(--color-light);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

thead {
    background: rgba(58, 15, 85, 0.1);
}

th,
td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-dark);
}

th {
    font-weight: 600;
    color: var(--color-primary);
}

.table-note {
    margin-top: 16px;
    color: var(--color-muted);
}

.section-faq .faq-list {
    display: grid;
    gap: 18px;
}

.faq-item {
    background: var(--color-light);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--color-border);
}

.faq-item h3 {
    margin-top: 0;
    color: var(--color-primary);
}

.site-footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 48px 0 32px;
}

.footer-grid {
    display: grid;
    gap: 32px;
}

.footer-grid h4 {
    margin-top: 0;
    color: var(--color-secondary);
}

.footer-grid p,
.footer-grid a {
    color: rgba(255, 255, 255, 0.82);
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-legal {
    padding-top: 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 32px;
    font-size: 0.9rem;
}

.contact-form {
    background: var(--color-light);
    padding: 32px;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 10px;
}

label {
    font-weight: 600;
    color: var(--color-primary);
}

input,
textarea {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-dark);
    background: #FAFAFC;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(26, 188, 189, 0.4);
}

.form-disclaimer {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0;
}

.form-feedback {
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 18px;
}

.form-feedback.success {
    background: rgba(26, 188, 189, 0.12);
    color: var(--color-secondary);
}

.form-feedback.error {
    background: rgba(255, 97, 97, 0.12);
    color: #D04545;
}

.form-feedback ul {
    margin: 0;
    padding-left: 20px;
}

.legal-text h2 {
    color: var(--color-primary);
    margin-top: 32px;
}

.cookie-banner {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 620px);
    background: var(--color-light);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    box-shadow: 0 30px 70px -40px rgba(31, 34, 48, 0.6);
    padding: 24px;
    z-index: 1200;
    display: none;
}

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

.cookie-banner-inner {
    display: grid;
    gap: 18px;
}

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

@media (min-width: 640px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .grid-two {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-three {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-four {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .burger {
        display: none;
    }

    .main-nav {
        position: static;
        transform: none;
        background: transparent;
        justify-content: flex-end;
        width: auto;
        height: auto;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 28px;
    }

    .main-nav a {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
    }

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

    .faq-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
}