/* #region Foundation */
:root {
    /* Colores */
    --morado-acento: #7d53ff;
    --naranja-vibrante: #fc6911;
    --fondo-crema: #f9f7f2;
    --negro-profundo: #111111;
    --blanco-puro: #ffffff;
    --azul-humo-metal: #1d2330;

    /* Fuentes */
    --fuente-principal: 'Michroma', sans-serif;
    --fuente-subtitulos: 'Oswald', sans-serif;
    --fuente-cuerpos: 'Sansation', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fuente-cuerpos);
    line-height: 1.6;
    color: var(--negro-profundo);
    background-color: var(--fondo-crema);
}

section, 
header, 
footer, 
main {
    background-color: var(--fondo-crema);
}
/* #endregion */


/* Navegación */
/* #region Navegación */
nav {
    background-color: var(--blanco-puro);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-family: var(--fuente-principal);
    font-size: 1.5rem;
    color: var(--negro-profundo);
    text-transform: uppercase;
    transition: color 0.3s;
}

nav .logo:hover {   
    color: var(--morado-acento);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    font-family: var(--fuente-subtitulos);
    color: var(--negro-profundo);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--morado-acento);
}
/* #endregion */    


/* Secciones Generales */
/* #region Secciones */
section {
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

h1, h2 {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

h1 {
    font-family: var(--fuente-principal);
    font-size: 3rem;
    color: var(--negro-profundo);
}

h2 {
    font-family: var(--fuente-subtitulos);
    font-size: 2.5rem;
    color: var(--negro-profundo);
    text-align: center;
}
/* #endregion */


/* Home */
/* #region Home */
#home {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 100px 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(101, 67, 33, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin-left: 3%;
}

.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
}

#home h1 {
    font-family: var(--fuente-principal);
    color: var(--blanco-puro);
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--morado-acento);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    font-family: var(--fuente-subtitulos);
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-end;
    margin-top: 1rem;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(125, 83, 255, 0.3);
}
/* #endregion */


/* Oferta de Valor */
/* #region OfertaValor */
#valores {
    position: relative;
    padding: 100px 20px;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.valores-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#valores .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 17, 17, 0.3);
    z-index: 1;
}

.container-valores {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.valores-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 600px;
}

.valores-header {
    text-align: left;
}

.contador {
    font-family: var(--fuente-principal);
    font-size: 4rem;
    color: var(--naranja-vibrante);
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.valores-header h1 {
    font-family: var(--fuente-principal);
    font-size: 2rem;
    color: var(--blanco-puro);
    text-align: left;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.valores-lista {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.valor-item {
    background: var(--fondo-crema);
    max-width: 500px;
    padding: 0.5rem 0.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(125, 83, 255, 0.25);
}

#valores .icono-circulo {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#valores .icono-circulo img {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.texto-valor {
    font-family: var(--fuente-subtitulos);
    font-size: 1.4rem;
    color: var(--negro-profundo);
    text-transform: uppercase;
    line-height: 1.3;
    font-weight: 500;
}
/* #endregion */


/* Sobre Nosotros */
/* #region SobreNosotros */
#nosotros {
    background-color: var(--fondo-crema);
    padding: 100px 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text header {
    margin-bottom: 2rem;
}

.about-text h1 {
    font-family: var(--fuente-principal);
    font-size: 2rem;
    color: var(--negro-profundo);
    margin-bottom: 0.5rem;
}

.about-text h2 {
    font-family: var(--fuente-subtitulos);
    font-size: 1.7rem;
    color: var(--negro-profundo);
    text-align: left;
}

.about-text p {
    font-family: var(--fuente-cuerpos);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-cta {
    margin-top: 2rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 2rem;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-family: var(--fuente-subtitulos);
    font-weight: bold;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.wpp-icon-container {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wpp-icon-container img {
    width: 250px;
    height: 250px;
}

.about-image {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* #endregion */


/* Servicios */
/* #region Servicios */
#servicios {
    padding: 100px 20px;
}

#servicios h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.servicio-principal {
    position: relative;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.servicio-principal.hogares {
    background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.28)), 
                      url('Assets/servicios/hogar.webp');
}

.servicio-principal.institucionales {
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.35)), 
                      url('Assets/servicios/institucional.webp');
}

.label-flotante {
    font-family: var(--fuente-principal);
    font-size: 1.5rem;
    color: var(--blanco-puro);
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.servicio-card {
    background: var(--blanco-puro);
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(125, 83, 255, 0.15);
}

.servicio-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.servicio-card h3 {
    font-family: var(--fuente-subtitulos);
    color: var(--negro-profundo);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 1.5rem 2rem 1rem 2rem;
}

.servicio-card p {
    font-family: var(--fuente-cuerpos);
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 2rem 1rem 2rem;
}
/* #endregion */


/* Cierre / Footer */
/* #region Cierre */
#cierre {
    position: relative;
    background-color: var(--azul-humo-metal);
    color: var(--blanco-puro);
    padding: 100px 20px;
    min-height: 70vh;
}

.cierre-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.logo-footer {
    text-align: center;
}

.logo-footer img {
    width: 220px;
    height: auto;
}

.contacto-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.contacto-item {
    display: flex;
    align-items: center;
    max-height: 80px;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.6s ease;
    text-decoration: none;
    color: var(--blanco-puro);
    cursor: pointer;
}

.contacto-item.whatsapp:hover {
    background-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6),
                0 0 40px rgba(37, 211, 102, 0.3);
    transform: translateX(8px);
}

