:root {
    --color-primary: #840405;
    --color-black: #000000;
    --color-soft: #f8f5f5;
    --color-border: rgba(0, 0, 0, 0.1);
    --font-family-base: "Space Grotesk", "Segoe UI", sans-serif;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-black);
    background-color: #ffffff;
}

.site-header {
    border-bottom: 1px solid var(--color-border);
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.top-header {
    width: 100%;
    display: block;
    color: #ffffff;
    background: #111111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-socials a,
.top-mail {
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.top-socials a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.top-socials i,
.top-mail i {
    line-height: 1;
}

.top-socials i {
    font-size: 1rem;
}

.top-socials a:hover {
    color: #ffffff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.top-mail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
}

.top-mail:hover {
    color: #ffffff;
}

.navbar-brand {
    color: var(--color-primary);
    letter-spacing: 0.3px;
}

.navbar-brand:hover {
    color: var(--color-primary);
}

.brand-logo {
    display: block;
    object-fit: contain;
}

.navbar-toggler {
    border-color: rgba(132, 4, 5, 0.35);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(132, 4, 5, 0.2);
}

.nav-link {
    color: var(--color-black);
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    transition: all 0.2s ease;

   font-size: 2.15rem; 
}

.nav-link:hover {
    color: #ffffff;
    background-color: var(--color-primary);
}

.nav-link.active {
    color: #ffffff;
    background-color: var(--color-primary);
}

.hero-box,
.page-box {
    background: linear-gradient(140deg, rgba(132, 4, 5, 0.08), rgba(0, 0, 0, 0.03));
    border: 1px solid var(--color-border);
    border-radius: 1.1rem;
}

.site-footer {
    background-color: var(--color-black);
    color: #ffffff;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 0 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 560px;
}

.footer-brand img {
    width: 64px;
    height: auto;
    flex: 0 0 auto;
    display: block;
    object-fit: contain;
}

.footer-brand strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 1.08rem;
}

.footer-brand p,
.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
    font-weight: 700;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.footer-links a:hover {
    color: #ffffff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 0.75rem;
        gap: 0.35rem;
    }

    .footer-main,
    .footer-bottom {
        display: block;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
        margin-inline: auto;
    }

    .footer-links {
        justify-content: center;
        margin-top: 22px;
    }

    .footer-bottom p + p {
        margin-top: 6px;
    }
}

.wa-fixed {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #840405;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1200;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: transform .2s ease, background-color .2s ease;
}

.wa-fixed:hover {
    background: #6e0404;
    color: #fff;
    transform: translateY(-3px) scale(1.04);
}

.wa-fixed i {
    font-size: 1.9rem;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .top-header-inner {
        min-height: auto;
        padding: 8px 0;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
    }

    .top-mail {
        font-size: 0.86rem;
    }

    .wa-fixed {
        width: 52px;
        height: 52px;
        right: 12px;
        bottom: 12px;
    }
}
