/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 * Style Style Sheet - Defines the main look like colors and backgrounds
 * Not all style related CSS is included, only colors and backgrounds which may change for different theme styles
 */


/* Base
----------------------------------------------------------------------------------------------------*/


/* Header
----------------------------------------------------------------------------------------------------*/
#header {
	background-image: url(../images/header.webp), url(../images/headerbk.webp);
	background-position: 0 0, 5% 0%;
	background-repeat: no-repeat, repeat-x;
}

#logo p {
	margin: 6px 0 0px 0;
}

#menubar {
	background: url(../images/menu.webp);
	height: var(--header-height);
	position: relative;
	z-index: var(--z-fixed);
	margin-bottom: -45px;
}

#search {
	color: var(--color-white);
	margin-right: var(--spacing-xl);
	font-size: var(--font-size-xs);
}

#search p {
	margin: 15px 0 0 0;
}

.tels {
	font-size: var(--font-size-lg);
	font-family: var(--font-family-heading);
	margin-top: 25px;
}

.tels p {
	padding: 5px 0;
	margin: 0;
}

.tels p:last-child {
	border: none;
}

.tels img {
	float: none;
	margin-right: 9px;
	vertical-align: bottom;
}

#header-responsive select {
	width: 98%;
	padding: 1%;
	margin: 1%;
}

.idiomas ul {
	list-style: none;
	margin-top: 55px;
	margin-right: 45px;
	display: flex;
	gap: 5px;
	align-items: center;
}



/* top
----------------------------------------------------------------------------------------------------*/
#top-a .carrusel {
	margin-top: -40px;
	min-height: inherit !important;
}

#top-b,
#innerbottom {
	background: url(../images/bottombk.webp);
}

.wk-slideshow-default .nav {
	margin-bottom: 25px;
	margin-top: -57px;
	position: relative;
	z-index: var(--z-fixed);
}

.wk-slideshow-default .nav span {
	background: url(../images/nav.webp) 0 -58px;
	width: 28px;
	height: 28px;
}

.wk-slideshow-default .nav .active span {
	background-position: 0 0;
}

.wk-slideshow-default .nav span:hover {
	background-position: 0 -29px;
}

#top-b .wrapper,
#innerbottom .wrapper {
	background: transparent;
	position: relative;
	z-index: var(--z-fixed);
}

#top-b .width50,
#innerbottom .width50,
#bottom-b .width50 {
	width: auto;
}

.video {
	margin-right: 25px;
}

.video,
.mapa {
	border: var(--border-width-thickest) solid var(--color-primary-dark);
	box-shadow: var(--shadow-lg);
	margin-bottom: 28px;
}

.mapa p {
	margin: 0;
}

.mapa img,
.video iframe {
	vertical-align: top;
	min-height: inherit !important;
	width: 100%;
}

.mapa a {
	width: 100%;
}

/* content
----------------------------------------------------------------------------------------------------*/

body.servicios .content ul {
	margin: 20px 0;
	padding: 0;
	list-style: none;
	/* Modern Grid Layout - auto-fit with stretching for even distribution */
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	align-items: start;
	place-items: center;
	overflow: visible;
}

/* Ensure parent containers don't clip the cards */
body.servicios .content {
	overflow: visible !important;
}

body.servicios #content {
	overflow: visible !important;
}

body.servicios .content ul li {
	/* Modern card design */
	width: 100%;
	max-width: 450px;
	min-height: 80px;
	background: #ffffff;
	border: 1px solid rgba(222, 154, 156, 0.5);
	border-radius: 12px;
	padding: 20px;
	font-size: 17px;
	font-weight: 500;
	color: #4A1517;
	line-height: 1.4;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	cursor: default;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

body.servicios .content ul li:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(222, 154, 156, 0.25);
	border-color: rgba(222, 154, 156, 0.6);
	background: #fffbfb;
	color: #621316;
}

