*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#f7f9fc;
}

/*=========================================
DESPLAZAMIENTO DE SECCIONES
==========================================*/
html {
    scroll-behavior: smooth;
}

#about,
#services,
#contact 
{
    scroll-margin-top: 100px;
}

.navbar{
    position:fixed;
    top:0px;      /* altura de la top-bar */
    width:100%;
    z-index:1040;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(8px);
}

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    background:linear-gradient(rgba(10,77,140,.75),rgba(10,77,140,.75)),
    url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1600") center/cover;
    color:white;
    padding-top:140px;
}

.hero h1{
    font-size:60px;
    font-weight:700;
}

.hero h1 span{
    color:#fc2222;
}

.hero p{
    margin-top:20px;
    font-size:18px;
}

.hero-image{
    max-width:500px;
}

/*=========================================
LOGO DEL HERO
==========================================*/
.hero-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 320px;
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.30));
    transition: transform 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

/*=========================================
SECCIONES
==========================================*/
.section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    color:#0A4D8C;
    font-size:42px;
    font-weight:700;
    margin-bottom:15px;
}

.section-title p{
    color:#666;
    font-size:18px;
}

#about{
    background:white;
}

#about p{
    max-width:850px;
    margin:auto;
    font-size:18px;
    line-height:1.9;
    color:#555;
}

#services{
    background:#f5f8fc;
}

.icon-box{
    background:#fff;
    border-radius:18px;
    padding:40px 30px;
    text-align:center;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.4s;
}

.icon-box:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.icon-box i{
    font-size:55px;
    color:#fc2222;
    margin-bottom:20px;
}

.icon-box h4{
    color:#0A4D8C;
    font-weight:600;
    margin-bottom:20px;
}


footer{
    background:#072d50;
    color:rgb(248, 77, 34);
    padding:35px 0;
    margin-top:0px;
}

footer p{
    margin:0;
    text-align:center;
    font-size:16px;
}

.logo-navbar {
    height: 45px;
    width: auto;
    margin-right: 10px;
    object-fit: contain;
}

/*=========================================
SERVICIOS
==========================================*/
.services-section{
    background:#f5f8fc;
}

/* TÍTULO */
.section-subtitle{
    display:inline-block;
    color:#fc2222;
    font-size:14px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1.5px;
    margin-bottom:10px;
}

/* TARJETA */
.service-card{
    background:#ffffff;
    border-radius:18px;
    overflow:hidden;
    height:100%;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:all .4s ease;
}


/* EFECTO HOVER */
.service-card:hover{

    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

/* IMAGEN */
.service-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #fff;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ZOOM DE IMAGEN */
.service-card:hover .service-image img{
    transform:scale(1.1);
}

/* CONTENIDO */
.service-content{
    padding:30px;
}

/* CATEGORÍA */

.service-category{
    color:#fc2222;
    font-size:12px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
}

/* TÍTULO */
.service-content h3{
    color:#0A4D8C;
    font-size:24px;
    font-weight:600;
    margin:10px 0 15px;
}

/* DESCRIPCIÓN */
.service-content p{
    color:#666;
    line-height:1.7;
    margin-bottom:20px;
}

/* BOTÓN */
.service-link{
    color:#0A4D8C;
    text-decoration:none;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:8px;
    transition:.3s;
}

.service-link:hover{
    color:#fc2222;
}

.service-link i{
    transition:.3s;
}
.service-link:hover i{
    transform:translateX(5px);
}

/* =========================================
   PANTALLA DE CARGA - ONCOSAVI
========================================= */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    transition:
        opacity .45s ease,
        visibility .45s ease;
}

/* OCULTAR */
#loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* CONTENEDOR */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* LOGO */
.loader-logo {
    width: 220px;
    max-width: 65vw;
    height: auto;
    object-fit: contain;
    animation: loaderPulse 1.4s ease-in-out infinite;
}


/* CÍRCULO DE CARGA */
.loader-spinner {
    width: 42px;
    height: 42px;
    margin-top: 25px;
    border: 4px solid #e6e9ed;
    border-top-color: #fc2222;
    border-radius: 50%;
    animation: loaderSpin .8s linear infinite;
}

/* ANIMACIONES */
@keyframes loaderSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes loaderPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: .85;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.btn-success {
    background-color: #fc2222;
    border-color: #0A4D8C;
    color: #ffffff;
}

.btn-success:hover {
    background-color: #073b6d;
    border-color: #fc2222;
    color: #ffffff;
}

/* =========================================
   REDES SOCIALES - FOOTER
========================================= */
.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #fc2222;
    text-decoration: none;

    font-size: 14px;
    font-weight: 500;
    transition: all .3s ease;
}

.footer-social a i {
    font-size: 19px;
}

.footer-social a:hover {
    color: #2e94d8;
    transform: translateY(-2px);
}

/* =========================================
   BOTONES DEL NAVBAR
========================================= */
.btn-nav-consulta,
.btn-nav-cotizacion {
    padding: 9px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .25s ease;
}


/* CONSULTA */
.btn-nav-consulta {
    background: #fc2222;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn-nav-consulta:hover {
    background: #fc2222;
    border-color: #148b49;
    color: #ffffff;
    transform: translateY(-2px);
}

/* COTIZACIÓN */
.btn-nav-cotizacion {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .65);
    color: #ffffff;
}

.btn-nav-cotizacion:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0A4D8C;
    transform: translateY(-2px);
}

/* =========================================
   ENLACE EXTERNO
========================================= */
.nav-external {
    white-space: nowrap;
}

.nav-external i {
    font-size: 16px;
    color: #ffffff;
}

/* =========================================
   HERO CAROUSEL
========================================= */

.hero-slide {
    min-height: 100vh;

    display: flex;
    align-items: center;

    position: relative;

    color: #ffffff;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* CAPA OSCURA */

.hero-slide::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(7,45,80,.88),
        rgba(7,45,80,.55),
        rgba(7,45,80,.25)
    );
}


.hero-slide .container {
    position: relative;
    z-index: 2;
}


/* IMÁGENES */

.hero-slide-1 {
    background-image:
        url("../img/hero/hero1.jpg");
}

.hero-slide-2 {
    background-image:
        url("../img/hero/hero2.jpg");
}

.hero-slide-3 {
    background-image:
        url("../img/hero/hero3.jpg");
}


/* TEXTOS */

.hero-slide h1 {
    font-size: 60px;

    font-weight: 700;

    line-height: 1.15;

    margin-bottom: 20px;
}


.hero-slide h1 span {
    color: #fc2222;
}


.hero-slide p {
    max-width: 650px;

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 30px;
}


/* TRANSICIÓN */

.carousel-fade .carousel-item {
    transition: opacity .8s ease;
}


/* CONTROLES */

.carousel-control-prev,
.carousel-control-next {
    width: 7%;
}