/* Hero Section */
#herosec {
    display: flex;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
}
/* Contenedor principal */
.content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 100vh;
    background-image: url('../assets/images/ba.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Lado izquierdo con información */
.side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 50%;
    height: 100%;
    background-color: rgba(29, 43, 45, 0.75);
    color: white;
    padding: 40px;
    padding-top: 155px;
    border-right: 12px solid yellow;
}
/* Estilos para el texto */
p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-align: left;
    max-width: 500px;
    color: white;
}
/* Contenedor de botones */
#botoncillos {
    display: flex;
    flex-direction: row;
    gap: 20px;
}
#sidcel{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 10px;
    gap: 7px;
}
#sidcel p{
    margin: 0;
}
#h1sidcel{
    font-size: 54px;
    color: #ffffff;
    font-weight: 900;
    margin: 0;
    }
    .guarantee-seal {
        display: flex;
        justify-content: center;
        gap: 20px;
        background-color: #2E7D32; /* Verde elegante */
        padding: 15px;
        border-radius: 10px;
        text-align: center;
        max-width: 600px;
        margin: 20px auto;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    .seal-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: white;
        font-weight: bold;
        font-size: 16px;
    }
    .seal-content i {
        font-size: 30px;
        margin-bottom: 5px;
        color: yellow;
    }
    #p7{
        text-align: center;
        width: 100%;
    }
/* estilos para sec3 */
/* Sección Principal */
#sec3 {
    background: linear-gradient(135deg, #0d1b16, #153e2a);
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#sec3 img {
    width: 90%;
    height: 250px;
    object-fit: cover;  /* Recorta la imagen para mantener proporción */
    border-radius: 8px; /* Bordes redondeados */
    box-shadow: 0px 0px 10px rgba(44, 209, 88, 0.6);
}

/* Efecto Hover */
#sec3 img:hover {
    transform: scale(1.05); /* Aumenta tamaño ligeramente */
    box-shadow: 0px 0px 20px rgba(44, 209, 88, 1); /* Resalta la imagen */
    filter: brightness(1.2) contrast(1.3); 
}

/* Título */
#sec3 h2 {
    font-size: 2.5em;
    color: #2bcf5c;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0px 0px 10px rgba(44, 209, 88, 0.8);
}

/* Contenedor de Texto Principal */
#par2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center; /* Centra los elementos en la celda */
    align-items: center;
    width: 100%;
    max-width: 900px;
}

/* Párrafos del Texto Principal */
#par2 p {
    font-size: 1.2em;
    line-height: 1.8;
    background: rgba(10, 30, 20, 0.6);
    padding: 15px;
    border-radius: 8px;
    text-align: justify;
    width: 80%;
    border-left: 5px solid #2bcf5c;
    position: relative;
    transition: 0.3s ease-in-out;
}

/* Efecto Hover en Párrafos */
#par2 p:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(44, 209, 88, 0.8);
}

/* Estilos para la Sección de Beneficios */


/* Botón de Llamada en Beneficios */
#call-btn {
    display: inline-block;
    font-size: 1.3em;
    color: #2bcf5c;
    text-shadow: 0px 0px 10px rgba(44, 209, 88, 1);
    transition: 0.3s ease-in-out;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    background: rgba(10, 30, 20, 0.6);
    box-shadow: 0px 0px 15px rgba(44, 209, 88, 0.8);
    margin-top: 20px;
    font-weight: bold;
}

#call-btn:hover {
    transform: scale(1.1);
    background: rgba(44, 209, 88, 0.8);
    color: #fff;
}

/* Estilo para el Enlace en el Texto Principal */
#str {
    color: #2bcf5c;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

#str:hover {
    text-shadow: 0px 0px 10px rgba(44, 209, 88, 1);
    transform: scale(1.05);
}
/* Sección Garantía */
#gara {
    box-sizing: border-box;
    background: linear-gradient(135deg, #0d1b16, #0a291a);
    padding-top: 25px;
    padding-bottom: 25px;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}

