/* ==========================================================================
   Granada & Costa · Llamada a la acción, pie, barra legal y acciones móviles
   ========================================================================== */

/* ---------- Bloque "¿Aún no lo tienes claro?" (sección cta_contacto) ---------- */
.cta_contacto {
	margin: var(--gc-section) 0 0 !important;
	padding: clamp(4.5rem, 9vw, 7rem) var(--gc-gutter) !important;
	background: var(--gc-blue) !important;
}
.cta_contacto > .elementor-container {
	max-width: 900px;
	margin: 0 auto;
	justify-content: center;
}
/* El logo ya aparece justo debajo, en el pie */
.cta_contacto .cta_imagen {
	display: none;
}
.cta_contacto .cta_contenido {
	width: 100% !important;
	margin: 0 !important;
	display: block;
}
.cta_contacto .cta_contenido > .elementor-widget-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
	padding: 0 !important;
}
.cta_contacto .elementor-widget {
	width: auto;
	margin: 0 !important;
}
.cta_contacto .cta_contenido .elementor-widget-text-editor {
	text-align: center !important;
}
.cta_contacto .cta_contenido .elementor-widget-text-editor p {
	margin: 0;
	font-family: var(--gc-font-display);
	font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.25rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: #fff !important;
	text-wrap: balance;
}
.cta_contacto .elementor-button-wrapper {
	display: block !important;
	text-align: center !important;
}
.cta_contacto .elementor-button-wrapper > a.elementor-button {
	background: transparent;
	border-color: rgba(255, 255, 255, .85);
	color: #fff;
}
.cta_contacto .elementor-button-wrapper > a.elementor-button:hover {
	background: #fff;
	border-color: #fff;
	color: var(--gc-ink);
}

/* ---------- Pie ---------- */
.gc-footer {
	margin: 0 !important;
	padding: 0 !important;
	background: var(--gc-surface) !important;
	border-top: 1px solid var(--gc-line);
	color: var(--gc-text);
}

.gc-footer .informacionPie {
	padding: clamp(4rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem) !important;
}
.gc-footer .informacionPie > .elementor-container {
	max-width: var(--gc-container);
	margin: 0 auto;
	padding: 0 var(--gc-gutter);
	gap: clamp(2rem, 5vw, 4rem);
}
.gc-footer .informacionPie .elementor-column {
	width: auto !important;
	flex: 1 1 0;
}
.gc-footer .informacionPie .elementor-column:first-child {
	flex: 1.4 1 0;
}
.gc-footer .informacionPie .elementor-widget-wrap {
	align-content: flex-start;
	padding: 0 !important;
}
.gc-footer .informacionPie .elementor-widget {
	margin-bottom: .3rem !important;
}

/* Logo a todo color, sin caja */
.gc-footer .contenedor_img,
.gc-footer .contenedor_img .elementor-widget-container {
	display: block !important;
	height: auto !important;
	text-align: left !important;
}
.gc-footer img {
	display: block;
	width: 200px !important;
	max-width: 100%;
	height: auto;
	padding: 0 !important;
	background: none !important;
	border-radius: 0 !important;
}

/* Títulos de columna: mayúsculas pequeñas espaciadas */
.gc-footer .informacionPie .elementor-column:not(:first-child) .elementor-widget-wrap > .elementor-widget:first-child p {
	margin: 0 0 1.1rem;
	font-family: var(--gc-font-text);
	font-size: .7rem !important;
	font-weight: 500;
	letter-spacing: var(--gc-track);
	text-transform: uppercase;
	color: var(--gc-muted) !important;
}

.gc-footer p,
.gc-footer span,
.gc-footer a {
	font-size: .98rem;
	line-height: 1.8;
	color: var(--gc-text) !important;
}
.gc-footer .elementor-widget-text-editor p {
	margin: 0;
}
.gc-footer a {
	text-decoration: none;
}
.gc-footer a:hover {
	color: var(--gc-ink) !important;
	text-decoration: underline;
	text-decoration-color: currentColor;
}
/* Sin iconos: datos limpios */
.gc-footer .telefono::before,
.gc-footer .correo::before,
.gc-footer .direccion::before {
	content: none !important;
}
.gc-footer .telefono {
	color: var(--gc-ink) !important;
}