body.servicios .content ul li img {
	/* Icon styling */
	margin-right: 15px;
	flex-shrink: 0;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
	transition: transform 0.3s ease;
}

body.servicios .content ul li:hover img {
	transform: scale(1.05);
}

.content>img.size-auto {
	margin-bottom: 30px;
}

.galeria {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}

.galeria a {
	/* Removed float and width */
	text-align: center;
}

.galeria a img {
	padding: 2px;
	border: var(--border-default);
}

.formResponsive .formHorizontal .formControlLabel {
	float: none;
	text-align: left;
	width: auto;
	margin-bottom: 5px;
	font-size: var(--font-size-sm);
}

.formResponsive .formHorizontal .rsform-block {
	margin-bottom: 0;
}

.formResponsive .formHorizontal .formControls {
	margin-left: 0;
}

.formResponsive textarea,
.formResponsive input[type="text"],
.formResponsive input[type="password"] {
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
}

.formResponsive .formHorizontal p.formDescription {
	margin: 0;
}

#userForm .width50 {
	float: left;
	padding: 10px;
}

.formResponsive input,
.formResponsive textarea {
	padding: 1% !important;
	width: 98%;
}

#pais {
	width: 100% !important;
	border: 1px solid #CCCCCC;
}

#Send {
	padding: 5px 40px !important;
	font-size: 17px !important;
	/* Modern Gradient Syntax */
	background-image: var(--gradient-primary);
	color: var(--color-white);
	border: none;
	cursor: pointer;
}

.formResponsive input[type="submit"]:hover,
.formResponsive input[type="submit"]:active,
.formResponsive input.active[type="submit"],
.formResponsive input.disabled[type="submit"],
.formResponsive input[type="submit"][disabled] {
	background-color: #4A1517;
}

/* bottom
----------------------------------------------------------------------------------------------------*/
#bottom-a {
	background: url(../images/greybk.webp) repeat-x var(--color-gray-100);
	padding: 20px 0 10px;
}

#bottom-a .wrapper,
#bottom-b .wrapper,
#main .wrapper {
	padding: 0 10px;
}

h3.module-title,
.content h3 {
	border-bottom: 1px solid var(--color-gray-600);
	padding-bottom: 10px;
	font-size: var(--font-size-2xl);
	line-height: 25px;
	margin: 0;
}

body.home #bottom-b {
	background: url(../images/whitebk.webp) repeat-x top center;
	padding: 20px 0 10px;
}

.sobrenos {
	width: 677px;
	margin-right: 30px;
}

.distancias img {
	vertical-align: top;
	box-shadow: var(--shadow-lg);
}

#innerbottom {
	margin-bottom: -50px;
	margin-top: 45px;
	padding-bottom: 25px;
}

.bottom-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

/* footer
----------------------------------------------------------------------------------------------------*/
#footer {
	background: linear-gradient(135deg, #4A1517 0%, #621316 100%);
	border-top: 3px solid var(--color-secondary);
	text-align: left;
	margin-top: 50px;
	padding: 15px 0;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

#footer-logo {
	float: left;
	margin: -40px 0 10px 10px;
}

#footer-logo img {
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
	transition: transform 0.3s ease;
}

#footer-logo:hover img {
	transform: scale(1.05);
}

.legal {
	float: left;
	color: var(--color-white);
	border-left: 2px solid rgba(222, 154, 156, 0.3);
	padding: 10px 25px;
	margin-left: 25px;
	margin-top: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.8;
	max-width: 700px;
}

.footer-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-info-item {
	margin: 0;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: 400;
}

.footer-info-item i {
	color: var(--color-secondary);
	font-size: 16px;
	min-width: 20px;
	margin-top: 3px;
	flex-shrink: 0;
}

.footer-label {
	font-weight: 500;
	margin-right: 6px;
}

.footer-value {
	font-weight: 400;
}

