/*
 * Be The Wine - Landing guia
 * Todo va bajo .btw-landing para no filtrar estilos al tema
 * ni depender de los suyos.
 */

.btw-landing {
	--btw-ink: #171414;
	--btw-wine: #8a3142;
	--btw-wine-dark: #672231;
	--btw-gold: #d4ad4b;
	--btw-cream: #f3eee5;
	--btw-paper: #fbf9f5;
	--btw-line: rgba(23, 20, 20, .14);
	--btw-muted: #6c6461;
	--btw-shadow: 0 28px 70px rgba(70, 39, 35, .14);

	position: relative;
	min-height: 100svh;
	/* Recorta los anillos decorativos sin crear contenedor de scroll.
	   overflow-x: hidden forzaria overflow-y: auto y saldria doble barra. */
	overflow: hidden; /* fallback Safari < 16 */
	overflow: clip;
	padding: clamp(22px, 3vw, 48px);
	background:
		radial-gradient(circle at 15% 18%, rgba(212, 173, 75, .14), transparent 26%),
		radial-gradient(circle at 78% 88%, rgba(138, 49, 66, .10), transparent 28%),
		var(--btw-cream);
	color: var(--btw-ink);
	/* Sin Inter a proposito. El mockup aprobado la declaraba pero no la cargaba,
	   asi que lo que se aprobo es la fuente del sistema. En bethewine.es resulta
	   que h5p-fonts.css (del plugin H5P, ajeno a esto) SI declara un @font-face
	   de Inter: la landing la cogia solo alli, y el mismo texto ocupaba mas y
	   partia en dos lineas donde en staging iba en una. Dejar la pila del sistema
	   hace que los dos sitios pinten igual y que esto no dependa de que otro
	   plugin traiga o deje de traer una fuente. */
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
}

.btw-landing *,
.btw-landing *::before,
.btw-landing *::after { box-sizing: border-box; }

/* Plantilla a pantalla completa */
body.btw-canvas { margin: 0; padding: 0; background: #f3eee5; }
body.btw-canvas #btw-main { display: block; }

/* Anillos decorativos */
.btw-landing::before,
.btw-landing::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(138, 49, 66, .18);
	border-radius: 999px;
	pointer-events: none;
	z-index: 0;
}
.btw-landing::before { width: 300px; height: 300px; top: -165px; left: -80px; }
.btw-landing::after { width: 420px; height: 420px; right: -250px; bottom: -260px; }

.btw-wrap {
	position: relative;
	z-index: 1;
	width: min(1280px, 100%);
	margin: 0 auto;
}

.btw-shell {
	width: 100%;
	min-height: min(800px, calc(100svh - 56px));
	background: rgba(251, 249, 245, .88);
	border: 1px solid rgba(255, 255, 255, .78);
	box-shadow: var(--btw-shadow);
	border-radius: 30px;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(360px, .85fr);
	backdrop-filter: blur(12px);
}

.btw-content {
	position: relative;
	display: grid;
	grid-template-rows: auto 1fr;
	padding: clamp(30px, 4vw, 58px) clamp(32px, 5vw, 72px) clamp(28px, 3.5vw, 48px);
	overflow: hidden;
}

.btw-content::after {
	content: "";
	position: absolute;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	border: 38px solid rgba(212, 173, 75, .10);
	left: -180px;
	bottom: -210px;
}

.btw-brandbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	position: relative;
	z-index: 2;
}

.btw-logo {
	width: clamp(165px, 16vw, 210px);
	height: auto;
	max-width: 100%;
	display: block;
	border: 0;
}

.btw-tag {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 9px 13px;
	border-radius: 999px;
	border: 1px solid rgba(138, 49, 66, .24);
	background: rgba(255, 255, 255, .52);
	color: var(--btw-wine-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
	white-space: nowrap;
}

.btw-tag::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--btw-gold);
	box-shadow: 0 0 0 4px rgba(212, 173, 75, .16);
}

.btw-hero {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 31%);
	gap: clamp(20px, 2.4vw, 38px);
	align-items: center;
	min-height: 0;
	padding-top: clamp(20px, 3.2vh, 38px);
}

