/*
Theme Name: El Cabo Elementor
Template: hello-elementor
Theme URI: http://localhost/elcaboavela
Description: Child theme de Hello Elementor para migrar El Cabo a Vela desde Hestia manteniendo compatibilidad con Elementor.
Author: El Cabo a Vela
Version: 0.1.0
Text Domain: el-cabo-elementor
*/

:root {
	--el-cabo-accent: #1e73be;
	--el-cabo-overlay: rgba(0, 0, 0, 0.2);
}

body {
	font-family: "Montserrat", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Lato", Arial, sans-serif;
}

a {
	color: var(--el-cabo-accent);
}

.header-filter::before {
	background-color: var(--el-cabo-overlay) !important;
}

.buttons a {
	color: #000;
}

button,
input[type="button"],
input[type="submit"],
.elementor-button {
	border-radius: 0;
}
/* =========================================
   FOOTER - EL CABO A VELA
   ========================================= */

.el-cabo-footer {
    width: 100%;
    box-sizing: border-box;
	background-color: #323437;
	color: #fff; 
	padding: 40px 20px;
	}
.el-cabo-footer a {
	color: #fff  !important;
	text-decoration: none;
}
.el-cabo-footer-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    box-sizing: border-box;
	
}
.el-cabo-footer-info {
    margin-bottom: 25px;
}

.el-cabo-footer-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.el-cabo-footer-phone {
    margin: 0;
    font-size: 16px;
}

.el-cabo-footer-phone a {
    color: #999 !important;
    text-decoration: none;
}

.el-cabo-footer-phone a:hover {
    text-decoration: underline;
}

.el-cabo-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.el-cabo-footer-nav {
    flex: 1;
    text-align: left;
    margin: 0;
}

.el-cabo-footer-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.el-cabo-footer-menu li {
    margin: 0;
    padding: 0;
}

.el-cabo-footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.el-cabo-footer-menu a:hover {
    text-decoration: underline;
}

.el-cabo-footer-copyright {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border-top: none;
}

.el-cabo-footer-copyright p {
    margin: 0;
    font-size: 13px;
    text-align: right;
}

.el-cabo-footer-menu {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.el-cabo-footer-menu li {
    margin: 0;
    padding: 0;
}

.el-cabo-footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.el-cabo-footer-menu a:hover {
    text-decoration: underline;
}



.el-cabo-footer-copyright p {
    margin: 0;
    font-size: 13px;
}
/* =========================================
   HEADER - EL CABO A VELA
   ========================================= */

.el-cabo-header {
	width: 100%;
	box-sizing: border-box;

	position: fixed;
	top: 0;
	left: 0;

	z-index: 9999;

	background-color: #fff;

	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* =========================================
   CONTENEDOR
   ========================================= */

.el-cabo-header-container {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 10px 20px;

	box-sizing: border-box;

	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;

	gap: 20px;
}


/* =========================================
   LOGO - IZQUIERDA
   ========================================= */

.el-cabo-header-logo {
	flex: 0 0 33.333333%;
	max-width: 33.333333%;

	box-sizing: border-box;

	display: flex;
	align-items: center;
	justify-content: flex-start;

	margin: 0;
}
.el-cabo-header-logo img {
	display: block;

	width: auto;
	max-width: 250px;
	height: auto;
}


/* =========================================
   BLOQUE NAVEGACIÓN + IDIOMAS
   ========================================= */

.el-cabo-header-navigation {
	flex: 0 0 66.666667%;
	max-width: 66.666667%;

	box-sizing: border-box;

	display: flex;
	align-items: center;
	justify-content: flex-end;

	gap: 22px;
}


/* =========================================
   NAVEGACIÓN PRINCIPAL
   ========================================= */

.el-cabo-main-navigation {
	flex: 0 1 auto;
	width: auto;
}

.el-cabo-main-menu {
	display: flex;

	align-items: center;
	justify-content: flex-end;

	flex-wrap: nowrap;

	list-style: none;

	margin: 0;
	padding: 0;

	gap: 25px;
}

.el-cabo-main-menu li {
	margin: 0;
	padding: 0;

	position: relative;
}

.el-cabo-main-menu a {
	display: block;

	padding: 5px 0;

	color: #777 !important;

	font-size: 12px !important;
	font-weight: 400;

	line-height: 1.4;

	text-decoration: none;

	white-space: nowrap;
}

.el-cabo-main-menu a:hover {
	color: #1e73be !important;
}


/* =========================================
   SUBMENÚ - CONÓCENOS
   ========================================= */

.el-cabo-main-menu .menu-item-has-children {
	position: relative;
}

.el-cabo-main-menu .sub-menu {
	display: none;

	position: absolute;

	top: 100%;
	left: 0;

	min-width: 180px;

	margin: 0;
	padding: 8px 0;

	list-style: none;

	background-color: #fff;

	border: 1px solid rgba(0, 0, 0, 0.06);

	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);

	z-index: 9999;
}

.el-cabo-main-menu .menu-item-has-children:hover > .sub-menu {
	display: block;
}

.el-cabo-main-menu .sub-menu li {
	width: 100%;

	margin: 0;
	padding: 0;
}

.el-cabo-main-menu .sub-menu a {
	display: block;

	padding: 8px 15px;

	font-size: 12px !important;

	color: #777 !important;

	white-space: nowrap;
}

.el-cabo-main-menu .sub-menu a:hover {
	background-color: #f5f5f5;

	color: #1e73be !important;
}


/* =========================================
   SELECTOR DE IDIOMAS
   ========================================= */

.el-cabo-language-switcher {
	position: relative;

	flex: 0 0 auto;

	display: flex;
	align-items: center;
}


/* =========================================
   IDIOMA ACTUAL
   ========================================= */

.el-cabo-language-current {
	display: flex;
	align-items: center;
	justify-content: center;

	gap: 6px;

	width: auto;
	height: 32px;

	margin: 0;
	padding: 4px 6px;

	background: transparent;

	border: 0;

	cursor: pointer;
}

.el-cabo-language-current img {
	display: block;

	width: 22px;
	height: auto;

	margin: 0;
}

.el-cabo-language-arrow {
	display: inline-block;

	font-size: 8px;

	line-height: 1;

	color: #777;
}


/* =========================================
   DESPLEGABLE DE IDIOMAS
   ========================================= */

.el-cabo-language-dropdown {
	display: none;

	position: absolute;

	top: calc(100% + 5px);
	right: 0;

	min-width: 120px;

	margin: 0;
	padding: 4px 0;

	background-color: #fff;

	border: 1px solid rgba(0, 0, 0, 0.08);

	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);

	z-index: 10000;
}