.legal a {
	color: #f0c5c6;
	text-decoration: none;
	transition: all 0.2s ease;
	font-weight: 500;
}

.legal a:hover {
	color: var(--color-secondary);
	text-decoration: underline;
}

.siniestro {
	float: right;
	font-size: var(--font-size-xs);
	line-height: 12px;
	margin-top: 40px;
	color: var(--color-gray-400);
}

.siniestro a {
	color: var(--color-gray-400);
}

.siniestro img {
	float: left;
	margin-right: 5px;
}

.siniestro p {
	margin: 0;
}

/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 * Menus Style Sheet - Defines base styles for various menus
 * Supported: Mega Drop-Down Menu, Sidebar/Accordion Menu and Line Menu
 */


/* Menu Helpers
----------------------------------------------------------------------------------------------------*/

.menu,
.menu ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.menu a,
.menu span {
	display: block;
}

.menu a {
	text-decoration: none;
}


/* Mega Drop-Down Menu
----------------------------------------------------------------------------------------------------*/

.menu-dropdown {
	margin-bottom: -10px;
	display: flex;
	flex-wrap: wrap;
}

.menu-dropdown li {
	position: relative;
}

/* Level 1 */
.menu-dropdown li.level1 {
	padding-bottom: 10px;
	/* Removed float */
}

.menu-dropdown a.level1,
.menu-dropdown span.level1 {
	border-right: 1px solid var(--color-primary-light);
	border-left: 1px solid #701D21;
	color: var(--color-white);
	display: block;
}

.menu-dropdown a.level1>span,
.menu-dropdown span.level1>span {
	height: 60px;
	line-height: 60px;
	padding: 0 15px;
	font-size: var(--font-size-lg);
	display: block;
}


/* Set Active */
.menu-dropdown li.active .level1 {
	background: url(../images/menuhover.webp) no-repeat top center;
}

/* Set Hover */
.menu-dropdown li.level1:hover .level1,
.menu-dropdown li.remain .level1 {
	background: url(../images/menuhover.webp) no-repeat top center;
}

/* Drop-Down */
.menu-dropdown .dropdown {
	display: none;
	position: absolute;
	top: 42px;
	left: 0;
	z-index: var(--z-dropdown);
	width: 300px;
	/* Default */
	border-top: var(--border-default);
}

.menu-dropdown li:hover .dropdown,
.menu-dropdown li.remain .dropdown {
	display: block;
}

.menu-dropdown li:hover .dropdown.flip,
.menu-dropdown li.remain .dropdown.flip {
	left: auto;
	right: 0;
}

.menu-dropdown .dropdown-bg>div {
	padding: 0 5px;
	border: var(--border-default);
	border-top: none;
	background: var(--color-white);
	overflow: hidden;
}

.menu-dropdown .stack .column {
	width: 100%;
}

/* Multi Columns, Default */
.menu-dropdown .columns2 {
	width: 600px;
}

.menu-dropdown .columns3 {
	width: 900px;
}

.menu-dropdown .columns4 {
	width: 1200px;
}

.menu-dropdown .column {
	float: left;
	/* Keep float for columns inside dropdown for now, or migrate to grid if structure allows */
}

/* Level 2 */
.menu-dropdown li.level2 {
	margin: 0 5px;
	border-top: var(--border-default);
}

.menu-dropdown li.level2:first-child {
	border: none;
}

.menu-dropdown a.level2,
.menu-dropdown span.level2 {
	color: var(--color-text-light);
}

.menu-dropdown a.level2>span,
.menu-dropdown span.level2>span {
	padding: 7px 0;
	line-height: 21px;
	overflow: hidden;
	display: block;
}

/* Set Hover */
.menu-dropdown a.level2:hover {
	color: #d50;
}

/* Set Current */
.menu-dropdown a.current.level2 {
	font-weight: bold;
}

/* Level 3 */
.menu-dropdown ul.level3 {
	padding-bottom: 10px;
}

