:root {
    --bg: #f7f8fb;
    --text: #1d2433;
    --muted: #5a6375;
    --brand: #e1306c;
    --brand-dark: #bc1f55;
    --card: #ffffff;
    --line: #e9ebf2;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: var(--bg);
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

.brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand);
}

.site-nav {
    display: flex;
    gap: 1.1rem;
}

.site-nav a {
    color: var(--muted);
    font-weight: 600;
}

.site-nav a:hover {
    color: var(--brand);
}

.nav-toggle {
    display: none;
    border: 0;
    background: #f1f3f9;
    color: var(--text);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
}

.hero {
    padding: 64px 0 44px;
}

.hero-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
}

h1,
h2,
h3 {
    margin: 0 0 14px;
}

h1 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.12;
}

h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
}

p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.7;
}

.hero-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(29, 36, 51, 0.14);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 24px;
}

.btn {
    display: inline-block;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(120deg, var(--brand), #ff6d70);
    color: #fff;
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.34);
}

.btn-light {
    background: #fff;
    border: 1px solid var(--line);
}

.section {
    padding: 40px 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
}

.section-accent {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-hero {
    padding: 52px 0 20px;
}

.content-wrap {
    padding: 20px 0 56px;
}

.content-wrap .card + .card {
    margin-top: 12px;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 24px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    color: var(--muted);
}

@media (max-width: 900px) {
    .hero-grid,
    .cards {
        grid-template-columns: 1fr;
    }

    .split,
    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 14px 4%;
        display: none;
        flex-direction: column;
    }

    .site-nav.open {
        display: flex;
    }
}
