﻿:root {
    --sakura-blue-clear: #00b4ec;
    --sakura-navy: #0f172a;
}

/* TIPOGRAFÍA IDENTIDAD CORPORATIVA */
.font-sakura-brand {
    font-family: 'Arial Narrow', 'Roboto Condensed', sans-serif !important;
    font-style: italic !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    color: var(--sakura-blue-clear) !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.font-sakura-slogan {
    font-family: 'Arial', sans-serif !important;
    font-style: italic !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    font-size: 0.95rem !important;
    color: #f1f5f9 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text-shadow {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-download-bar {
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 12px;
}

.hover-opacity {
    transition: opacity 0.3s ease;
}

    .hover-opacity:hover {
        opacity: 0.85;
    }

.card-organic {
    border-radius: 24px !important;
    border: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

    .card-organic:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
    }

.btn, .form-control, .form-select {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-radius: 12px !important;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--sakura-blue-clear) !important;
        box-shadow: 0 0 0 4px rgba(0, 180, 236, 0.2) !important;
    }

.bg-contacto-celeste {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%) !important;
    border: 1px solid #7dd3fc !important;
}

.floating-metrics {
    border-radius: 30px !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

.bg-refrigerado-highlight {
    background-color: rgba(0, 180, 236, 0.08);
    border-left: 4px solid var(--sakura-blue-clear);
    border-radius: 12px;
}

/* ESTILOS PESTAÑAS Y TARJETAS INTERACTIVAS DE SERVICIOS */
.services-nav-pills .nav-link {
    color: var(--sakura-navy) !important;
    background: #ffffff !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

    .services-nav-pills .nav-link:hover {
        border-color: var(--sakura-blue-clear) !important;
        color: var(--sakura-blue-clear) !important;
        transform: translateY(-2px);
    }

    .services-nav-pills .nav-link.active {
        background: var(--sakura-navy) !important;
        color: #ffffff !important;
        border-color: var(--sakura-navy) !important;
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    }

.service-showcase-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    transition: all 0.4s ease;
}

    .service-showcase-card .row {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }

.service-img-container {
    position: relative;
    min-height: 450px;
    height: auto;
    overflow: hidden;
    background-color: #0f172a;
}

@media (min-width: 992px) {
    .service-img-container {
        min-height: 100% !important;
    }
}

.service-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.8s ease;
}

.service-showcase-card:hover .service-img-container img {
    transform: scale(1.05);
}

/* TARJETAS COMPACTAS CON IMAGEN TIPO BANNER SUPERIOR */
.pillar-slider-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .pillar-slider-card:hover {
        border-color: var(--sakura-blue-clear) !important;
        box-shadow: 0 8px 20px rgba(0, 180, 236, 0.12) !important;
        transform: translateY(-3px);
    }

.pillar-img-banner {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
    background-color: #f8fafc;
    flex-shrink: 0;
}

    .pillar-img-banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.pillar-slider-card:hover .pillar-img-banner img {
    transform: scale(1.08);
}

.swiper-slide {
    height: auto !important;
}

@keyframes pulseAnimation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* TARJETAS DE CERTIFICADOS CON LOGO PROMINENTE */
.cial-card-link {
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

    .cial-card-link:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.2) !important;
        border-color: var(--sakura-blue-clear) !important;
        box-shadow: 0 10px 25px rgba(0, 180, 236, 0.3);
    }

/* ESTILOS CLIENTES CON SWIPER CONTINUO INFINITO */
.client-logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

    .client-logo-card:hover {
        border-color: var(--sakura-blue-clear);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 180, 236, 0.15);
    }

    .client-logo-card img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.swiperClientes .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* HERO ANIMADO GLOBAL SIN FRANJAS NEGRAS NI LATERALES */
@keyframes sakuraRoadMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.hero-sakura-moving {
    background-color: #0f172a;
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.5) 100%), url('/img/sakura/ruta.webp');
    background-size: 180% auto;
    background-repeat: no-repeat;
    background-position: 0% 50%;
    animation: sakuraRoadMove 25s linear infinite alternate;
}

@media (max-width: 992px) {
    .hero-sakura-moving {
        background-size: cover;
        background-position: center;
    }
}

/* Tarjetas de Misión y Visión */
.mission-vision-navy-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.3);
}

    .mission-vision-navy-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #38bdf8, #3b82f6);
        opacity: 0.9;
    }

    .mission-vision-navy-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px -12px rgba(56, 189, 248, 0.25);
        border-color: rgba(56, 189, 248, 0.4);
    }

.icon-box-navy {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    transition: all 0.3s ease;
}

.mission-vision-navy-card:hover .icon-box-navy {
    transform: scale(1.1) rotate(5deg);
    background: rgba(56, 189, 248, 0.25);
}

/* Botones de Sedes personalizados */
#ubicacion .nav-pills .nav-link {
    background-color: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
    transition: all 0.3s ease;
}

    #ubicacion .nav-pills .nav-link:hover {
        background-color: #e0f2fe;
        color: #0284c7;
    }

    #ubicacion .nav-pills .nav-link.active {
        background: var(--sakura-blue-clear) !important;
        color: #ffffff !important;
        border-color: var(--sakura-blue-clear) !important;
        box-shadow: 0 8px 15px -3px rgba(0, 180, 236, 0.4);
    }

/* BOTÓN FLOTANTE WHATSAPP PARA SAKURA */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

    .whatsapp-float-btn:hover {
        background-color: #20ba5a;
        color: #ffffff;
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
    }
/* Estilo base para botones flotantes */
.iso-float-btn {
    position: fixed;
    bottom: 90px; /* Ajustado para estar encima del de WhatsApp */
    right: 20px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    border: 2px solid #0d6efd; /* Color azul para destacar la norma */
}

    .iso-float-btn:hover {
        transform: scale(1.1);
    }

    .iso-float-btn img {
        width: 70%;
        height: 70%;
        object-fit: contain;
    }