.gc-footer .elementor-social-icons-wrapper {
	margin-top: 1.25rem;
}
.gc-footer .elementor-social-icon {
	width: 40px;
	height: 40px;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	font-size: 16px !important;
	background: none !important;
	border: 1px solid var(--gc-line-strong);
	border-radius: 0 !important;
	transition: border-color .2s ease, background-color .2s ease;
}
.gc-footer .elementor-social-icon i,
.gc-footer .elementor-social-icon svg {
	color: var(--gc-ink) !important;
	fill: var(--gc-ink) !important;
}
.gc-footer .elementor-social-icon:hover {
	border-color: var(--gc-ink);
	text-decoration: none;
}

/* ---------- Barra legal ---------- */
.gc-footer__bar {
	background: var(--gc-surface);
	border-top: 1px solid var(--gc-line);
}
.gc-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 2rem;
	max-width: var(--gc-container);
	margin: 0 auto;
	padding: 1.5rem var(--gc-gutter);
}
.gc-footer__bar .informacionLegal {
	padding: 0 !important;
	background: none !important;
	margin-right: auto;
}
.gc-footer__bar #menu-infolegal {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gc-footer__bar #menu-infolegal li {
	padding: 0;
	border: 0;
}
.gc-footer__bar a,
.gc-footer__bar p,
.gc-footer__bar span {
	font-size: .7rem !important;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: var(--gc-track);
	text-transform: uppercase;
	color: var(--gc-muted) !important;
}
.gc-footer__bar a:hover {
	color: var(--gc-ink) !important;
	text-decoration: none;
}
.gc-footer__copy {
	margin: 0;
}
.gc-footer__bar .encabezado_promo {
	padding: 0 !important;
	background: none !important;
}
.gc-footer__bar .encabezado_promo .elementor-container,
.gc-footer__bar .encabezado_promo .elementor-widget-wrap {
	padding: 0 !important;
}
.gc-footer__bar .encabezado_promo .elementor-widget {
	margin: 0 !important;
}

/* ---------- Botón flotante de WhatsApp (escritorio y tableta) ---------- */
.gc-float-wa {
	position: fixed;
	right: clamp(16px, 2.5vw, 32px);
	bottom: clamp(16px, 2.5vw, 32px);
	z-index: 40;
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 0;
	font-family: var(--gc-font-text);
	color: #fff;
	text-decoration: none;
	background: var(--gc-blue);
	border: 0;
	border-radius: 0;
	box-shadow: 0 10px 30px -12px rgba(19, 32, 42, .45);
	transition: background-color .25s ease;
}
.gc-float-wa:hover {
	color: #fff;
	background: var(--gc-ink);
}
.gc-float-wa__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	color: #fff;
	background: none;
}
.gc-float-wa__icon svg {
	width: 22px;
	height: 22px;
}
/* La etiqueta se despliega al pasar el ratón o con el foco */
.gc-float-wa__label {
	max-width: 0;
	overflow: hidden;
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: var(--gc-track);
	text-transform: uppercase;
	white-space: nowrap;
	transition: max-width .45s var(--gc-ease-out), padding .45s var(--gc-ease-out);
}
.gc-float-wa:hover .gc-float-wa__label,
.gc-float-wa:focus-visible .gc-float-wa__label {
	max-width: 160px;
	padding-left: 1.25rem;
}
html.gc-lock .gc-float-wa,
html.gc-lock .gc-mobile-actions {
	visibility: hidden;
}

/* ---------- Barra de acciones móvil (plantilla 106) ---------- */
.gc-mobile-actions {
	display: none;
}

