*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #020617;
    color: #e5e7eb;
    line-height: 1.6;
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 80px 20px;
    max-width: 100%;
}
section > * {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.about,
.experience,
.advantages,
.risk-control,
.process,
.pricing,
.contact-hero {
    text-align: center;
}
/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3 {
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: -0.015em;
}

h1 {
    font-size: 2.4rem;
    line-height: 1.15;
}

h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.15rem;
}

p {
    max-width: 65ch;
    margin-bottom: 14px;
    color: #cbd5f5;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background-image: image-set(
        url("../images/hero-forest.webp") type("image/webp"),
        url("../images/hero-forest.jpg") type("image/jpeg")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(2,6,23,0.65),
        rgba(2,6,23,0.85)
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.subtitle {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* =========================
   BUTTONS
========================= */

.btn-primary,
.btn-secondary {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 14px 20px;
    margin: 0 auto;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(90deg, #16a34a, #22c55e);
    color: #022c22;
    box-shadow: 0 10px 30px rgba(34,197,94,0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(34,197,94,0.35);
}

.btn-secondary {
    margin-top: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    color: #e5e7eb;
}

/* =========================
   SERVICES / PRICING CARDS
========================= */

.services-grid,
.pricing-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card,
.price-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 24px;
}

/* =========================
   CONTACTS
========================= */

.contact-hero {
    position: relative;
    min-height: 80svh;
    padding: 120px 16px 140px;
    background-image: url("../images/contact-bg.webp");
    background-size: cover;
    background-position: center;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(2,6,23,0.35),
        rgba(2,6,23,0.65)
    );
    pointer-events: none;
}

.contact-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.contact-note {
    margin-top: 32px;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    section {
        padding: 56px 14px;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.3rem;
    }
	p {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .services-grid,
    .pricing-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

html {
    scroll-behavior: smooth;
}

.fab-contact {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 100;

    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    color: #022c22;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(34,197,94,0.35);
}

/* показываем только на мобиле */
@media (min-width: 769px) {
    .fab-contact {
        display: none;
    }
}

.price-value {
    color: #22c55e;
    font-weight: 600;
}

.price-term {
    font-size: 0.9rem;
    color: #94a3b8;
}

.pricing-note {
    font-size: 0.85rem;
    color: #94a3b8;
}

.site-footer {
    margin-top: 80px;
    padding: 30px 20px;
    background: linear-gradient(to top, #0f172a, #020617);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.site-footer p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
}

.site-footer a {
    color: #4ade80;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: #86efac;
    text-shadow: 0 0 8px rgba(74,222,128,0.6);
}