/*** ESTILOS GLOBALES CREANDLABS ***/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    --primario: #FF445A; 
    --secundario: #EDAE4C;
    --terciario: #474158;
    --oscuro: #595959;
    --blanco: #F2F2F2#F2F2F2;
}

html {
    box-sizing: border-box;
    font-size: 16px; /* Volvemos al estándar del navegador */
    -webkit-font-smoothing: antialiased; /* Mejora la definición de la fuente */
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--oscuro);
}

h1 { font-size: 2.5rem; }    /* 40px */
h2 { font-size: 2rem; }      /* 32px */
h3 { font-size: 1.75rem; }   /* 28px */
h4 { font-size: 1.5rem; }    /* 24px */
p { margin-bottom: 1rem; font-size: 1rem; }

img {
    max-width: 100%;
    display: block; 
    height: auto;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
}

.section-padding {
    padding: 8rem 0;
}

/*** ESTILOS GLOBALES CREANDLABS ***/

/****************************************************************************************************** ESTILOS BANNER ***/
.banner-header {
    position: relative;
    height: 100vh; 
    width: 100%;
    background: url('../img/banner.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.navbar-custom {
    padding: 1rem 0;
    transition: all 0.4s ease-in-out;
    z-index: 1000;
}

.navbar-transparent {
    background-color: transparent !important;
}

.navbar-scrolled {
    background-color: var(--oscuro) !important;
    padding: 0.5rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Ajustes Responsive para el Menú Desplegable */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--oscuro); /* Fondo sólido en móviles para legibilidad */
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
}

.brand-accent {
    color: var(--primario);
}
/****************************************************************************************************** ESTILOS BANNER ***/

/****************************************************************************************************** ESTILOS INFO ***/
/* --- INFO SECTION LAYOUT --- */

.info-section {
    padding: 8rem 0;
    background-color: var(--blanco);
}

/* Contenedor Flexbox */
.info-section .container {
    display: flex;
    flex-direction: row; /* En línea por defecto para desktop */
    justify-content: space-between;
    align-items: stretch; /* Estira los bloques para que tengan el mismo alto */
    gap: 2.5rem; /* Espacio entre las columnas */
}

.info-block {
    flex: 1; /* Distribución equitativa (33% cada uno) */
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    background-color: transparent;
}

/* Efecto Hover sutil para modernidad */
.info-block:hover {
    transform: translateY(-10px);
}

/* Estilos de Tipografía */
.info-subtitle {
    color: var(--primario);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.info-title {
    font-size: 1.6rem; /* Tamaño ajustado para encajar en 3 columnas */
    color: var(--oscuro);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.info-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Decoración inferior (la línea que propuse antes) */
.info-block::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primario);
    margin: 1.5rem auto 0;
    transition: width 0.3s ease;
}

.info-block:hover::after {
    width: 80px;
}

/* --- RESPONSIVE (Móviles y Tablets) --- */

@media (max-width: 991.98px) {
    .info-section .container {
        flex-direction: column; /* Se apilan en vertical */
        gap: 3rem;
    }
    
    .info-block {
        max-width: 600px;
        margin: 0 auto;
        padding: 1rem;
    }
    
    .info-title {
        font-size: 1.8rem;
    }
}
/****************************************************************************************************** ESTILOS INFO ***/

/****************************************************************************************************** ESTILOS GALERIA ***/
/* --- SECCIÓN GALERÍA --- */

.galeria-section {
    padding: 0; /* Eliminamos padding para que la cuadrícula pueda ser total si se desea */
    overflow: hidden;
}

/* Contenedor principal de la cuadrícula */
.container-galeria {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en escritorio */
    gap: 0; /* Sin espacios entre bloques */
    width: 100%;
}

.galeria-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Bloques perfectamente cuadrados */
    background-color: var(--oscuro); /* Fondo de seguridad */
    aspect-ratio: 3 / 4;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* La imagen cubre todo el espacio */
    transition: all 0.5s ease;
    display: block;
}