.btw-copy { align-self: center; }

.btw-eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	color: var(--btw-wine);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.btw-landing .btw-h1 {
	max-width: 720px;
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(40px, 4.35vw, 66px);
	line-height: .98;
	letter-spacing: -.045em;
	font-weight: 700;
	color: var(--btw-ink);
	text-wrap: balance;
	text-transform: none;
}

.btw-landing .btw-h1 em {
	color: var(--btw-wine);
	font-style: normal;
	position: relative;
}

.btw-landing .btw-h1 em::after {
	content: "";
	position: absolute;
	height: 7px;
	left: 2px;
	right: -3px;
	bottom: -2px;
	border-radius: 999px;
	background: var(--btw-gold);
	transform: rotate(-1.5deg);
	opacity: .78;
	z-index: -1;
}

.btw-lead {
	max-width: 660px;
	margin: 18px 0 16px;
	color: #3e3836;
	font-size: clamp(16px, 1.25vw, 19px);
	line-height: 1.55;
}

.btw-proof-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .68);
	border: 1px solid rgba(138, 49, 66, .18);
	color: #3c3331;
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 8px 24px rgba(80, 42, 48, .06);
}

.btw-proof-badge strong { color: var(--btw-wine-dark); }

.btw-proof-dot {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(138, 49, 66, .10);
	color: var(--btw-wine);
	font-size: 13px;
	font-weight: 900;
	flex: 0 0 26px;
}

.btw-landing .btw-benefits {
	display: grid;
	gap: 11px;
	margin: 0 0 17px;
	padding: 0;
	list-style: none;
}

.btw-landing .btw-benefits li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 15px;
	font-weight: 680;
	color: #2f2a28;
	list-style: none;
}

.btw-check {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	flex: 0 0 22px;
	color: #fff;
	background: var(--btw-wine);
	font-size: 13px;
	font-weight: 900;
}

.btw-authority {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 610px;
	padding-top: 14px;
	border-top: 1px solid var(--btw-line);
	color: var(--btw-muted);
	font-size: 13.5px;
	line-height: 1.4;
}

.btw-authority strong { color: var(--btw-ink); }

.btw-book-wrap {
	position: relative;
	min-height: 420px;
	display: grid;
	place-items: center;
}

.btw-book-wrap::before {
	content: "";
	position: absolute;
	width: 85%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: rgba(212, 173, 75, .18);
}

.btw-book {
	position: relative;
	z-index: 1;
	width: min(100%, 300px);
	height: auto;
	filter: drop-shadow(0 28px 22px rgba(53, 33, 30, .23));
	transform: rotate(2.2deg);
	border: 0;
}

/* ---------- Columna del formulario ---------- */

.btw-form-side {
	position: relative;
	background: var(--btw-wine-dark);
	padding: clamp(30px, 4vw, 56px);
	display: flex;
	align-items: center;
	overflow: hidden;
}

.btw-form-side::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
	background-size: 34px 34px;
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 85%);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 85%);
}

.btw-form-card {
	position: relative;
	z-index: 1;
	width: 100%;
	background: var(--btw-paper);
	border-radius: 24px;
	padding: clamp(26px, 3vw, 38px);
	box-shadow: 0 24px 50px rgba(34, 9, 18, .28);
}

.btw-form-kicker {
	margin: 0 0 8px;
	color: var(--btw-wine);
	font-size: 12px;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: .14em;
}

.btw-landing .btw-h2 {
	margin: 0 0 10px;
	padding: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 2.45vw, 41px);
	line-height: 1.05;
	letter-spacing: -.03em;
	color: var(--btw-ink);
	text-transform: none;
}

.btw-form-intro {
	margin: 0 0 18px;
	color: var(--btw-muted);
	font-size: 14px;
	line-height: 1.45;
}

.btw-mini-proof {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	padding: 8px 10px;
	background: rgba(138, 49, 66, .06);
	color: var(--btw-wine-dark);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}

