body {
    font-family: 'Montserrat', sans-serif;
}


:root {
    --corporate-blue:#7eabff;
    --corporate-blue-dark:#0e2d50;
    --light-gray: #f4f6f9;
}

.section-padding {
    padding: 110px 0;
}


@keyframes fadeUpTitle {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= NAVBAR ================= */

.custom-navbar {
    background: rgba(15, 23, 42, 0.75); /* azul oscuro elegante */
    backdrop-filter: blur(12px);
    padding: 24px 0;   /* más altura */
    transition: all 0.4s ease;
}

.nav-wrapper {
    display: flex;
    align-items: stretch;
}


.logo-box {
    background: white;   /* para que tu logo azul se vea */
    height: 60px;        /* misma altura que el menú */
    width: 160px;        /* ancho fijo elegante */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.menu-box {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    background: #4b4b4b; /* gris del menú */
    padding: 10px 18px;  /* más compacto */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px; /* altura controlada */
}

.menu-item:not(:last-child) {
    border-right: 1px solid #3a3a3a;
}
.nav-wrapper {
    display: flex;
    align-items: center; /* mejor alineación vertical */
}


.menu-item a {
    padding: 10px 20px;
    color: #f2f2f2;
    text-decoration: none;
    font-size: 15px;
}

.menu-item:hover {
    background: white;
}

.menu-item:hover a {
    color: black;
}

.menu-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--corporate-blue);
    transition: 0.4s ease;
}

.menu-item:hover::after {
    width: 100%;
}

.btn-call {
    background: var(--corporate-blue);
    color: #fff;
    padding: 12px 26px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-call:hover {
    background: var(--corporate-blue);
    transform: translateY(-2px);
}

.call-btn a {
    color: white !important;
    font-weight: 600;
}

/* ================= HERO VIDEO ================= */

/* ================= HERO VIDEO ================= */

.video-hero {
    position: relative;
    width: 100%;
    height: 100vh; /* ocupa toda la pantalla */
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(90%); /* ajusta la claridad del video */
    z-index: -1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.0); /* capa negra ligera */
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;   /* distancia desde la izquierda */
    transform: translateY(-50%); /* solo centra vertical */
    text-align: left;
    max-width: 700px;
    width: 90%;
    z-index: 2;
    padding: 0 15px;
}

.hero-content h1 {
    font-size: 65px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0;
}

/* Texto descriptivo */
.hero-content p {
    font-size: 22px;
    margin-top: 20px;
    color: #fff;
}


/* ================= FIX SOLO PARA CELULAR ================= */

@media (max-width: 768px){

    .hero-content{
        left: 5%;           /* más espacio horizontal */
        max-width: 100%;
    }

    .hero-content h1{
        font-size: 36px;    /* 🔥 evita que se corte */
        line-height: 1.2;
        word-break: break-word;
    }

    .hero-content p{
        font-size: 18px;
    }

}

.btn-corporate {
    background: var(--corporate-blue);
    border: none;
    padding: 12px 30px;
    color: white;
}

.btn-corporate:hover {
    background: var(--corporate-blue-dark);
}


/* ================= SERVICES INDUSTRIAL MODERNO ================= */
/* =========================
   SECCIÓN SERVICIOS
========================= */

#servicios {
    background: var(--light-gray);
    padding: 80px 0;
}

/* =========================
   CARD
========================= */



.service-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(126,171,255,0.15);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    border-color: #7eabff;
}

/* =========================
   IMAGEN
========================= */
/* CONTENEDOR DE IMAGEN */
#servicios .container {
    max-width: 1100px; /* antes seguramente 1320px */
}

.service-image {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-image img {
    opacity: 0.85;
    transition: 0.3s ease;
}

.service-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    padding: 25px; /* antes 35px */
    transition: 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(126,171,255,0.15);
}

/* Overlay azul corporativo */
.service-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #7eabff;
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: multiply;
}

/*.service-card::before {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    background: var(--corporate-blue);
}*/

