:root {
	--cnvs-themecolor: #213c7a;
	--cnvs-themecolor-rgb: 33, 60, 122;
	/* Botones flotantes (esquina inferior derecha) */
	--bod-wa-size: 56px;
	--bod-wa-bottom: 24px;
	--bod-wa-gap: 12px;
	--bod-gototop-size: 2.5rem;
	--bod-gototop-right: 30px;
}

/* Sección contacto: imagen de fondo + contenido alineado */
.bod-contact-section {
	position: relative;
	overflow: hidden;
	padding: 70px 0 0;
}

.bod-contact-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.bod-contact-media .footer-img {
	width: 100%;
	height: 100%;
	margin-top: 0;
	object-fit: cover;
	object-position: center 35%;
	display: block;
}

.bod-contact-content {
	position: relative;
	z-index: 1;
	padding-bottom: 4rem;
}

@media (min-width: 992px) {
	.bod-contact-section {
		min-height: 560px;
	}

	.bod-contact-content {
		padding-bottom: 5rem;
	}
}

@media (max-width: 767.98px) {
	.bod-contact-section {
		padding-top: 50px;
		background-color: var(--cnvs-contrast-100, #f8f9fa);
	}
}

/* WhatsApp abajo; #gotoTop encima (misma columna derecha) */
.bod-whatsapp-float {
	position: fixed;
	right: calc(
		var(--bod-gototop-right) +
			(var(--bod-gototop-size) - var(--bod-wa-size)) / 2
	);
	bottom: var(--bod-wa-bottom);
	left: auto;
	z-index: 598;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--bod-wa-size);
	height: var(--bod-wa-size);
	border-radius: 50%;
	background-color: #25d366;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bod-whatsapp-float:hover {
	color: #fff;
	background-color: #1ebe57;
	transform: scale(1.08);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

#gotoTop {
	bottom: calc(
		var(--bod-wa-bottom) + var(--bod-wa-size) + var(--bod-wa-gap)
	) !important;
}

.stretched #gotoTop {
	bottom: calc(
		var(--bod-wa-bottom) + var(--bod-wa-size) + var(--bod-wa-gap)
	) !important;
}

@media (max-width: 767.98px) {
	:root {
		--bod-wa-size: 52px;
		--bod-wa-bottom: 20px;
		--bod-wa-gap: 10px;
	}

	.bod-whatsapp-float {
		right: calc(
			var(--bod-gototop-right) +
				(var(--bod-gototop-size) - var(--bod-wa-size)) / 2
		);
		font-size: 26px;
	}
}

/* Tooltip redes sociales */
	.bod-tooltip {
		position: relative;
		cursor: pointer;
		overflow: visible !important;
	}
	.bod-tooltip .bod-tip {
		position: absolute;
		bottom: 100%;
		left: 50%;
		transform: translateX(-50%) translateY(-6px);
		background-color: #000 !important;
		color: #fff !important;
		font-size: 12px;
		font-weight: 400;
		line-height: 1.4;
		padding: 6px 12px;
		border-radius: 4px;
		white-space: nowrap;
		opacity: 0 !important;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
		pointer-events: none;
		z-index: 1000;
	}
	.bod-tooltip:hover .bod-tip,
	.bod-tooltip.tooltip-active .bod-tip {
		opacity: 1 !important;
		visibility: visible;
	}
	.bod-tooltip .social-icon {
		overflow: hidden;
	}
	.bod-tooltip .social-icon:hover {
		background-color: var(--cnvs-themecolor, #213c7a) !important;
		color: #fff !important;
	}


/* Estilos navegación flotante en Productos */

.producto-nav-float {
	position: fixed;
	right: 20px;
	top: 35%;
	transform: translateY(-50%);
	z-index: 99;
	display: flex;
	flex-direction: column;
	gap: 0;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}
.producto-nav-item {
	display: block;
	text-align: center;
	padding: 12px 20px;
	font-size: 13px;
	font-weight: 500;
	color: #999;
	text-decoration: none;
	border-right: 3px solid transparent;
	transition: all 0.2s ease;
}
.producto-nav-item:hover {
	color: var(--cnvs-themecolor, #213c7a);
	background-color: #f8f8f8;
}
@media (max-width: 991.98px) {
	.producto-nav-float {
		display: none;
	}
}

/* Formulario de contacto */
.bod-contact-form-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 8px 32px rgba(33, 60, 122, 0.12);
	border: 1px solid rgba(33, 60, 122, 0.08);
}

.bod-contact-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: #333;
	margin-bottom: 0.35rem;
}

.bod-contact-input {
	border-radius: 8px;
	border-color: #e2e6ea;
	padding: 0.65rem 1rem;
	font-size: 0.95rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bod-contact-input:focus {
	border-color: var(--cnvs-themecolor, #213c7a);
	box-shadow: 0 0 0 0.2rem rgba(var(--cnvs-themecolor-rgb, 33, 60, 122), 0.15);
}

.bod-contact-form .button[type="submit"] {
	background-color: var(--cnvs-themecolor, #213c7a);
	color: #fff;
}

.bod-contact-form .button[type="submit"]:hover:not(:disabled) {
	background-color: #1a3062;
	color: #fff;
}

.bod-contact-form .button[type="submit"]:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.bod-contact-status {
	padding: 0.75rem 1rem;
	border-radius: 8px;
	font-size: 0.9rem;
	margin-bottom: 1rem;
}

.bod-contact-status:not([hidden]) {
	display: block;
}

.bod-contact-status--success {
	background-color: rgba(25, 135, 84, 0.1);
	color: #198754;
	border: 1px solid rgba(25, 135, 84, 0.25);
}

.bod-contact-status--error {
	background-color: rgba(220, 53, 69, 0.1);
	color: #dc3545;
	border: 1px solid rgba(220, 53, 69, 0.25);
}
