﻿/* =========================================================
   CONFIGURACIÓN GENERAL
   ========================================================= */

/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}


/* Override the default bootstrap behavior where horizontal
   description lists will truncate terms that are too long
   to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}


/* Set width on the form input elements since they're
   100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


/* =========================================================
   FUENTE
   ========================================================= */

@font-face {
    font-family: 'Bell MT';
    src: url('/Content/Fonts/BellMT.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* =========================================================
   NEO HEALTH
   ESTILOS GENERALES
   ========================================================= */

body {
    font-family: "Bell MT", serif;
    color: #263238;
    margin: 0;
}

html,
body,
button,
input,
textarea,
select,
.navbar,
.nav-link,
.btn {
    font-family: 'Bell MT', serif;
}


/* =========================================================
   BARRA SUPERIOR
   ========================================================= */

.top-bar {
    background: #1076BC;
    color: white;
    font-size: 14px;
    padding: 8px 0;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo-neo {
    font-weight: 800;
    color: #1076BC;
}

.logo-health {
    font-weight: 300;
    color: #25AAE1;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    padding: 18px 0;
}

.navbar-brand {
    font-size: 27px;
    letter-spacing: 1px;
}

.nav-link {
    color: #263238 !important;
    font-weight: 500;
    margin-left: 15px;
}

    .nav-link:hover {
        color: #1076BC !important;
    }


/* =========================================================
   BOTÓN WHATSAPP
   ========================================================= */

.btn-whatsapp {
    background: #20b66b;
    color: white !important;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
}

    .btn-whatsapp:hover {
        background: #159657;
        color: white !important;
    }


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #1076BC;
    color: white;
    padding: 60px 0 25px;
    margin-top: 70px;
}

    .footer h5 {
        margin-bottom: 20px;
    }

    .footer p {
        color: #D1D2D4;
    }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: #D1D2D4;
        text-decoration: none;
    }

        .footer-links a:hover {
            color: white;
        }


/* =========================================================
   REDES SOCIALES
   ========================================================= */

.social-icons {
    display: flex;
    gap: 12px;
}

    .social-icons a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .12);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 18px;
    }

        .social-icons a:hover {
            background: #25AAE1;
        }


/* =========================================================
   WHATSAPP FLOTANTE
   ========================================================= */

.whatsapp-floating {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #20b66b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .25);
    z-index: 999;
}

    .whatsapp-floating:hover {
        color: white;
        transform: scale(1.05);
    }


/* =========================================================
   HERO
   ========================================================= */

.hero {
    color: white;
    position: relative;
    background-image: url('/Content/Imagenes/site1_1.jpg');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    min-height: 650px;
    background-color: #fff;
}


/* Capa de color corporativo sobre el lado izquierdo */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(16, 118, 188, .95) 0%, rgba(16, 118, 188, .78) 42%, rgba(16, 118, 188, .18) 75%, rgba(16, 118, 188, 0) 100% );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.1;
    font-weight: 700;
    margin: 20px 0;
}

