/* Modal para imagen ampliada del carrusel */
.carrusel-modal {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15,32,39,0.92);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
    backdrop-filter: blur(3.5px) saturate(1.3);
}
.carrusel-modal.active {
    display: flex;
    opacity: 1;
}
.carrusel-modal img {
    max-width: 18vw;
    max-height: 14vh;
    border-radius: 18px;
    box-shadow: 0 8px 32px #38bdf8cc, 0 0 0 2px #183a7a;
    background: #fff;
    padding: 10px;
    animation: modalZoomIn 0.5s cubic-bezier(.4,0,.2,1);
    display: block;
}
@keyframes modalZoomIn {
    0% {
        transform: scale(0.7) rotateY(18deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
}
/* Modal para imagen ampliada del carrusel */
@media (max-width: 600px) {
    .carrusel-qooanta {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
    .info-section.quienes-somos .carrusel-qooanta {
        margin: 0 !important;
        padding: 0 !important;
    }
    .info-section.quienes-somos {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}
@media (max-width: 600px) {
    .carrusel-qooanta {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
}
/* Efecto zoom y 3D al icono logo_burbuja.png */
img[src="img/logo_burbuja.png"] {
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
    will-change: transform, box-shadow;
    cursor: pointer;
}
img[src="img/logo_burbuja.png"]:hover {
    transform: scale(2.2) perspective(600px) rotateY(-18deg) rotateX(8deg) skewY(-2deg);
    z-index: 20;
}

/* Tooltip para el logo */
.logo {
    position: relative;
    display: inline-block;
}
.logo-tooltip {
    display: none;
    position: absolute;
    left: -70%;
    top: 100%;
    margin-top: 20px;
    background: #183a7a;
    color: #fff;
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(24,58,122,0.12);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
    z-index: 30;
}
.logo:hover .logo-tooltip,
.logo:focus-within .logo-tooltip {
    display: block;
    opacity: 1;
}
/* Logo burbuja arriba a la derecha, ajustado dentro del carrusel */
/* Logo burbuja arriba derecha, con fondo blanco, padding y sombra */
/* Logo burbuja arriba derecha, cuadrado, fondo blanco, padding y sombra, bien separado del borde */
/* Logo burbuja arriba derecha, solo logo, más abajo */
.carrusel-qooanta-logo-wrapper-adjusted {
    position: absolute;
    top: 432px;
    right: 48px;
    z-index: 10;
    pointer-events: none;
}
.carrusel-qooanta-logo-wrapper-adjusted img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    pointer-events: auto;
    display: block;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
}
@media (max-width: 900px) {
    .carrusel-qooanta-logo-wrapper-adjusted {
        top: 144px;
        right: 16px;
    }
    .carrusel-qooanta-logo-wrapper-adjusted img {
        width: 48px;
        height: 48px;
    }
}
@media (max-width: 900px) {
    .carrusel-qooanta-logo-wrapper-adjusted {
        top: 16px;
        right: 16px;
    }
    .carrusel-qooanta-logo-wrapper-adjusted img {
        width: 48px;
        height: 48px;
        padding: 8px;
        border-radius: 8px;
    }
}
@media (max-width: 900px) {
    .carrusel-qooanta-logo-wrapper-adjusted {
        top: 12px;
        right: 12px;
    }
    .carrusel-qooanta-logo-wrapper-adjusted img {
        width: 48px;
        height: 48px;
        padding: 6px;
    }
}
@media (max-width: 900px) {
    .carrusel-qooanta-logo-wrapper-adjusted {
        width: 64px;
        height: 64px;
        padding: 6px 6px 0 0;
    }
    .carrusel-qooanta-logo-wrapper-adjusted img {
        max-width: 64px;
        max-height: 64px;
    }
}
/* Logo burbuja justo encima del carrusel */
.carrusel-qooanta-logo-wrapper-outside {
    width: 160px;
    height: 160px;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}
.carrusel-qooanta-logo-wrapper-outside img {
    width: 100%;
    height: auto;
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
}
@media (max-width: 900px) {
    .carrusel-qooanta-logo-wrapper-outside {
        width: 90px;
        height: 90px;
        margin: 20px auto 0 auto;
    }
    .carrusel-qooanta-logo-wrapper-outside img {
        max-width: 90px;
        max-height: 90px;
    }
}

/* Logo burbuja arriba a la derecha del carrusel */
.carrusel-qooanta-logo-wrapper {
    position: fixed;
    top: 24px;
    right: 32px;
    font-size: 3.2rem;
    color: #fff;
    background: rgba(24, 58, 122, 0.85);
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4100;
    font-weight: bold;
    box-shadow: 0 2px 12px #183a7a99;
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
    border: 2px solid #38bdf8;
    outline: none;
}
.carrusel-modal-close:hover {
    color: #38bdf8;
    background: #fff;
    box-shadow: 0 4px 24px #38bdf8cc;
    border-color: #183a7a;
    padding: 0 32px 0 0;
}
.carrusel-qooanta-logo-wrapper img {
    width: 100%;
    height: auto;
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
    pointer-events: auto;
}
@media (max-width: 900px) {
    .carrusel-qooanta-logo-wrapper {
        width: 90px;
        height: 90px;
        top: 202px;
        padding: 0 10px 0 0;
    }
    .carrusel-qooanta-logo-wrapper img {
        max-width: 90px;
        max-height: 90px;
    }
}
/* Logo burbuja arriba del carrusel */
.logo-burbuja-carrusel {
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 160px;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    pointer-events: none;
    padding: 18px 32px 0 0;
}
.logo-burbuja-carrusel img {
    width: 100%;
    height: auto;
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
    pointer-events: auto;
}
@media (max-width: 900px) {
    .logo-burbuja-carrusel {
        width: 90px;
        height: 90px;
        padding: 10px 10px 0 0;
    }
    .logo-burbuja-carrusel img {
        max-width: 90px;
        max-height: 90px;
    }
}
/* Carrusel ocupa todo el alto de la pantalla en todos los dispositivos */
.carrusel-qooanta,
.carrusel-container,
.carrusel-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    display: flex !important;
}
.carrusel-img {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    background: transparent !important;
    pointer-events: auto;
    box-shadow: none !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    display: block;
    position: relative;
    z-index: 1;
}
@media (min-width: 901px) {
    .carrusel-qooanta,
    .carrusel-container,
    .carrusel-wrapper {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        margin: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        position: relative;
        transform: none !important;
    }
    .carrusel-wrapper {
        height: 420px !important;
        min-height: 320px !important;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .carrusel-wrapper {
        height: 750px !important;
        min-height: 500px !important;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .carrusel-img {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        height: 750px !important;
        min-height: 500px !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        display: block;
    }

    .carrusel-container {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        position: relative;
        overflow: hidden;
        background: transparent !important;
        box-shadow: none !important;
    }
    .carrusel-wrapper {
        width: 100vw !important;
        max-width: 100vw !important;
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent !important;
    }
    .carrusel-img {
        width: 100vw !important;
        max-width: 100vw !important;
        object-fit: cover;
        height: 420px;
        min-height: 320px;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .carrusel-btn,
    .carrusel-indicadores {
        display: none !important;
    }
}
/* --- MENU LABEL MOBILE --- */
.menu-label-mobile {
    display: none;
}

.nav-mobile-wrap {
    display: flex;
    align-items: center;
    position: relative;
}

@media (max-width: 900px) {
    .menu-label-mobile {
        display: block !important;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: auto;
        line-height: 1.2;
        color: #fff !important;
        font-size: 1.2rem;
        font-family: 'Orbitron', 'Rajdhani', sans-serif;
        font-weight: 700;
        letter-spacing: 1px;
        padding-left: 18px;
        z-index: 1200;
        background: transparent;
        pointer-events: none;
        box-shadow: none;
    }
    .nav-mobile-wrap {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }
    .logo {
        display: none;
    }
    .hamburger {
        margin-left: auto;
        margin-right: 18px;
        z-index: 3100;
    }
}
/* Fondo para la sección de contacto */
#contacto {
    background: url('../img/fondo_seccion.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}
@media (max-width: 900px) {
    .contacto-tec-info {
        display: none !important;
    }
}

.contacto-tec-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto 64px auto;
    padding: 32px 0 0 0;
    min-height: 540px;
}
.contacto-tec-info {
    flex: 1 1 0;
    max-width: 420px;
    background: #f8fafc;
    border-radius: 22px;
    box-shadow: 0 4px 32px 0 #0a1a3a13;
    padding: 36px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 320px;
    margin-bottom: 0;
    height: 100%;
}
.contacto-tec-info h2 {
    font-size: 2.1rem;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
    color: #183a7a;
    margin-bottom: 18px;
    text-align: center;
}
.contacto-tec-info p {
    color: #1a2a3a;
    margin-bottom: 18px;
    text-align: center;
}
.contacto-tec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    color: #6a7ba0;
    font-size: 1.08rem;
    text-align: left;
}
.contacto-tec-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contacto-tec-social {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    justify-content: center;
}
.contacto-tec-social a img {
    filter: drop-shadow(0 2px 8px #0a1a3a22);
    transition: transform 0.18s;
}
.contacto-tec-social a img:hover {
    transform: scale(1.13) rotate(-6deg);
}
.contacto-tec-form {
    flex: 1 1 0;
    min-width: 520px;
    max-width: 820px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 4px 32px 0 #0a1a3a13;
    padding: 48px 56px 40px 56px;
    margin-bottom: 0;
    height: 100%;
}
@media (max-width: 900px) {
    .contacto-tec-form {
        max-width: 96vw;
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 18px 2vw 18px 2vw;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}
@media (max-width: 1100px) {
    .contacto-tec-container {
        gap: 18px;
        padding: 18px 0 0 0;
    }
    .contacto-tec-info, .contacto-tec-form {
        padding: 24px 10px 18px 10px;
    }
}
@media (max-width: 900px) {
    .contacto-tec-container {
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
    }
    .contacto-tec-info, .contacto-tec-form {
        max-width: 24vw;
        max-height: 18vh;
        width: 98vw;
        margin-bottom: 18px;
        border-radius: 18px;
        box-shadow: 0 2px 16px 0 #0a1a3a13;
        padding: 18px 6vw 18px 6vw;
    }
}
@media (max-width: 900px) {
    .main-footer .footer-social {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 18px !important;
        margin: 12px auto 0 auto !important;
        width: 100% !important;
    }
    .main-footer .footer-social-icon {
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        display: inline-block !important;
        float: none !important;
    }
}
@media (max-width: 900px) {
    .footer-social {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 18px !important;
        margin: 12px auto 0 auto !important;
        width: 100%;
    }
    .footer-social-icon {
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        display: inline-block !important;
    }
}
@media (max-width: 900px) {
    .main-footer {
        text-align: center !important;
        padding: 24px 0 12px 0 !important;
    }
    .footer-columns {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
    .footer-col {
        width: 92vw !important;
        max-width: 340px !important;
        min-width: 180px !important;
        margin: 0 auto !important;
        background: rgba(30,40,60,0.18) !important;
        border-radius: 18px !important;
        padding: 18px 8px 14px 8px !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
    }
    .footer-col h4,
    .footer-col ul,
    .footer-col ul li,
    .footer-col ul li a,
    .footer-social,
    .footer-social-icon {
        text-align: center !important;
        font-size: 1.08rem !important;
        margin: 0 auto !important;
        float: none !important;
        display: block !important;
    }
    .footer-social {
        justify-content: center !important;
        gap: 16px !important;
        margin-top: 8px !important;
    }
    .footer-social-icon {
        width: 32px !important;
        height: 32px !important;
        margin: 0 6px !important;
    }
    .footer-content {
        text-align: center !important;
        font-size: 0.98rem !important;
        margin-top: 18px !important;
    }
}
@media (max-width: 900px) {
    ul.novedades-lista > li .novedad-img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 180px !important;
        min-height: 120px !important;
        object-fit: cover !important;
        margin-bottom: 8px !important;
        display: block !important;
        border-radius: 12px !important;
        background: #f8fafc !important;
        box-shadow: none !important;
    }
}
@media (max-width: 900px) {
    ul.novedades-lista > li .novedad-img {
        width: 100% !important;
        max-width: 180px !important;
        height: auto !important;
        min-height: 80px !important;
        object-fit: contain !important;
        margin-bottom: 8px !important;
        display: block !important;
    }
}
@media (max-width: 900px) {
    ul.novedades-lista {
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        width: 100% !important;
        margin: 0 auto 18px auto !important;
        padding: 0 !important;
        max-width: 100vw !important;
    }
    ul.novedades-lista > li {
        width: 92vw !important;
        max-width: 340px !important;
        min-width: 220px !important;
        min-height: 220px !important;
        margin: 0 auto !important;
        border-radius: 22px !important;
        box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07) !important;
        padding: 28px 12px 22px 12px !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        border-left: none !important;
        border-right: none !important;
        box-sizing: border-box !important;
    }
    ul.novedades-lista > li .novedad-img {
        width: 72px !important;
        height: 72px !important;
        object-fit: contain !important;
        margin-bottom: 8px !important;
    }
    ul.novedades-lista > li .novedad-titulo {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        text-align: center !important;
        margin-bottom: 6px !important;
    }
    ul.novedades-lista > li .novedad-desc {
        font-size: 1.05rem !important;
        text-align: center !important;
    }
}
@media (max-width: 900px) {
    ul.novedades-lista {
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        width: 100% !important;
        margin: 0 auto 18px auto !important;
        padding: 0 !important;
        max-width: 100vw !important;
    }
    ul.novedades-lista > li {
        width: 90vw !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
}
@media (max-width: 900px) {
    ul.novedades-lista {
        flex-direction: column !important;
        align-items: center !important;
        gap: 18px !important;
        width: 100% !important;
        margin: 0 auto 18px auto !important;
        padding: 0 !important;
        max-width: 350px !important;
    }
}
@media (max-width: 900px) {
    .novedades-lista {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 0;
    }
    .novedades-lista li {
        width: 90vw;
        max-width: 320px;
        min-width: 180px;
        margin: 0 auto;
        border-radius: 18px;
        box-shadow: 0 2px 12px 0 rgba(0,0,0,0.07);
        padding: 12px 8px;
        background: #fff;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .novedad-img {
        width: 56px !important;
        height: 56px !important;
        object-fit: contain;
    }
    .novedad-titulo {
        font-size: 1.1rem !important;
        text-align: left;
    }
}
@media (max-width: 900px) {
    .icono-fijo {
        display: none !important;
    }
}
@media (max-width: 900px) {
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
        margin: 0 auto;
    }
    .hero-buttons .btn,
    .hero-buttons .btn-outline {
        width: 80vw;
        max-width: 320px;
        min-width: 180px;
        margin: 0 auto;
        font-size: 1.1rem;
        border-radius: 24px;
        box-sizing: border-box;
    }
}
@media (max-width: 900px) {
    main .hero-text > .hero-main-img {
        width: 95vw !important;
        max-width: 420px !important;
        height: auto !important;
        min-height: 120px !important;
        display: block !important;
        margin: 0 auto 24px auto !important;
        object-fit: contain !important;
        box-shadow: none !important;
        background: none !important;
    }
    .hero-text {
        text-align: center;
    }
}
@media (max-width: 900px) {
    .logo {
        display: none !important;
    }
    .container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
        width: 100vw;
        padding: 0;
    }
    .hamburger {
        margin-left: auto;
        margin-right: 0;
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1100;
    }
    .nav-menu {
        display: none !important;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: fixed;
        top: 56px;
        left: 0;
        width: 100vw;
        background: #181c2a;
        z-index: 1000;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        padding: 24px 0 16px 0;
        border-radius: 0 0 12px 12px;
        text-align: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s;
    }
    .nav-menu.active {
        display: flex !important;
        opacity: 1;
        pointer-events: auto;
        transition: opacity 0.25s;
    }
    .nav-menu a {
        padding: 16px 0;
        font-size: 1.2rem;
        color: #fff;
        text-align: center;
        border-bottom: 1px solid #223;
        width: 100vw;
        display: block;
    }
    .nav-menu a:last-child {
        border-bottom: none;
    }
}
/* --- HAMBURGER MENU RESPONSIVE --- */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100vw;
        background: #181c2a;
        z-index: 1000;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        padding: 24px 0 16px 0;
        border-radius: 0 0 12px 12px;
    }
    .nav-menu.active {
        display: flex;
    }
    .hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
        margin-left: auto;
    }
    .hamburger span {
        display: block;
        width: 28px;
        height: 4px;
        margin: 4px 0;
        background: #fff;
        border-radius: 2px;
        transition: 0.3s;
    }
}

@media (min-width: 901px) {
    .hamburger {
        display: none !important;
    }
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        background: none;
        box-shadow: none;
        width: auto;
        padding: 0;
        border-radius: 0;
    }
}
.carrusel-qooanta {
    /* Hereda de info-section: fondo, padding, sombra, border-radius, etc. */
    max-width: 1200px;
    margin: 0 auto 32px auto;
    box-shadow: none;
    background: none;
    border-radius: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}
.carrusel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}
.carrusel-wrapper {
    display: flex;
    overflow: hidden;
    width: 600px;
    max-width: 80vw;
    height: 260px;
    align-items: center;
    position: relative;
    border-radius: 12px;
    background: #f6fafd;
    box-shadow: 0 2px 12px #60a5fa22;
}
.carrusel-img {
        width: 100vw;
        max-width: 100vw;
        height: auto;
        max-height: 38vh;
        object-fit: contain;
        transition: transform 0.7s cubic-bezier(.4, 0, .2, 1), opacity 0.5s;
        opacity: 0;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 1;
        cursor: pointer;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px #60a5fa22;
}

