/* =========================================
   TARS CLEAN CSS (SIN CHEVRONS)
========================================= */

:root{
	--tars-top: 10px;
	--tars-closed-w: 180px;
	--tars-open-w: 1080px;
	--tars-bar-h: 62px;
	--tars-radius-closed: 10px;
	--tars-radius-open: 18px;
	--tars-closed-bg: #1facbb;
	--tars-open-bg: #ffffff;

	--tars-closed-icon: #ffffff;
	--tars-open-icon: #1facbb;

	--tars-radius: 18px;
	--tars-shadow: 0 24px 70px rgba(0,0,0,0.18);

	--tars-pad-x: 22px;
	--tars-pad-content-x: 34px;
	--tars-pad-content-bottom: 34px;

	--tars-max-h: calc(100vh - 20px);
	--tars-z: 999990;
}

/* SHELL */
.tars-shell{
	position: fixed;
	top: var(--tars-top);
	left: 50%;
	transform: translateX(-50%);
	width: min(var(--tars-closed-w), calc(100vw - 20px));
	max-height: var(--tars-max-h);
	background: var(--tars-closed-bg);
	border-radius: var(--tars-radius-closed);
	box-shadow:0px 5px 15px #00000080;
	box-sizing: border-box;
	overflow: hidden;
	z-index: var(--tars-z);
	transition: width .32s ease, background-color .28s ease, border-radius .25s ease;
}

.tars-shell.is-open{
	width: min(var(--tars-open-w), calc(100vw - 20px));
	background: var(--tars-open-bg);
	border-radius: var(--tars-radius-open);
}

/* BAR */
.tars-bar{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:7px;
	height:var(--tars-bar-h);
	padding:0 7px 0 var(--tars-pad-x);
}

/* LOGO */
.tars-logo{
	position:relative;
	height:28px;
	flex:1 1 auto;
}

.tars-logo a{
	display:block;
	position:relative;
	height:28px;
}

.tars-logo img{
	position:absolute;
	top:50%;
	left:0;
	transform:translateY(-50%);
	height:28px;
	transition:opacity .24s ease;
}

.tars-logo-open{opacity:0;}
.tars-shell.is-open .tars-logo{opacity:0;visibility:hidden;}

/* TOGGLE */
.tars-toggle{
	display:flex;
	align-items:center;
	justify-content:center;
	padding:10px;
	border:0;
	background:none !important;
	cursor:pointer;
	color:var(--tars-closed-icon);
	line-height:0;
}

.tars-shell.is-open .tars-toggle{
	color:var(--tars-open-icon);
}

/* ICON (hamburguesa/X) */
.tars-icon{
	position:relative;
	width:24px;
	height:16px;
}

.tars-icon span,
.tars-icon::before,
.tars-icon::after{
	content:'';
	position:absolute;
	left:0;
	width:24px;
	height:2px;
	background:currentColor;
	transition:all .25s ease;
}

.tars-icon span{top:7px;}
.tars-icon::before{top:0;}
.tars-icon::after{top:14px;}

.tars-shell.is-open .tars-icon span{opacity:0;}
.tars-shell.is-open .tars-icon::before{
	top:7px;
	transform:rotate(45deg);
}
.tars-shell.is-open .tars-icon::after{
	top:7px;
	transform:rotate(-45deg);
}

/* CONTENT */
.tars-content-wrap{
	max-height:0;
	opacity:0;
	overflow:hidden;
	transition:max-height .3s ease, opacity .2s ease, padding .3s ease;
	padding:0 var(--tars-pad-content-x) 0;
}

.tars-shell.is-open .tars-content-wrap{
	max-height:calc(100vh - 90px);
	opacity:1;
	padding:0 var(--tars-pad-content-x) var(--tars-pad-content-bottom);
}

.tars-content{
	max-height:calc(100vh - 130px);
	overflow-y:auto;
}

/* LINKS */
.tars-content .menu li a{
	color:black;
	font-size:13px!important;
	text-decoration:none;
}

.tars-content .menu li a:hover{
	color:#1facbb!important;
}

.tars-content li.current_page_item a{
	color:#1facbb!important;
	font-weight:600!important;
}

/* BUTTONS */
.tars-content .menu-item.button{
	padding:8px!important;
	font-weight:600!important;
	border:1px solid!important;
}

.tars-content .menu-item.button a{
	display:inline-flex;
	align-items:center;
	gap:8px;
	color:#1facbb!important;
	white-space:nowrap;
	padding-right:0; /* sin espacio para chevron */
}

/* ICONOS */
.tars-content .menu-item.button i{
	color:#1facbb;
	width:auto;
	margin-right:6px;
	display:inline-block;
}

/* TEL FLOAT */
.tars-content .menu-item.button.tel{
	float:left;
	margin:0 0 10px 20px !important;
}

/* CLEAR */
.tars-content ul.menu::after{
	content:'';
	display:block;
	clear:both;
}

/* WIDGET */
.tars-content .widgettitle{
	color:#141F61!important;
	font-size:15px!important;
}

.tars-header-panel-widget{margin-bottom:26px;}
.tars-header-panel-widget:last-child{margin-bottom:0;}

body.tars-lock{overflow:hidden;}

/* LIGHTBOX */
body.tars-lock::before{
	content:'';
	position:fixed;
	inset:0;
	background:rgba(0,0,0,0.35);
	z-index:999980;
	pointer-events:none;
}

/* Z INDEX */
.tars-shell{
	z-index:999990;
}

/* RESPONSIVE */
@media (max-width: 768px){
	.col-1 .menu{margin-right:0 !important;}
	.col-4{margin-left:0 !important;}
}