/* Hover imagen */
.service-card:hover .service-image img {
    opacity: 1;
    transform: scale(1.05);
}
.service-card:hover .service-img::after {
    opacity: 0.35;
}

/* =========================
   CONTENIDO
========================= */

.service-content {
    padding: 10px;
    text-align: left;
}

.service-number {
    font-size: 10px;
    font-weight: 700;
    color: #7eabff;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.service-content h5 {
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 20px;
}

.service-content p {
    color: #666;
    line-height: 1.6;
}

/* ================= DISTRIBUIDORES ================= */

.distribuidores {
    background-color: #f3f3f3;
    padding: 140px 20px;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;

}

/* Subtítulo pequeño */
.distribuidores .subtitulo {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Título principal azul */
.distribuidores .titulo {
    font-size: 44px;
    font-weight: 600;
    color: #0A2E5D; /* Azul corporativo elegante */
    max-width: 900px;
    margin: 0 auto 90px auto;
    line-height: 1.3;
    animation: fadeSlideDown 1.2s ease forwards;
    opacity: 0;
}
.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #222;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-title i {
    color: #7eabff;
    margin-right: 10px;
    display: inline-block;
    animation: spinSnow 6s linear infinite;
}

@keyframes spinSnow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.section-title.active {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #7eabff;
}

.distribuidores:hover .section-title::after {
    width: 60%;
}


/* Animación suave del título */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grid de logos */
/*
.distribuidores-grid {
 display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    justify-content: center;
    align-items: center;
    justify-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: auto;
}
*/

.distribuidores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 🔥 fijo en web */
    justify-content: center;
    align-items: center;
    justify-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: auto;
}
/* Logos estilo elegante */
.distribuidores-grid img {
   max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;

    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.4s ease;

    animation: fadeUp 1s ease forwards;
    opacity: 0;
}

/* Movimiento al pasar mouse */
.distribuidores-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-8px) scale(1.05);
}

@media (max-width: 576px) {

    .distribuidores-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 🔥 fuerza prioridad */
        gap: 25px;
        padding: 0 10px;
    }

    .distribuidores-grid img {
        max-height: 55px;
    }

}


/* Movimiento al pasar mouse */
.logos-grid img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-8px) scale(1.05);
}


/* IMÁGENES */
.logo-item .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    max-width: 100%;
    max-height: 100%;
    
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ================= LOGOS DISTRIBUIDORES ================= */

/* ================= DISTRIBUIDORES ================= */


.distribuidores{
    padding:60px 0; /* evita espacio enorme entre secciones */
}


.distribuidores-grid{
    display:grid;
    grid-template-columns: repeat(4, 1fr); /* 🔥 fijo en web */
    gap:30px;
    max-width:1100px;
    margin:50px auto 0;
    align-items:center;
    justify-items:center;
    padding: 0 15px;
}
/* LOGOS */

.distribuidores-item img{
    max-width:200px;
    max-height:90px;
    width:auto;
    height:auto;

    filter:grayscale(100%);
    opacity:0.9;   

    transition:all .35s ease;
}

@media (max-width:768px){

    .distribuidores-item img{
        max-width:140px;
        max-height:70px;
    }

}





/* HOVER (vuelve el salto) */
.distribuidores-item:hover img{
    filter:grayscale(0%);
    opacity:1;
    transform:translateY(-8px) scale(1.08);
}

/* HACER DANFOSS MÁS GRANDE */
.distribuidores-item img[src*="danfoss"]{
    max-width:180px;
}

/* Hover (brinco) */
.distribuidores-item:hover {
    transform: translateY(-10px);
}

/* Se pinta de color */
.distribuidores-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.logos-grid img:nth-child(1) { animation-delay: 0.2s; }
.logos-grid img:nth-child(2) { animation-delay: 0.4s; }
.logos-grid img:nth-child(3) { animation-delay: 0.6s; }
.logos-grid img:nth-child(4) { animation-delay: 0.8s; }
.logos-grid img:nth-child(5) { animation-delay: 1s; }
.logos-grid img:nth-child(6) { animation-delay: 1.2s; }
.logos-grid img:nth-child(7) { animation-delay: 1.4s; }
.logos-grid img:nth-child(8) { animation-delay: 1.6s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .distribuidores .titulo {
        font-size: 32px;
    }

    /*
    .logos-grid {
        gap: 40px;
    }

    .logos-grid img {
        max-width: 120px;
    }*/
}