@media (max-width: 900px) {
    .carrusel-img {
        width: 100vw;
        max-width: 100vw;
        height: auto;
        max-height: 32vh;
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .carrusel-img {
        width: 100vw;
        max-width: 100vw;
        height: auto;
        max-height: 24vh;
        border-radius: 8px;
    }
}
.carrusel-img.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.04);
    box-shadow: 0 4px 24px #38bdf8aa;
}
.carrusel-btn {
    background: #2196f3;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px #38bdf8aa;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    margin: 0 12px;
}
.carrusel-btn:hover {
    background: #38bdf8;
}
.carrusel-indicadores {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}
.carrusel-indicador {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #b3e0fc;
    border: 2px solid #2196f3;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}
.carrusel-indicador.active {
    background: #2196f3;
    border: 2px solid #38bdf8;
}
/* Modal para imagen ampliada */
.carrusel-modal {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 58, 138, 0.92);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
    backdrop-filter: blur(2.5px) saturate(1.2);
}
.carrusel-modal.active {
    display: flex;
    opacity: 1;
}
.carrusel-modal img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 4px 32px #38bdf8cc;
    background: #fff;
    padding: 12px;
}
.carrusel-modal-close {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    z-index: 4100;
    font-weight: bold;
    transition: color 0.2s;
}
.carrusel-modal-close:hover {
    color: #38bdf8;
}
@media (max-width: 700px) {
    .carrusel-qooanta {
        padding: 0;
        margin: 0 0 18px 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }
    .carrusel-wrapper {
        width: 98vw;
        max-width: 98vw;
        height: 180px;
    }
    .carrusel-img {
        height: 180px;
    }
}
@media (max-width: 480px) {
    .carrusel-qooanta {
        padding: 0;
        margin: 0 0 12px 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }
    .carrusel-wrapper {
        height: 120px;
    }
    .carrusel-img {
        height: 120px;
    }
    .carrusel-btn {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    .carrusel-indicador {
        width: 10px;
        height: 10px;
    }
}
/* === Fin Carrusel Qooanta === */

.icono-fijo {
    position: fixed;
    right: 0;
    bottom: 24px;
    z-index: 2000;
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.icono-flotante-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    position: relative;
    transition: gap 0.3s;
}

.icono-flotante-group .icono-flotante-btn {
    position: relative;
}
.icono-flotante-group .icono-flotante-btn:last-child {
    right: 0;
    z-index: 1;
    opacity: 1;
    filter: none;
    transition: none;
}
.icono-flotante-group .icono-flotante-btn:first-child {
    z-index: 2;
}
.icono-fijo:hover .icono-flotante-group .icono-flotante-btn:last-child,
.icono-fijo:focus-within .icono-flotante-group .icono-flotante-btn:last-child {
    right: 0;
}
.icono-flotante-group .icono-flotante-btn:first-child {
    z-index: 2;
}
.icono-fijo:hover .icono-flotante-group,
.icono-fijo:focus-within .icono-flotante-group {
    gap: 12px;
}
.icono-flotante-btn {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
        /* Se elimina la regla específica para que herede el tamaño global de 32x32px */
    pointer-events: auto;
}
.icono-flotante-btn img {
    animation: icono-move 1.8s infinite cubic-bezier(.4, 0, .2, 1);
}

.icono-flotante-group:hover .icono-flotante-btn img,
.icono-flotante-group:focus-within .icono-flotante-btn img {
    animation-play-state: paused !important;
}
.icono-flotante-btn:focus,
.icono-flotante-btn:active {
    animation-play-state: paused !important;
}
.icono-flotante-btn img {
    width: 54px;
    width: 54px;
    height: 54px;
    object-fit: cover;
    display: block;
    pointer-events: none;
    margin: 0;
    border-radius: 50%;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    transform: scale(1.12);
}
.icono-flotante-btn:hover {
    box-shadow: none !important;
    transform: scale(1.12);
}

/* Quitar sombra en hover solo para WhatsApp */
.icono-flotante-btn:hover img[src*="whatsapp"],
.icono-flotante-btn:hover img[src*="WhatsApp"] {
    box-shadow: none !important;
}

.icono-flotante-group .icono-flotante-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}
.icono-flotante-group .icono-flotante-btn:first-child {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
.icono-fijo:hover .icono-flotante-group .icono-flotante-btn,
.icono-fijo:focus-within .icono-flotante-group .icono-flotante-btn {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}
/* Imagen principal más grande y centrada en móvil */
@media (max-width: 600px) {
    .hero-main-img {
        width: 90vw !important;
        max-width: 340px !important;
        height: auto !important;
        display: block;
        margin: 0 auto 18px auto !important;
    }
}
/* Efecto subrayado animado tipo navbar para botones .btn y .btn-outline */
.btn, .btn-outline {
    position: relative;
    overflow: hidden;
}

.btn::after, .btn-outline::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(120deg, #1e3a8a 60%, #60a5fa 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.btn:hover::after, .btn:focus::after,
.btn-outline:hover::after, .btn-outline:focus::after {
    transform: scaleX(1);
}
/* Ocultar el botón feedback-widget en móviles */
@media (max-width: 600px) {
    #feedback-widget {
        display: none !important;
    }
}
/* Centrar el título del widget de opinión */
#feedback-panel h3 {
    text-align: center;
    width: 100%;
    margin: 0 auto 18px auto;
    display: block;
}
/* Ribbon para tarjetas de servicio */
.servicio-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 1.2rem;
    border-bottom-right-radius: 14px;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 8px #2563eb44;
}