.menu-dropdown li.level3 {
	/* Must be set in li for IE7 */
	font-size: var(--font-size-xs);
	line-height: 17px;
}

/* Set Hover */
.menu-dropdown a.level3:hover {
	color: #d50;
}

/* Set Current */
.menu-dropdown a.current.level3 {
	font-weight: bold;
}


/* Icons */
.menu-dropdown span.icon {
	display: block;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	float: left;
	/* Icon float is fine for now */
}

.menu-dropdown .level1 .level1 span.icon {
	width: 30px;
	height: 30px;
	margin-left: -5px;
}

.menu-dropdown .level1 .level1 span.icon+span,
.menu-dropdown .level1 .level1 span.icon+span+span {
	margin-left: 25px;
}

.menu-dropdown li.level2 .level2 span.icon {
	width: 35px;
	height: 35px;
	margin-top: -7px;
	margin-bottom: -7px;
}

.menu-dropdown li.level2.hassubtitle .level2 span.icon {
	margin-top: -4px;
}

.menu-dropdown li.level2 .level2 span.icon {
	margin-right: 5px;
}

.menu-dropdown li.level2 .level2 span.icon+span,
.menu-dropdown li.level2 .level2 span.icon+span+span {
	margin-left: 40px;
}

/* Subtitles */
.menu-dropdown span.title {
	line-height: 18px;
}

.menu-dropdown span.subtitle {
	margin-top: -1px;
	font-size: 9px;
	line-height: 10px;
	text-indent: 1px;
}

.menu-dropdown li.level2 .level2 span.title {
	line-height: 15px;
}

.menu-dropdown li.level2 .level2 span.subtitle {
	line-height: 14px;
}


/* Sidebar/Accordion Menu
----------------------------------------------------------------------------------------------------*/

/* Link */
.menu-sidebar a,
.menu-sidebar li>span {
	color: var(--color-text-light);
}

/* Hover */
.menu-sidebar a:hover,
.menu-sidebar li>span:hover {
	color: #d50;
}

/* Current */
.menu-sidebar a.current {
	font-weight: bold;
}

/* Accordion */
.menu-sidebar li.parent span.level1>span {
	cursor: pointer;
}

/* Level 1 */
.menu-sidebar li.level1 {
	border-top: var(--border-default);
}

.menu-sidebar li.level1:first-child {
	border-top: none;
}

.menu-sidebar li.parent .level1>span {
	background: url(../images/menu_sidebar_parent.webp) 100% 0 no-repeat;
}

.menu-sidebar li.parent.active .level1>span {
	background-position: 100% -30px;
}

.menu-sidebar a.level1>span,
.menu-sidebar span.level1>span {
	padding: 5px 0;
	line-height: 20px;
}

/* Remove Subtitles */
.menu-sidebar span.title {
	display: inline;
}

.menu-sidebar span.subtitle {
	display: none;
}

/* Level 2-4 */
.menu-sidebar ul.level2 {
	padding-bottom: 10px;
}

.menu-sidebar li.level1:last-child ul.level2 {
	padding-bottom: 0;
}

.menu-sidebar ul.level2 ul {
	padding-left: 10px;
}

.menu-sidebar .level2 a>span {
	font-size: var(--font-size-xs);
	line-height: 17px;
}

/* Icons */
.menu-sidebar span.icon {
	display: inline-block;
	height: 30px;
	width: 30px;
	margin: -5px 5px -5px 0;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	vertical-align: middle;
}


/* Line Menu
----------------------------------------------------------------------------------------------------*/

/* Level 1 */
.menu-line,
.menu-line li,
.menu-line li a {
	display: inline-block;
}

.menu-line li {
	margin-left: 7px;
	padding-left: 8px;
	background: url(../images/menu_line_item.webp) 0 50% no-repeat;
}

.menu-line li:first-child {
	margin-left: 0;
	padding-left: 0;
	background: none;
}

