:root {
    --ngt-accent: #d2394b;
    --ngt-accent-hover: #af2f3f;
    --ngt-ink: #202636;
    --ngt-muted: #5f6678;
    --ngt-line: #dde2ec;
    --ngt-surface: #ffffff;
    --ngt-page: #f2f4f9;
    --ngt-footer: #111a2f;
}
* {
    box-sizing: border-box;
}
body {
    font-family: "Manrope", sans-serif;
    color: var(--ngt-ink);
    background:
        radial-gradient(1200px 480px at 100% -40%, rgba(210, 57, 75, 0.1), transparent 70%),
        linear-gradient(180deg, #f6f8fc 0%, #f1f3f8 100%);
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Sora", sans-serif;
    letter-spacing: -0.02em;
}
.container {
    max-width: 1180px;
}

#inicio,
#nosotros,
#servicios,
#contacto,
#sobre-ngt {
    scroll-margin-top: 92px;
}

#mainNavbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(247, 249, 253, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ngt-line);
    padding: 0.55rem 0;
}
.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.brand-logo-img {
    height: 44px;
    width: auto;
    display: block;
}
#mainNavbar .nav-link {
    color: #353c4f;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease;
}
#mainNavbar .nav-link:hover {
    color: var(--ngt-accent);
    background: rgba(210, 57, 75, 0.08);
}
#mainNavbar .nav-link:focus,
#mainNavbar .nav-link:focus-visible,
#mainNavbar .nav-link:active,
#mainNavbar .btn-nav-contact:focus,
#mainNavbar .btn-nav-contact:focus-visible,
#mainNavbar .btn-nav-contact:active,
#mainNavbar .lang-switch .btn-lang:focus,
#mainNavbar .lang-switch .btn-lang:focus-visible,
#mainNavbar .lang-switch .btn-lang:active,
#mainNavbar .lang-menu .dropdown-item:focus,
#mainNavbar .lang-menu .dropdown-item:focus-visible,
#mainNavbar .lang-menu .dropdown-item:active {
    outline: none;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}
.btn-nav-contact {
    background: var(--ngt-accent);
    color: #fff;
    border: 0;
    border-radius: 0.55rem;
    padding: 0.62rem 1.45rem;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 10px 24px rgba(210, 57, 75, 0.28);
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-nav-contact:hover {
    background: var(--ngt-accent-hover);
    color: #fff;
    transform: translateY(-1px);
}
.lang-switch .btn-lang {
    border: 1px solid #cdd6e6;
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fd 100%);
    color: #2e3a53;
    border-radius: 999px;
    padding: 0.38rem 0.72rem 0.38rem 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 11px rgba(31, 46, 78, 0.09);
}
.lang-switch .btn-lang:hover,
.lang-switch .btn-lang:focus {
    border-color: #b9c4db;
    color: #243148;
    background: linear-gradient(180deg, #ffffff 0%, #eef3fc 100%);
    box-shadow: 0 6px 14px rgba(31, 46, 78, 0.12);
}
.lang-switch .btn-lang::after {
    margin-left: 0.18rem;
    font-size: 0.66rem;
    color: #5f6b84;
}
.lang-flag-img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #d8deea;
    box-shadow: 0 1px 3px rgba(22, 30, 48, 0.16);
}
.lang-code {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    line-height: 1;
    color: #3a4762;
}
.lang-menu {
    min-width: 12rem;
    border-radius: 0.72rem;
    border: 1px solid #d2d9e8;
    padding: 0.34rem;
    box-shadow: 0 14px 32px rgba(39, 52, 82, 0.14);
}
.lang-menu .dropdown-item {
    font-size: 0.85rem;
    color: #38435b;
    border-radius: 0.45rem;
    padding-top: 0.52rem;
    padding-bottom: 0.52rem;
}
.lang-menu .dropdown-item.active,
.lang-menu .dropdown-item:active {
    background: rgba(210, 57, 75, 0.1);
    color: #cc3648;
}

.site-footer {
    padding-top: 1.8rem;
    background:
        radial-gradient(460px 280px at 94% 2%, rgba(210, 57, 75, 0.26), transparent 75%),
        radial-gradient(340px 220px at 4% 84%, rgba(52, 104, 205, 0.24), transparent 85%),
        var(--ngt-footer);
    color: #dce3f4;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-top {
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(215, 224, 241, 0.18);
}
.footer-brand {
    text-decoration: none;
    color: #fff;
}
.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    filter: saturate(1.04);
}
.footer-copy-text {
    margin-top: 0.8rem;
    margin-bottom: 0;
    color: #99a4c3;
    font-size: 0.86rem;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
}
.footer-links a {
    color: #d5ddf4;
    text-decoration: none;
    font-size: 0.85rem;
}
.footer-links a:hover {
    color: #ffffff;
}
.footer-address {
    margin-top: 0.8rem;
    margin-bottom: 0;
    color: #99a4c3;
    font-size: 0.83rem;
    line-height: 1.6;
}
.social-row {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
.social-link {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #dce3f4;
    border: 1px solid rgba(214, 224, 246, 0.32);
    background: rgba(236, 242, 255, 0.03);
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.social-link:hover {
    color: #fff;
    border-color: rgba(246, 249, 255, 0.8);
    background: rgba(236, 242, 255, 0.18);
}
.footer-legal {
    color: #8f9abb;
    font-size: 0.79rem;
    text-align: center;
    padding: 0.85rem 0 1.3rem;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    #mainNavbar .navbar-nav {
        margin-top: 0.85rem;
        gap: 0.45rem;
        padding-bottom: 0.8rem;
    }
    .lang-switch .btn-lang {
        width: 100%;
        justify-content: center;
    }
    .btn-nav-contact {
        width: 100%;
        margin-top: 0.3rem;
    }
    .footer-top {
        gap: 1.3rem;
    }
    .social-row {
        justify-content: flex-start;
    }
}
@media (max-width: 575.98px) {
    .brand-logo-img {
        height: 38px;
    }
    .footer-logo-img {
        height: 34px;
    }
}