.servicio-card {
    position: relative;
}

/* Servicios - tarjetas profesionales */
.servicios-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 32px;
}

.servicio-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #60a5fa22;
    padding: 32px 18px 24px 18px;
    text-align: center;
    flex: 1 1 220px;
    min-width: 220px;
    max-width: 320px;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.servicio-card:hover {
    box-shadow: 0 4px 24px #2563eb33;
}

.servicio-card img {
    width: 97px;
    height: 97px;
    /* 80% más grande que el valor original de 54px */
    opacity: 0;
    transform: scale(0.7) translateY(40px);
    transition: opacity 0.6s cubic-bezier(.4, 0, .2, 1), transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

.servicio-card img.domino-anim {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.servicio-card h3 {
    color: #2563eb;
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.servicio-card p {
    color: #374151;
    font-size: 1rem;
}

/* Modal para mostrar imagen completa del slider */
.slider-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 58, 138, 0.85);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
}

.slider-modal.active {
    display: flex;
    opacity: 1;
}

.slider-modal img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 4px 32px #38bdf8cc;
    background: #fff;
    padding: 12px;
}

.slider-modal-close {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    z-index: 3100;
    font-weight: bold;
    transition: color 0.2s;
}

.slider-modal-close:hover {
    color: #38bdf8;
}

