/* Akualuks layout: shared shell, navigation, footer and floating WhatsApp. */

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(21, 55, 146, .1);
    box-shadow: 0 10px 26px rgba(11, 31, 95, .05);
}

.nav-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand img {
    width: 218px;
    height: auto;
    object-fit: contain;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
    font-size: 15px;
    font-weight: 700;
    color: var(--blue);
}

.nav-actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-actions a:not(.nav-cta):hover {
    color: var(--pink);
}

.nav-actions a:not(.nav-cta) {
    border-radius: 6px;
}

.nav-cta {
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    background: var(--pink);
    color: white;
    box-shadow: 0 10px 24px rgba(242, 98, 149, .28);
}

.nav-cta svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: currentColor;
}

.site-footer {
    padding: 54px 0;
    background: var(--blue-dark);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr 1fr;
    gap: 34px;
    align-items: start;
}

.footer-logo {
    width: 220px;
    height: auto;
    object-fit: contain;
    margin-bottom: 18px;
}

.site-footer p {
    max-width: 340px;
    opacity: .84;
    line-height: 1.7;
}

.site-footer strong,
.site-footer a {
    display: block;
}

.site-footer strong {
    margin-bottom: 12px;
}

.site-footer a {
    margin-bottom: 8px;
    opacity: .86;
    line-height: 1.45;
}

.site-footer a:hover {
    opacity: 1;
    color: white;
}

.footer-whatsapp,
.social-links {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

.footer-whatsapp svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: currentColor;
}

.social-links {
    margin-top: 10px;
}

.social-link {
    width: 34px;
    height: 34px;
    margin: 0;
    display: inline-grid !important;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    max-width: calc(100vw - 40px);
    padding: 0 20px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pink);
    color: white;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 16px 40px rgba(242, 98, 149, .42);
}

.whatsapp-float:hover,
.footer-whatsapp:hover {
    color: white;
}

.whatsapp-float svg {
    width: 22px;
    height: 22px;
    display: block;
    flex: 0 0 22px;
    fill: currentColor;
}

@media (max-width: 1040px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav-inner {
        min-height: 72px;
        padding: 10px 0;
        flex-wrap: wrap;
        gap: 10px;
    }

    .brand img {
        width: 142px;
        height: auto;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        font-size: 12px;
    }

    .nav-actions a {
        min-height: 40px;
    }

    .nav-cta {
        padding: 0 12px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
        min-width: 52px;
        min-height: 52px;
        max-width: 52px;
        padding: 0;
        border-radius: 50%;
        font-size: 0;
        line-height: 0;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

}

@media (max-width: 1120px) {
    .nav-actions {
        gap: 14px;
        font-size: 13px;
    }

}

@media (max-width: 760px) {
    .nav-actions {
        max-width: none;
        overflow: visible;
        flex-wrap: nowrap;
    }

    .nav-actions a[href$="#negocios"],
    .nav-actions a[href$="#cafeteria"] {
        display: none;
    }

    .nav-actions a {
        flex: 0 0 auto;
    }

    .whatsapp-float {
        bottom: 12px;
    }

}

@media (max-width: 420px) {
    .brand img {
        width: 128px;
    }

    .nav-actions {
        font-size: 11px;
    }

    .nav-actions a[href$="#servicios"] {
        display: none;
    }

}

.nav-cta {
    gap: 8px;
    min-height: 48px;
}

.nav-cta .material-symbols-outlined {
    font-size: 20px;
}

@media (max-width: 760px) {
    .nav-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr)) 44px;
        row-gap: 8px;
        column-gap: 10px;
        overflow: hidden;
    }

    .nav-actions a {
        min-width: 0;
        justify-content: center;
        text-align: center;
    }

    .nav-cta {
        width: 100%;
        padding: 0;
        font-size: 0;
    }

    .nav-cta svg {
        width: 21px;
        height: 21px;
    }

    .nav-actions a[href$="#servicios"],
    .nav-actions a[href$="#precios"],
    .nav-actions a[href$="#cafeteria"] {
        display: inline-flex;
    }

    .nav-actions a[href$="#guia-servicios"],
    .nav-actions a[href$="#ubicacion"] {
        display: none;
    }

}

@media (max-width: 360px) {
    .nav-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .nav-cta {
        grid-column: 1 / -1;
    }

}
