
/* ==== Arreglos Generales ==== */

html, body {
    height: 100%;
    margin: 0;
}

html {
    position: relative;
    min-height: 100%;
}


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin-bottom: 60px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

main {
    flex: 1 0 auto; 
}

footer {
    flex-shrink: 0; 
}
h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* ==== Style del menu ==== */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}





/*==== BARRA SUPERIOR (TOP) ==== */
.rd-navbar-aside-wrap a {
    color: #B4B4B4 !important;
    transition: color 0.3s ease;
}

    .rd-navbar-aside-wrap a:hover {
        color: #A33E36 !important;
    }

.rd-navbar-aside-wrap .contactos i {
    color: #A33E36 !important;
}


.navbar-nav .nav-link {
    color: #222 !important;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #A33E36 !important;
    }

    .navbar-nav .nav-link.active::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #A33E36; 
    }


.btn-appointment {
    border: 2px solid #A33E36;
    color: #A33E36;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 0.25rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

    .btn-appointment:hover {
        background-color: #A33E36;
        color: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }


body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    color: #333;
}
  


/*HERO*/
.hero-section {
    position: relative;
    background-image: url('/img/heroe.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 90vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

    
    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5); 
        z-index: 0;
        opacity: 1;
        transition: opacity 0.8s ease-in-out;
    }

    
    .hero-section > div {
        position: relative;
        z-index: 1;
        animation: fadeIn 1.2s ease-out forwards;
    }


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

    .hero-section h1 em {
        font-style: italic;
        font-weight: 400;
    }

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffffcc;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.welcome-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

    .welcome-section h6 {
        font-size: 0.9rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #222;
        margin-bottom: 0.5rem;
    }

.welcome-divider {
    width: 40px;
    height: 2px;
    background-color: #c1443a;
    margin: 0 auto 20px auto;
}

.welcome-section p {
    font-size: 1.25rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.welcome-section em {
    font-style: italic;
}

/*Color del emcabezado de sobre nosotros*/
.text-zapote {
    color: #A33E36 !important;
}




/*Boton de whatsaap*/

.stats-section {
    position: relative;
    background-image: url('/img/balanza.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 20px;
    overflow: hidden;
}

    .stats-section .overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.65);
        z-index: 1;
    }

    .stats-section .container {
        position: relative;
        z-index: 2;
    }

.text-accent {
    color: #A33E36;
}


@media (max-width: 576px) {
    .stats-section h2 {
        font-size: 2rem;
    }

    .stats-section p {
        font-size: 0.95rem;
    }

    .stats-section i {
        font-size: 2.5rem;
    }
}




.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    font-size: 30px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

    .whatsapp-btn:hover {
        background-color: #1ebe57;
        text-decoration: none;
        color: white;
    }


@media (max-width: 480px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
}