/* Slider de imágenes para novedades */
.novedades-slider {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 32px auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px #60a5fa22;
    background: #e3f2fd;
    margin-top: 30px;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    position: relative;
    height: 180px;
    overflow: hidden;
}

.slider-img {
    min-width: 20%;
    height: 180px;
    object-fit: cover;
    opacity: 1;
    position: relative;
    left: 0;
    top: 0;
    transition: transform 0.7s cubic-bezier(.4, 0, .2, 1);
    z-index: 1;
    margin: 0 4px;
}

.slider-img.active {
    opacity: 1;
    z-index: 2;
    border: 2px solid #2196f3;
    box-shadow: 0 2px 12px #38bdf8aa;
}

.slider-controls {
    position: absolute;
    bottom: 18px;
    right: 24px;
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slider-controls button {
    background: #2196f3;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px #38bdf8aa;
    transition: background 0.2s;
}

.slider-controls button:hover {
    background: #38bdf8;
}

/* Novedades corporativas */
.novedades-block {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px #60a5fa22;
    padding: 40px 32px 32px 32px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.novedades-titulo {
    color: #2196f3;
    font-size: 2.1rem;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
    margin-bottom: 12px;
}

.novedades-intro {
    color: #1e3a8a;
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.novedades-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    text-align: left;
    display: flex;
    flex-direction: row;
    gap: 32px;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
}



.novedades-lista li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-size: 1.08rem;
    color: #374151;
    background: #fff;
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 4px 24px #60a5fa22;
    position: relative;
    border-left: 6px solid #2196f3;
    min-width: 260px;
    max-width: 320px;
    min-height: 320px;
    max-height: 340px;
    flex: 1 1 260px;
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}

.novedades-lista li:hover {
    box-shadow: 0 8px 32px #2196f355;
    transform: translateY(-6px) scale(1.03);
    border-left: 6px solid #38bdf8;
}

.novedades-lista li .novedad-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    margin-bottom: 0;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 195, 255, 0.10);
    background: #f6fafd;
    border: 2px solid #00c3ff22;
}

.novedades-lista li .novedad-titulo {
    color: #2196f3;
    font-size: 1.25rem;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.novedades-lista li .novedad-desc {
    color: #374151;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 18px;
}

.novedades-lista li .novedad-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    margin-top: auto;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.novedades-lista li .novedad-btn:hover {
    color: #2196f3;
}


.novedades-lista li::before {
    content: none !important;
}

/* Novedades lista tarjetas */
.novedades-lista {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2rem;
    padding: 0;
    margin: 2rem 0 0 0;
    list-style: none;
    justify-content: center;
    overflow-x: unset;
    scroll-behavior: unset;
}

.novedades-lista li {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10), 0 1.5px 0 #00c3ff inset;
    width: 320px;
    height: 220px;
    flex: 0 1 320px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1.2rem 1.2rem 1.2rem;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
    margin-bottom: 0;
    overflow: hidden;
}

.novedades-lista li::before {
    content: none !important;
}

.novedad-img {
    width: 192px;
    height: 192px;
    /* 200% más grande que el valor original de 64px */
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 195, 255, 0.10);
    background: #f6fafd;
    border: 2px solid #00c3ff22;
}