.contacto-item.instagram:hover {
    background-color: rgba(225, 48, 108, 0.4);
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.6),
                0 0 40px rgba(225, 48, 108, 0.3);
    transform: translateX(8px);
}

.contacto-item.maps:hover {
    background-color: rgba(66, 133, 244, 0.4);
    box-shadow: 0 0 20px rgba(66, 133, 244, 0.6),
                0 0 40px rgba(66, 133, 244, 0.3);
    transform: translateX(8px);
}

.contacto-item.horario:hover {
    background-color: rgba(125, 83, 255, 0.4);
    box-shadow: 0 0 20px rgba(125, 83, 255, 0.6),
                0 0 40px rgba(125, 83, 255, 0.3);
    transform: translateX(8px);
}

.icono-contacto {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    object-fit: contain;
}

.info-texto {
    font-family: var(--fuente-subtitulos);
    font-size: 1.15rem;
    color: var(--blanco-puro);
    line-height: 1.4;
}
/* #endregion */


/* Animaciones */
/* #region Animaciones */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* #endregion */


/* Smooth scroll */
/* #region Scroll */
html {
    scroll-behavior: smooth;
}
/* #endregion */


/* Responsive - CONSOLIDADO */
/* #region Responsive */
@media (max-width: 768px) {
    /* Navegación */
    nav .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    nav .logo {
        font-size: 1.2rem;
    }

    /* Títulos generales */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    /* Home */
    #home {
        align-items: center;
    }

    .hero-content {
        margin-left: 0;
        align-items: center;
    }

    #home h1 {
        text-align: center;
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .btn {
        align-self: center;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .logo-mini img {
        width: 140px;
    }

    /* Valores */
    #valores {
        min-height: auto;
        padding: 60px 20px;
    }

    .valores-wrapper {
        max-width: 100%;
        align-items: center;
    }

    .valores-header {
        text-align: center;
    }

    .contador {
        font-size: 3rem;
    }

    .valores-header h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .valor-item {
        padding: 1.2rem 1.5rem;
        border-radius: 30px;
    }

    #valores .icono-circulo {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    #valores .icono-circulo img {
        width: 150px;
        height: 150px;
    }

    .texto-valor {
        font-size: 1rem;
    }

    /* Sobre Nosotros */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text h2 {
        text-align: center;
    }

    .about-image {
        height: 350px;
    }

    .btn-whatsapp {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    /* Servicios */
    .servicios-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .contacto-lista {
        grid-template-columns: 1fr;
    }

    .logo-footer img {
        width: 180px;
    }
}

@media (max-width: 480px) {
    #home h1 {
        font-size: 1.5rem;
    }

    .contador {
        font-size: 2.5rem;
    }

    .servicio-card h3 {
        font-size: 1.2rem;
    }
}
/* #endregion */