:root {
    --primary: #F97316;
    --primary-deep: #EA580C;
    --primary-dark: #C2410C;
    --orange-soft: #FFF7ED;
    --orange-pale: #FFEDD5;
    --white: #FFFFFF;
    --text: #1F2937;
    --muted: #6B7280;
    --border: #E5E7EB;
    --soft-gray: #F9FAFB;
    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-700: #334155;
    --danger: #B91C1C;
    --success: #15803D;
    --shadow-sm: 0 8px 24px rgba(31, 41, 55, .07);
    --shadow-md: 0 18px 50px rgba(31, 41, 55, .12);
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --container: 1420px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background: var(--white);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img,
video,
canvas {
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    font: inherit;
    min-width: 0;
}

input,
select,
textarea {
    max-width: 100%;
}

button {
    cursor: pointer;
}

p,
h1,
h2,
h3 {
    margin-top: 0;
}

p {
    color: var(--muted);
}

.container {
    width: min(calc(100% - 80px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 3px solid rgba(249, 115, 22, .38);
    outline-offset: 3px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand span {
    display: grid;
    min-width: 0;
}

.brand strong {
    color: var(--text);
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: .04em;
}

.brand small {
    margin-top: 4px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.2;
}

.brand-mark {
    flex: 0 0 auto;
    filter: drop-shadow(0 12px 20px rgba(249, 115, 22, .22));
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--primary-deep);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-title {
    color: var(--text);
    font-size: clamp(28px, 2.5vw, 38px);
    line-height: 1.05;
    letter-spacing: 0;
}

.section-copy {
    max-width: 660px;
    margin-inline: auto;
    font-size: 17px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    color: var(--text);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

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

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-sm {
    min-height: 40px;
    padding-inline: 17px;
    font-size: .92rem;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    box-shadow: 0 14px 28px rgba(249, 115, 22, .26);
}

.btn-primary:hover {
    box-shadow: 0 18px 34px rgba(249, 115, 22, .32);
}

.btn-outline {
    color: var(--primary-dark);
    background: var(--white);
    border-color: rgba(249, 115, 22, .42);
}

.btn-outline:hover {
    background: var(--orange-soft);
    border-color: var(--primary);
}

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

.btn-ghost {
    color: var(--white);
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .45);
}

.icon-badge {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 16px;
    color: var(--primary-deep);
    background: var(--orange-soft);
}

.icon-badge svg {
    width: 24px;
    height: 24px;
}

.status-message {
    display: none;
    margin: 16px 0 0;
    padding: 13px 14px;
    border-radius: 14px;
    font-size: .94rem;
    font-weight: 700;
}

.status-message.is-visible {
    display: block;
}

.status-message.info {
    color: var(--primary-dark);
    background: var(--orange-soft);
    border: 1px solid var(--orange-pale);
}

.status-message.success {
    color: var(--success);
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
}

.status-message.error {
    color: var(--danger);
    background: #FEF2F2;
    border: 1px solid #FECACA;
}

.pagination-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.pagination-nav a,
.pagination-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(249, 115, 22, .28);
    border-radius: 999px;
    color: var(--primary-dark);
    background: var(--white);
    font-size: .9rem;
    font-weight: 800;
}

.pagination-nav a:hover {
    background: var(--orange-soft);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.pagination-nav span {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    box-shadow: 0 10px 22px rgba(249, 115, 22, .22);
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .brand small {
        font-size: .7rem;
    }

    .brand strong {
        font-size: 1.18rem;
    }

    .btn {
        min-height: 44px;
    }
}

@media (max-width: 520px) {
    body {
        overflow-x: hidden;
    }

    .container {
        width: min(100% - 24px, var(--container));
    }

    .btn {
        width: 100%;
        padding-inline: 16px;
    }

    .pagination-nav {
        justify-content: center;
    }
}