.novedad-titulo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #00c3ff;
    margin-bottom: 0.7rem;
    text-align: center;
    position: relative;
    text-shadow: 0 1px 0 #fff, 0 2px 8px #00c3ff22;
}

.novedad-desc {
    font-size: 1.08rem;
    color: #222;
    text-align: center;
    margin-bottom: 0.7rem;
    min-height: 40px;
    font-family: 'Rajdhani', sans-serif;
    opacity: 0.95;
}

.novedad-btn {
    background: linear-gradient(90deg, #00c3ff 0%, #0057b8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 195, 255, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
    margin-top: auto;
}

.novedad-btn:hover {
    background: linear-gradient(90deg, #0057b8 0%, #00c3ff 100%);
    box-shadow: 0 4px 16px rgba(0, 195, 255, 0.18);
}

.servicio-card h3 {
    color: #2196f3;
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.servicio-card p {
    color: #374151;
    font-size: 1rem;
    margin-bottom: 0;
}

.contact-form {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px #60a5fa22;
    padding: 32px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-sizing: border-box;
}

.form-row {
    display: flex;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.form-row .form-group {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-form label {
    font-weight: 600;
    color: #2563eb;
    font-size: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border: 1.5px solid #60a5fa;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 1rem;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: #f8fafc;
    color: #1e3a8a;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 8px #60a5fa66;
}

.contact-form button.btn {
    margin-top: 10px;
    align-self: flex-end;
}

#form-status {
    font-size: 1rem;
    color: #2563eb;
    min-height: 24px;
}

/* Fondo de nodos de tecnología para la sección de contacto */
#contacto {
    position: relative;
    background: url('../img/nodos-tecnologia.jpg') center/cover no-repeat;
    min-height: 520px;
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
    border-radius: 0;
    padding: 0 24px 32px 24px;
    text-align: center;
}

#contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.82);
    z-index: 0;
}

#contacto h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 16px;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    position: relative;
    z-index: 2;
    opacity: 1;
}

#contacto p {
    color: #374151;
    font-size: 1.1rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    opacity: 1;
}

#contacto .contact-form {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #60a5fa22;
    padding: 32px 18px 24px 18px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .servicios-grid {
        gap: 18px;
    }

    .servicio-card {
        min-width: 140px;
        max-width: 180px;
        padding: 24px 8px 18px 8px;
    }
}

@media (max-width: 900px) {
    .servicios-grid {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .quienes-layout {
        flex-direction: column;
        gap: 24px;
    }

    .quienes-servicios {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .contact-form {
        max-width: 98vw;
        padding: 18px 4vw 18px 4vw;
    }

    /* Separar el logo del menú y alinearlo más a la izquierda */
    .logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-right: 20%;
    }

    .logo img {
        height: 54px;
        width: auto;
        margin-left: 0;
        margin-right: 0;
        display: block;
    }
}

@media (max-width: 700px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .main-footer {
        padding: 32px 0 16px 0;
    }

    .footer-content {
        font-size: 0.98rem;
        padding: 0 10px;
    }

    .hero {
        background-attachment: scroll !important;
        /* Evita problemas en Firefox móvil */
        min-height: 100vh;
        display: flex;
        align-items: flex-start !important;
        justify-content: center;
        padding-top: 90px !important;
        padding-bottom: 32px !important;
    }

    .hero-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100vw;
        min-height: unset;
        gap: 0;
    }

    .hero-text {
        width: 100vw;
        max-width: 98vw;
        text-align: center;
        margin: 0 auto 18px auto;
        padding: 0 6vw;
        z-index: 2;
    }

    .hero-main-img {
        width: 160px !important;
        height: 160px !important;
        margin: 0 auto 8px auto !important;
        display: block;
    }

    .hero-illustration {
        width: 100vw;
        display: flex;
        justify-content: center;
        margin-top: 0;
    }

    .logo-big-img {
        max-width: 90vw !important;
        height: auto !important;
        margin: 0 auto 0 auto !important;
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin: 18px 0 0 0;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-outline {
        width: 90vw !important;
        max-width: 340px !important;
        margin: 0 auto !important;
        display: block !important;
        text-align: center !important;
    }
}

/* Ajuste extra para evitar que el fondo tape el contenido en Firefox móvil */
@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll !important;
    }
}

