:root{  
    --tamaño-titulo-h5: clamp(2rem, 2rem, 12vw);                                /*  letra */
    --tamaño-contenido-p: clamp(1rem, 1rem, 12vw);
    --tamaño-logo-redes-sociales: clamp(18px, 22px, 7vw);

    --color-letras: rgb(0, 0, 0);                                       /*  letra */


    /* ======================== Global ====================== */
    --color-titulo: #4ea1e0;
    --color-Subtitulo: #4ea1e0;
    --color-principal: #1f6ba7;
    --color-principal-hover: #0e3b5c;
    --detalles: #1f6ba7;
    --gradiente-botones: linear-gradient(135deg, #1f6ba7, #0e3b5c);
    --recuadro: #d2e6f5;
    --borde-recuadro: #cce0f0;
    --color-servicios: linear-gradient(135deg, #cce5f6, #e6f2fc);;

    /* ======================== Nav ====================== */
    --letras: white;
    --hover: #afddff;


    /* ======================== Footer ====================== */
    --color-fondo-footer: linear-gradient(135deg, #0e3b5c, #0b2e47);                                      /* fondo-footer  */
    --color-borde-margen-arriba: #1f6ba7;                    /* borde-margen-arriba  */
    --color-logo:rgb(255, 255, 255);                                    /* logo redes sociales */
    --color-facebook: rgb(0, 89, 255);                                  /* facebook  */
    --color-instagram: rgb(212, 52, 212);                               /* instagram  */
    --color-whatsapp: rgb(25, 160, 13);                                 /* whatsapp  */
    --color-mail: rgb(77, 120, 185);      
    --color-letras-footer: rgb(218, 238, 255);                              /* mail  */

}

body{
        background: aliceblue !important;
}

.body{
    display: flex;
    flex-direction: column;
    gap: 8rem;
}


@media screen and (max-width: 1440px) {
.body{
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
}

.contenedor{
    padding: 0 15%;
}

@media screen and (max-width: 1440px) {
.contenedor{
    padding: 0 6% !important;
}
}





h3 {
    font-family: 'Titillium Web', sans-serif !important;
    font-weight: bold !important;
    font-size: clamp(1rem, 2.3rem, 7vw) !important;
    font-weight: bold !important;
}

@media screen and (max-width: 1000px) and (max-height: 500px) {
	h3 {
		font-size: clamp(0.5rem, 1.6rem, 4vw) !important;
	}
}

@media screen and (max-width: 700px) {
   h3{
    text-align: center;
    margin-top: 0.7rem !important;
   }
}





h4{
    font-size: 1.2rem !important;
        font-family: 'Roboto', sans-serif !important;
}

@media screen and (max-width: 1000px) and (max-height: 500px) {
	h4 {
		font-size: clamp(0.5rem, 0.9rem, 4vw) !important;
	}
}

@media screen and (max-width: 700px) {
   h4{
    font-size: 1rem !important;
   }
}




h5{
    font-size: clamp(1rem, 1.7rem, 12vw) !important;
        font-family: 'Titillium Web', sans-serif !important;
}




p{
    font-size: 1.2rem !important;
    font-family: 'Roboto', sans-serif !important;
    color: var(--color-letras);
}

@media screen and (max-width: 1000px) and (max-height: 500px) {
	p {
		font-size: clamp(0.5rem, 0.8rem, 4vw) !important;
	}
}

@media screen and (max-width: 700px) {
   p{
    font-size: 1rem !important;
   }
}


.about-content a {
    padding: 0.5rem;
    width:  clamp(1rem, 10rem, 40vw);
    color: #ffffff;
}

.botones-sobrenosotros {
    display: flex;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

@media screen and (max-width: 700px) {
.about-content a {
    font-size: 0.7rem;
}

.botones-sobrenosotros {
    display: flex;
    justify-content: center;
    align-items: center;

}

}

.shadow-imagen{
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}



.btn {
    padding: 12px 24px;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    background: var(--gradiente-botones);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1230px) {
.btn {
    font-size: 1rem !important;
}
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
        color: #ffffff !important;
        transition: all 300ms ease-in-out;
}

.btn:active {
    transform: scale(0.97);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
    
}

.btn-identidad::before {
    content: "🧾 ";
}

.btn-historia::before {
    content: "⏳ ";
}




/*==================== Modal ====================*/


.modal {
    display: none;
    /* o flex cuando está visible */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.849);
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow: auto;
    /* permite scroll si el modal es muy alto */
}
.modal-content {
    border-radius: 15px;
    max-width: 400px;
    max-height: 76vh;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease-out;
    border-bottom: 6px solid var(--color-principal) !important;
    margin: 1.5rem;
    display: block; /* CAMBIAR de flex a block */
    align-items: center;
}

.modal-image {
    width: 50%;
    height: auto;
    margin: 3rem 0 1rem;
    border-radius: 10px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
}

.modal-text {
    padding: 30px;
}

.modal-text strong{
      color: #1f6ba7;
  font-weight: 600;
}

.modal-text h3 {
    margin: 0 0 30px;
    font-size: 24px;
    color: var(--text-color);
}

.modal-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    color: var(--text-color);
      margin: 10px 0 5px;

}

.modal-text h4{
    font-weight: bold;
    
}

.modal-text li {
    text-align: left;
    padding: 0 2rem;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--detalles);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
}

/* Animación de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}