.btw-mini-proof::before {
	content: "★";
	color: var(--btw-gold);
	font-size: 12px;
}

/*
 * El formulario lo pinta el plugin de formularios (WPForms, CF7, Fluent,
 * Gravity...). Estilamos por tipo de campo para no depender de sus clases.
 */
.btw-form-slot { display: block; }

.btw-form-slot form { display: block; margin: 0; }

.btw-form-slot p { margin: 0 0 14px; }

/* Los plugins de formularios envuelven cada campo en un span inline. Eso mete
   el input en una caja de linea, que arrastra el line-height del contenedor y
   el hueco de la linea base: separa la etiqueta del campo mucho mas de los
   7px del diseno. Pasandolos a bloque el hueco desaparece. */
.btw-form-slot .wpcf7-form-control-wrap,
.btw-form-slot .wpforms-field-medium,
.btw-form-slot .ff-el-input--content { display: block; }

/* CF7 convierte en <br> cualquier salto de linea de su plantilla, y ahi un <br>
   vale una linea entera de separacion entre la etiqueta y el campo. La plantilla
   ya viene sin saltos, pero esto lo cubre si se reedita desde wp-admin. */
.btw-form-slot label + br { display: none; }

.btw-form-slot label {
	display: block;
	margin: 0 0 7px;
	color: #2c2827;
	font-size: 12px;
	font-weight: 780;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: 0;
}

.btw-form-slot input[type="text"],
.btw-form-slot input[type="email"],
.btw-form-slot input[type="tel"],
.btw-form-slot input[type="url"],
.btw-form-slot input[type="number"],
.btw-form-slot input[type="date"],
.btw-form-slot select,
.btw-form-slot textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 49px;
	border: 1px solid #d9d0ca;
	border-radius: 12px;
	padding: 0 14px;
	background: #fff;
	color: var(--btw-ink);
	font: inherit;
	font-size: 15px;
	line-height: 47px;
	outline: none;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.btw-form-slot textarea {
	padding: 12px 14px;
	line-height: 1.5;
	min-height: 110px;
}

.btw-form-slot input:focus,
.btw-form-slot select:focus,
.btw-form-slot textarea:focus {
	border-color: var(--btw-wine);
	box-shadow: 0 0 0 4px rgba(138, 49, 66, .10);
}

.btw-form-slot input[type="checkbox"],
.btw-form-slot input[type="radio"] {
	width: 16px;
	height: 16px;
	min-height: 0;
	margin: 2px 8px 0 0;
	accent-color: var(--btw-wine);
	vertical-align: top;
}

/* Bloque de consentimiento / textos legales */
.btw-form-slot .btw-legal {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 9px;
	align-items: start;
	margin: 0;
}

.btw-form-slot .btw-legal input[type="checkbox"] { margin: 1px 0 0; }

/* CF7 trae .wpcf7-list-item { display: inline-block; margin: 0 0 0 1em }, que
   sangra el bloque de consentimiento y ademas lo encoge, asi que no cuadra ni
   por la izquierda ni por la derecha con los campos de arriba. */
.btw-form-slot .wpcf7-acceptance,
.btw-form-slot .wpcf7-list-item {
	display: block;
	width: 100%;
	margin: 0;
}

/* Misma rejilla que .btw-legal: casilla de 18px y texto al lado. */
.btw-form-slot .wpcf7-acceptance label {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 9px;
	align-items: start;
	margin: 0;
}

.btw-form-slot .wpcf7-acceptance input[type="checkbox"] { margin: 1px 0 0; }

/* CF7 mete un espacio con ::before/::after alrededor de la etiqueta. Dentro de
   la rejilla se convierte en un hueco suelto delante del texto. */
.btw-form-slot .wpcf7-list-item-label::before,
.btw-form-slot .wpcf7-list-item-label::after { content: none; }

.btw-form-slot .btw-legal,
.btw-form-slot ul.wpforms-field-checkbox li label,
.btw-form-slot .wpcf7-acceptance label,
.btw-form-slot .ff-el-form-check label,
.btw-form-slot .gfield--type-consent label {
	color: #635b58;
	font-size: 11.5px;
	font-weight: 400;
	line-height: 1.42;
}