@media (max-width: 1024px) {
    .servicios-grid {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .quienes-layout,
    .quienes-servicios {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .main-footer .footer-columns {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        padding: 24px 0 0 0;
    }

    .main-footer .footer-col {
        max-width: 100vw;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {

    header .container,
    .main-footer .footer-columns {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-menu {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-illustration {
        margin-top: 18px;
    }

    .servicios-grid {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .novedades-lista {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }

    .equipo-grid {
        grid-template-columns: 1fr;
        gap: 18px 0;
    }

    .contact-form,
    .novedades-block {
        max-width: 98vw;
        padding: 18px 4vw 18px 4vw;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .icono-fijo {
        right: 12px;
        bottom: 12px;
    }

    .icono-fijo img {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        min-height: 54px !important;
        max-width: 54px !important;
        max-height: 54px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block;
        object-fit: contain;
    }
}

@media (max-width: 480px) {

    body,
    html {
        font-size: 15px;
    }

    .hero-main-img {
        margin-top: 30% !important;
        width: 76.8px !important;
        /* 64px * 1.2 = 76.8px si el tamaño móvil base es 64px */
        height: 76.8px !important;
        max-width: 90vw;
        max-height: 90vw;
    }

    .servicio-card,
    .servicio,
    .equipo-card {
        min-width: 90vw;
        max-width: 98vw;
        padding: 12px 4vw 12px 4vw;
    }

    .novedades-lista li {
        min-width: 90vw;
        max-width: 98vw;
        padding: 1rem 0.5rem;
    }

    .main-footer .footer-content {
        font-size: 0.92rem;
        padding: 0 4px;
    }

    .main-footer .footer-col h4 {
        font-size: 1rem;
    }

    .main-footer .footer-social-icon {
        width: 28px;
        height: 28px;
    }

    .banner-publicidad {
        min-width: 90vw;
        width: 98vw;
        padding: 0;
    }

    .banner-publicidad img {
        max-width: 98vw;
    }

    .main-footer .footer-columns {
        align-items: center !important;
        text-align: center;
    }

    .main-footer .footer-col {
        align-items: center !important;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
    }

    .main-footer .footer-col h4 {
        width: 100%;
        text-align: center !important;
    }

    .main-footer .footer-col ul {
        align-items: center !important;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        padding: 0;
        width: 100%;
    }

    .main-footer .footer-col ul li {
        width: 100%;
        text-align: center !important;
    }

    .main-footer .footer-col ul li a {
        width: 100%;
        text-align: center !important;
        display: inline-block;
    }

    .main-footer .footer-social {
        justify-content: center;
        width: 100%;
    }
}

/* ...existing code... */

/* Icono fijo en esquina inferior derecha */
.icono-fijo {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 2000;
    background: none;
    padding: 0;
}

.icono-fijo img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px #2563eb88);
    transition: transform 0.2s;
    animation: icono-move 1.8s infinite cubic-bezier(.4, 0, .2, 1);
}

@keyframes icono-move {
    0% {
        transform: translateY(0) scale(1);
    }

    20% {
        transform: translateY(-8px) scale(1.08);
    }

    40% {
        transform: translateY(0) scale(1.05);
    }

    60% {
        transform: translateY(8px) scale(1.08);
    }

    80% {
        transform: translateY(0) scale(1.05);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.icono-fijo img:hover {
    transform: scale(1.12) rotate(-8deg);
    filter: drop-shadow(0 4px 24px #60a5fa99);
}

/* Sección Quiénes Somos estilo corporativo */
.quienes-somos {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 0 32px 0;
}

.quienes-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    margin-bottom: 32px;
    gap: 48px;
}

.quienes-img {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quienes-img img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 32px #60a5fa88);
    margin-bottom: 0;
}

.quienes-text {
    flex: 2 1 600px;
    color: #1e3a8a;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    font-size: 1.15rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px #60a5fa22;
    padding: 40px 40px 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 340px;
    text-align: center;
}

.quienes-text h2 {
    color: #2563eb;
    font-size: 2.4rem;
    margin-bottom: 22px;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
    text-align: center;
}

.quienes-servicios {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 48px;
    width: 100%;
    max-width: 1200px;
    margin-top: 32px;
}

.servicio {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #60a5fa22;
    padding: 32px 18px 24px 18px;
    text-align: center;
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 320px;
    transition: box-shadow 0.3s;
}

.servicio:hover {
    box-shadow: 0 4px 24px #2563eb33;
}

.servicio img {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
}

.servicio h3 {
    color: #2563eb;
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.servicio p {
    color: #374151;
    font-size: 1rem;
}

@media (max-width: 900px) {
    .quienes-layout {
        flex-direction: column;
        gap: 24px;
    }

    .quienes-servicios {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
}

/* Bamblinas animadas */
.bamblina {
    position: absolute;
    top: -48px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #60a5fa 60%, #1e3a8a 100%);
    box-shadow: 0 0 32px #60a5fa99, 0 0 8px #1e3a8a99;
    z-index: 101;
    animation: bamblina-move 3.5s infinite alternate cubic-bezier(.4, 0, .2, 1);
}

.bamblina::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -90px;
    transform: translateX(-50%);
    width: 4px;
    height: 90px;
    background: #60a5fa;
    border: none;
    box-shadow: none;
    z-index: 100;
    border-radius: 2px;
}

.bamblina-1 {
    left: 20%;
    animation-delay: 0s;
}

.bamblina-2 {
    left: 60%;
    animation-delay: 1.2s;
}

.hero-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Cambiado para que las bambalinas queden visibles arriba */
    width: 100%;
    min-height: 350px;
    height: 100%;
    flex: 1 1 350px;
    overflow: visible;
    /* Permite que las bambalinas sobresalgan */
}

.hero-illustration img.logo-big-img {
    max-width: 70% !important;
    /* Más pequeña que el contenedor */
    height: auto !important;
    margin: 120px auto 0 auto !important;
    /* Mueve la imagen mucho más abajo */
    display: block;
    position: relative;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Imagen principal de la hero centrada y de 100x100, con menor separación al texto */
.hero-main-img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    display: block;
    margin: 0 auto -50px auto;
}

@keyframes bamblina-move {
    0% {
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }

    50% {
        transform: translateY(18px) scale(1.08);
        filter: blur(1px);
    }

    100% {
        transform: translateY(-12px) scale(0.95);
        filter: blur(0.5px);
    }
}

/* Estilos base */
body {
    margin: 0;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: #f8fafc;
    color: #1e3a8a;
}

header#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #1e3a8a;
    transition: background 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
}

header.scrolled {
    background: #1e3a8a;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.18);
}

.container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 20%;
}

.logo img {
    height: 54px;
    width: auto;
    margin-left: 0;
    margin-right: 0;
    display: block;
}

/* Selector de idioma tecnológico */
.lang-select {
    height: 72px;
    display: flex;
    align-items: center;
    padding-left: 24px;
    padding-right: 8px;
    z-index: 1100;
}

.lang-select select {
    background: linear-gradient(90deg, #1e3a8a 60%, #60a5fa 100%);
    color: #111;
    border: 2px solid #60a5fa;
    border-radius: 8px;
    font-family: 'Rajdhani', 'Segoe UI', 'Roboto', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 22px 6px 12px;
    outline: none;
    box-shadow: 0 0 12px #60a5fa66;
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s, background 0.4s;
    appearance: none;
    position: relative;
}

.lang-select select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 16px #2563eb99;
    background: linear-gradient(90deg, #2563eb 60%, #60a5fa 100%);
}

.lang-select select:hover {
    background: linear-gradient(90deg, #60a5fa 0%, #1e3a8a 100%);
    box-shadow: 0 0 16px #60a5fa99;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    transition: color 0.3s;
    position: relative;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
}


.nav-menu a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: linear-gradient(120deg, #1e3a8a 60%, #60a5fa 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}


.nav-menu a:hover {
    color: #60a5fa;
    /* Si quieres que el nombre de la empresa en el header también use la fuente Orbitron, agrega aquí el estilo */
}


.hero {
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/fondo.jpeg') center top/cover no-repeat, linear-gradient(120deg, #1e3a8a 60%, #60a5fa 100%);
    background-attachment: fixed;
    background-position: center top;
    color: #fff;
    position: relative;
    overflow: hidden;
}


.info-section {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0 24px 32px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #f6f7fa;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
    text-align: center;
    transition: box-shadow 0.3s;
}

.hero-content {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 40px 24px;
}

.hero-text {
    flex: 1 1 350px;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    background: #fff;
    color: #1e3a8a;
    border: none;
    border-radius: 24px;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.08);
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.btn:hover {
    background: #60a5fa;
    color: #fff;
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.18);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #1e3a8a;
}

.hero-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Cambiado para que las bambalinas queden visibles arriba */
    width: 100%;
    min-height: 350px;
    height: 100%;
    flex: 1 1 350px;
    overflow: visible;
    /* Permite que las bambalinas sobresalgan */
}

.hero-illustration img.logo-big-img {
    max-width: 70% !important;
    /* Más pequeña que el contenedor */
    height: auto !important;
    margin: 120px auto 0 auto !important;
    /* Mueve la imagen mucho más abajo */
    display: block;
    position: relative;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.info-section:hover {
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.18);
}

.info-section h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 16px;
}

.info-section p {
    color: #374151;
    font-size: 1.1rem;
}

/* Footer estilo profesional, ancho completo, fondo oscuro y texto claro */
.main-footer {
    width: 100%;
    background: #23272f;
    color: #f3f6fa;
    padding: 48px 0 24px 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    box-shadow: 0 -2px 16px #2563eb22;
}

/* Fondo con imagen y transparencia para el footer */
.main-footer {
    background: #23272f url('../img/fondo_footer.png') center center/cover no-repeat;
    background-blend-mode: lighten;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #23272f;
    opacity: 0.90;
    z-index: 0;
    pointer-events: none;
}

.main-footer .footer-content,
.main-footer .footer-columns {
    position: relative;
    z-index: 1;
}


/* Footer profesional y tecnológico mejorado */
.main-footer .footer-columns {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    padding: 32px 0 0 0;
    box-sizing: border-box;
    position: relative;
    background: none;
}

.main-footer .footer-col {
    flex: 1 1 0;
    min-width: 200px;
    max-width: 340px;
    color: #f3f6fa;
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: rgba(36, 41, 54, 0.85);
    border-radius: 18px;
    box-shadow: 0 2px 24px #2563eb22, 0 1.5px 0 #60a5fa11 inset;
    padding: 32px 28px 24px 28px;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: box-shadow 0.3s;
}

.main-footer .footer-col h4 {
    color: #38bdf8;
    font-size: 1.22rem;
    margin-bottom: 18px;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px #60a5fa33;
}

.main-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer .footer-col ul li {
    margin-bottom: 12px;
    font-size: 1.08rem;
}

.main-footer .footer-col ul li a {
    color: #f3f6fa;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1.08rem;
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif;
    position: relative;
}

.main-footer .footer-col ul li a:hover {
    color: #38bdf8;
    text-shadow: 0 2px 8px #60a5fa55;
}

.main-footer .footer-social {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-top: 12px;
    justify-content: flex-start;
}

.main-footer .footer-social-icon {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 2px 12px #38bdf8cc);
    transition: transform 0.2s, filter 0.2s;
    border-radius: 50%;
    background: #ffffff;
    padding: 6px;
    box-shadow: 0 0 16px #38bdf822;
}

.main-footer .footer-social-icon:hover {
    transform: scale(1.15) rotate(-8deg);
    filter: drop-shadow(0 4px 24px #60a5fa99) brightness(1.2);
    background: #1e3a8a;
}

@media (max-width: 900px) {
    .main-footer .footer-columns {
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
        padding: 24px 0 0 0;
    }
    .main-footer .footer-col {
        max-width: 100vw;
        margin-bottom: 12px;
    }
}

/* Quitar cualquier línea vertical decorativa entre columnas */
.main-footer .footer-col:not(:last-child)::after {
    display: none !important;
    content: none !important;
}

/* Efecto hover animado tipo navbar en menú columna 1 del footer */
.main-footer .footer-col ul li a {
    position: relative;
    color: #f3f6fa;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
    display: inline-block;
}

.main-footer .footer-col ul li a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: linear-gradient(120deg, #1e3a8a 60%, #60a5fa 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.main-footer .footer-col ul li a:hover::after {
    transform: scaleX(1);
}

.main-footer .footer-col ul li a:hover {
    color: #60a5fa;
}

.main-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.08rem;
    text-align: center;
}

.main-footer a,
.main-footer a:visited {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.2s;
}

.main-footer a:hover {
    color: #38bdf8;
}

/* --- Footer profesional de tres columnas (encapsulado y seguro) --- */
.main-footer .footer-columns {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding: 32px 0 0 0;
    box-sizing: border-box;
}

.main-footer .footer-col {
    flex: 1 1 0;
    min-width: 180px;
    max-width: 340px;
    color: #f3f6fa;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}

.main-footer .footer-col h4 {
    color: #60a5fa;
    font-size: 1.18rem;
    margin-bottom: 14px;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
    letter-spacing: 1px;
}

.main-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-footer .footer-col ul li {
    margin-bottom: 8px;
}

.main-footer .footer-col ul li a {
    color: #f3f6fa;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 1rem;
}

.main-footer .footer-col ul li a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.main-footer .footer-social {
    display: flex;
    flex-direction: row;
    gap: 18px;
    margin-top: 8px;
}

.main-footer .footer-social-icon {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 2px 8px #38bdf8cc);
    transition: transform 0.2s, filter 0.2s;
    border-radius: 50%;
    background: #ffffff;
    padding: 4px;
}

.main-footer .footer-social-icon:hover {
    transform: scale(1.13) rotate(-8deg);
    filter: drop-shadow(0 4px 16px #60a5fa99) brightness(1.2);
    background: #1e3a8a;
}

@media (max-width: 900px) {
    .main-footer .footer-columns {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
        padding: 24px 0 0 0;
    }

    .main-footer .footer-col {
        max-width: 100vw;
        margin-bottom: 12px;
    }
}

/* --- Fin footer profesional --- */

/* --- Ajuste seguro para grid de equipo --- */
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
    justify-items: center;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .equipo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 18px;
    }
}

@media (max-width: 600px) {
    .equipo-grid {
        grid-template-columns: 1fr;
        gap: 24px 0;
    }
}

/* Tarjeta de equipo: ancho fijo y sin brillo azul */
.equipo-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 16px #60a5fa22;
    padding: 32px 18px 18px 18px;
    text-align: center;
    min-width: 220px;
    max-width: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition: opacity 0.8s cubic-bezier(.4, 0, .2, 1), transform 0.8s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: visible;
    margin-bottom: 0;
    filter: none;
    box-shadow: 0 2px 16px #60a5fa22;
}

.equipo-card.equipo-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
    box-shadow: 0 2px 16px #60a5fa22;
    animation: none;
}

.equipo-card.equipo-visible::after {
    content: none !important;
}

/* --- Fin restauración equipo --- */

/* --- Fuente profesional y moderna solo para el footer --- */
.main-footer,
.main-footer .footer-col,
.main-footer .footer-content,
.main-footer .footer-col h4,
.main-footer .footer-col ul,
.main-footer .footer-col ul li,
.main-footer .footer-col ul li a,
.main-footer .footer-social {
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif !important;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.main-footer .footer-col h4 {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.main-footer .footer-content {
    font-size: 1.04rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .main-footer .footer-content {
        font-size: 0.98rem;
    }
}

/* --- Fin fuente profesional footer --- */
.equipo-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    box-shadow: 0 2px 12px #38bdf855, 0 0 0 #fff0;
    background: #f6fafd;
    border: 3px solid #38bdf833;
}

@media (max-width: 900px) {
    .equipo-img {
        width: 100px;
        height: 100px;
    }
}

/* Eliminar líneas laterales del footer y corregir altura de separadores entre columnas */
.main-footer .footer-col:not(:last-child) {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.main-footer .footer-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0;
    right: -16px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #60a5fa44 60%, #23272f00 100%);
    border-radius: 2px;
    display: block;
}

.main-footer .footer-col:last-child::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 900px) {
    .main-footer .footer-col:not(:last-child)::after {
        display: none;
    }
}

/* --- Banner publicitario flotante (ajustado) --- */
.banner-publicidad {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: none;
    /* Sin fondo, el overlay lo cubre todo */
    box-shadow: 0 12px 48px #2563eb77, 0 1.5px 0 #00c3ff inset;
    border-radius: 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 384px;
    max-width: 98vw;
    width: 576px;
    animation: banner-fadein 0.8s cubic-bezier(.4, 0, .2, 1);
}

.banner-publicidad img {
    width: 100%;
    max-width: 576px;
    height: auto;
    display: block;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 2px 16px #60a5fa33;
    background: #fff;
}

.banner-publicidad-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.20);
    z-index: 9998;
    display: none;
}

.banner-publicidad.mostrar+.banner-publicidad-overlay {
    display: block;
}

.banner-publicidad.mostrar {
    display: flex !important;
}

/* Modal profesional, tecnológica y corporativa para novedades */
#modalNovedad.slider-modal {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 58, 138, 0.92);
    /* Azul oscuro con opacidad */
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
    backdrop-filter: blur(2.5px) saturate(1.2);
}

#modalNovedad.active {
    display: flex;
    opacity: 1;
}

#modalNovedad .slider-modal-close {
    position: absolute;
    top: 32px;
    right: 48px;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    z-index: 4100;
    font-weight: bold;
    transition: color 0.2s;
}

