/*----------------------------------------*/
/* Template default CSS
/*----------------------------------------*/

/* Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Zen+Tokyo+Zoo&display=swap');

.con-margen 
{
    padding: 1em;
}

span.inovacion
{
	color:yellow;
}

html,
body {
    padding-top: 5em;
    background: lightgray;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

/* ==========================================
   DISEÑO RESPONSIVO (Para Teléfonos y Tablets)
   ========================================== */

@media (max-width: 768px) {
    .phone-number {
        float: none;           /* Quitamos el float para que no flote raro */
        display: flex;
        justify-content: center; /* Centramos todo el bloque */
        margin: 15px auto;     /* Centrado horizontal en la pantalla */
        width: fit-content;    /* Se ajusta al contenido */
        max-width: 90%;        /* Evita que se salga de la pantalla */
    }

    .phone-number span {
        font-size: 12px;       /* Reducimos un poco el texto en móviles */
    }
}

/*------------------------
  Secciones en Columnas
--------------------------*/

.section-title h1,
.section-title h2,
#pagina-inovaciones .section-title h1,
#pagina-inovaciones .section-title h2
{
	display: inline-block;
	/* background: #b9c0a5; */
	background-color: #996633;
	color: white;
	padding: 0 20px;
	margin-bottom: 0;
	border-radius: 8px;
}

/*------------------------
  Helper css
--------------------------*/
.sp-title {
	font-size: 50px;
	margin-bottom: 0.5em;
}

.sp-title span {
	background: #996633; /* #b9c0a5; */
	padding: 0 10px;
	color: white; /* #222222; */
	display: inline-block;
}

.section-title {
	margin-bottom: 75px;
	text-align: center;
}

/*------------------------
  Common element css
--------------------------*/

.set-bg 
{
	background-size: cover;
	background-repeat: no-repeat;
}

/*------------------------
  BOTONES
--------------------------*/

.site-btn {
	display: inline-block;
	font-weight: 700;
	border: 4px solid;
	min-width: 200px;
	text-align: center;
	padding: 0.5em 2em 0.5em 2em;
	position: relative;
	background-color: #af3c3c;
	margin-right: 0.5em;
	margin-left: 0.5em;
	margin-bottom: 1em;
	z-index: 1;
}

.site-btn:after,
.site-btn:before {
	position: absolute;
	content: "";
	width: 26px;
	height: 4px;
	right: -15px;
}

.site-btn:after {
	bottom: 12px;
}

.site-btn:before {
	bottom: 22px;
}

.site-btn.sb-light {
	color: #fff;
}

.site-btn.sb-light:after,
.site-btn.sb-light:before {
	background: #fff;
        background: #8a2828;
}

.site-btn.sb-dark {
	color: #222222;
}

.site-btn.sb-dark:after,
.site-btn.sb-dark:before {
	background: #222222;
}

.site-btn.sb-solid-color {
	background: #b9c0a5;
	border-color: #b9c0a5;
}

.site-btn.sb-solid-color:after,
.site-btn.sb-solid-color:before {
	background: #222222;
}

.site-btn.sb-solid-dark {
	background: #222;
	border-color: #222;
	color: #b9c0a5;
}

.site-btn.sb-solid-dark:after,
.site-btn.sb-solid-dark:before {
	background: #b9c0a5;
}

/*===  Accordion ===*/

.accordion-area .panel {
	margin-bottom: 15px;
}

.accordion-area .panel-header {
	background: #f0f0f0;
	display: block;
	padding: 12px 50px;
	font-size: 14px;
	font-weight: 700;
	position: relative;
	-webkit-transition: all 0.4s ease-out 0s;
	-o-transition: all 0.4s ease-out 0s;
	transition: all 0.4s ease-out 0s;
}

.accordion-area .panel-header.active {
	background: #b9c0a5;
}

.accordion-area .panel-header.active .panel-link:after {
	content: "-";
}

.accordion-area .panel-header.active .panel-link.collapsed:after {
	content: "+";
}

.accordion-area .panel-link {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 50px;
	background: #b9c0a5;
	border: none;
	cursor: pointer;
}

.accordion-area .panel-body p {
	font-size: 14px;
	margin-bottom: 0;
	padding-top: 25px;
}

.accordion-area .panel-body {
	padding: 0 5px;
}

.accordion-area .panel-link:after {
	content: "+";
	position: absolute;
	left: 50%;
	font-size: 16px;
	font-weight: 700;
	top: 50%;
	line-height: 16px;
	margin-top: -8px;
	margin-left: -4px;
}

/*===  Tabs  ===*/

.tab-element .nav-tabs {
	border-bottom: none;
	margin-bottom: 35px;
}

.tab-element .nav-tabs .nav-link {
	border: none;
	background: #f0f0f0;
	border-radius: 0;
	margin-right: 5px;
	font-size: 14px;
	font-weight: 500;
	color: #222;
	padding: 15px 30px;
}

.tab-element .nav-tabs .nav-link.active {
	background: #b9c0a5;
}

.tab-element .nav-tabs .nav-link.active,
.tab-element .nav-tabs .nav-link:hover {
	border: none;
}

.tab-element .tab-pane h4 {
	font-size: 18px;
	margin: 25px 0 20px;
}

.tab-element .tab-pane p {
	font-size: 14px;
}

/*===  Loader ===*/
.circle-progress {
	text-align: center;
	padding-top: 30px;
	display: inline-block;
}

.circle-progress .prog-circle {
	position: relative;
	margin-bottom: -155px;
}

.circle-progress .prog-circle:after {
	position: absolute;
	content: "";
	width: 177px;
	height: 177px;
	left: 9px;
	top: 9px;
	border-radius: 50%;
	border: 2px solid #fff;
	z-index: 1;
}