.hero p {
    font-size: 19px;
    line-height: 1.7;
    max-width: 650px;
    color: #ffffff;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


/* =========================================================
   BOTONES
   ========================================================= */

.btn-primary-custom {
    background: #1076BC;
    border: none;
    color: white;
    padding: 13px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all .3s ease;
}

    .btn-primary-custom:hover {
        background: #25AAE1;
        color: white;
        transform: translateY(-2px);
    }

.btn-outline-light-custom {
    border: 1px solid white;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: all .3s ease;
}

    .btn-outline-light-custom:hover {
        background: white;
        color: #1076BC;
    }


/* =========================================================
   SECCIONES
   ========================================================= */

.services-section {
    padding: 90px 0;
    background: #f7fafc;
}

.about-section {
    padding: 100px 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-label {
    color: #1076BC;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-header h2,
.about-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1076BC;
    margin: 12px 0 18px;
}

.section-header p,
.about-section p {
    color: #667780;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   TARJETAS DE SERVICIOS / PRODUCTOS
   ========================================================= */

.service-card {
    height: 100%;
    background: white;
    border: 1px solid #D1D2D4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(16, 118, 188, .15);
    }


/* =========================================================
   ÍCONOS
   ========================================================= */

.service-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 179, 227, .20);
    color: #1076BC;
    border-radius: 50%;
    font-size: 28px;
    margin-bottom: 25px;
}


/* =========================================================
   CONTENIDO TARJETAS
   ========================================================= */

.service-card h4 {
    color: #1076BC;
    font-size: 20px;
    margin-bottom: 12px;
}

.service-card p {
    color: #71818a;
    line-height: 1.6;
    margin-bottom: 18px;
}

.service-card a {
    color: #1076BC;
    font-weight: 600;
    text-decoration: none;
}

    .service-card a:hover {
        color: #25AAE1;
    }

    .service-card a i {
        margin-left: 5px;
        transition: transform .3s ease;
    }

    .service-card a:hover i {
        transform: translateX(5px);
    }


/* =========================================================
   IMAGEN DE PRODUCTOS
   ========================================================= */

.service-image {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #D1D2D4;
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1076BC;
    font-size: 45px;
}

.service-card-content {
    padding: 25px;
}


/* =========================================================
   NOSOTROS
   ========================================================= */

.about-image {
    overflow: hidden;
}

    .about-image img {
        width: 100%;
        height: 480px;
        object-fit: cover;
        display: block;
    }

.about-section strong {
    color: #1076BC;
}


/* =========================================================
   ENLACES INSTITUCIONALES
   ========================================================= */

.about-links {
    margin-top: 30px;
}

.about-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 18px 0;
    border-bottom: 1px solid #D1D2D4;
    transition: all .3s ease;
}

    .about-link:first-child {
        border-top: 1px solid #D1D2D4;
    }

.about-link-icon {
    min-width: 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 179, 227, .20);
    color: #1076BC;
    border-radius: 50%;
    font-size: 22px;
    margin-right: 18px;
    transition: all .3s ease;
}

.about-link-content {
    flex: 1;
}

    .about-link-content h4 {
        margin: 0 0 4px;
        color: #1076BC;
        font-size: 18px;
        font-weight: 600;
    }

    .about-link-content p {
        margin: 0;
        color: #71818a;
        font-size: 14px;
        line-height: 1.5;
    }

.about-link-arrow {
    color: #1076BC;
    font-size: 20px;
    margin-left: 15px;
    transition: transform .3s ease;
}

.about-link:hover {
    padding-left: 8px;
}

    .about-link:hover .about-link-icon {
        background: #1076BC;
        color: white;
    }

    .about-link:hover .about-link-arrow {
        color: #25AAE1;
        transform: translateX(5px);
    }


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    background: #1076BC;
    color: white;
    padding: 65px 0;
}

    .cta-section span {
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .cta-section h2 {
        font-size: 38px;
        margin: 10px 0;
    }

    .cta-section p {
        margin: 0;
        color: #D1D2D4;
        font-size: 17px;
    }


/* =========================================================
   DROPDOWN NOSOTROS
   ========================================================= */

.dropdown-menu {
    border: none;
    border-radius: 0;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
}

.dropdown-item {
    padding: 10px 20px;
    color: #263238;
    font-size: 14px;
}

    .dropdown-item:hover {
        background-color: rgba(102, 179, 227, .15);
        color: #1076BC;
    }


/* =========================================================
   LOGO NAVBAR
   ========================================================= */

.logo-navbar {
    height: 75px;
    width: auto;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .hero {
        min-height: 550px;
    }

        .hero h1 {
            font-size: 44px;
        }
}


@media (max-width: 576px) {

    .hero {
        min-height: 600px;
        background-size: cover;
        background-position: center;
    }

    .hero-overlay {
        background: rgba(16, 118, 188, .85);
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-header h2,
    .about-section h2 {
        font-size: 32px;
    }

    .about-image img {
        height: 350px;
    }
}
