.cbc-chatbot__opciones {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

.cbc-chatbot__opcion {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	min-height: 48px;
	padding: 13px 18px;

	border: 1px solid rgba(139, 91, 59, 0.28);
	border-radius: 14px;

	background: rgba(255, 253, 249, 0.78);

	-webkit-backdrop-filter: blur(12px) saturate(115%);
	backdrop-filter: blur(12px) saturate(115%);

	color: var(--cbc-color-primary);

	font: inherit;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;

	box-shadow:
		0 1px 2px rgba(74, 48, 31, 0.04),
		0 6px 18px rgba(74, 48, 31, 0.05);

	cursor: pointer;

	transition:
		transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
		background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
		color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cbc-chatbot__opcion:hover,
.cbc-chatbot__opcion:focus-visible {
	transform: translateY(-2px);

	border-color: rgba(139, 91, 59, 0.5);
	background: rgba(255, 255, 255, 0.92);

	box-shadow:
		0 2px 4px rgba(74, 48, 31, 0.05),
		0 12px 28px rgba(74, 48, 31, 0.09);
}

.cbc-chatbot__opcion:active {
	transform: translateY(0) scale(0.99);

	box-shadow:
		0 1px 2px rgba(74, 48, 31, 0.04),
		0 4px 12px rgba(74, 48, 31, 0.06);
}

.cbc-chatbot__opcion:focus-visible {
	outline: 3px solid rgba(139, 91, 59, 0.16);
	outline-offset: 3px;
}

.cbc-chatbot__opcion--destacada {
	border-color: rgba(126, 75, 45, 0.72);

	background:
		linear-gradient(
			135deg,
			rgba(159, 96, 57, 0.97),
			rgba(126, 75, 45, 0.97)
		);

	color: #ffffff;

	box-shadow:
		0 4px 12px rgba(107, 63, 37, 0.15),
		0 12px 30px rgba(107, 63, 37, 0.12);
}

.cbc-chatbot__opcion--destacada:hover,
.cbc-chatbot__opcion--destacada:focus-visible {
	border-color: rgba(126, 75, 45, 0.8);

	background:
		linear-gradient(
			135deg,
			rgba(168, 103, 62, 0.99),
			rgba(132, 78, 46, 0.99)
		);

	color: #ffffff;

	box-shadow:
		0 6px 16px rgba(107, 63, 37, 0.18),
		0 16px 36px rgba(107, 63, 37, 0.15);
}

.cbc-chatbot__acciones-secundarias {
	display: grid;
	gap: 12px;
	margin-top: 24px;
	padding-top: 20px;

	border-top: 1px solid rgba(139, 91, 59, 0.16);
}

.cbc-chatbot__boton-cita-estetica,
.cbc-chatbot__boton-cita-recuperacion,
.cbc-chatbot__boton-cita-salud,
.cbc-chatbot__boton-cita-horarios,
.cbc-chatbot__boton-valoracion-precios {
	margin: 0;
}

/*
 * Botones para volver.
 */
.cbc-chatbot__volver {
	display: block;
	margin: 20px auto 0;
	padding: 8px 14px;

	border: 0;
	border-radius: 10px;

	background: transparent;
	color: var(--cbc-color-primary);

	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;

	cursor: pointer;

	transition:
		transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
		background-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
		color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cbc-chatbot__volver:hover,
.cbc-chatbot__volver:focus-visible {
	transform: translateY(-1px);

	background: rgba(139, 91, 59, 0.08);

	text-decoration: none;
}

.cbc-chatbot__volver:active {
	transform: translateY(0);
}

.cbc-chatbot__volver:focus-visible {
	outline: 3px solid rgba(139, 91, 59, 0.14);
	outline-offset: 3px;
}

/*
 * Pantallas relacionadas con el nombre.
 */
.cbc-chatbot__pregunta-nombre {
	margin: 0;

	color: var(--cbc-color-text);

	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.cbc-chatbot__ayuda-nombre {
	margin: 8px 0 0;

	color: var(--cbc-color-text-soft);

	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	text-align: center;
}

.cbc-chatbot__ayuda-nombre-inicial {
	max-width: 300px;
	margin-right: auto;
	margin-left: auto;
}

.cbc-chatbot__formulario-nombre {
	display: grid;
	gap: 14px;
}

.cbc-chatbot__formulario-nombre
	.cbc-chatbot__ayuda-formulario-nombre {
	margin: -4px 0 0;

	font-size: 13px;
	line-height: 1.45;
	text-align: left;
}

.cbc-chatbot__etiqueta-nombre {
	color: var(--cbc-color-text);

	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
}

.cbc-chatbot__campo-nombre {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;

	border: 1px solid rgba(139, 91, 59, 0.22);
	border-radius: 12px;

	background: rgba(255, 253, 249, 0.82);

	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);

	color: var(--cbc-color-text);

	font: inherit;
	line-height: 1.4;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		0 4px 14px rgba(74, 48, 31, 0.04);

	transition:
		border-color 200ms ease,
		box-shadow 200ms ease,
		background-color 200ms ease;
}

.cbc-chatbot__campo-nombre::placeholder {
	color: var(--cbc-color-text-soft);
	opacity: 0.72;
}

.cbc-chatbot__campo-nombre:hover {
	border-color: rgba(139, 91, 59, 0.38);
}

.cbc-chatbot__campo-nombre:focus {
	border-color: rgba(139, 91, 59, 0.58);
	outline: 3px solid rgba(139, 91, 59, 0.12);

	background: rgba(255, 255, 255, 0.94);

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.75),
		0 8px 20px rgba(74, 48, 31, 0.06);
}

.cbc-chatbot__error-nombre {
	margin: 0;

	color: var(--cbc-color-error);

	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	text-align: left;
}

/*
 * Presentación del menú principal.
 */
.cbc-chatbot__saludo-menu {
	margin: 0;

	color: var(--cbc-color-text);

	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.cbc-chatbot__pregunta-menu {
	margin: 6px 0 18px;

	color: var(--cbc-color-text-soft);

	line-height: 1.5;
	text-align: center;
}

.cbc-chatbot__menu-principal {
	display: block;
	width: 100%;
}

.cbc-chatbot__menu-principal .cbc-chatbot__opciones {
	margin-top: 0;
}

/*
 * Títulos de las pantallas.
 */
.cbc-chatbot__subtitulo {
	margin: 0 0 16px;

	color: var(--cbc-color-text);

	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

/*
 * Tarjetas informativas.
 */
.cbc-chatbot__informacion {
	padding: 18px;

	border: 1px solid rgba(139, 91, 59, 0.12);
	border-radius: 14px;

	background: rgba(255, 253, 249, 0.7);

	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);

	box-shadow:
		0 1px 2px rgba(74, 48, 31, 0.03),
		0 8px 24px rgba(74, 48, 31, 0.04);
}

.cbc-chatbot__informacion p {
	margin: 0 0 12px;
}

.cbc-chatbot__informacion p:last-child {
	margin-bottom: 0;
}

/*
 * Acciones generales de contacto.
 */
.cbc-chatbot__acciones-contacto {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

/*
 * Los dos botones de mapas se muestran en una sola fila.
 */
.cbc-chatbot__acciones-mapas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 20px;
}

/*
 * En la pantalla de ubicación, el espacio entre:
 *
 * Google Maps y Apple Maps.
 * Teléfono.
 * WhatsApp.
 *
 * es siempre uniforme.
 */
.cbc-chatbot__acciones-mapas + .cbc-chatbot__acciones-contacto {
	margin-top: 12px;
}

.cbc-chatbot__accion-contacto {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: 13px 18px;

	border: 1px solid rgba(139, 91, 59, 0.28);
	border-radius: 14px;

	background: rgba(255, 253, 249, 0.78);

	-webkit-backdrop-filter: blur(12px) saturate(115%);
	backdrop-filter: blur(12px) saturate(115%);

	color: var(--cbc-color-primary);

	font: inherit;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	text-decoration: none;

	box-shadow:
		0 1px 2px rgba(74, 48, 31, 0.04),
		0 6px 18px rgba(74, 48, 31, 0.05);

	cursor: pointer;

	transition:
		transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
		background-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
		color 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cbc-chatbot__accion-contacto:hover,
.cbc-chatbot__accion-contacto:focus-visible {
	transform: translateY(-2px);

	border-color: rgba(139, 91, 59, 0.5);
	background: rgba(255, 255, 255, 0.92);
	color: var(--cbc-color-primary);

	text-decoration: none;

	box-shadow:
		0 2px 4px rgba(74, 48, 31, 0.05),
		0 12px 28px rgba(74, 48, 31, 0.09);
}

.cbc-chatbot__accion-contacto:active {
	transform: translateY(0) scale(0.99);

	box-shadow:
		0 1px 2px rgba(74, 48, 31, 0.04),
		0 4px 12px rgba(74, 48, 31, 0.06);
}

.cbc-chatbot__accion-contacto:focus-visible {
	outline: 3px solid rgba(139, 91, 59, 0.16);
	outline-offset: 3px;
}

.cbc-chatbot__icono-contacto {
	display: block;
	flex: 0 0 auto;
}

/*
 * Botones de Google Maps y Apple Maps.
 */
.cbc-chatbot__acciones-mapas .cbc-chatbot__accion-contacto {
	min-height: 48px;
	padding: 11px 8px;
	gap: 7px;

	font-size: 14px;
	white-space: nowrap;
}

.cbc-chatbot__acciones-mapas .cbc-chatbot__icono-contacto {
	width: 18px;
	height: 18px;
}

.cbc-chatbot__icono-apple-maps {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;

	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;

	font-size: 19px;
	font-weight: 600;
	line-height: 1;
}

.cbc-chatbot__texto-google-maps,
.cbc-chatbot__texto-apple-maps {
	min-width: 0;

	overflow: hidden;

	text-overflow: ellipsis;
	white-space: nowrap;
}

/*
 * Botón destacado de WhatsApp.
 */
.cbc-chatbot__accion-contacto--whatsapp {
	border-color: rgba(126, 75, 45, 0.72);

	background:
		linear-gradient(
			135deg,
			rgba(159, 96, 57, 0.97),
			rgba(126, 75, 45, 0.97)
		);

	color: #ffffff;

	box-shadow:
		0 4px 12px rgba(107, 63, 37, 0.15),
		0 12px 30px rgba(107, 63, 37, 0.12);
}

.cbc-chatbot__accion-contacto--whatsapp:hover,
.cbc-chatbot__accion-contacto--whatsapp:focus-visible {
	border-color: rgba(126, 75, 45, 0.8);

	background:
		linear-gradient(
			135deg,
			rgba(168, 103, 62, 0.99),
			rgba(132, 78, 46, 0.99)
		);

	color: #ffffff;

	box-shadow:
		0 6px 16px rgba(107, 63, 37, 0.18),
		0 16px 36px rgba(107, 63, 37, 0.15);
}

/*
 * Separador de redes sociales.
 */
.cbc-chatbot__separador-contacto {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;

	color: var(--cbc-color-text-soft);

	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.cbc-chatbot__separador-contacto::before,
.cbc-chatbot__separador-contacto::after {
	flex: 1;
	height: 1px;

	background: rgba(139, 91, 59, 0.16);

	content: "";
}

.cbc-chatbot__texto-redes {
	flex: 0 1 auto;
}

/*
 * Redes sociales.
 */
.cbc-chatbot__redes-sociales {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
}

.cbc-chatbot__red-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 44px;
	height: 44px;

	border: 1px solid rgba(139, 91, 59, 0.24);
	border-radius: 50%;

	background: rgba(255, 253, 249, 0.74);
	color: var(--cbc-color-primary);

	box-shadow:
		0 1px 2px rgba(74, 48, 31, 0.04),
		0 5px 14px rgba(74, 48, 31, 0.05);

	text-decoration: none;

	transition:
		transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
		border-color 200ms ease,
		background-color 200ms ease,
		box-shadow 200ms ease;
}

.cbc-chatbot__red-social:hover,
.cbc-chatbot__red-social:focus-visible {
	transform: translateY(-2px);

	border-color: rgba(139, 91, 59, 0.48);
	background: rgba(255, 255, 255, 0.94);

	box-shadow:
		0 2px 4px rgba(74, 48, 31, 0.05),
		0 10px 22px rgba(74, 48, 31, 0.08);
}

.cbc-chatbot__red-social:active {
	transform: translateY(0) scale(0.96);
}

.cbc-chatbot__red-social:focus-visible {
	outline: 3px solid rgba(139, 91, 59, 0.16);
	outline-offset: 3px;
}

/*
 * Texto visible únicamente para lectores de pantalla.
 */
.cbc-chatbot__texto-oculto {
	position: absolute;

	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;

	overflow: hidden;

	border: 0;

	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);

	white-space: nowrap;
}

/*
 * Ajustes para pantallas estrechas.
 */
@media (max-width: 360px) {
	.cbc-chatbot__opciones,
	.cbc-chatbot__acciones-contacto {
		gap: 10px;
	}

	.cbc-chatbot__acciones-mapas {
		gap: 10px;
	}

	.cbc-chatbot__acciones-mapas + .cbc-chatbot__acciones-contacto {
		margin-top: 10px;
	}

	.cbc-chatbot__acciones-mapas .cbc-chatbot__accion-contacto {
		padding-inline: 6px;
		gap: 5px;

		font-size: 13px;
	}

	.cbc-chatbot__acciones-mapas .cbc-chatbot__icono-contacto {
		width: 17px;
		height: 17px;
	}

	.cbc-chatbot__icono-apple-maps {
		font-size: 18px;
	}

	.cbc-chatbot__redes-sociales {
		gap: 8px;
	}

	.cbc-chatbot__red-social {
		width: 42px;
		height: 42px;
	}
}

/*
 * Respeta la preferencia del usuario de reducir movimiento.
 */
@media (prefers-reduced-motion: reduce) {
	.cbc-chatbot__opcion,
	.cbc-chatbot__volver,
	.cbc-chatbot__campo-nombre,
	.cbc-chatbot__accion-contacto,
	.cbc-chatbot__red-social {
		transition: none;
	}

	.cbc-chatbot__opcion:hover,
	.cbc-chatbot__opcion:focus-visible,
	.cbc-chatbot__opcion:active,
	.cbc-chatbot__volver:hover,
	.cbc-chatbot__volver:focus-visible,
	.cbc-chatbot__volver:active,
	.cbc-chatbot__accion-contacto:hover,
	.cbc-chatbot__accion-contacto:focus-visible,
	.cbc-chatbot__accion-contacto:active,
	.cbc-chatbot__red-social:hover,
	.cbc-chatbot__red-social:focus-visible,
	.cbc-chatbot__red-social:active {
		transform: none;
	}
}