.circle-progress canvas {
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}

.circle-progress .progress-info {
	width: 100%;
	border-radius: 150px;
	margin: 0 auto;
	padding-top: 22px;
}

.circle-progress .progress-info h2 {
	font-size: 48px;
}

.circle-progress .prog-title {
	text-align: center;
	margin-top: 100px;
}

.circle-progress .prog-title h3 {
	font-size: 18px;
	color: #727272;
}

.img-popup-warp .mfp-content {
	opacity: 0;
	-webkit-transform: scale(0.8);
	    -ms-transform: scale(0.8);
	        transform: scale(0.8);
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

.img-popup-warp.mfp-ready .mfp-content {
	opacity: 1;
	-webkit-transform: scale(1);
	    -ms-transform: scale(1);
	        transform: scale(1);
}

/*----------------------------------------*/
/*  Service Section CSS
/*----------------------------------------*/

.service-box {
	margin-bottom: 30px;
}

.service-box .sb-icon {
	margin-bottom: 30px;
	width: 100px;
	height: 125px;
	text-align: center;
	position: relative;
	overflow: hidden;
	background-color: transparent;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

.service-box .sb-icon .sb-img-icon {
	position: absolute;
	left: 0;
	bottom: 0;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.service-box .sb-icon .sb-img-icon img {
	opacity: 0.2;
	max-height: 70px;
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.service-box .sb-icon::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: lightgray;
	left: 25px;
	top: -80px;
	-webkit-transform: rotate(-65deg);
	    -ms-transform: rotate(-65deg);
	        transform: rotate(-65deg);
}

.service-box .readmore {
	font-size: 20pt;
	font-weight: 700;
	color: #222222;
	display: inline-block;
	padding: 2px 0;
	background-color: transparent;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

.service-box:hover .sb-icon {
	background-color: #b9c0a5;
}

.service-box:hover .sb-icon .sb-img-icon {
	left: 15px;
	margin-bottom: 5px;
}

.service-box:hover .sb-icon .sb-img-icon img {
	opacity: 1;
}

.service-box:hover .readmore {
	background-color: #b9c0a5;
	padding: 2px 10px;
}

/*----------------------------------------*/
/*  About page CSS
/*----------------------------------------*/

.promo-section {
	padding-top: 90px;
	padding-bottom: 150px;
}

.promo-text h1 {
	margin-bottom: 20px;
}

.promo-text p {
	font-size: 16px;
	font-weight: 500;
	color: #222;
	margin-bottom: 0;
}

/*----------------------------------------*/
/*  Service page CSS
/*----------------------------------------*/

.service-slider {
	position: relative;
}

.service-slider .owl-controls {
	position: absolute;
	height: 100%;
	width: 14px;
	left: 0;
	top: 0;
	display: -ms-grid;
	display: grid;
}

.service-slider .owl-dots {
	display: table-cell;
	vertical-align: middle;
}

.service-slider .owl-dots .owl-dot {
	width: 14px;
	height: 13px;
	margin-bottom: 10px;
	background: #e8e8e8;
}

.service-slider .owl-dots .owl-dot.active {
	background: #b9c0a5;
}

.service-text h2 {
	font-size: 30px;
	margin-bottom: 30px;
}

.service-text p {
	margin-bottom: 50px;
}

.service-text ol {
	list-style: none;
}

.service-text ol li {
	font-size: 20px;
	font-weight: 700;
	color: #727272;
	margin-bottom: 20px;
}

.solid-service-box {
	text-align: center;
	background: #fff;
	padding: 50px 30px;
	-webkit-transition: all 0.4s ease-out 0s;
	-o-transition: all 0.4s ease-out 0s;
	transition: all 0.4s ease-out 0s;
}

.solid-service-box h2 {
	font-size: 48px;
	color: #727272;
	margin-bottom: 20px;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

.solid-service-box h3 {
	margin-bottom: 15px;
}

.solid-service-box p {
	font-size: 14px;
	margin-bottom: 20px;
}

.solid-service-box .readmore {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #222;
	opacity: 0;
	visibility: hidden;
	position: relative;
	bottom: -20px;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

.solid-service-box:hover {
	background: #b9c0a5;
}

.solid-service-box:hover h2 {
	color: #222;
}

.solid-service-box:hover .readmore {
	visibility: visible;
	opacity: 1;
	bottom: 0;
}

.promo-box {
	width: 1383px;
	margin: 0 auto;
	padding: 40px 0;
}

.promo-box .promo-text h1,
.promo-box .promo-text p {
	color: #fff;
}

/*----------------------------------------*/
/*  Contact page CSS
/*----------------------------------------*/
.cf-social {
	margin-top: 50px;
}

.cf-social a {
	color: #222;
	margin-right: 25px;
}

.contact-form {
	padding-top: 10px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	font-size: 13px;
	border: none;
	background: #f0f0f0;
	padding: 15px 20px;
	margin-bottom: 20px;
}

.contact-form textarea {
	height: 200px;
	margin-bottom: 30px;
}

.contact-form ::-webkit-input-placeholder {
	font-style: italic;
}

.contact-form :-ms-input-placeholder {
	font-style: italic;
}

.contact-form ::-ms-input-placeholder {
	font-style: italic;
}

.contact-form ::placeholder {
	font-style: italic;
}

.map-area {
	height: 685px;
	width: 100%;
	display: block;
	background: #f0f0f0;
	margin-bottom: 2px;
}

/* CLASES QUE DEBERIAN SER DESCARTADAS */
.pt100 {
	padding-top: 100px;
	padding-bottom: 100px;
}

.pt50 {
	padding-top: 50px;
	padding-bottom: 50px;
}

.mb100 {
	margin-bottom: 100px;
}

.spad {
	padding: 100px 0;
}

/* **********************************************************************************
   INTERFACE PARA INGRESAR (LOGIN)
************************************************************************************* */

.form-2 {
    /* Size and position */
    width: 340px;
    margin: 60px auto 30px;
    padding: 15px;
    position: relative;

    /* Styles */
    background: #fffaf6;
    border-radius: 4px;
    color: #7e7975;
    box-shadow:
        0 2px 2px rgba(0,0,0,0.2),        
        0 1px 5px rgba(0,0,0,0.2),        
        0 0 0 12px rgba(255,255,255,0.4); 
}

.form-2 h1 {
    font-size: 15px;
    font-weight: bold;
    color: #bdb5aa;
    padding-bottom: 8px;
    border-bottom: 1px solid #EBE6E2;
    text-shadow: 0 2px 0 rgba(255,255,255,0.8);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.form-2 h1 .log-in,
.form-2 h1 .sign-up {
    display: inline-block;
    text-transform: uppercase;
}

.form-2 h1 .log-in {
    color: #6c6763;
    padding-right: 2px;
}

.form-2 h1 .sign-up {
    color: #ffb347;
    padding-left: 2px;
}

.form-2 .float {
    width: 50%;
    float: left;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,1);
}

.form-2 .float:first-of-type {
    padding-right: 5px;
}

.form-2 .float:last-of-type {
    padding-left: 5px;
}

.form-2 label {
    display: block;
    padding: 0 0 5px 2px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    font-size: 11px;
}

.form-2 label i {
    margin-right: 5px; /* Gap between icon and text */
    display: inline-block;
    width: 10px;
}

.form-2 input[type=text],
.form-2 input[type=password] {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    display: block;
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 3px solid #ebe6e2;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.form-2 input[type=text]:hover,
.form-2 input[type=password]:hover {
    border-color: #CCC;
}

.form-2 label:hover ~ input {
    border-color: #CCC;
}

.form-2 input[type=text]:focus,
.form-2 input[type=password]:focus {
    border-color: #BBB;
    outline: none; /* Remove Chrome's outline */
}

.form-2 input[type=submit],
.form-2 .log-twitter {
    /* Size and position */
    width: 49%;
    height: 38px;
    float: left;
    position: relative;

    /* Styles */
    box-shadow: inset 0 1px rgba(255,255,255,0.3);
    border-radius: 3px;
    cursor: pointer;

    /* Font styles */
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 14px;
    line-height: 38px; /* Same as height */
    text-align: center;
    font-weight: bold;
}

.form-2 input[type=submit] {
    margin-left: 1%;
    background: #fbd568; /* Fallback */
    background: -moz-linear-gradient(#fbd568, #ffb347);
    background: -ms-linear-gradient(#fbd568, #ffb347);
    background: -o-linear-gradient(#fbd568, #ffb347);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#fbd568), to(#ffb347));
    background: -webkit-linear-gradient(#fbd568, #ffb347);
    background: linear-gradient(#fbd568, #ffb347);
    border: 1px solid #f4ab4c;
    color: #996319;
    text-shadow: 0 1px rgba(255,255,255,0.3);
}

.form-2 .log-twitter {
    margin-right: 1%;
    background: #34a5cf; /* Fallback */
    background: -moz-linear-gradient(#34a5cf, #2a8ac4);
    background: -ms-linear-gradient(#34a5cf, #2a8ac4);
    background: -o-linear-gradient(#34a5cf, #2a8ac4);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#34a5cf), to(#2a8ac4));
    background: -webkit-linear-gradient(#34a5cf, #2a8ac4);
    background: linear-gradient(#34a5cf, #2a8ac4);
    border: 1px solid #2b8bc7;
    color: #ffffff;
    text-shadow: 0 -1px rgba(0,0,0,0.3);
    text-decoration: none;
}

.form-2 input[type=submit]:hover,
.form-2 .log-twitter:hover {
    box-shadow: 
        inset 0 1px rgba(255,255,255,0.3), 
        inset 0 20px 40px rgba(255,255,255,0.15);
}

.form-2 input[type=submit]:active,
.form-2 .log-twitter:active{
    top: 1px;
}

/* Fallback fro broswers that don't support box shadows */
.no-boxshadow .form-2 input[type=submit]:hover {
    background: #ffb347;
}

.no-boxshadow .form-2 .log-twitter:hover {
    background: #2a8ac4;
}

.form-2 p:last-of-type {
    clear: both;    
}

.form-2 .opt {
    text-align: right;
    margin-right: 3px;
}

.form-2 label[for=showPassword] {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 400;
    text-transform: capitalize;
}

.form-2 input[type=checkbox] {
    vertical-align: middle;
    margin: -1px 5px 0 1px;
}

.celda
{
	background-image: url("../img/celda.png");
	background-repeat: no-repeat;
	background-size: 100%;
	font-size: 14pt;
}

.llave
{
	background-image: url("../img/llaves.png");
	background-repeat: no-repeat;
	background-size: 100%;
	background-position-y: center;
	font-size: 14pt;
	margin-top: -29px;
	padding-top: 1.5em;
}

.llave ul li,
.celda ul li
{
	color: black;
}

.recuadro
{
	font-family: "Helvetica Neue", sans-serif;
	border-radius: 8px;
	padding: 0em;
	margin-left: 25%;
	margin-right: 25%;			
        padding: 0.5em;
        font-size: 1.5em;
}

.recuadro2
{
	font-family: "Helvetica Neue", sans-serif;
	border-radius: 8px;
	padding: 0em;
	margin-left: 25%;
	margin-right: 25%;			   
        font-size: 2em;
        margin-top: 1em;
        margin-bottom: 1em;
        font-weight: bold;
        font-style: italic;
}

.element {
	margin-bottom: 100px;
}

/*
    PANELES
*/

.panel,
.panel-default
{
    border: none;
}

.panel-header
{
    background-color: #7d2626;
    border: 2px solid white;
    border-radius: 8px 8px 0px 0px;
    padding-top: 2em;
    padding-bottom: 0em;
}

.panel-body
{
    background-color: #440606;
    border: 2px solid white;
    border-radius: 0px 0px 8px 8px;    
}

/*
    ANIMACION
*/

.neonPink {
    color: #fff;
    text-shadow: #fff 0 0 15px, #fff 0 0 25px, #ff00de 0 0 30px, #ff00de 0 0 40px, #f0f 0 0 50px, #f0f 0 0 60px;
}

/* neonFlicker y Flickering animation */
.neonFlicker {
    animation: flicker 1.5s infinite alternate;
    color: #fff;
}

@keyframes flicker {
   
  0%, 18%, 22%, 25%, 53%, 57%, 100% {

      text-shadow:
      0 0 4px #fff,
      0 0 11px #fff,
      0 0 19px #fff,
      0 0 40px #99ccff,
      0 0 80px #99ccff,
      0 0 90px #99ccff,
      0 0 100px #99ccff,
      0 0 150px #99ccff;
  
  }
  
  20%, 24%, 55% {        
      text-shadow: none;
  }    

}

/* Moviles pequeños */
@media only screen and (max-width: 479px) 
{
	h1 {
		font-size: 150%;
	}
}

.carousel-control-next, 
.carousel-control-prev
{
    background-color: transparent;
    border: none;
}

.page-header-section
{
	margin-top: 8em;
}

.card-body 
{
	min-height: 18em;
}
.card-footer
{
	background-color: transparent;
}		

.btn-primary,
.contact-form input[type="submit"]
{
	color: #fff;
	border: 2px white groove;
	width: auto;
	box-shadow: 3px 3px 5px 1px rgba(47, 62, 142, 0.5);
}

label 
{
	font-weight: bold;
}
.correo
{
	text-decoration: underline;
}

.contact-form input, .contact-form textarea
{
	border: 2px inset #0200004d;
}

.clasificacion-grid{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.ambito-card{
    flex:1;
    min-width:250px;
    background:#1c1c1c;
    padding:20px;
    border-top:4px solid #c62828;
}

.ambito-card h4{
    color:#ffd54f;
    margin-top:0;
}

.clasificacion-grid{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    margin:30px 0;
}

.ambito-card{
    flex:1;
    min-width:280px;
    background:#f8f8f8;
    border:1px solid #ddd;
    padding:20px;
    border-radius:8px;
}

.btn-detalle{
    display:inline-block;
    margin-top:15px;
    padding:10px 20px;
    background:#0056b3;
    color:#fff;
    text-decoration:none;
    border-radius:4px;
}

.btn-detalle:hover{
    background:#003d80;
}

.site-btn.sb-dark
{
	color: white;
}

h1, h2, h3, h4
{
        color: #5b2d2d;
}

.remarcado h1,
.remarcado h2,
.remarcado h3,
.remarcado h4
{
	color: #c3bfbf;
}

p, 
li
{
	color: #570b0b; /* #abd1f2; */
}

b,
strong
{
	color: #481010;
}

.recuadro
{
	/* 
	color:  #003366;
	text-shadow: 3px 2px 7px rgba(0, 240, 255, 1); 
	*/
	color: white;
	/* background-color: #4da6ff; */
	/* background-color: #11406f; */
	background-color: #6f1111;
}

.btn-primary,
.contact-form input[type="submit"]
{
	background-color: #711d1d;
}

.regresar
{
	background-color: #771d1d;
	border-color: black;
}

.regresar a
{
	color: white;
	font-size: 1.25em;
}

.card-body p
{
	color: #ce8585;
}

.footer-section
{
    border-color: #711d1d;
    background: #506770;
    background: linear-gradient(0deg,rgba(80, 103, 112, 1) 0%, rgba(235, 225, 225, 1) 50%, rgba(128, 127, 124, 1) 100%);	
}

footer table tr td.boton a
{
    background: #cbb9b9;
    -webkit-box-shadow: 10px 10px 5px -6px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px -6px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 5px -6px rgba(0,0,0,0.75);    
}

footer table tr td a
{
    border-color: #711d1d;
}

footer table tr td a:hover
{
    color: #f00;
}

/* ESPECIAL PARA PAGINA INOVACIONES */

#pagina-inovaciones p,
#pagina-inovaciones li
{
    color: white;
}

#pagina-inovaciones h1,
#pagina-inovaciones h2,
#pagina-inovaciones h3
{
	color: #b84d19;	
}

#pagina-inovaciones .slide-content h2 {
	font-size: 2.5em;
	line-height: 1.5em;
}

#pagina-inovaciones p.descriptor {
	color: lightgray;
	padding-right: 1em;
}

#pagina-inovaciones h1 {
	
	font-size: 3em;
	text-align: center;
}

#pagina-inovaciones ul,
#pagina-inovaciones ol {
	padding-bottom: 1em;
	padding-left: 2em;
	padding-right: 0.5em;
	margin: 0;
}

#pagina-inovaciones table tr td 
{
    color: #e3a3a3;
}

#pagina-inovaciones strong,
#pagina-inovaciones b
{
    color: #d8b734;
}

#pagina-inovaciones .sin-contenedor li,
#pagina-inovaciones .sin-contenedor p
{
    color: #963;
}

/*--------------------------------------------------
  Clase Global Reutilizable: Cuadro con texto remarcado
---------------------------------------------------*/

/* El contenedor base (aplica a cualquier página) */
.remarcado {
    border-radius: 8px;
    background-color: #09414a;
    color: #bda7a7;
    padding: 0.5em;
}

/* Regla maestra: Asegura que CUALQUIER etiqueta de texto dentro 
   de un .remarcado use el color claro, sin importar en qué página esté */
.remarcado h1,
.remarcado h2,
.remarcado h3,
.remarcado p,
.remarcado li,
.remarcado td {
    color: #bda7a7 !important;
}

/* ===========================
   Sección PESTANAS
============================== */
/* Contenedor general */
.pestanas {
  background: #1a1a1a;
  padding-left: 1em;
  padding-right: 1em;
  border-radius: 12px;
}

/* Encabezados dentro de pestanas */
.pestanas h1, 
.pestanas h2, 
.pestanas h3, 
.pestanas h4
{
    color: white;
    background-color: transparent;
    text-decoration: none;
    display: block;
    margin-top: 1em;
}

.pestanas h1 {
  font-size: 1.5em;  
  color: #d0a96a;   
  border-bottom: solid 2px red;
}

.pestanas h2 {
  font-size: 1.3em;
  color: #ffa700;   
}

.pestanas h3 {
  font-size: 1.3em;
  color: #ffd774;   
}

.pestanas h4 {
  font-size: 1.2em;
  color: #cd0e0e;   
}

/* Texto principal dentro de pestanas */
.pestanas p,
.pestanas li 
{
  color: #bab4b4;   /* gris claro para buena legibilidad */
  font-size: 1em;
  line-height: 1.7; /* más aire entre líneas */
  margin-bottom: 1em;
  display: block;
}

.pestanas b,
.pestanas strong 
{
	color: #dd4c4c;
}

/* Tabs superiores */
/* deben verse como botones */

.pestanas > ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: center;
}

.pestanas > ul > li {
  display: inline-block;
  margin: 0 15px;
}

.pestanas > ul > li a {
  display: inline-block;
  padding: 5px 10px;
  background: #2a2a2a;       /* negro base */
  color: #ddd;
  border: 2px solid #444;    /* borde discreto */
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.pestanas > ul > li a:hover {
  background: #ee5d5d;       /* rojo identidad CRAN */
  color: #fff;
  border-color: #b38a4c;     /* borde dorado */
}

.pestanas > ul > li a.active {
  background: #b38a4c;       /* dorado elegante */
  color: #111;               /* contraste sobre dorado */
  border-color: #ee5d5d;     /* borde rojo */
}

/* ===========================
   Sección 
============================== */

table tr td
{
	color: #ffa8a8;
}

/* Componentes jQuery para los tabs */

.ui-state-active, 
.ui-widget-content .ui-state-active, 
.ui-widget-header .ui-state-active, 
a.ui-button:active, 
.ui-button:active
{
    border: 1px solid #d20606;
    background: #c02d26;
}

.ui-state-hover, 
.ui-widget-content .ui-state-hover, 
.ui-widget-header .ui-state-hover,
.ui-button.ui-state-active:hover
{
    background: #c59d9d;
}

.ui-state-focus, 
.ui-widget-content .ui-state-focus, 
.ui-widget-header .ui-state-focus
{
    background: #711d1d;
}

.ui-state-default, 
.ui-widget-content .ui-state-default, 
.ui-widget-header .ui-state-default, 
.ui-button
{
	background: none;
	background-color: #5b0a0a;
}

.ui-state-active, 
.ui-widget-content 
.ui-state-active, 
.ui-widget-header .ui-state-active, 
a.ui-button:active, 
.ui-button:active
{
	background-color: #d20606;
}

/* jQuery UI estados integrados */
.ui-state-default, 
.ui-widget-content .ui-state-default, 
.ui-widget-header .ui-state-default, 
.ui-button {
  background-color: #2a2a2a; /* negro base */
  color: #ddd;
  border: 2px solid #444;
}

.ui-state-hover, 
.ui-widget-content .ui-state-hover, 
.ui-widget-header .ui-state-hover {
  background-color: #ee5d5d; /* rojo hover */
  color: #fff;
  border-color: #b38a4c;
}

.ui-state-active, 
.ui-widget-content .ui-state-active, 
.ui-widget-header .ui-state-active, 
.ui-button:active {
  background-color: #b38a4c; /* dorado activo */
  color: #111;
  border-color: #ee5d5d;
}

/* Bloques internos */
#pestanas > div {
  background: #222;
  padding: 35px; /* más espacio interno */
  border-radius: 10px;
  margin-bottom: 25px;
}

/* Listas internas */
#pestanas section ol,
#pestanas section ul
{
  margin-left: 1.5em;
  padding-left: 0;
  counter-reset: item;
}

#pestanas section ol li,
#pestanas section ul li  
{
  list-style: none;
  counter-increment: item;
  margin-bottom: 1em;
  font-size: 15pt;
  color: #ccc;
  line-height: 1.6;
  display: block;
  position: relative;
  padding-left: 2.5em;
}

#pestanas section ol li::before 
{
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #b38a4c;
}

/* Sublistas con letras */
#pestanas section ol ol 
{
  counter-reset: subitem;
  margin-top: 8px;
  margin-bottom: 10px;
}

#pestanas section ol ol li 
{
  counter-increment: subitem;
}

#pestanas section ol ol li::before 
{
  content: counter(subitem, lower-alpha) ")";
  color: #af3c3c;
}

/* Listas */
#pestanas section ol li::before 
{
  color: #b38a4c; /* dorado en numeración principal */
}
#pestanas section ol ol li::before 
{
  color: #ee5d5d; /* rojo en subnumeración */
}

/* Separadores alternos */
#pestanas hr.alt-red {
  border: 0;
  height: 2px;
  background: #ee5d5d;
  margin: 1.5em 0;
}

#pestanas hr.alt-gold {
  border: 0;
  height: 2px;
  background: #b38a4c;
  margin: 1.5em 0;
}

/* ===========================
   Sección PREDETERMINADA
============================== */

/* Enlaces */

a
{
	color: #570b0b;
	font-weight: bold;
	text-decoration: none;
    display: inline-block; /* necesario para que transform funcione en enlaces */
    transition: transform 0.2s ease, color 0.2s ease; /* suaviza el movimiento y el cambio de color */
}

a:hover {
color: #610d0d; /* cambia el color al pasar el mouse */
text-decoration: underline; /* subraya el enlace */
transform: translate(2px, 2px); /* mueve hacia la derecha y arriba */
}

/* Asegurar que las listas mantengan su estructura de bloque */
ol, ul {
    display: block;
    margin: 15px 0;
    padding-left: 30px; /* Esto crea la sangría */
}

/* Asegurar que cada elemento de la lista sea un renglón independiente */
li {
    display: list-item;
    margin-bottom: 10px; /* Separación entre cada punto */
    line-height: 1.5;
}

.container
{
	padding-left: 1em;
	padding-right: 1em;
	max-width: 100%;
	box-sizing: border-box;
}

h2, h3, h4, h5, h6
{
	margin: 0;
	font-weight: 700;	
	/* Para que los títulos tengan el espacio necesario */
        margin-bottom: 0.25em;
        /* text-decoration: underline;  */
}

h1 { font-size: 1.5em; margin-top: 0.5em; font-weight: bold; } 
    /* font-family: 'Zen Tokyo Zoo', cursive; */
h2 { font-size: 1.3em; margin-top: 2em; }
h3 { font-size: 1.2em; margin-top: 1em; font-style: italic; font-weight: normal; }
h4 { font-size: 1.1em; margin-top: 0em; }

h1 span,
h2 span,
h3 span,
h4 span
{
	background: #996633; /* #b9c0a5; */
	padding: 0.5em 1em;
	color: white; /* #222222; */
	display: inline-block;
	border-radius: 8px;
}

p
{
	padding: 0.5em;
}

p,
li
{
	font-size: 15pt;
	color: #804848;
	line-height: 1.5;
	text-align: justify;
	margin-bottom: 0.5em;
}

img {
	max-width: 100%;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
	outline: none;
}

a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

/* Tablas */

table tr td 
{
    font-size: 15pt;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 0.5em;
    padding-left: 1em;
}

table tr td,
table tr td a
{
    color: #711d1d;	
}

/* AJUSTES AL CARRUCEL DE BOOTSTRAP */

/* Da un fondo oscuro semitransparente a las flechas y las hace destacar */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
    background-color: rgba(0, 0, 0, 0.4); 
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
}

/* Asegura que el carrusel no rebase su contenedor y mantenga orden */
#sliderSustento {
    max-width: 100%;
    margin: 0 auto;
}

/* Color especial */
.destacado {
    font-weight: 700;        
    color: #a40202;
    text-transform: uppercase;
}       

/*----------------------------------------*/
/*  HEADER
/*----------------------------------------*/

/*=== Header AREA===*/

.header-area {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 8px 25px; /* Reducido para evitar exceso de aire arriba */
    box-sizing: border-box;
}

/* Logotipo */
.header-area > a {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Evita que el logo se deforme demasiado en pantallas intermedias */
}

.header-area > a img {
    max-width: 250px; /* Tamaño controlado para que no sea gigante ni microscópico */
    height: auto;
}

/* Contenedor central para los teléfonos (Aprovecha el espacio vacío) */
.header-phones-container {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    margin: 0 20px;
}

/*=== Teléfonos ===*/

.phone-number span {
    font-size: 13px; 
    color: #fff;
    white-space: nowrap; /* Evita que el número se parta en dos líneas */
}

.phone-number {    
    float: none; /* Quitamos el float viejo */
    padding: 6px 10px;
    background: #3d3d3d;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 8px;
    display: flex;
    align-items: center; 
    gap: 6px; 
    margin: 0; /* Sin márgenes forzados */
}

.phone-number img {
    width: 18px; 
    height: auto;
}

/*=== MENUS ===*/

.nav-switch {
    display: none;
}

.nav-menu {
    display: block;
    width: 100%;
    flex-basis: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Enlaces del menú con padding mínimo arriba y abajo */
.nav-menu ul li a {
    display: inline-block;
    padding: 4px 10px; /* Solo 4px arriba y abajo para que sea delgado */
    text-transform: uppercase;
    margin: 0 4px;
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    position: relative;
    line-height: 1em;
    text-align: center;
    transition: font-weight 0.3s ease;
}

.nav-menu ul li a:hover {
    font-weight: 700;
}

.nav-menu ul li {
    display: inline-block;
}

/* Estado activo para la opción seleccionada */
.nav-menu ul li.active > a {
    color: #dc960e;
    font-weight: 700;
}

.dropdown-menu {
    background-color: black;    
}

.dropdown-menu a:hover {
    background-color: #d75a52;    
    color: white;
}

.dropdown-menu ul li a {
    color: white;
}

/* ===========================
  Responsive
==============================*/

@media only screen and (max-width: 1477px) {
    .slide-num-holder.test-slider {
        left: auto;
        right: 0;
    }
}

@media only screen and (max-width: 1400px) {
    .promo-box {
        width: 100%;
    }
}

/* === Ajustando el tamaño del logotipo en el encabezado ===*/
@media only screen and (min-width: 1046px) {
    header a img
    {
        max-width: 100%;
    }
}

@media only screen and (min-width: 774px) and (max-width: 1045px) {
    header a img
    {
        max-width: 35%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 773px) {
    header a img
    {
        max-width: 30%;
    }
}

/* Medium screen : 992px. */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .nav-menu ul li a {
            margin-right: 20px;
    }
    .slide-content {
            margin-left: 220px;
    }
    .milestone p {
            margin-left: 10px;
            font-size: 17px;
    }
    .milestone h2 {
            font-size: 55px;
    }
    .milestone:after {
            width: 90px;
            height: 90px;
    }
    .slide-num-holder {
            right: 20px;
    }
    .hero-right-text {
            right: 100px;
    }
}

/* Tablet :768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .logo-area {
        padding: 20px 40px 30px;
    }
    .slide-content {
        margin-left: 170px;
        margin-bottom: -35px;
        padding-left: 120px;
        padding-top: 120px;
        padding-bottom: 30px;
    }
    .slide-content h2 {
        font-size: 60px;
        line-height: 60px;
    }
    .slide-content:after {
        border-top: 100px solid #b9c0a5;
        border-left: 100px solid #b9c0a5;
        border-bottom: 60px solid #b9c0a5;
    }
    .hero-slider .owl-nav {
        left: 170px;
    }
    .slide-num-holder {
        right: 20px;
    }
    .hero-right-text {
        bottom: 70%;
        right: 100px;
    }
    .nav-menu ul li a {
        margin-right: 5px;
        font-size: 13px;
        padding: 37px 7px 5px;
    }
    .team-member {
        margin-bottom: 30px;
    }
    .portfolio-warp .grid-item {
        width: 50%;
    }
    .portfolio-warp .grid-item.grid-wide,
    .portfolio-warp .grid-item.grid-long {
        width: 50%;
    }
    .portfolio-warp .grid-sizer {
        width: 50%;
    }
    .solid-service-box {
        margin-bottom: 30px;
    }
    .cta-section {
        background: #222;
        margin-bottom: 0;
    }
    .testimonials-section {
        background: #222;
        margin: 0;
    }
    .testimonials-image-box,
    .testimonials-section:after,
    .cta-image-box,
    .cta-section:after {
        display: none;
    }

    .hero-slider .hero-slide-item {
        height: 850px;
    }

    .milestone,
    .solid-service-box {
        margin-bottom: 30px;
    }
    .footer-section .footer-social {
        width: auto;
        top: -25px;
        right: 50%;
        padding: 10px;
        margin-right: -133px;
    }
    .footer-section .social-links a {
        display: inline-block;
        padding: 0 15px;
        margin-bottom: 0;
    }
    .projects-filter-nav {
        text-align: left;
    }
    .projects-filter-nav li {
        margin-left: 0;
        margin-right: 15px;
    }
    .footer-section .copyright {
        position: relative;
        width: 100%;
        max-width: 720px;
        margin: 40px auto 0;
        left: 0;
        top: 0;
        margin-bottom: -50px;
        padding-left: 15px;
    }
}

/* small mobile :320px. */
@media only screen and (max-width: 479px) {
    .logo-area {
        padding: 20px 30px 30px;
    }
    .header-area {
        background: #121212;
        padding-right: 66px;
    }
    .nav-menu {
        width: 100%;
        left: 0;
        margin-top: 0;
        border-top: 2px solid;
    }
    .left-bar {
        display: none;
    }
    .hero-slider .owl-nav {
        padding-left: 0;
    }
    .slide-content {
        margin-left: 0;
        padding: 0 15px;
    }
    .slide-content h2 {
        font-size: 35px;
        line-height: 1.5;
    }
    .portfolio-warp .grid-item {
        width: 100%;
    }
    .portfolio-warp .grid-item.grid-wide,
    .portfolio-warp .grid-item.grid-long {
        width: 100%;
    }
    .portfolio-warp .grid-sizer {
        width: 100%;
    }
    .projects-slider {
        padding: 0 15px;
    }
}

/* Large Mobile :480px. */
@media only screen and (max-width: 767px) {
    h1,
    .sp-title {
        font-size: 45px;
    }
    .page-header-section .header-title {
        font-size: 55px;
    }
    .left-bar {
        width: 70px;
    }

    /* === AJUSTES DEL HEADER MÓVIL Y BOTÓN HAMBURGUESA === */
    .header-area {
        padding: 10px 15px;
    }

    /* Aseguramos que el logo no sea gigante en móvil */
    .header-area > a img {
        max-width: 220px;
        height: auto;
    }

    /* Botón hamburguesa (fa-bars) bien ubicado a la derecha */
    .nav-switch {
        position: absolute;
        right: 20px;
        font-size: 30px;
        color: #fff;
        top: 25px;
        display: block;
        cursor: pointer;
    }

    /* Contenedor central de teléfonos adaptado para dispositivos móviles */
    .header-phones-container {
        flex-direction: column;
        gap: 5px;
        margin: 10px auto;
        width: fit-content;
    }

    .phone-number {
        float: none;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        width: 100%;
        max-width: 90%;
    }

    /* Menú desplegable móvil limpio */
    .nav-menu {
        position: absolute;
        width: 100%;
        left: 0;
        background: #121212;
        top: 100%;
        margin-top: 0;
        display: none;
        border-top: 2px solid #202020;
    }

    .nav-menu ul {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu ul li {
        display: block;
        width: 100%;
    }

    .nav-menu ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #202020;
        margin-right: 0;
        text-align: left;
    }

    /* Eliminamos cualquier residuo de la línea vieja en móvil */
    .nav-menu ul li a:after {
        display: none;
    }

    /* Resto de tus adaptaciones móviles existentes... */
    .hero-section {
        height: auto;
    }
    .hero-slider .hero-slide-item {
        padding: 150px 0;
        height: auto;
    }
    .slide-content h2 {
        font-size: 60px;
        line-height: 60px;
    }
    .hero-slider .owl-nav {
        padding-left: 70px;
        width: 100%;
        text-align: center;
        left: 0;
    }
    .slide-content {
        margin-left: 70px;
        padding: 0;
        text-align: center;
    }
    .slide-num-holder,
    .slide-num-holder.test-slider {
        right: 0;
        height: 75px;
        width: 136px;
        padding-top: 18px;
    }
    .slide-num-holder span,
    .slide-num-holder.test-slider span {
        font-size: 40px;
    }
    .slide-num-holder.test-slider {
        bottom: -135px;
    }
    .team-member {
        margin-bottom: 30px;
    }
    .portfolio-warp .grid-item {
        width: 50%;
    }
    .portfolio-warp .grid-item.grid-wide,
    .portfolio-warp .grid-item.grid-long {
        width: 50%;
    }
    .portfolio-warp .grid-sizer {
        width: 50%;
    }
    .cta-section {
        background: #222;
        margin-bottom: 0;
    }
    .testimonials-section {
        background: #222;
        margin: 0;
    }
    .testimonials-image-box,
    .testimonials-section:after,
    .cta-image-box,
    .cta-section:after {
        display: none;
    }
    .milestone,
    .solid-service-box {
        margin-bottom: 30px;
    }
    .projects-filter-nav {
        text-align: left;
    }
    .footer-section .footer-social {
        width: auto;
        top: -25px;
        right: 50%;
        padding: 10px;
        margin-right: -133px;
    }
    .footer-section .social-links a {
        display: inline-block;
        padding: 0 15px;
        margin-bottom: 0;
    }
    .footer-section .copyright {
        position: relative;
        width: 100%;
        max-width: 720px;
        margin: 40px auto 0;
        left: 0;
        top: 0;
        margin-bottom: -50px;
        padding-left: 15px;
        text-align: center;
    }
    .footer-item {
        margin-bottom: 40px;
    }
}

.regresar
{
	position: fixed;	
	bottom: 2em;
	right: 2em;
	z-index: 100;

	border-width: 1px;
	border-style: solid;
	border-radius: 4px;
	
	text-align: center;
	padding: 1em;
        padding-top: 0;
}

/*----------------------------------------*/
/*  Footer Section CSS
/*----------------------------------------*/

.footer-section {
    padding-top: 5px;
    padding-bottom: 5px;
    border-top-width: 3px;
    border-top-style: solid;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1024;
    background-color: #000; /* Fondo negro uniforme por si acaso */
}

.footer-section .copyright {
    position: absolute;
    top: 50%;
    margin-top: -12px;
    left: 60px;
    color: #737373;
}

.footer-section .footer-social {
    width: 75px;
    text-align: center;
    position: absolute;
    right: 60px;
    top: -55px;
    padding-top: 20px;
    background: #222;
}

.footer-item ul {
    list-style: none;
}

.footer-item ul li {
    display: block;
    margin-bottom: 10px;
}

.footer-item ul li a
{
    color: #abd1f2;
}

.footer-item ul li a {
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: #222222;
    padding: 2em;
}

.footer-item ul li a:hover {
    background: #b9c0a5;
}

/* Estilos compactos para la tabla del footer */
footer table tr td {
    text-align: center;
    padding: 2px 10px;
}

footer table tr td a {
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    border-color: #5d1e1e;       
    background-color: #d22f2f;   
    color: #ffffff;              
    padding: 5px 18px;           
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;          
}

/* Efecto al pasar el mouse (hover) */
footer table tr td a:hover {
    background-color: #a82424;   
    border-color: #3b1212;
    color: #ffffff;
}

/* Efecto cuando se hace click (el botón se sume) */
footer table tr td a:active {
    transform: translateY(2px);  
    background-color: #4a1717;   
    border-color: #2b0d0d;
}


/* ==========================================
   CORRECCIONES PARA CELULAR: teléfonos y menú ☰
   ========================================== */

@media only screen and (max-width: 767px) {

    /* Encabezado en columna: logo arriba, teléfonos debajo */
    .header-area {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Deja espacio a la derecha para el botón ☰ */
    .header-area > a {
        max-width: calc(100% - 60px);
    }

    .header-area > a img {
        max-width: 100%;
    }

    /* Los teléfonos se ajustan al ancho de la pantalla */
    .header-area .phone-number {
        align-self: center;
        width: auto;
        max-width: 100%;
        margin: 4px 0;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .header-area .phone-number span {
        white-space: normal;
        font-size: 12px;
    }

    /* Menú abierto con el botón ☰ */
    .nav-menu.abierto {
        display: block;
    }
}

/* Corrige width:1000% de bootstrap.min.css en celulares */
.col, [class*="col-"] { width: 100%; }

/* Celulares: que ningún contenido ensanche la página */
@media only screen and (max-width: 767px) {
    html, body {
        overflow-x: hidden;
    }

    /* Tabla de proyectos de inversión (ini_gasolinero.php):
       se desliza de lado dentro de su espacio */
    #proyectos-inversion table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    #proyectos-inversion table th,
    #proyectos-inversion table td {
        font-size: 12px;
        padding: 6px 8px;
    }
}