.el-cabo-language-switcher:hover .el-cabo-language-dropdown,
.el-cabo-language-switcher:focus-within .el-cabo-language-dropdown {
	display: block;
}


/* =========================================
   OPCIONES DE IDIOMA
   ========================================= */

.el-cabo-language-dropdown a {
	display: flex;

	align-items: center;

	gap: 7px;

	width: 100%;

	box-sizing: border-box;

	padding: 6px 10px;

	color: #777 !important;

	font-size: 12px !important;

	font-weight: 400;

	line-height: 1.3;

	text-decoration: none;

	white-space: nowrap;
}

.el-cabo-language-dropdown a:hover {
	background-color: #f5f5f5;

	color: #1e73be !important;
}

.el-cabo-language-dropdown img {
	display: block;

	width: 20px;
	height: auto;

	flex: 0 0 20px;
}


/* =========================================
   MENÚ MÓVIL
   ========================================= */

.el-cabo-mobile-toggle,
.el-cabo-mobile-menu {
	display: none;
}


/* =========================================
   ESPACIO PARA HEADER FIJO
   ========================================= */

body {
	padding-top: 20px;
}


/* =========================================
   TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1024px) {

	.el-cabo-header-container {
		padding: 10px 25px;
	}

	.el-cabo-header-logo {
		flex: 0 0 30%;
		max-width: 30%;
	}

	.el-cabo-header-navigation {
		flex: 0 0 70%;
		max-width: 70%;

		gap: 15px;
	}

	.el-cabo-main-menu {
		gap: 15px;
	}

	.el-cabo-main-menu a {
		font-size: 11px !important;
	}

	.el-cabo-header-logo img {
		max-width: 140px;
	}
}


/* =========================================
   MÓVIL
   ========================================= */

@media (max-width: 767px) {

	body {
		padding-top: 70px;
	}

	.el-cabo-header-container {
		padding: 10px 20px;

		gap: 10px;
	}

	.el-cabo-header-logo {
		flex: 1 1 auto;

		max-width: none;

		min-width: 0;
	}

	.el-cabo-header-logo img {
		max-width: 180px;
	}

	.el-cabo-header-navigation {
		flex: 0 0 auto;

		max-width: none;

		gap: 8px;
	}

	.el-cabo-main-navigation {
		display: none;
	}


	/* -----------------------------------------
	   IDIOMAS EN MÓVIL
	   ----------------------------------------- */

	.el-cabo-language-current {
		height: 38px;

		padding: 4px;
	}

	.el-cabo-language-current img {
		width: 21px;
	}

	.el-cabo-language-dropdown {
		top: calc(100% + 4px);
		right: 0;
	}


	/* -----------------------------------------
	   BOTÓN HAMBURGUESA
	   ----------------------------------------- */

	.el-cabo-mobile-toggle {
		display: flex;

		width: 42px;
		height: 42px;

		margin: 0;
		padding: 8px;

		flex-direction: column;
		justify-content: center;
		align-items: center;

		gap: 5px;

		background: transparent;

		border: 0;

		cursor: pointer;
	}

	.el-cabo-mobile-toggle span {
		display: block;

		width: 24px;
		height: 2px;

		background-color: #777;
	}


	/* -----------------------------------------
	   MENÚ MÓVIL
	   ----------------------------------------- */

	.el-cabo-mobile-menu {
		display: none;

		position: absolute;

		top: 100%;
		left: 0;

		width: 100%;

		background-color: #fff;

		border-top: 1px solid rgba(0, 0, 0, 0.08);

		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);

		z-index: 9999;
	}

	.el-cabo-mobile-menu.is-open {
		display: block;
	}

	.el-cabo-mobile-menu-list {
		display: flex;

		flex-direction: column;

		gap: 15px;

		list-style: none;

		margin: 0;
		padding: 20px;
	}

	.el-cabo-mobile-menu-list li {
		margin: 0;
		padding: 0;
	}

	.el-cabo-mobile-menu-list a {
		display: block;

		color: #777 !important;

		font-size: 14px;

		line-height: 1.4;

		text-decoration: none;
	}

	.el-cabo-mobile-menu-list a:hover {
		color: #1e73be !important;
	}
}


/* =========================================
   MÓVILES PEQUEÑOS
   ========================================= */

@media (max-width: 400px) {

	.el-cabo-header-container {
		padding-left: 15px;
		padding-right: 15px;

		gap: 6px;
	}

	.el-cabo-header-logo img {
		max-width: 105px;
	}

	.el-cabo-header-navigation {
		gap: 4px;
	}

	.el-cabo-mobile-toggle {
		width: 38px;
		height: 38px;
	}
}