/* ================= PROJECTS ================= */

.project-card {
    overflow: hidden;
    border-radius: 15px;
}

.project-card img {
    width: 100%;
    transition: 0.4s;
}

.project-card:hover img {
    transform: scale(1.1);
}

/* ================= CTA ================= */

.cta {
    padding: 80px 0;
    background: var(--corporate-blue);
}

/* ================= WhatsApp ================= */

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 30px;
    padding: 12px 16px;
    border-radius: 50%;
}


.section-subtitle {
    max-width: 750px;
    margin: auto;
    color: #6c757d;
    font-size: 17px;
    line-height: 1.6;
}

.about-section {
    position: relative;
    padding: 120px 0;
    background: url('assets/images/nosotros.jpg') center/cover fixed no-repeat;
    color: white;
    overflow: hidden;
}

.about-overlay {
    position: absolute;
    inset: 0; /* reemplaza top, left, width, height */
    background: linear-gradient(
        135deg,
        rgba(10, 25, 47, 0.85),
        rgba(0, 82, 204, 0.75)
    );
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: 40px;
    font-weight: 700;
}

.about-subtitle {
    max-width: 700px;
    margin: auto;
    opacity: 0.85;
}

.counter-box {
    padding: 20px;
}

.counter-box h2 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
}

.counter-box p {
    opacity: 0.85;
    margin-top: 10px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
}

.form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: #1e90ff;
    box-shadow: 0 0 0 0.2rem rgba(30,144,255,0.25);
    color: #fff;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.btn-contact {
    background: linear-gradient(135deg, #0056b3, #1e90ff);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30,144,255,0.4);
}

.contacto-section {
    background: linear-gradient(135deg, #0d1117, #111827);
    color: #fff;
}

.contact-info {
    background: #1f2937;
    color: #f3f4f6;
    border: 1px solid rgba(2447,247,247,0.08);
    box-shadow: inset 0 0 40px rgba(247,247,247,0.03),
                0 25px 60px rgba(0,0,0,0.6);
}

.contact-info h6 {
    color: #9ca3af;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.form-control:focus {
    background: rgba(255,255,255,0.12);
    border-color: #1e90ff;
    box-shadow: 0 0 0 0.2rem rgba(30,144,255,0.25);
    color: #fff;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.btn-contact {
    background: linear-gradient(135deg, #374151, #4b5563);
}
.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30,144,255,0.4);
}

.custom-navbar {
    background: transparent !important;
    backdrop-filter: none !important;
}

.logo-img {
    height: 50px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #e5e7eb;
    font-weight: 500;
    margin: 0 10px;
    transition: 0.3s ease;
}

.navbar {
    background: transparent !important;
    padding: 0 !important;
}

.navbar .container {
    padding: 0;
}

.logo-block {
    background: #1f2937; /* mismo gris del menú */
    padding: 20px;
}

.menu-logo {
   max-height: 90%;     /* ocupa casi todo el alto */
    max-width: 95%;  
    width: auto;
    object-fit: contain;
}

.distribuidores-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 25s linear infinite;
}

.logo-item {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.logo-item img {
    max-width: 150px;
    opacity: 0.7;
    transition: 0.3s ease;
    filter: grayscale(100%);
}

.logo-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-top {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
}

.whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    font-size: 28px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: 0.3s;
}

.whatsapp:hover {
    transform: scale(1.1);
}


/* ================= OTRAS MARCAS PREMIUM ================= */

.otras-marcas-section {
    background: #f4f6f9; /* Gris corporativo elegante */
    padding: 120px 0;
    position: relative;
}