#modalNovedad .slider-modal-close:hover {
    color: #00c3ff;
}

#modalNovedad .modal-novedad-content {
    background: linear-gradient(120deg, #23272f 60%, #2563eb 100%);
    border-radius: 24px;
    box-shadow: 0 8px 48px #00c3ff55, 0 1.5px 0 #00c3ff inset;
    padding: 48px 36px 36px 36px;
    min-width: 340px;
    max-width: 96vw;
    width: 420px;
    color: #f3f6fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2.5px solid #00c3ff55;
    position: relative;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
    text-align: center;
    animation: modal-fadein 0.5s cubic-bezier(.4, 0, .2, 1);
}

#modalNovedad h2 {
    color: #00c3ff;
    font-size: 2.1rem;
    margin-bottom: 18px;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
    text-shadow: 0 2px 12px #00c3ff33, 0 1px 0 #fff;
    letter-spacing: 1.5px;
}

#modalNovedad h3 {
    color: #38bdf8;
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-family: 'Rajdhani', 'Segoe UI', 'Roboto', Arial, sans-serif;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 1px 8px #00c3ff33;
}

#modalNovedad p {
    color: #f3f6fa;
    font-size: 1.18rem;
    font-family: 'Rajdhani', 'Segoe UI', 'Roboto', Arial, sans-serif;
    opacity: 0.97;
    margin-bottom: 0;
}

