/* ---------------------------------------
   BASE GLOBAL
   --------------------------------------- */
:root {
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    font-family: var(--font-body);
}

body {
    margin: 0;
    font-family: var(--font-body);
}

* {
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-right: auto;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem;
}

/* Transformación de texto */
.text-uppercase {
    text-transform: uppercase !important;
}

.text-lowercase {
    text-transform: lowercase !important;
}

.text-capitalize {
    text-transform: capitalize !important;
}

.text-transform-none {
    text-transform: none !important;
}

/* Alineación de texto */
.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-justify {
    text-align: justify !important;
}

.text-start {
    text-align: left !important;
}

.text-end {
    text-align: right !important;
}
/* ---------------------------------------
   HEADER
   --------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem;
    background: rgba(6, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    padding: 0.2rem 1rem;
    background: rgba(6, 14, 26, 0.96);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.nav-brand {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.nav-logo {
    flex: 0 0 auto;
}

.nav-brand-text {
    min-width: 0;
    flex: 0 0 auto;
}

.nav-menu {
    flex-shrink: 0;
}

.nav-logo img,
.nav-logo svg {
    width: 96px;
    height: 96px;
    object-fit: contain;
    transition: transform 0.3s var(--ease-spring);
}

.nav-brand:hover .nav-logo img,
.nav-brand:hover .nav-logo svg {
    transform: scale(1.08);
}

.nav-name {
    display: block;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.nav-tagline {
    display: block;
    color: var(--gold-300);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: color 0.25s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.55rem 1.6rem !important;
    color: var(--white) !important;
    background: var(--gold-500) !important;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(200, 147, 58, 0.3);
    font-weight: 600 !important;
    transition: all 0.25s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--gold-400) !important;
    box-shadow: 0 6px 24px rgba(200, 147, 58, 0.4) !important;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------------------------------------
   FOOTER
   --------------------------------------- */
.site-footer {
    padding: 4rem 0 0;
    background: var(--navy-900);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand,
.footer-links-col,
.footer-contact {
    min-width: 0;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.footer-logo-wrap img {
    width: 128px;
    height: 128px;
    object-fit: contain;
}

.footer-name {
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-desc {
    max-width: 300px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.7;
    text-align: justify;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links-col h5 {
    margin-bottom: 1.2rem;
    color: var(--gold-400);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links-col a {
    display: block;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links-col a:hover {
    color: var(--gold-300);
}

.footer-links-col:not(.footer-contact) a {
    position: relative;
    padding-left: 1.5rem;
}

.footer-links-col:not(.footer-contact) a::before {
    content: "\f135";
    position: absolute;
    top: 50%;
    left: 0;
    color: var(--gold-400);
    font-family: "bootstrap-icons";
    font-size: 1.15rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
}

.footer-links-col:not(.footer-contact) a:hover::before {
    transform: translate(3px, -50%);
}

.footer-contact a {
    position: relative;
    padding-left: 2.15rem;
    line-height: 1.5rem;
}

.footer-contact a::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 1.5rem;
    color: var(--gold-400);
    font-family: "bootstrap-icons";
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
}

.contact-fixed::before {
    content: "\f5c1";
}

.contact-mobile::before {
    content: "\f4e7";
}

.contact-whatsapp::before {
    content: "\f618";
}

.contact-email::before {
    content: "\f32f";
}

.contact-address::before {
    content: "\f3e8";
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.78rem;
}

.global-footer-branding {
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-footer-simplemedia {
    width: auto;
    height: 20px;
}

/* ---------------------------------------
   RESPONSIVE
   --------------------------------------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 1080px) {
    .navbar {
        padding: 0.9rem 1.5rem;
    }

    .navbar.scrolled {
        padding: 0.6rem 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        padding: 5rem 2rem 2rem;
        background: var(--navy-900);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
        flex-direction: column;
        gap: 1.5rem;
        transition: right 0.4s var(--ease-out);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 519px) {
    .footer-copyright,
    .footer-rights {
        display: block;
        white-space: nowrap;
    }

    .footer-separator {
        display: none;
    }
}

@media print {
    .navbar,
    .nav-toggle {
        display: none !important;
    }
}
