/* =========================================================
   BASE
   ========================================================= */

:root {
    --accent: #f59e0b; /* тёплый янтарный */
    --accent-soft: #fff7ed; /* мягкий фон */
    --text-main: #111827;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --bg-light: #f9fafb;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        'Lato',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        'Open Sans',
        'Helvetica Neue',
        sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

a:hover {
    text-decoration: underline;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5 {
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 800;
}

h2 {
    font-weight: 800;
}

.lead {
    color: var(--text-muted);
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */

.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-7 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (max-width: 768px) {
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .py-7 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* =========================================================
   HEADER
   ========================================================= */

.navbar {
    font-size: 15px;
}

.navbar-brand {
    font-size: 18px;
}

.nav-link {
    color: var(--text-main);
    opacity: 0.85;
}

.nav-link:hover {
    opacity: 1;
}

/* =========================================================
   HERO
   ========================================================= */

.bg-white {
    background-color: #ffffff;
}

section:first-of-type {
    background: linear-gradient(180deg, var(--accent-soft) 0%, #ffffff 100%);
}

/* =========================================================
   CONTENT SECTIONS
   ========================================================= */

section {
    position: relative;
}

section ul {
    padding-left: 1.2rem;
}

section ul li {
    margin-bottom: 0.6rem;
}

/* =========================================================
   CARDS / BOXES
   ========================================================= */

.card,
.price-box {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #ffffff;
}

.card {
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   PRICING
   ========================================================= */

#pricing .card {
    max-width: 520px;
    margin: 0 auto;
}

#pricing .display-6 {
    color: var(--accent);
}

/* =========================================================
   RULES
   ========================================================= */

#rules ul {
    list-style: disc;
}

#rules li {
    color: var(--text-main);
}

#rules p {
    font-size: 15px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #111827;
    font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #fbbf24;
    border-color: #fbbf24;
    color: #111827;
}

.btn-outline-dark {
    border-color: var(--text-main);
}

/* =========================================================
   CONTACTS
   ========================================================= */

#contacts a {
    font-weight: 600;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
    text-decoration: underline;
}

footer a:hover {
    color: var(--text-main);
}

/* =========================================================
   UTILITIES
   ========================================================= */

.text-muted {
    color: var(--text-muted) !important;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
