		:root {
			--rojo: #c0392b;
			--rojo-oscuro: #8e1e14;
			--azul: #1a3a6e;
			--azul-claro: #2255a0;
			--dorado: #947D19;
			--dorado-claro: #d4b97a;
			--plata: #9aa3ad;
			--plata-claro: #c8d0d8;
			--negro: #0a0a0c;
			--negro-medio: #111318;
			--negro-suave: #1a1d24;
			--gris-oscuro: #252830;
			--gris-medio: #3a3d46;
			--gris-claro: #7a7f8a;
			--blanco: #f0f2f5;
			--texto-muted: #8a90a0;
		}

		body {
			background-color: #FFF;	
			margin:0 auto;
		}

		a:link {
			text-decoration: none;
			font-weight: 600;
			color: blue;
		}

		a:visited {
			color: #1188F7;
			text-decoration: none;
			font-weight: 600;
		}

		a:hover {
			color: #1FD303;
			text-decoration: none;
			font-weight: 600;
		}

		a:active {
			color: #24F803;
			text-decoration: none;
			font-weight: 600;
		}		

		.anchura {	
			align-self: center;
			max-width:1150px;
			margin: 0 auto;
			margin-top:35px;
			display:block;
			overflow: hidden;   /* ← add this */
		}


		.principal {
			float:left;
			width:60%;
			padding-left:15px;
		}

		.col-left {width:45%; height:auto; align:left; float:left}
		.col-right {width:45%; height:auto; align:left; float:right;padding-left:15px;}

		.titulo {
			font-family: 'AvantGarde', Avantgarde, "Century Gothic", CenturyGothic, arial, sanserif;	
			font-size:32px;
			font-weight:bold;
			color: #947D19;
			text-align: left;
			vertical-align: middle;
			margin-left:0px;	
		}

		.texto {		
			font-family: 'Rajdhani', sans-serif;	
			font-size:18px;	
			line-height:1.6;
			color: #5C5C5C;
			text-align: left;	
			margin-left: 10px;
			margin-right: 10px;
			padding-left:0px;
			margin-top:0px;			
		}

		.texto-med {		
			font-family: 'Rajdhani', sans-serif;	
			font-size:16px;	
			line-height:1.2;
			color: #5C5C5C;
			text-align: left;	
			margin-left: 10px;
			margin-right: 10px;
			padding-left:0px;
			margin-top:0px;			
		}

		.section-pre {
			font-family: 'Rajdhani', sans-serif;
			font-size: 12px;
			letter-spacing: 3px;
			text-transform: uppercase;
			color: white;
			margin-bottom: -12px;
			margin-left:20px;
			background-color: #b8a060;
			padding:4px;
			display:inline;
		}

		.btn-rojo {
			font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--rojo-oscuro), var(--rojo));
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top:5px;
    gap: 8px;
    transition: all 0.2s;
		}

		.btn-rojo:hover {
	background: linear-gradient(135deg, var(--rojo), #e74c3c);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(192,57,43,0.4);
	}

		.btn-rojo-ch {
			margin-left:80px;
			margin-top:-5px;
		font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 15px;
    background: linear-gradient(135deg, var(--rojo-oscuro), var(--rojo));
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
		}

	.btn-rojo-ch:hover {
	background: linear-gradient(135deg, var(--rojo), #e74c3c);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(192,57,43,0.4);
	}

	.btn-trans {
	font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top:5px;
    text-transform: uppercase;
    padding: 11px 26px;
    color: #5C5C5C;
    border: var(--rojo-oscuro) solid 2px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
		}

	.btn-trans:hover {
		color: #00BFFF;
		text-decoration: none;
		background-color:rgba(255,255,255,0.3);
	}
        
		.top-menu {
			position: sticky;
			top: 0px;
			margin-top: 0px;
			height:55px;
			box-sizing: border-box;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
			font-family: 'Roboto', sans-serif;
			font-weight: 500;
			color: hsla(238,42%,27%,1.00);
			background: #e0dbc8;
background: linear-gradient(90deg,rgba(224, 219, 200, 1) 0%, rgba(247, 244, 242, 1) 67%);
			display: flex;
			align-items: center;
			border-bottom: solid thin hsla(238,42%,27%,1.00);
			z-index: 999;
			overflow-x: hidden;
		}

		.tienda-cab {
			width: 100%;
			height: 130px;
			margin-top: 0px;
			background-image: url("../graficos/cab-blue.png");
			background-size: auto 145px;
			background-repeat: repeat;
			z-index: 1000;
			position: relative;
		}
        
		.compu {
			position:absolute;
			display:block;
			width: auto;
			height: 230px;
			top:0px;
			padding-top: 20px;
			right:0px;
			margin-right:8%;
			z-index: 1100;
		}

		.logo-cab {
			position:absolute;
			display:block;
			width: 255px;
			height: auto;
			top:0px;
			padding-top:25px;
			left:0px;
			padding-left:25px;
		}

		.logo {
			font-size: 24px;
			font-weight: bold;
			padding-top:6px;
			left:20px;
			margin-right:20px;
		}

		.menu-items {
			display: flex;
			gap: 0px;
			height:35px;
		}

		.menu-items a {
			color: hsla(238,33%,40%,1.00);
			text-decoration: none;
			align-items: center;
			gap: 2px;
			padding: 14px 18px;
			font-family: 'Rajdhani', sans-serif;
			font-size: 14px;
			font-weight: 600;
			letter-spacing: 2px;
			text-transform: uppercase;
			font-weight: 600;
			padding-top:9px;
		}
        
		.menu-items a:hover {
			color: #22E3B0;
			text-decoration: none;
			font-weight: 700;
		}

		@media (pointer: coarse) {
    .menu-items {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;   /* keeps all items in one row */
    }
    .menu-items::-webkit-scrollbar {
        display: none;
    }
    .menu-items a {
        flex-shrink: 0;      /* prevents links from squishing */
    }
}

		.lateral {
			float:right;
			display: flex;
			flex-direction: column;
			gap: 20px;
			width:30%;
			max-width:400px;
			min-width:200px;
		}

		.recuadro1 {
			width:100%;
			background:#F7F4F2;
			border-radius: 7px;
			box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
			overflow: hidden;
			scrollbar:none;
		}

		.recuadro-header {
			position:relative;
			width:100%;
			margin-top:0;
			right:0;
			left:0; 
			padding:15px;
			background:var(--dorado);
			border-top-left-radius: 7px;
			border-top-right-radius: 7px;}

		.sidebar-widget {
			background: #E0D9D1;
			border: 1px solid #bbb;
			border-radius: 4px;
			overflow: hidden;
		}

		.widget-header {
			padding: 12px 16px;
			background: rgba(255,255,255,0.03);
			border-bottom: 1px solid rgba(255,255,255,0.05);
		}

		.widget-title {
			font-family: 'Rajdhani', sans-serif;
			font-size: 15px;
			letter-spacing: 3px;
			text-transform: uppercase;
			color: var(--blanco);
		}

		.widget-body {
			padding: 16px;
		}

		.login-widget .widget-body {
			display: flex;
			flex-direction: column;
			gap: 10px;
		}

		.login-widget input {
			background: rgba(255,255,255,0.04);
			border: 1px solid #999;
			border-radius: 3px;
			padding: 10px 12px;
			font-family: 'Raleway', sans-serif;
			font-size: 13px;
			color: var(--blanco);
			width: 90%;
			outline: none;
			transition: border-color 0.2s;
		}

		.login-widget input::placeholder { color: var(--texto-muted); }
		.login-widget input:focus { border-color: rgba(184,160,96,0.4); }

		.login-forgot {
			text-align: center;
			font-size: 11px;
			color: var(--texto-muted);
			cursor: pointer;
			transition: color 0.2s;
		}

		.login-forgot:hover { color: var(--dorado); }



		.scroll-section { position: relative; width: 100%; }
.scroll-wrapper  { position: relative; }

.card-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge */
  padding: 8px 4px;
}
.card-track::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.course-card {
position:relative;
  flex: 0 0 280px;
  height:425px;
border: 1px solid #bbb;
border-radius: 8px;
font-family: 'Rajdhani', sans-serif;	
font-size:17px;	
background: #E0D9D1;
overflow: hidden;
}

.card-img {
	width:100%;
	top:0px;
	left:0px;
	margin-top:0px;

}

.card-title {
	font-size:22px;
	font-weight:bold;
	color:#004687;
	transform: scaleX(0.93);
	text-align: center;
	margin-top:8px;
}

.card-small {
margin-top:-15px;
font-size:15px;
text-align: center;}

.card-footer {
position: absolute;
  bottom: 0;
  left: 0;   
  width: 100%;
 height:65px; 
 padding-top:20px;
 padding-bottom:5px;
	background:var(--dorado-claro);
}

.arrow-btn {
  position: absolute;
  top: 50%;
  opacity:100%;
  font-size: 20px;
  font-weight: bold;
  z-index: 10;
  background-color:crimson;
  border-radius:16px;
  width:32px;
  height:32px;
  Color:white;
}
.arrow-btn.left  { left: 5px;}
.arrow-btn.right { right:5px; }
.arrow-btn:disabled { opacity: 0.25; pointer-events: none; }

		/* Botón toggle lateral (solo móvil) */
		.btn-lateral {
			display: none;
			position: absolute;
			right:0px;
			z-index: 9999;
			background-color: green;
			border: none;
			border-bottom-left-radius: 17px;
			border-top-left-radius: 17px;
			margin-top:3px;
			width: 45px;
			height: 45px;
			color: white;
			cursor: pointer;
			align-items: center;
			justify-content: center;
			box-shadow: 0 2px 8px rgba(0,0,0,0.35);
			transition: background-color 0.2s;
			padding: 0;
			font-size: 20px;
			line-height: 1;
		}
		.btn-lateral:hover { background-color: #8DF578; }
		.btn-lateral svg { pointer-events: none; }

		/* Panel lateral: transición desde la derecha en móvil */
		@media (max-width: 780px) {
			.btn-lateral { display: flex; }

			.lateral {
				position: fixed;
				top: 0;
				right: 0;
				padding-left:20px;
				width: 80%;
				max-width: 320px;
				height: 100%;
				background: #e8e2d8;
				box-shadow: -4px 0 20px rgba(0,0,0,0.25);
				transform: translateX(110%);
				transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
				overflow-y: auto;
				z-index: 9998;
				padding: 60px 16px 24px;
				box-sizing: border-box;
			}
			.lateral.abierto {
				transform: translateX(0);
			}
		}

		/* ===== FOOTER ===== */
  footer {
    background: #473403;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 40px 40px 24px;
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
  }

  .footer-brand {}

  .footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 14px;
    opacity: 0.85;
  }

  .footer-about {
    font-size: 12px;
    color: var(--texto-muted);
    line-height: 1.7;
  }

  .footer-col-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dorado);
    margin-bottom: 14px;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .footer-links li a {
    font-size: 12px;
    color: var(--texto-muted);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-links li a:hover { color: var(--plata-claro); }

  .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: var(--texto-muted);
  }

  .footer-bottom a {
    color: var(--texto-muted);
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-bottom a:hover { color: var(--dorado); }

		/*Media Query Tablet*/
		@media (max-width: 1150px){
			.compu {
				height:165px;
				padding-right:10px;
				padding-top:8px;
			}
			
		.anchura {	
			align-self: center;
			max-width:93%;
			left-margin:15%;
		}
		}

		/*Media Query Mobile*/
		@media (max-width: 780px){
			.top-menu {   
				margin-top: -2px;
				z-index: 999;
				right:0px;}

			.anchura {	
			align-self: center;
			max-width:95%;
			left-margin:40px;
		}

			.principal {
				margin-left:15px;
			float:none;
			width:85%;
		}

		.col-left {width:80%; self-align:center;float:none;}
		.col-right {width:80%; center;float:float:none; margin-top:15px;}

			.tienda-cab {	
				width: 100%;
				height:100px;
				margin-top: 0px;
				background-image: url("../graficos/cab-blue.png");
				background-size: auto 100px;
				background-repeat: repeat;
			}

			.logo-cab {
				width:200px;
				margin-top:-10px;
			}
            
			.compu {
				display:none;
			}

			.titulo {				
				font-size:25px;
			}

			.texto {				
				font-size:15px;
			}

			.btn-rojo {
			margin-left:0px;
			transform: scaleX(.8);
			padding:4;
		}
		.btn-rojo:hover {
			margin-left:0px;
			transform: scaleX(.8);
			padding:4;
		}

		.btn-trans{
			margin-left:0px;
			transform: scaleX(.8);}
			.footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}