/* Línea superior elegante */
.section-divider {
    width: 60px;
    height: 2px;
    background: #1e90ff;
    margin: 0 auto 30px auto;
}

.otras-marcas-section .subtitulo {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 12px;
    color: #1e90ff;
    font-weight: 600;
    margin-bottom: 10px;
}

.otras-marcas-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    padding: 120px 0;
    position: relative;
}

/* Grid fijo elegante */
.otras-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 por fila */
    gap: 60px 40px;
    align-items: center;
    justify-items: center;
}

/* Responsive */
@media (max-width: 992px) {
    .otras-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .otras-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.otras-logo-item {
    position: relative;
    transition: all 0.4s ease;
}

.otras-logo-item img {
    max-height: 65px;   /* tamaño equilibrado premium */
    max-width: 160px;
    transition: all 0.4s ease;
}

/* Imagen color encima */
.otras-logo-item .color {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

/* Hover elegante */
.otras-logo-item:hover .negro {
    opacity: 0;
}

.otras-logo-item:hover .color {
    opacity: 1;
}

.otras-logo-item:hover {
    transform: translateY(-8px);
}


/* ================= NAVBAR ================= */

.custom-navbar {
    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(10px);
    padding: 18px 0;
    transition: all 0.4s ease;
}

.logo-img {
    height: 90px;
    filter: brightness(0) invert(1);
      fill: var(--corporate-blue);
}

.navbar-brand {
    padding: 0;
    margin-right: 40px;
}
/* Links */
.navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    margin: 0 18px;
    position: relative;
    transition: 0.3s ease;
}

/* Linea elegante inferior */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #1f5eff;
    left: 0;
    bottom: -5px;
    transition: 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #1f5eff;
}




/* ================= LOGOS DISTRIBUIDORES ================= */

.logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    align-items: center;
    justify-items: center;
    margin-top: 50px;
}

.logo-distribuidor {
    width: 140px;      /* más pequeño */
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.logo-distribuidor img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: 0.3s ease;
}

.logo-distribuidor:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
}


.navbar-toggler {
    border-color: rgba(255,255,255,0.6);
}

.navbar-toggler-icon {
    filter: invert(1);
}


.service-link{
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card{
    cursor: pointer;
}

.glass-card p{
    text-align: justify;
    line-height: 1.7;
}




/* SERVICIOS */

.servicios-section{
background:#f7f9fc;
}

.service-box{
position:relative;
display:block;
overflow:hidden;
border-radius:10px;
height:280px;
}

.service-box img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .5s ease;
}

.service-overlay{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;

display:flex;
flex-direction:column;
justify-content:center;   /* centra vertical */
align-items:center;       /* centra horizontal */
text-align:center;

padding:30px;
background:rgba(0,0,0,0.55);
color:#fff;
transition:.4s;
}

.service-overlay h4{
font-weight:600;
margin-bottom:10px;
}

.service-overlay p{
font-size:14px;
max-width:260px;
}

.service-box:hover img{
transform:scale(1.08);
}

.service-box:hover .service-overlay{
background:linear-gradient(transparent, rgba(0,40,120,0.9));
}

/* HERO MENU PEQUEÑO */

.menupequeno-hero{
    position: relative;
    width: 100%;
    height: 100px; /* 🔹 altura más pequeña */

    background-image: url('../assets/images/menu.jpg');
    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* overlay */

.menupequeno-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}

/* contenido */

