/* ==========================================================================
   BT Banda CTA – [bt_cta]
   Contraste (WCAG AA, texto normal >= 4.5:1):
   - teal:  texto blanco sobre #0e6e80–#0a5564 (5.9–8.4:1); botón blanco con texto tinta (15:1)
   - coral: texto tinta #0b2a36 sobre #ff8a5b (6.5:1);     botón tinta con texto blanco (15:1)
   ========================================================================== */

.bt-cta {
	--bt-ink: #0b2a36;
	--bt-teal: #0e6e80;
	--bt-teal-dark: #0a5564;
	--bt-coral: #ff8a5b;

	position: relative;
	overflow: hidden;
	margin: 48px 0;
	padding: 64px 24px;
	border-radius: 20px;
	text-align: center;
	isolation: isolate;
}

/* En una fila de WPBakery estirada "sin márgenes" la franja va de orilla a orilla */
.vc_row-no-padding .bt-cta {
	margin: 0;
	border-radius: 0;
}

/* Círculos decorativos suaves para que la franja no se vea plana */
.bt-cta::before,
.bt-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	pointer-events: none;
}

.bt-cta::before {
	top: -120px;
	right: -80px;
	width: 320px;
	height: 320px;
}

.bt-cta::after {
	bottom: -140px;
	left: -100px;
	width: 300px;
	height: 300px;
}

.bt-cta__inner {
	max-width: 760px;
	margin: 0 auto;
}

.bt-cta .bt-cta__title {
	margin: 0 0 14px;
	padding: 0;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.bt-cta .bt-cta__text {
	max-width: 36em;
	margin: 0 auto 30px;
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.5;
}

.bt-cta .bt-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 60px;
	padding: 0 34px;
	box-sizing: border-box;
	border-radius: 999px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 10px 26px rgba(11, 42, 54, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bt-cta .bt-cta__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(11, 42, 54, 0.32);
}

.bt-cta__icon {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
}

/* ---- Teal ---------------------------------------------------------------- */

.bt-cta--teal {
	background: linear-gradient(135deg, var(--bt-teal) 0%, var(--bt-teal-dark) 100%);
}

.bt-cta--teal::before,
.bt-cta--teal::after {
	background: rgba(255, 255, 255, 0.06);
}

.bt-cta--teal .bt-cta__title {
	color: #fff;
}

.bt-cta--teal .bt-cta__text {
	color: #fff;
}

.bt-cta--teal .bt-cta__btn,
.bt-cta--teal .bt-cta__btn:hover {
	background: #fff;
	color: var(--bt-ink);
}

.bt-cta--teal .bt-cta__icon {
	color: #128c7e; /* verde WhatsApp oscuro: 4.1:1 sobre blanco (ícono, mínimo 3:1) */
}

.bt-cta--teal .bt-cta__btn:focus-visible {
	outline: 3px solid var(--bt-coral);
	outline-offset: 3px;
}

/* ---- Coral --------------------------------------------------------------- */

.bt-cta--coral {
	background: linear-gradient(135deg, #ff9a6e 0%, var(--bt-coral) 100%);
}

.bt-cta--coral::before,
.bt-cta--coral::after {
	background: rgba(255, 255, 255, 0.14);
}

.bt-cta--coral .bt-cta__title,
.bt-cta--coral .bt-cta__text {
	color: var(--bt-ink);
}

.bt-cta--coral .bt-cta__btn,
.bt-cta--coral .bt-cta__btn:hover {
	background: var(--bt-ink);
	color: #fff;
}

.bt-cta--coral .bt-cta__icon {
	color: #25d366;
}

.bt-cta--coral .bt-cta__btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

/* ---- Celular --------------------------------------------------------------- */

@media (max-width: 767px) {
	/* En celular la franja siempre va de orilla a orilla de la pantalla: el
	   contenedor del tema deja ~60px por lado y la caja quedaba muy angosta.
	   En una fila ya estirada, calc(50% - 50vw) da 0 y no cambia nada. */
	.bt-cta {
		margin: 32px calc(50% - 50vw);
		padding: 44px 20px;
		border-radius: 0;
	}

	.vc_row-no-padding .bt-cta {
		margin: 0;
	}

	.bt-cta .bt-cta__text {
		margin-bottom: 26px;
	}

	/* Botón ancho y alto (>= 56px), cómodo para el pulgar */
	.bt-cta .bt-cta__btn {
		width: 100%;
		max-width: 380px;
		min-height: 58px;
		gap: 8px;
		padding: 8px 14px;
		font-size: 16px;
		text-align: center;
	}

	.bt-cta__icon {
		width: 24px;
		height: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bt-cta .bt-cta__btn {
		transition: none;
	}
	.bt-cta .bt-cta__btn:hover {
		transform: none;
	}
}