#modalNovedad #modalNovedadInfo {
    color: #fff;
    text-align: center;
    margin-top: 18px;
    font-family: 'Orbitron', 'Segoe UI', 'Roboto', Arial, sans-serif;
    font-size: 1.1rem;
    display: none;
}

@keyframes modal-fadein {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(40px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 600px) {
    #modalNovedad .modal-novedad-content {
        min-width: 0;
        width: 98vw;
        padding: 24px 8px 18px 8px;
    }

    #modalNovedad .slider-modal-close {
        top: 12px;
        right: 18px;
        font-size: 2.2rem;
    }
}

#modalNovedadImg {
    width: 92px;
    height: 92px;
    object-fit: contain;
    display: block;
    margin: 0 auto 18px auto;
    border-radius: 50%;
    box-shadow: 0 2px 12px #38bdf855, 0 0 0 #fff0;
    background: #f6fafd;
    border: 3px solid #38bdf833;
}

/* --- BANNER DE COOKIES --- */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #1e3a8a;
    color: #fff;
    padding: 18px 16px 18px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 -2px 12px #1e3a8a55;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-cookie {
    background: #38bdf8;
    color: #1e3a8a;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-weight: 700;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 12px;
    transition: background 0.2s, color 0.2s;
}

.btn-cookie:hover {
    background: #2563eb;
    color: #fff;
}

@media (max-width: 700px) {
    .cookie-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        font-size: 1.05rem !important;
        gap: 10px !important;
        padding: 14px 6px 14px 6px !important;
        text-align: center !important;
        border-radius: 16px 16px 0 0 !important;
        left: 2vw !important;
        right: 2vw !important;
        width: 96vw !important;
        margin: 0 auto 2vw auto !important;
        box-sizing: border-box !important;
        max-width: 600px !important;
    }

    .btn-cookie {
        width: 100% !important;
        margin: 0 auto !important;
        font-size: 1.08rem !important;
        border-radius: 8px !important;
    }
}

.cookie-banner {
    box-shadow: 0 -2px 16px #1e3a8a33, 0 0 0 #fff0;
    border-radius: 18px 18px 0 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    max-width: 600px;
    width: 100vw;
    background: #1e3a8a;
    color: #fff;
    z-index: 9999;
    padding: 18px 16px 18px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    gap: 18px;
    flex-wrap: wrap;
    position: fixed;
    box-sizing: border-box;
}

/* --- Widget Tu Opinión --- */
.feedback-widget {
    position: fixed;
    left: 0;
    top: 35%;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
}

.feedback-tab {
    background: #6c63ff;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 10px 18px 10px 8px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 1px 2px 8px rgba(0, 0, 0, 0.10);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: background 0.2s;
    pointer-events: auto;
    position: relative;
    min-width: 40px;
    min-height: 70px;
}

.feedback-tab span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 13px;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.feedback-tab:hover {
    background: #554ee2;
}

.feedback-panel {
    background: #fff;
    color: #222;
    border-radius: 0 12px 12px 0;
    box-shadow: 2px 4px 16px rgba(0, 0, 0, 0.18);
    padding: 0px 0 0px 0;
    /* Quita padding lateral, solo arriba y abajo */
    min-width: 260px;
    max-width: 320px;
    margin-top: 8px;
    margin-left: 0;
    animation: slideInLeft 0.25s;
    position: absolute;
    left: 0px;
    top: -100px;
    pointer-events: auto;
    box-sizing: border-box;
}

.feedback-form-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto 12px auto;
    border-radius: 0;
    object-fit: cover;
}

#feedback-form {
    padding: 0 18px 0 18px;
    /* Igual margen que la imagen */
    box-sizing: border-box;
}

#feedback-form textarea {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #d1d1d1;
    padding: 8px;
    font-size: 1em;
    resize: vertical;
    margin-bottom: 10px;
    margin-right: 0;
    /* Elimina margen derecho, usa padding del form */
    box-sizing: border-box;
}

.feedback-close {
    background: none;
    border: none;
    color: #6c63ff;
    font-size: 1.5em;
    position: absolute;
    right: 8px;
    top: 6px;
    cursor: pointer;
    font-weight: bold;
    z-index: 2;
}

@media (max-width: 600px) {
    .feedback-widget {
        top: unset;
        bottom: 16px;
        left: 8px;
        align-items: flex-start;
    }

    .feedback-panel {
        min-width: 180px;
        max-width: 90vw;
        padding: 12px 0 10px 0;
    }

    #feedback-form {
        padding: 0 6px 0 6px;
    }
}

/* --- Fin Widget Tu Opinión --- */