body {
	width:100%;
	font-family: Arial, Helvetica, sans-serif;
	background-color:#eeeeee;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #777777;
}

.a {
position:absolute;
	width: 100%; 
	margin: 0 auto;
	background-color:#eeeeee;
}

.b {
position:relative;
	margin: 0 auto;
padding-bottom:80px;
}

.marcoexterior{
width:90%;
max-width:1366px;
border-radius: 4px 4px 4px 4px;
color: #000000;
background-color:#ffffff;
margin:auto;
margin-top:20px;
margin-bottom:85px;
padding:10px;
}

.marcointerior{
border-radius: 0px 0px 8px 8px;
width:calc(100% - 120px);
color: #555555;
padding:14px;
padding-left:60px;
padding-right:60px;
font-size: 12pt;
text-align: justify;
overflow:auto;
}

.logo{
float:left;
font-size: 22pt;
color:#000000;
background-color:#ffffff;
height:148px;
width:250px;
padding:0px;
margin:0px;
}

.logo img{
width:200px;
margin:auto;
padding:0px;
padding-top:10px;
}

.loza{
float:left;
width:48%;
min-width:370px;
padding:0px;
margin:1%;
}

.lt2 img{
width:100%;
margin:auto;
padding:0px;
}

.lt2{
position:relative;
top:0px;
left:0px;
width:100%;
height:100%;
background-color: #eeeeee;
}

.lt{
position:absolute;
bottom:0px;
width:100%;
height:30px;
padding:0px;
padding-top:10px;
color:#ffffff;
font-size: 18pt;
text-align:center;
transition: 0.4s ease-in-out;
background-color:#0c2e4cdd;
overflow:hidden;
}

.lt ul{
color:#ffffff;
font-size: 12pt;
text-align:left;
}

.lt2:hover .lt{
background-color: #0b6bbfdd;
height:calc(100% - 25px);
padding-top:25px;
}

.cabeza{
float:left;
background-color:#ffffff;
height:100px;
width:calc(100% - 250px);
padding-top:0px;
}

.ct{
font-family: Georgia, Times New Roman, serif;
font-size: 34pt;
color:#0c2e4c;
margin:auto;
}

.cu{
font-size: 18pt;
color:#0b6bbf;
margin:auto;
}

.cabeza h1{
font-size: 56px;
color:#0000c0;
padding:0px;
margin:0px;
}

.barramenu{
background: #0000c0;
background-image: linear-gradient(to right,#5c7e9c, #0c2e4c);
float:left;
width:calc(100% - 250px);
}

.menu{
margin:auto;
}


.it{
display: inline-block;
width:160px;
height:48px;}

.it a {
font-weight: normal;
display: block;
text-decoration: none;
text-align:center;
color: #f4f4f4;
width:160px;
height:34px;
padding-top:14px;
transition: 0.4s ease-in-out;
}

.it a:hover{
font-weight: bold;
background: #0b6bbf;
color: #ffffff;
}

.contexto{
float:left;
width:100%;
}

.pie{
position:fixed;
bottom:0px;
width:100%;
background-color:#ffffff;
}

.pie a{
text-decoration:none;
font-size: 9pt;
font-family: sans-serif, verdana, arial;
border-top: 0px solid  #000000;
border-left: 0px solid #000000;
border-bottom: 0px solid  #000000;
border-right: 0px solid  #000000;
padding-left: 3px;
padding-right: 3px;
padding-top: 3px;
padding-bottom: 3px;
color:#0c2e4c;
transition: 0.4s ease-in-out;
}

.pie a:hover{
color: #ffffff;
background-color:#0b6bbf;
border-top: 0px solid  #000000;
border-left: 0px solid #000000;
border-bottom: 0px solid  #000000;
border-right: 0px solid  #000000;
}

hr{
  border: 1px solid #fc00d0;
}

.sombra {
font-family: sans-serif, arial, helvetica;
font-size: 14px;
color: #006600;
text-decoration: none;
}

.pte{
float:left;width:100%;margin:0px;
}

.texto{
width:500px;
margin:auto;
padding-bottom:30px;
}


/* --- 3. REJILLA DE SERVICIOS --- */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 100px auto;
    padding: 0 20px;
}

.snombre {
    background: #5c7e9c;
    padding: 25px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85px;
color:#ffffff;
}

.snombre:hover { background: #8caecc; color: white; transform: translateY(-3px); box-shadow: 0 12px 12px rgba(0,0,0,0.3);
 }

/* --- 4. CAPA FLOTANTE (MODAL) --- */
.sdescripcion-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 10, 40, 0.85);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

/* La Hoja Blanca */
.hoja-blanca {
    background: white;
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    padding: 60px 40px 40px 40px; /* Espacio extra arriba para el botón fijo */
    border-radius: 15px;
    position: relative; /* Contenedor de referencia para el botón */
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
    animation: zoomEntrada 0.3s ease;
}

@keyframes zoomEntrada { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

/* BOTÓN CERRAR FIJO (La clave) */
.cerrar-modal {
    position: sticky;      /* Se queda fijo respecto al scroll de la hoja */
    top: -40px;            /* Se pega arriba del scroll */
    float: right;          /* Lo manda a la derecha */
    margin-right: -20px;   /* Ajuste de posición */
    margin-top: -40px;
    background: #e74c3c;
    color: white;
    padding: 8px 16px;
    border-radius: 0 10px 0 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    z-index: 10001;        /* Siempre por encima del texto */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.2s;
}

.cerrar-modal:hover { background: #c0392b; transform: scale(1.05); }

.hoja-blanca h2 { color: #122a7a; text-align: center; margin-bottom: 20px; border-bottom: 0px solid #eee; padding-bottom: 10px; }
.texto-documento { line-height: 1.8; color: #333; font-size: 14px; }



@media only screen and (max-width : 8in) {

.texto{
width:100%;
margin:auto;
padding-bottom:30px;
}

.marcoexterior{
width:100%;
margin:0px;
margin-bottom:80px;
padding:0px;
}

.marcointerior{
width:calc(100% - 20px);
padding:10px;
padding-left:10px;
padding-right:10px;
font-size: 14pt;
}

.loza{
width:calc(100% - 20px);
min-width:300px;
padding:10px;
margin:0px;
}

.lt{
position:absolute;
height:50px;
font-size: 22pt;
}

.barramenu{
width:100%;
}

.logo{
width:100%;
height:150px;
}

.logo img{
height:90%;
}

.cabeza{
background-color:#ffffff;
height:80px;
width:100%;
}

.ct{
font-size: 30pt;
color:#fc00d0;
}

.cu{
font-size: 18pt;
color:#0000c0;
}
    .servicios-grid { grid-template-columns: 1fr; }
    .hoja-blanca { padding: 50px 20px 20px 20px; width: 95%; }
    .cerrar-modal { top: -35px; right: -10px; }

}