.menupequeno-content{
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.menupequeno-content h1{
    font-size: 36px;
    font-weight: 700;
}

.menupequeno-content p{
    font-size: 17px;
    opacity: 0.9;
}

/* =========================
   CONTENEDOR CARRUSEL
========================= */

.carruselSwiper{
    position: relative;
    width: 100%;
    padding: 50px 0;
}

/* =========================
   SLIDES
========================= */

.swiper-slide{
    display: flex;
    justify-content: center;
}

/* =========================
   TARJETAS
========================= */

.carrusel-card{
    display: block;
    width: 100%;
    max-width: 340px;

    border-radius: 12px;
    overflow: hidden;
    background: #fff;

    box-shadow: 0 10px 25px rgba(0,0,0,0.12);

    transition: transform .35s ease, box-shadow .35s ease;
}

.carrusel-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* =========================
   IMAGEN
========================= */

.carrusel-card img{
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

/* =========================
   TEXTO
========================= */

.carrusel-info{
    text-align: center;      /* centra el texto */
    padding: 20px;
}

.carrusel-info h4{
    text-align: center;
    margin-bottom: 10px;
}

.carrusel-info p{
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}
/* =========================
   FLECHAS
========================= */

.swiper-button-next,
.swiper-button-prev{

    width: 50px;
    height: 50px;

    background: #ffffff;
    border-radius: 50%;

    box-shadow: 0 6px 18px rgba(0,0,0,0.15);

    color: #0d6efd;
}

.swiper-button-next::after,
.swiper-button-prev::after{
    font-size: 18px;
    font-weight: bold;
}

/* posición flechas */

.swiper-button-prev{
    left: -10px;
}

.swiper-button-next{
    right: -10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px){

    .carrusel-card img{
        height: 230px;
    }

}

@media (max-width: 768px){

    .carrusel-card{
        max-width: 100%;
    }

}


/* NAVBAR TRANSPARENTE INICIAL 
.custom-navbar {
    background: transparent;
    transition: all 0.3s ease;
}


.custom-navbar.scrolled {
    background: #0d3b66;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.custom-navbar .nav-link {
    color: #fff;
    transition: color 0.3s;
}


.custom-navbar.scrolled .nav-link {
    color: #fff;
}

.custom-navbar.scrolled {
    background: rgba(13, 59, 102, 0.95);
    backdrop-filter: blur(8px);
}
    */

    /* NAVBAR BASE (transparente) */

 /* NAVBAR BASE (TRANSPARENTE ARRIBA) */
.custom-navbar {
    background: transparent !important;
    transition: all 0.4s ease;
    position: fixed;
    width: 100%;
    z-index: 999;
}

/* SCROLL → EFECTO PREMIUM (IMAGEN + BLUR + AZUL) */
.custom-navbar.scrolled {
    background: 
        linear-gradient(rgba(10, 40, 90, 0.75), rgba(10, 40, 90, 0.75)), /* azul corporativo */
        url('assets/imagenes/menu.jpg') no-repeat center center;
    
    background-size: cover;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* CAPA EXTRA SUAVE (MEJORA LEGIBILIDAD) */
.custom-navbar.scrolled::after {
    content: "";
    position: absolute;
    inset: 0;
      background: rgba(14, 45, 80, 0.9) !important; /* azul oscuro corporativo */
    z-index: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0 !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* ASEGURA QUE TODO EL CONTENIDO QUEDE ENCIMA */
.custom-navbar .container {
    position: relative;
    z-index: 2;
}

/* LINKS */
.custom-navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* HOVER MÁS PRO */
.custom-navbar .nav-link:hover {
    color: #4db8ff !important;
}

/* LOGO */
.custom-navbar .navbar-brand {
    color: #fff !important;
}

/* OPCIONAL: EFECTO AL HACER SCROLL (MENÚ MÁS COMPACTO) */
.custom-navbar.scrolled {
    padding-top: 8px;
    padding-bottom: 8px;
}


/* BOTÓN LLAMAR */
.btn-call {
    background: var(--corporate-blue);
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-call:hover {
    background: var(--corporate-blue-dark);
    transform: translateY(-2px);
}

/* ===== MOBILE ===== */
@media (max-width: 991px) {

    .navbar-collapse {
        background: rgba(14, 45, 80, 0.95); /* azul corporativo */
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        padding: 20px;
        border-radius: 12px;
        margin-top: 10px;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        padding: 12px 0;
    }

    .btn-call {
        font-size: 1.05rem;
        padding: 12px 24px;
    }
}

/* BOTÓN HAMBURGUESA */
.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}