/**
 * OnlyTax · Solicitud de llamada
 * Montserrat en todo el formulario. Cambia --ot-acento para adaptarlo a la
 * marca, o --ot-fuente si algún día cambia la tipografía corporativa.
 */

.ot-ll {
	--ot-fuente: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--ot-acento: #2a3f8f;
	--ot-borde: #d8dbe6;
	--ot-fondo: #f7f8fb;
	--ot-texto-suave: #4a5468;
	--ot-radio: 6px;
	max-width: 34rem;
	font-family: var(--ot-fuente);
}

/* IMPORTANTE: el atributo hidden solo aplica el display:none de la hoja de
   estilos del navegador, así que CUALQUIER regla con display lo anula — la de
   más abajo para .ot-ll__campo, por ejemplo, o las de Elementor. Esta línea
   hace que hidden signifique oculto en todo el formulario. No la quites. */
.ot-ll [hidden] {
	display: none !important;
}

/* Los controles de formulario no heredan la fuente por defecto en ningún
   navegador: hay que decírselo. */
.ot-ll input,
.ot-ll select,
.ot-ll button,
.ot-ll textarea {
	font-family: var(--ot-fuente);
}

.ot-ll__titulo {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	line-height: 1.25;
}

.ot-ll__sub {
	margin: -0.5rem 0 1.25rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--ot-texto-suave);
}

.ot-ll__progreso {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ot-texto-suave);
}

.ot-ll__paso[hidden] {
	display: none;
}

.ot-ll__atras {
	display: block;
	margin: 0.75rem auto 0;
	padding: 0.35rem 0.5rem;
	border: 0;
	background: none;
	font: inherit;
	font-size: 0.875rem;
	color: var(--ot-texto-suave);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ot-ll__campo {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.ot-ll__campo label {
	font-size: 0.875rem;
	font-weight: 600;
}

.ot-ll__req {
	color: #c0392b;
	font-weight: 700;
}

.ot-ll__fuera {
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--ot-borde);
	border-left: 3px solid #c0392b;
	background: var(--ot-fondo);
	border-radius: 0 var(--ot-radio) var(--ot-radio) 0;
}

.ot-ll__fuera p {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	line-height: 1.55;
}

.ot-ll__campo input[type="text"],
.ot-ll__campo input[type="email"],
.ot-ll__campo input[type="tel"],
.ot-ll__campo select {
	width: 100%;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--ot-borde);
	border-radius: var(--ot-radio);
	background: #fff;
	font: inherit;
	font-size: 1rem; /* 16px evita el zoom automático en iOS */
	color: inherit;
	box-sizing: border-box;
}

.ot-ll__campo input:focus-visible,
.ot-ll__campo select:focus-visible,
.ot-ll__btn:focus-visible {
	outline: 2px solid var(--ot-acento);
	outline-offset: 2px;
}

.ot-ll__campo--check label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--ot-texto-suave);
}

.ot-ll__campo--check input {
	margin-top: 0.2rem;
	flex: 0 0 auto;
}

/* Trampa antispam: fuera de pantalla, pero no display:none —algunos bots lo detectan. */
.ot-ll__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ot-ll__btn {
	display: inline-block;
	width: 100%;
	padding: 0.85rem 1.25rem;
	border: 0;
	border-radius: var(--ot-radio);
	background: var(--ot-acento);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ot-ll__btn:hover {
	filter: brightness(1.1);
}

.ot-ll__btn[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.ot-ll__error {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	color: #a11b1b;
}

.ot-ll__panel p {
	margin: 0 0 1rem;
	color: var(--ot-texto-suave);
}

.ot-ll__nota {
	font-size: 0.875rem;
}

.ot-ll__aviso {
	padding: 0.75rem 0.9rem;
	border-left: 3px solid var(--ot-acento);
	background: var(--ot-fondo);
	border-radius: 0 var(--ot-radio) var(--ot-radio) 0;
	font-size: 0.9rem;
}

/* Aviso de la forma de contacto elegida, encima del calendario. */
.ot-ll__nota--forma {
	margin-bottom: 1rem;
	padding: 0.7rem 0.9rem;
	border-left: 3px solid var(--ot-acento);
	border-radius: 0 var(--ot-radio) var(--ot-radio) 0;
	background: var(--ot-fondo);
}

.ot-ll__cal {
	min-height: 40rem;
}

.ot-ll__iframe {
	display: block;
	width: 100%;
	height: 45rem;
	border: 1px solid var(--ot-borde);
	border-radius: var(--ot-radio);
	background: #fff;
}

@media (max-width: 30rem) {
	.ot-ll__iframe {
		height: 40rem;
	}
}

/* Refuerzo de tipografía, al final y con más especificidad: algunos temas y
   Elementor aplican su propia familia a los controles de formulario con
   selectores que ganarían por orden de carga. */
.ot-ll .ot-ll__form input,
.ot-ll .ot-ll__form select,
.ot-ll .ot-ll__form button,
.ot-ll .ot-ll__panel button,
.ot-ll .ot-ll__titulo,
.ot-ll .ot-ll__campo label {
	font-family: var(--ot-fuente);
}

/* El «volver» es un enlace, no un botón: sin esto, el tema le pone el mismo
   fondo y borde que al botón principal y compiten entre sí. */
.ot-ll .ot-ll__atras,
.ot-ll .ot-ll__atras:hover,
.ot-ll .ot-ll__atras:focus {
	background: none;
	background-color: transparent;
	border: 0;
	box-shadow: none;
	color: var(--ot-texto-suave);
	font-size: 0.875rem;
	font-weight: 400;
	width: auto;
	padding: 0.35rem 0.5rem;
	text-decoration: underline;
	text-underline-offset: 2px;
	filter: none;
}