/* Overlay de texto */
.galeria-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro al hacer hover */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0; /* Oculto por defecto */
    transition: all 0.5s ease;
    z-index: 2;
}

/* Textos dentro del overlay */
.galeria-item .overlay h3 {
    color: var(--primario);
    font-size: 1.25rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.galeria-item .overlay p {
    color: var(--blanco);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s; /* Retraso sutil para efecto elegante */
}

/* --- EFECTO HOVER --- */

.galeria-item:hover img {
    transform: scale(1.1); /* Efecto de zoom sutil */
    opacity: 0.3; /* La imagen pierde opacidad */
}

.galeria-item:hover .overlay {
    opacity: 1; /* Aparece el texto */
}

.galeria-item:hover .overlay h3,
.galeria-item:hover .overlay p {
    transform: translateY(0); /* El texto sube a su posición original */
}

/* --- RESPONSIVE --- */

/* Tablet y dispositivos medianos (opcional: 3 columnas) */
@media (max-width: 991.98px) {
    .container-galeria {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    }
}

/* Móvil: se mantiene en 2 columnas según tu requerimiento */
@media (max-width: 575.98px) {
    .container-galeria {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .galeria-item .overlay h3 {
        font-size: 1rem;
    }
    
    .galeria-item .overlay p {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
/****************************************************************************************************** ESTILOS GALERIA ***/

/****************************************************************************************************** ESTILOS SERVICIOS ***/
/* SECCIÓN SERVICIOS - creandoLABS */

.servicio-box {
    padding: 30px;
    border-radius: 20px;
    background-color: var(--blanco);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    /* Truco CSS: Convertimos el contenedor en flex para alinear icono y título */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alineación a la izquierda para un look más moderno */
    text-align: left !important;
}

.servicio-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--terciario);
}

/* Reducción y estilo del Icono */
.icon-servicio {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px; /* Tamaño reducido */
    height: 42px;
    background-color: var(--primario);
    color: var(--blanco) !important;
    font-size: 1.2rem; /* Tamaño del símbolo interno */
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.servicio-box:hover .icon-servicio {
    background-color: var(--secundario);
    transform: scale(1.1) rotate(-5deg);
}

/* Títulos más refinados */
.servicio-box h2 {
    color: var(--oscuro);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

/* Párrafos */
.servicio-box p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Efecto visual moderno: Una barra sutil de color primario que aparece al hacer hover */
.servicio-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    width: 0;
    height: 4px;
    background-color: var(--terciario);
    transition: width 0.3s ease;
    border-radius: 0 0 10px 10px;
}

.servicio-box:hover::before {
    width: 50px;
}
/****************************************************************************************************** ESTILOS SERVICIOS ***/

/****************************************************************************************************** ESTILOS HORIZON ***/
/* SECCIÓN CARDS - Horizon2m */

.seccion-cards {
    padding: 80px 0;
    background-color: #F7F7F7; /* Fondo neutro claro */
}

/* Títulos y textos de cabecera */
.text-cuarto {
    color: var(--oscuro) !important;
}

.seccion-cards h2 {
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--primario);
}

.seccion-cards p.text-center {
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
    font-size: 1.05rem;
    opacity: 0.85;
}

/* Tarjeta Personalizada */
.card-custom {
    border: none;
    border-radius: 24px; /* Bordes muy redondeados para look moderno */
    background: var(--blanco);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-custom:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05) !important;
}

/* Contenedor de Imagen */
.card-img-container {
    overflow: hidden;
    position: relative;
    height: 220px;
}

.zoom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.card-custom:hover .zoom-img {
    transform: scale(1.1);
}

/* Cuerpo de la tarjeta */
.card-body {
    padding: 30px;
}

.card-body h3 {
    color: var(--primario);
    font-size: 1.25rem;
    margin-bottom: 15px;
    position: relative;
}

/* Icono de calendario y meta-datos */
.bi-calendar3 {
    color: var(--secundario);
    font-size: 0.9rem;
}

.card-body span {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #A0A0A0;
}

/* Texto interno */
.card-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-top: 15px;
}