/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */



/* Breakpoints
----------------------------------------------------------------------------------------------------*/

/* Only Phones */
@media (max-width: 767px) {

	/* Layout */
	#toolbar,
	#headerbar,
	#menubar,
	#breadcrumbs,
	#totop-scroller {
		display: none;
	}

	#header {
		background-image: url(../images/header.webp), url(../images/headerbk.webp);
		background-position: 0 0, 5% 0%;
		background-repeat: no-repeat, repeat-x;
		margin-left: 10px;
		margin-right: 10px;
	}

	.video {
		margin-right: 0;
	}

	#top-a .carrusel {
		margin-top: 0;
	}

	.legal {
		border-left: none;
		margin-left: 0;
		padding: 20px 15px;
		float: none;
		max-width: 100%;
		text-align: center;
	}

	.footer-info {
		gap: 15px;
	}

	.footer-info-item {
		flex-direction: row;
		justify-content: center;
		text-align: left;
		gap: 10px;
	}

	#footer-logo {
		float: none;
		text-align: center;
		margin: 0 auto 20px;
	}

	.siniestro {
		margin-right: 10px;
	}

	body.ubicacion .content p img {
		display: none;
	}

	/* Universal Reset for Mobile */
	* {
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	/* General Width Reset */
	.width50,
	.width33,
	.width25,
	#bottom-b .width50,
	#top-b .width50,
	#innerbottom .width50 {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box !important;
	}

	/* Wrapper Reset */
	.wrapper,
	#bottom-b .wrapper,
	#top-b .wrapper,
	#innerbottom .wrapper {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
		padding-left: 10px !important;
		padding-right: 10px !important;
		box-sizing: border-box !important;
	}

	/* Section Reset */
	#bottom-b,
	#top-b,
	#innerbottom,
	#main,
	#top-a,
	#page,
	body,
	html {
		width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		overflow-x: hidden !important;
	}

	/* Reset specific module margins */
	.sobrenos,
	.distancias {
		margin: 0 !important;
		padding: 0 !important;
	}

	.sobrenos p,
	.distancias p {
		word-wrap: break-word !important;
		overflow-wrap: break-word !important;
		white-space: normal !important;
		width: 100% !important;
		max-width: 100% !important;
	}


	#top-b .wrapper,
	#innerbottom .wrapper {
		margin-top: 0 !important;
		z-index: 999 !important;
		position: relative !important;

		background-size: 100% auto !important;
		background-position: top center !important;
		padding-top: 20px !important;
	}

	#top-a {
		position: relative !important;
		z-index: 1 !important;
	}

	/* Ensure fixed buttons are on top */
	.whatsapp-btn,
	.reserve-btn {
		z-index: 3000 !important;
	}

	/* Ocultar botones flotantes cuando el footer es visible */
	body.footer-visible .whatsapp-btn,
	body.footer-visible .reserve-btn {
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s ease;
	}

}

/* Only Phones (Portrait) */
@media (max-width: 479px) {

	/* System */
	#system .items .item,
	#system .items .item:first-child {
		margin-top: 12px;
		padding-top: 18px;
		border-top-width: 1px;
	}

	#system .items :first-child .item:first-child {
		margin-top: 0;
		padding-top: 0;
		border-width: 0;
	}

	#system .items .leading .item {
		margin-bottom: 0;
		padding-bottom: 0;
		border-width: 0;
	}

	#userForm .width50 {
		width: 100%;
	}

	#header .logo {
		display: block;
		text-align: center;
		margin: 0;
		width: auto;
	}

	#header .logo p {
		margin: 0;
	}

	#header .logo img {
		width: 80%;
		margin: 10px 0 0 0;
	}

	.legal {
		border-left: none;
		margin-left: 0;
		text-align: center;
		width: 96%;
		padding: 0 2%;
	}

	#footer-logo img {
		width: 96%;
	}

}