:root {
    --g24-dark: #091022;
    --g24-navy: #1c2541;
    --g24-primary: #0d6efd;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1f2937;
}

.fw-extrabold {
    font-weight: 800;
}

.max-w-700 {
    max-width: 700px;
}

/* Navbar Blanca Corporativa y Logo Grande */
.transition-nav {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(9, 16, 34, 0.08);
    transition: padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.navbar.scrolled {
    background-color: #ffffff !important;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
    box-shadow: 0 6px 24px rgba(9, 16, 34, 0.12);
}

.navbar-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: height 0.25s ease, transform 0.2s ease;
}

.navbar-logo:hover {
    transform: scale(1.02);
}

.navbar.scrolled .navbar-logo {
    height: 52px;
}

.navbar-light .navbar-nav .nav-link {
    color: #1e293b;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--g24-primary);
}

/* Carrusel Hero */
.hero-slide {
    min-height: 92vh;
    padding-top: 40px;
    position: relative;
}

/* Slide 1: Portada Bento Grid */
.hero-section {
    background-color: var(--g24-dark);
    background-image:
        radial-gradient(circle at 80% 25%, rgba(13, 110, 253, 0.22), transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(13, 202, 240, 0.14), transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
}

/* Slides 2 al 5: Imágenes de fondo con velo oscuro corporativo */
.hero-slide-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-condominios {
    background-image:
        linear-gradient(90deg, rgba(9, 16, 34, 0.94) 0%, rgba(9, 16, 34, 0.78) 55%, rgba(9, 16, 34, 0.45) 100%),
        url('img/slide-condominios.jpg');
}

.slide-nube {
    background-image:
        linear-gradient(90deg, rgba(9, 16, 34, 0.94) 0%, rgba(9, 16, 34, 0.78) 55%, rgba(9, 16, 34, 0.45) 100%),
        url('img/slide-nube.jpg');
}

.slide-redes {
    background-image:
        linear-gradient(90deg, rgba(9, 16, 34, 0.94) 0%, rgba(9, 16, 34, 0.78) 55%, rgba(9, 16, 34, 0.45) 100%),
        url('img/slide-redes.jpg');
}

.slide-soporte {
    background-image:
        linear-gradient(90deg, rgba(9, 16, 34, 0.94) 0%, rgba(9, 16, 34, 0.78) 55%, rgba(9, 16, 34, 0.45) 100%),
        url('img/slide-soporte.jpg');
}

/* Controles e Indicadores del Carrusel */
.hero-control {
    width: 5%;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.hero-control:hover {
    opacity: 1;
}

.hero-indicators {
    margin-bottom: 1.5rem;
}

.hero-indicators [data-bs-target] {
    width: 28px;
    height: 4px;
    border-radius: 4px;
    border: 0;
    background-color: rgba(255, 255, 255, 0.45);
}

.hero-indicators .active {
    background-color: #0dcaf0;
}

.bento-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(13, 202, 240, 0.45);
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Tarjetas de Servicios */
.service-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1) !important;
}

.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-box-sm {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1050;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background-color: #1ebe5d;
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .hero-control {
        display: none;
    }
    .navbar-logo {
        height: 52px;
    }
}