/* Detalle minimalista: Barra inferior de color */
.card-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primario), var(--terciario));
    transition: width 0.5s ease;
}

.card-custom:hover::after {
    width: 100%;
}
/****************************************************************************************************** ESTILOS HORIZON ***/

/****************************************************************************************************** ESTILOS SUSCRIBETE ***/
/* SECCIÓN SUSCRIPCIÓN - ESTILO MINIMALISTA PREMIUM */

.subscribe-section {
    background-color: var(--blanco);
    position: relative;
    overflow: hidden;
}

/* Títulos y textos */
.subscribe-section h2 {
    font-weight: 800;
    color: var(--oscuro);
    letter-spacing: -1.5px;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.subscribe-section p {
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto;
    font-weight: 400;
}

/* Contenedor del Formulario */
#subscribe-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
    background: #ffffff;
    border-radius: 50px; /* Forma de píldora ultra moderna */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Sombra suave */
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Efecto al enfocar el formulario completo */
#subscribe-form:focus-within {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--terciario);
}

/* Campo de entrada de Email */
.email-input {
    border: none !important;
    background: transparent !important;
    padding: 15px 30px !important;
    font-size: 1rem;
    box-shadow: none !important;
    color: var(--oscuro);
}

.email-input::placeholder {
    color: #adb5bd;
    font-weight: 300;
}

/* Botón de Suscripción */
.subscribe-btn {
    background-color: var(--primario) !important;
    border: none !important;
    border-radius: 40px !important; /* Siguiendo la forma de píldora */
    padding: 12px 35px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Animación del botón */
.subscribe-btn:hover {
    background-color: var(--secundario) !important;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.subscribe-btn:active {
    transform: scale(0.95);
}

/* Ajustes para móviles */
@media (max-width: 576px) {
    #subscribe-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px;
    }
    
    .email-input {
        text-align: center;
        margin-bottom: 10px;
        margin-right: 0 !important;
    }
    
    .subscribe-btn {
        width: 100%;
    }
}
/****************************************************************************************************** ESTILOS SUSCRIBETE ***/

/****************************************************************************************************** ESTILOS FOOTER ***/
/* SITE FOOTER - creandoLABS */

.site-footer {
    background-color: var(--oscuro);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
}

/* Títulos de secciones */
.site-footer h5 {
    color: var(--blanco);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.site-footer h5::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--terciario);
    margin-top: 8px;
}

/* Enlaces rápidos */
.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.site-footer ul li a:hover {
    color: var(--terciario);
    padding-left: 8px;
}

/* Redes Sociales */
.site-footer .bi {
    font-size: 1.2rem;
    color: var(--blanco);
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.site-footer .bi:hover {
    background: var(--primario);
    color: var(--blanco);
    transform: translateY(-5px);
}

/* FORMULARIO DE SUSCRIPCIÓN (Super Moderno) */
#footer-subscribe-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

#footer-subscribe-form:focus-within {
    border-color: var(--terciario);
}

#footer-subscribe-form .form-control {
    background: transparent !important;
    border: none !important;
    color: var(--blanco) !important;
    font-size: 0.9rem;
    box-shadow: none !important;
}

#footer-subscribe-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

#footer-subscribe-form .btn {
    background-color: var(--primario) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 15px !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

#footer-subscribe-form .btn:hover {
    background-color: var(--secundario) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Divider y Copyright */
.site-footer .row:last-child {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    margin-top: 2rem;
}

.site-footer .small a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    margin: 0 5px;
}

.site-footer .small a:hover {
    color: var(--blanco);
}
/****************************************************************************************************** ESTILOS FOOTER ***/