/* Título */
#gara h2 {
    font-size: 2.5em;
    color: #2bcf5c;
    text-transform: uppercase;
    text-shadow: 0px 0px 10px rgba(44, 209, 88, 0.8);
    text-align: center;
    margin: 0;
    width: 90%;
    
}

/* Descripción Principal */
.garantia-desc {
    font-size: 14px;
    width: 90%;
    color: #e0f2e9;
    line-height: 1.8;
    text-align: center;
    background: rgba(10, 30, 20, 0.6);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(44, 209, 88, 0.6);
}

.garantia-desc:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgba(44, 209, 88, 1);
}

/* Beneficios */
.garantia-benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    word-wrap: break-word; overflow: hidden; 
}

/* Párrafos de Beneficios */
.garantia-benefits p {
    font-size: 14px;
    line-height: 1.8;
    background: rgba(10, 30, 20, 0.6);
    padding: 15px;
    border-radius: 8px;
    text-align: justify;
    width: 90%;
    border-left: 5px solid #2bcf5c;
    position: relative;
}

/* Efecto Hover en Beneficios */
.garantia-benefits p:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(44, 209, 88, 0.8);
}

/* Íconos */
.garantia-benefits p i {
    font-size: 1.5em;
    color: #2bcf5c;
    margin-right: 10px;
}

/* Botón de Llamada */
.btn-garantia {
    display: inline-block;
    font-size: 1.3em;
    color: #2bcf5c;
    text-shadow: 0px 0px 10px rgba(44, 209, 88, 1);
    transition: 0.3s ease-in-out;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    background: rgba(10, 30, 20, 0.8);
    box-shadow: 0px 0px 15px rgba(44, 209, 88, 0.8);
    font-weight: bold;
    margin-top: 25px;
}

.btn-garantia:hover {
    transform: scale(1.1);
    background: rgba(44, 209, 88, 0.8);
    color: #fff;
}
/* Sección services description */
#personalized-service, #proven-results  {
    background: linear-gradient(135deg, #0d1b16, #0a291a);

    padding: 50px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Contenedor del Contenido */
.content-container, .content-container3 {
    max-width: 800px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Título Principal */
#personalized-service h2 {
    font-size: 2em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0px 0px 10px rgba(48, 95, 43, 0.6);
}

/* Subtítulo */
#personalized-service h3 {
    font-size: 1.5em;
    color: #e9e0e0;
    margin-bottom: 20px;
    font-style: italic;
}

/* Párrafos */
#personalized-service p {
    font-size: 1.2em;
    color: #ffffff;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 15px;
}
/* Efecto Hover en Botón */
.contact-btn:hover {
    background: #1d5a2e;
    box-shadow: 0px 0px 15px rgba(43, 122, 63, 0.8);
    transform: scale(1.05);
}
/* Sección Principal */
/* Contenedor de Texto */


/* Título Principal */
#proven-results h2 {
    font-size: 2.2em;
    color: #cce3de;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0px 0px 12px rgba(204, 227, 222, 0.6);
}

/* Subtítulo */
#proven-results h3 {
    font-size: 1.6em;
    color: #a3b18a;
    margin-bottom: 25px;
    font-style: italic;
}

/* Párrafos */
#proven-results p {
    font-size: 1.3em;
    color: #e8f6ef;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

/* Botón de Galería */
.gallery-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6a994e, #386641);
    color: #fff;
    padding: 14px 22px;
    font-size: 1.3em;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0px 0px 12px rgba(106, 153, 78, 0.6);
    transition: 0.3s ease-in-out;
    font-weight: bold;
    margin-top: 25px;
}

/* Efecto Hover en Botón */
.gallery-btn:hover {
    background: #386641;
    box-shadow: 0px 0px 18px rgba(106, 153, 78, 0.9);
    transform: scale(1.08);
}


/* Sección Principal */
#company-stats {
    background: linear-gradient(135deg, #2a6f97, #014f86);
    padding: 60px 30px;
    text-align: center;    
    color: #e9f5db;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
/* Contenedor */
.stats-container {
    max-width: 900px;
    margin: auto;
}

/* Título */
#company-stats h2 {
    font-size: 2.5em;
    color: #d8f3dc;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Introducción */
.stats-intro {
    font-size: 1.2em;
    color: #d8f3dc;
    margin-bottom: 30px;
}

/* Grid de Números */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Tarjetas de Números */
.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.3);
    transition: 0.3s ease-in-out;
    text-align: center;
}