.btw-form-slot a { color: var(--btw-wine-dark); font-weight: 800; }

/* El boton de envio va dentro de un <p> del plugin de formularios, cuyo margen
   inferior se suma a los 12px de .btw-microcopy. El diseno solo pide esos 12px,
   asi que el ultimo parrafo del formulario no lleva margen abajo. */
.btw-form-slot form > p:last-of-type { margin-bottom: 0; position: relative; }

/* CF7 inyecta por JS un <span class="wpcf7-spinner"> detras del boton. Lleva
   visibility:hidden, que oculta pero NO saca del flujo: seguia reservando sus
   24px de alto en una linea propia. Lo posicionamos sobre el boton para que
   deje de empujar y no perder el aviso de "enviando". */
.btw-form-slot .wpcf7-spinner {
	position: absolute;
	top: 50%;
	right: 16px;
	margin: 0;
	background-color: var(--btw-paper);
	transform: translateY(-50%);
}

/* Boton de envio: cubrimos los selectores de los plugins habituales */
.btw-form-slot button[type="submit"],
.btw-form-slot input[type="submit"],
.btw-form-slot .btw-cta,
.btw-form-slot .wpforms-submit,
.btw-form-slot .wpcf7-submit,
.btw-form-slot .ff-btn-submit,
.btw-form-slot .gform_button {
	display: block;
	width: 100%;
	min-height: 54px;
	height: auto;
	border: 0;
	border-radius: 13px;
	padding: 0 18px;
	margin: 4px 0 0;
	background: var(--btw-wine);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .045em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(138, 49, 66, .24);
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btw-form-slot button[type="submit"]:hover,
.btw-form-slot input[type="submit"]:hover,
.btw-form-slot .btw-cta:hover,
.btw-form-slot .wpforms-submit:hover,
.btw-form-slot .wpcf7-submit:hover,
.btw-form-slot .ff-btn-submit:hover,
.btw-form-slot .gform_button:hover {
	transform: translateY(-2px);
	background: #74283a;
	box-shadow: 0 14px 28px rgba(138, 49, 66, .30);
}

.btw-form-slot button[type="submit"]:active,
.btw-form-slot input[type="submit"]:active,
.btw-form-slot .gform_button:active { transform: translateY(0); }

.btw-form-slot .btw-form--demo { display: grid; gap: 14px; }

.btw-admin-note {
	margin: 10px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(212, 173, 75, .16);
	color: #6b5312;
	font-size: 12px;
	line-height: 1.4;
}

/* Mensajes de error/exito de los plugins */
.btw-form-slot .wpforms-error,
.btw-form-slot .wpcf7-not-valid-tip,
.btw-form-slot .ff-el-is-error,
.btw-form-slot .gfield_description.validation_message {
	color: #b3253c;
	font-size: 12px;
	font-weight: 700;
}

.btw-microcopy {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin: 12px 0 0;
	color: #6c6461;
	font-size: 11.5px;
	font-weight: 700;
}

.btw-microcopy span:not(:last-child)::after {
	content: "·";
	margin-left: 7px;
	color: var(--btw-gold);
}

/* ---------- Seccion inferior ---------- */

.btw-extra {
	margin-top: 24px;
	background: rgba(251, 249, 245, .9);
	border: 1px solid rgba(255, 255, 255, .78);
	border-radius: 28px;
	box-shadow: 0 18px 50px rgba(70, 39, 35, .09);
	padding: clamp(26px, 3vw, 38px);
	backdrop-filter: blur(12px);
}

.btw-extra-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.btw-extra-kicker {
	margin: 0 0 8px;
	color: var(--btw-wine);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.btw-landing .btw-extra-title {
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.04;
	letter-spacing: -.03em;
	color: var(--btw-ink);
	text-transform: none;
}

.btw-extra-subtitle {
	margin: 8px 0 0;
	max-width: 760px;
	color: var(--btw-muted);
	font-size: 15px;
	line-height: 1.5;
}

.btw-bullet-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.btw-bullet-card {
	min-height: 168px;
	padding: 18px 18px 16px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid rgba(138, 49, 66, .08);
	box-shadow: 0 12px 26px rgba(58, 32, 34, .06);
}

.btw-bullet-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	margin-bottom: 12px;
	background: rgba(138, 49, 66, .10);
	color: var(--btw-wine);
	font-size: 18px;
}

.btw-bullet-card p {
	margin: 0;
	color: #2f2a28;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 650;
}

/* ---------- Responsive ---------- */

@media (max-width: 1240px) {
	.btw-bullet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
	.btw-landing { padding: 16px; }
	.btw-shell { min-height: auto; grid-template-columns: 1fr; border-radius: 24px; }
	.btw-content { padding: 26px 28px 32px; }
	.btw-form-side { padding: 28px; }
	.btw-hero { grid-template-columns: minmax(0, 1fr) minmax(210px, 31%); }
	.btw-landing .btw-h1 { font-size: clamp(42px, 7vw, 64px); }
	.btw-book-wrap { min-height: 390px; }
	.btw-bullet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.btw-extra-header { display: block; }
}

@media (max-width: 680px) {
	.btw-landing { padding: 0; background: var(--btw-cream); }
	.btw-shell { border-radius: 0; border: 0; box-shadow: none; }
	.btw-content { padding: 22px 20px 28px; }
	.btw-brandbar { align-items: flex-start; }
	.btw-logo { width: 155px; }
	.btw-tag { font-size: 9px; padding: 7px 9px; letter-spacing: .09em; }
	.btw-hero { display: block; padding-top: 22px; }
	.btw-landing .btw-h1 { font-size: clamp(42px, 12vw, 58px); }
	.btw-lead { margin: 18px 0 14px; font-size: 16px; }
	.btw-proof-badge { display: flex; margin-bottom: 16px; font-size: 12px; }
	.btw-landing .btw-benefits { gap: 9px; }
	.btw-landing .btw-benefits li { font-size: 14px; }
	.btw-authority { margin-bottom: 12px; }
	.btw-book-wrap { min-height: 330px; margin-top: 6px; }
	.btw-book { width: min(76vw, 310px); }
	.btw-form-side { padding: 22px 16px 30px; }
	.btw-form-card { padding: 26px 20px; border-radius: 20px; }
	.btw-extra {
		margin-top: 0;
		border-radius: 0;
		border-left: 0;
		border-right: 0;
		border-bottom: 0;
		box-shadow: none;
		padding: 24px 18px 34px;
	}
	.btw-bullet-grid { grid-template-columns: 1fr; }
	.btw-bullet-card { min-height: auto; }
}

@media (max-height: 760px) and (min-width: 1021px) {
	.btw-landing { padding: 18px; }
	.btw-shell { min-height: calc(100svh - 36px); }
	.btw-content { padding-top: 26px; padding-bottom: 24px; }
	.btw-hero { padding-top: 10px; }
	.btw-landing .btw-h1 { font-size: clamp(40px, 4.1vw, 61px); }
	.btw-lead { margin: 14px 0; font-size: 16px; }
	.btw-proof-badge { margin-bottom: 14px; }
	.btw-landing .btw-benefits { gap: 8px; margin-bottom: 14px; }
	.btw-authority { padding-top: 13px; }
	.btw-book-wrap { min-height: 390px; }
	.btw-book { width: min(100%, 285px); }
	.btw-form-side { padding-top: 24px; padding-bottom: 24px; }
	.btw-form-card { padding-top: 27px; padding-bottom: 27px; }
	.btw-form-slot input[type="text"],
	.btw-form-slot input[type="email"],
	.btw-form-slot input[type="date"] { min-height: 44px; line-height: 42px; }
	.btw-form-slot button[type="submit"],
	.btw-form-slot input[type="submit"],
	.btw-form-slot .btw-cta { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	.btw-form-slot button[type="submit"],
	.btw-form-slot input[type="submit"],
	.btw-form-slot .btw-cta { transition: none; }
	.btw-form-slot button[type="submit"]:hover,
	.btw-form-slot input[type="submit"]:hover,
	.btw-form-slot .btw-cta:hover { transform: none; }
}

/* ==========================================================================
   Pagina de gracias — [btw_gracias]
   Reutiliza .btw-landing (fondo, anillos, tipografia) y solo cambia el shell.
   ========================================================================== */

.btw-thanks .btw-shell--thanks {
	grid-template-columns: minmax(0, 1fr);
	min-height: min(560px, calc(100svh - 56px));
	place-items: center;
}

.btw-thanks .btw-content {
	width: min(680px, 100%);
	text-align: center;
}

/* El anillo decorativo cuelga de .btw-content, que en la landing ocupa toda la
   columna izquierda. Aqui .btw-content va centrado y estrecho, asi que el anillo
   flotaba en mitad de la tarjeta. Lo colgamos del shell para anclarlo a su
   esquina inferior izquierda; el overflow:hidden del shell lo recorta. */
.btw-thanks .btw-content::after { content: none; }

.btw-thanks .btw-shell--thanks { position: relative; }

.btw-thanks .btw-shell--thanks::after {
	content: "";
	position: absolute;
	left: -180px;
	bottom: -210px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	border: 38px solid rgba(212, 173, 75, .10);
	pointer-events: none;
}

.btw-thanks .btw-brandbar { justify-content: center; gap: 18px; }

.btw-thanks-body { margin-top: 30px; }

.btw-thanks-check {
	width: 62px;
	height: 62px;
	margin: 0 auto 22px;
	border-radius: 999px;
	background: var(--btw-wine);
	color: #fff;
	font-size: 30px;
	line-height: 62px;
	box-shadow: 0 12px 30px rgba(138, 49, 66, .28);
}

.btw-thanks-title {
	margin: 0 0 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 4.2vw, 50px);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -.015em;
}

.btw-thanks-title em { color: var(--btw-wine); font-style: italic; }

.btw-thanks-lead {
	margin: 0 auto 26px;
	max-width: 46ch;
	font-size: 17px;
	line-height: 1.55;
	color: var(--btw-muted);
}

.btw-thanks-actions { margin: 0 0 22px; }

/* El CTA aqui es un enlace, no un boton dentro de .btw-form-slot:
   necesita sus propios estilos en vez de heredar los del formulario. */
.btw-thanks .btw-cta--link {
	display: inline-block;
	min-height: 54px;
	border-radius: 13px;
	padding: 0 30px;
	background: var(--btw-wine);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	line-height: 54px;
	letter-spacing: .045em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(138, 49, 66, .24);
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btw-thanks .btw-cta--link:hover {
	background: var(--btw-wine-dark);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(138, 49, 66, .3);
}

.btw-thanks-note {
	margin: 0 auto 24px;
	max-width: 48ch;
	font-size: 14px;
	line-height: 1.5;
	color: var(--btw-muted);
}

.btw-thanks-back { margin: 0; font-size: 14px; }

.btw-thanks-back a {
	color: var(--btw-wine-dark);
	font-weight: 800;
	text-underline-offset: 3px;
}

@media (max-width: 640px) {
	.btw-thanks .btw-shell--thanks { min-height: auto; }
	.btw-thanks-body { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.btw-thanks .btw-cta--link { transition: none; }
	.btw-thanks .btw-cta--link:hover { transform: none; }
}

/* Formulario de Sender.net
   -----------------------------------------------------------------------
   Sender envuelve su iframe en un div inline-block y le fija un ancho en
   pixeles (424px). Dentro de la tarjeta eso deja el formulario mas estrecho
   que el resto de la columna. Aqui solo se corrige la caja: lo de dentro del
   iframe no lo alcanza ninguna hoja de estilos, va por assets/sender-tweaks.js. */

.btw-form-slot .sender-form-field { padding: 0; font-size: inherit; }

.btw-form-slot .sender-form-field > div { display: block; width: 100%; }

.btw-form-slot .sender-form-field iframe {
	width: 100% !important;
	max-width: 100%;
	border-radius: 0 !important;
}
