/* Botón flotante de WhatsApp */
.fc-wa-flotante {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px 12px 14px;
	border-radius: 999px;
	background: #0f7f43;
	color: #fff;
	font: 700 15px/1 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.fc-wa-flotante:hover,
.fc-wa-flotante:focus-visible {
	background: #0b6a37;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.fc-wa-flotante svg {
	width: 26px;
	height: 26px;
	flex: none;
	fill: currentColor;
}

/* Botones de cotización en la portada (se insertan dentro del slider) */
.fc-portada-cta {
	position: absolute;
	left: 0;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.fc-boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 6px;
	font: 700 15px/1 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-decoration: none;
	text-shadow: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.fc-boton svg {
	width: 20px;
	height: 20px;
	flex: none;
	fill: currentColor;
}

.fc-boton-whatsapp {
	background: #0f7f43;
	color: #fff;
}

.fc-boton-whatsapp:hover,
.fc-boton-whatsapp:focus-visible {
	background: #0b6a37;
	color: #fff;
}

.fc-boton-secundario {
	background: rgba(255, 255, 255, 0.95);
	color: #0a3d62;
}

.fc-boton-secundario:hover,
.fc-boton-secundario:focus-visible {
	background: #008cdd;
	color: #fff;
}

.fc-solo-movil {
	display: none;
}

@media (max-width: 768px) {
	.fc-wa-flotante {
		right: 16px;
		bottom: 16px;
		padding: 14px;
	}

	.fc-wa-texto {
		display: none;
	}

	.fc-portada-cta {
		right: 0;
	}

	.fc-boton {
		flex: 1 1 100%;
	}

	.fc-solo-movil {
		display: inline-flex;
	}

	.fc-solo-escritorio {
		display: none;
	}
}

/*
 * Bloque de títulos de la portada (contenedor Elementor d84342b de la página 795).
 * En Elementor tiene margen derecho de 740px y está centrado, así que en pantallas
 * menores a ~1500px se salía por la izquierda. Se alinea a la izquierda con un margen
 * que en 1920px queda igual que el diseño original (~88px).
 */
@media (min-width: 1025px) {
	body .elementor-795 .elementor-element.elementor-element-d84342b.e-con {
		--align-self: flex-start;
		--margin-left: clamp(24px, 4.6vw, 96px);
		--margin-right: 0px;
	}
}

/* En tablet el mismo bloque quedaba pegado al borde de la pantalla. */
@media (min-width: 768px) and (max-width: 1024px) {
	body .elementor-795 .elementor-element.elementor-element-d84342b.e-con {
		--padding-left: 32px;
		--padding-right: 32px;
	}
}

/* Teléfonos y correos convertidos en enlace: mismo aspecto que el texto */
a.fc-enlace {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media print {
	.fc-wa-flotante,
	.fc-portada-cta {
		display: none;
	}
}