/* Efecto Hover */
.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5);
}

/* Número en Contador */
.stat-item h3 {
    font-size: 2.5em;
    color: #ffdd57;
    margin-bottom: 5px;
}

/* Descripción */
.stat-item p {
    font-size: 1.1em;
    color: #e9f5db;
}

/* Estilos del Mapa */
#map {
    height: 300px;
    width: 100%;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}/* Sección Principal */
#faq {
    background: linear-gradient(135deg, #0d1b16, #0a291a);
    padding: 50px 30px;
    color: #e9f5db;
    width: 100%;
    margin: auto;
    text-align: center;
}
/* Contenedor */
.faq-container {
    max-width: 800px;
    margin: auto;
    gap: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Título */
#faq h2 {
    font-size: 2.5em;
    color: #d8f3dc;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Introducción */
.faq-intro {
    font-size: 1.2em;
    color: #d8f3dc;
    margin-bottom: 30px;
}

/* Estilo de Preguntas */
.faq-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    min-height: 60px;
    height: auto;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 10px;
    text-align: left;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: solid 5px yellow;
    position: relative;
    transition: border 0.5s ease-in-out, border-radius 0.3s ease-in-out;

}
.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 0%;
    border-top: 2px solid yellow;
    border-right: 2px solid yellow;
    border-bottom-left-radius: 35px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top-left-radius: 8px;
    transition: width 0.5s linear, height 0.5s linear 0.5s;
}

/* Cuando está activo, la animación crece */
.faq-item.active::before {
    width: 100%;
    height: 100%;
}

/* Pregunta */
.faq-question {
    font-size: 1.3em;
    font-weight: bold;
    color: #ffdd57;
    position: relative;
    padding: 10px;
    width: 100%;
    min-height: 60px;
    height: 100%;
    transition: background-color 0.3s ease-in-out, border 1s ease-in-out;
}
.faq-item.active .faq-question{
    border-bottom: solid 1px yellow;
    background-color: #0d1b16;
    border-radius: 10px;
}

/* Respuesta (Oculta por defecto) */
.faq-answer {
    font-size: 1.1em;
    color: #e9f5db;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-in-out;
}
.faq-item.active{
    /* border-bottom: solid 5px yellow; */
    border-bottom-left-radius: 35px;
    border-bottom: 5px solid yellow;
    /* border-top: solid 1px yellow;
    border-right: solid 1px yellow; */
}
/* Clase Activa para Mostrar Respuesta */
.faq-item.active .faq-answer {
    max-height: 200px; /* Se ajusta automáticamente con JS */
    opacity: 1;
    padding-top: 10px;
    
}

/* Botón de Contacto */
.faq-button {
    display: inline-block;
    background: linear-gradient(135deg, #52b788, #40916c);
    color: #fff;
    padding: 14px 22px;
    font-size: 1.3em;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0px 0px 12px rgba(82, 183, 136, 0.6);
    transition: 0.3s ease-in-out;
    font-weight: bold;
    margin-top: 20px;
}

/* Hover en Botón */
.faq-button:hover {
    background: #40916c;
    box-shadow: 0px 0px 18px rgba(82, 183, 136, 0.9);
    transform: scale(1.08);
}




/* Responsivo para móviles */
@media (max-width: 950px) {
    .content {
        background-position: 0px center; 
        background-image: url('../assets/images/ba.png');
        align-items: center;
        justify-content: flex-end;
    }
    .sec2 h1{
        font-size: 42px;
    }
    .side {
        display: none;
        padding-top: 25px;
    }
    #sidcel{
        display: flex;
        margin-bottom: 100px;
        padding-top: 125px;
    }
    #pimg {
        flex-direction: column;
    }
    .sec2 img {
        height: 200px;
        width: 200px;
    }
    #sec2p{
        width: 100%;
        flex-direction: column;

    }
}