@media (max-width: 767px) {
	.gc-float-wa {
		display: none;
	}

	.gc-mobile-actions {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 40;
		padding: 0 0 env(safe-area-inset-bottom);
		background: var(--gc-surface);
		border-top: 1px solid var(--gc-line);
	}
	body {
		padding-bottom: calc(56px + env(safe-area-inset-bottom));
	}

	.gc-mobile-actions #footerMovil {
		position: static !important;
		padding: 0 !important;
		background: none !important;
	}
	.gc-mobile-actions #footerMovil > .elementor-container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
		max-width: none;
	}
	.gc-mobile-actions #footerMovil .elementor-column {
		width: auto !important;
	}
	.gc-mobile-actions #footerMovil .elementor-column + .elementor-column {
		border-left: 1px solid var(--gc-line);
	}
	.gc-mobile-actions #footerMovil .elementor-widget-wrap {
		padding: 0 !important;
	}
	.gc-mobile-actions #footerMovil .elementor-widget {
		width: 100%;
		margin: 0 !important;
	}
	.gc-mobile-actions #footerMovil p {
		margin: 0;
	}
	.gc-mobile-actions #footerMovil a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: .6rem;
		width: 100%;
		min-height: 56px;
		font-family: var(--gc-font-text);
		font-size: .74rem !important;
		font-weight: 500;
		letter-spacing: var(--gc-track);
		text-transform: uppercase;
		text-decoration: none;
		color: var(--gc-ink) !important;
		background: var(--gc-surface);
	}
	.gc-mobile-actions #footerMovil .whatsapp {
		color: #fff !important;
		background: var(--gc-blue);
	}
	.gc-mobile-actions #footerMovil a::before {
		margin: 0 !important;
		font-size: 1.15em;
	}
	.gc-mobile-actions #footerMovil .whatsapp::before {
		content: "\f232";
		font-family: "Font Awesome 5 Brands";
		font-weight: 400;
	}

	/* Pie en una columna */
	.gc-footer .informacionPie > .elementor-container {
		flex-direction: column;
		gap: 2.5rem;
	}
	.gc-footer .informacionPie .elementor-column,
	.gc-footer .informacionPie .elementor-column:first-child {
		width: 100% !important;
		flex: none;
	}
	.gc-footer img {
		width: 170px !important;
	}
	.gc-footer__bar-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: .9rem;
	}
	.gc-footer__bar #menu-infolegal {
		flex-direction: column;
		gap: 0;
	}
	.gc-footer__bar #menu-infolegal a {
		display: inline-flex;
		align-items: center;
		min-height: 40px;
	}

	.cta_contacto .elementor-button-wrapper > a.elementor-button {
		width: 100%;
	}
	.cta_contacto .elementor-widget-button {
		width: 100%;
	}

	.cky-revisit-bottom-left {
		bottom: calc(68px + env(safe-area-inset-bottom)) !important;
		left: 12px !important;
	}
}

/* ---------- Cierres con dos botones (bloques nuevos gc-cta) ---------- */
.gc-cta.cta_contacto .cta_contenido > .elementor-widget-wrap {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
}
.gc-cta.cta_contacto .elementor-widget-text-editor {
	flex: 0 0 100%;
	margin-bottom: 1.5rem !important;
}
.cta_contacto .elementor-button-wrapper > a.elementor-button {
	background: #fff;
	border-color: #fff;
	color: var(--gc-ink);
}
.cta_contacto .elementor-button-wrapper > a.elementor-button:hover {
	background: transparent;
	border-color: #fff;
	color: #fff;
}
.cta_contacto .gc-btn-alt .elementor-button-wrapper > a.elementor-button {
	background: transparent;
	border-color: rgba(255, 255, 255, .8);
	color: #fff;
}
.cta_contacto .gc-btn-alt .elementor-button-wrapper > a.elementor-button:hover {
	background: #fff;
	color: var(--gc-ink);
}
@media (max-width: 767px) {
	.gc-cta.cta_contacto .elementor-widget-button {
		width: 100%;
	}
}
